Skip to content

Feature request: add "blacklist-title" to the list of messages to be translated.  #54

@TheMatheusDev

Description

@TheMatheusDev

Intro:

Hi, your plugins are great, I can't play my survival server without them anymore, they have such great utilities. Thanks.
To make InvUnload even more good, you could make "blacklist-title" (line 229) of the "config.yml" file translatable to other languages, as the other messages already are.

Pros & Cons:

Pros:

  • Makes the messages more internationalizable without having to change default settings. Delivering a better out of the box experience. Currently, every user can translate on their own "blacklist-title", but that way the plugin doesn't deliver a complete translation experience.

Cons:

  • Making "blacklist-title" translatable breaks the pattern of translated messages (because blacklist-title contains several hyphens).
  • Add new message to be translated into all languages.

In-game example:

Below is a in-game example on a scenario with a portuguese translation containing the inconsistency :
("Blacklist" should be "Lista Negra")
blacklist

How should be:

Original line 229:

blacklist-title: "----- &cBlacklist&r -----"

Add something like #message-blacklist-title:

##### English
[...]
#message-blacklist-title: "----- &cBlacklist&r -----"  #ADD TO THE ENGLISH AND OTHER LANGUAGES TRANSLATABLE STRINGS.
#message-blacklist-empty: "&7You blacklist is empty."
#message-blacklist-added: "&2Added to blacklist:&7 %s"
#message-blacklist-invalid: "&4Invalid items:&7 %s"
[...]

Conclusion:

This implementation can be easily done.
Waiting for your answer to open a pull request with a new translation! 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttodoThis will be implemented at some time

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions