Skip to content

Commit

Permalink
feat: add hint where to reset a declined resourcepack in the kick mes…
Browse files Browse the repository at this point in the history
…sage. closes #116
  • Loading branch information
oddlama committed Feb 3, 2022
1 parent e4178f5 commit 4eef3e2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion vane-core/src/main/java/org/oddlama/vane/core/Core.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
import org.oddlama.vane.core.module.Module;
import org.oddlama.vane.core.module.ModuleComponent;

@VaneModule(name = "core", bstats = 8637, config_version = 6, lang_version = 2, storage_version = 1)
@VaneModule(name = "core", bstats = 8637, config_version = 6, lang_version = 3, storage_version = 1)
public class Core extends Module<Core> implements PluginMessageListener {

/** The base offset for any model data used by vane plugins. */
Expand Down
5 changes: 3 additions & 2 deletions vane-core/src/main/resources/lang-de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# DO NOT CHANGE! The version of this language file. Used to determine
# if the file needs to be updated.
version: 2
version: 3
# The corresponding language code used in resource packs. Used for
# resource pack generation. Typically this is a combination of the
# language code (ISO 639) and the country code (ISO 3166).
Expand Down Expand Up @@ -44,7 +44,8 @@ command_vane:

resource_pack:
declined: "Du musst das Ressourcenpaket akzeptieren um auf diesem Server zu spielen.\n\
Es wird für Übersetzungen und Texturen benötigt."
Es wird für Übersetzungen und Texturen benötigt. Falls du es aus Versehen abgelehnt hast,\n\
kannst du dies ändern indem du den entsprechenden Eintrag in der Serverliste bearbeitest."
download_failed: "§cEs gab einen Fehler beim Herunterladen des Ressourcenpakets.§r\n\
§7(Deine Verbindung wurde unterbrochen, um Anzeigefehler zu vermeiden)\n\
\n\
Expand Down
5 changes: 3 additions & 2 deletions vane-core/src/main/resources/lang-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# DO NOT CHANGE! The version of this language file. Used to determine
# if the file needs to be updated.
version: 2
version: 3
# The corresponding language code used in resource packs. Used for
# resource pack generation. Typically this is a combination of the
# language code (ISO 639) and the country code (ISO 3166).
Expand Down Expand Up @@ -56,7 +56,8 @@ command_vane:
resource_pack:
# This kick message is used when a mandatory resource pack was declined by a player.
declined: "You need to accept the resource pack to play on this server.\n\
It is needed for localization and textures."
It is needed for localization and textures. In case you declined accidentally,\n\
you can change this by editing this server's entry in your server list."
# This kick message is used when a mandatory resource pack failed to download for player.
download_failed: "§cYour resource pack download seems to have failed.§r\n\
§7(You have been disconnected to prevent display errors)\n\
Expand Down
3 changes: 2 additions & 1 deletion vane-core/src/main/resources/lang-fr-fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# DO NOT CHANGE! The version of this language file. Used to determine
# if the file needs to be updated.
version: 2
version: 3
# The corresponding language code used in resource packs. Used for
# resource pack generation. Typically this is a combination of the
# language code (ISO 639) and the country code (ISO 3166).
Expand All @@ -39,6 +39,7 @@ command_vane:
§agenerate_resource_pack§7:§r génère le pack de ressources de vane."

resource_pack:
# FIXME: missing new sentence in declined translation. see lang-en.yml for the new sentence.
declined: "Vous devez accepter le pack de ressources pour pouvoir jouer sur ce serveur.\n\
Il est indispensable pour les traductions, ainsi que les textures."
download_failed: "§cLe téléchargement du pack de ressources semble avoir échoué.§r\n\
Expand Down
3 changes: 2 additions & 1 deletion vane-core/src/main/resources/lang-ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# DO NOT CHANGE! The version of this language file. Used to determine
# if the file needs to be updated.
version: 2
version: 3
# The corresponding language code used in resource packs. Used for
# resource pack generation. Typically this is a combination of the
# language code (ISO 639) and the country code (ISO 3166).
Expand Down Expand Up @@ -55,6 +55,7 @@ command_vane:

resource_pack:
# This kick message is used when a mandatory resource pack was declined by a player.
# FIXME: missing new sentence in declined translation. see lang-en.yml for the new sentence.
declined: "Вам нужно принять ресурспак для игры на этом сервере.\n\
Это нужно для локализации и текстур."
# This kick message is used when a mandatory resource pack failed to download for player.
Expand Down

0 comments on commit 4eef3e2

Please sign in to comment.