Skip to content

Commit

Permalink
Update the French language file to the latest version
Browse files Browse the repository at this point in the history
Adds a little more documentationto all language files, just a minor
note. Now '/as reload' will also load the a new language correctly if
you changed that in the config or language files.
  • Loading branch information
NLthijs48 committed Dec 10, 2014
1 parent dd0930b commit b679c49
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ moneyCharacterAfter: ''
fractionalNumbers: 2
## Set this to true if you want to hide '.0' for a number like '15.0' ('4.50' will still stay '4.50')
hideEmptyFractionalPart: true
## The .yml language file that should be used, provided by this plugin: EN, NL
## The .yml language file that should be used, provided by this plugin: EN, NL, FR, DE, PL
language: EN
## Enable Schematic saving and restoring in general
enableSchematics: true
Expand Down
2 changes: 2 additions & 0 deletions lang/DE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# ║ 1: Make a copy of this file ║
# ║ 2: Rename it to <servername>.yml (don't use a language code as filename, could otherwise be overwritten in future updates) ║
# ║ 3: Change the 'language' setting in config.yml to '<servername>', do not include '.yml' ║
# ║ 4: Change the strings in the new file to your liking and save the file ║
# ║ 5: Use '/as reload' or reload/restart your server to see the changes ║
# ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
total-maximum: "Du kannst nicht mehr als zusammen %0% Region(en) mieten/kaufen (Du hast bereits %1% in Gruppe '%2%')"
cmd-notValid: "Der Befehl ist ungültig, nutze '/as help' für weitere Informationen"
Expand Down
2 changes: 2 additions & 0 deletions lang/EN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# ║ 1: Make a copy of this file ║
# ║ 2: Rename it to <servername>.yml (don't use a language code as filename, could otherwise be overwritten in future updates) ║
# ║ 3: Change the 'language' setting in config.yml to '<servername>', do not include '.yml' ║
# ║ 4: Change the strings in the new file to your liking and save the file ║
# ║ 5: Use '/as reload' or reload/restart your server to see the changes ║
# ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
total-maximum: "You can't rent and buy more than %0% region(s) in total (you already have %1% in group '%2%')"

Expand Down
150 changes: 149 additions & 1 deletion lang/FR.yml

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lang/NL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# ║ 1: Make a copy of this file ║
# ║ 2: Rename it to <servername>.yml (don't use a language code as filename, could otherwise be overwritten in future updates) ║
# ║ 3: Change the 'language' setting in config.yml to '<servername>', do not include '.yml' ║
# ║ 4: Change the strings in the new file to your liking and save the file ║
# ║ 5: Use '/as reload' or reload/restart your server to see the changes ║
# ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
total-maximum: "Je kunt niet meer dan %0% gebied(en) kopen en huren in totaal (je hebt er al %1% in groep '%2%')"
cmd-notValid: "Dat commando is niet geldig , gebruik '/as help' voor informatie"
Expand Down
2 changes: 2 additions & 0 deletions lang/PL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# ║ 1: Make a copy of this file ║
# ║ 2: Rename it to <servername>.yml (don't use a language code as filename, could otherwise be overwritten in future updates) ║
# ║ 3: Change the 'language' setting in config.yml to '<servername>', do not include '.yml' ║
# ║ 4: Change the strings in the new file to your liking and save the file ║
# ║ 5: Use '/as reload' or reload/restart your server to see the changes ║
# ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
cmd-notValid: "Komenda jest niepoprawna, wpisz /as help aby uzyskac liste komend"
cmd-onlyByPlayer: "Ta komenda moze byc uzywana tylko przez gracza"
Expand Down
2 changes: 1 addition & 1 deletion src/nl/evolutioncoding/areashop/AreaShop.java
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ public void reload() {
fileManager.saveRequiredFilesAtOnce();
chatprefix = this.getConfig().getString("chatPrefix");
debug = this.getConfig().getBoolean("debug");
languageManager = new LanguageManager(this);
fileManager.loadFiles();
languageManager = new LanguageManager(this);
fileManager.checkRents();
}

Expand Down

0 comments on commit b679c49

Please sign in to comment.