Skip to content

Commit

Permalink
Update languages, set version number to 2.3.1
Browse files Browse the repository at this point in the history
- Added German translation
- Added French translation
- Added Norwegian translation
  • Loading branch information
NLthijs48 committed Aug 1, 2016
1 parent 2de653d commit 59b960b
Show file tree
Hide file tree
Showing 7 changed files with 1,692 additions and 9 deletions.
2 changes: 1 addition & 1 deletion AreaShop/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<artifactId>areashop</artifactId>
<packaging>jar</packaging>
<name>AreaShop</name>
<version>2.3.0</version> <!-- Main plugin version -->
<version>2.3.1</version> <!-- Main plugin version -->

<parent>
<groupId>me.wiefferink</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

public class LanguageManager {
private AreaShop plugin = null;
private String languages[] = {"EN", "NL"};
private String languages[] = {"EN", "NL", "FR", "DE", "NO"};
private Map<String, List<String>> currentLanguage, defaultLanguage;

/**
Expand Down
560 changes: 560 additions & 0 deletions AreaShop/src/main/resources/lang/DE.yml

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions AreaShop/src/main/resources/lang/EN.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
# ║ Language file of the AreaShop plugin created by NLThijs48, Github can be found at https://github.com/NLthijs48/AreaShop ║
# ║ Language: English, Version: V2.3.0, Percentage translated: 100% (source), author: NLThijs48 ║
# ║ Language: English, Version: V2.3.1, Percentage translated: 100% (source), author: NLThijs48 ║
# ║ This file will be overwritten at each startup/reload of the plugin, if you want to change anything then do the following: ║
# ║ 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) ║
Expand All @@ -9,29 +9,35 @@
# ║ 5: Use '/as reload' or reload/restart your server to see the changes ║
# ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
action: "[blue][bold]<%0%>[/bold]"

button: "[bold]<%0%>[/bold]"

command:
- "[bold]%0%[/bold]"
- " hover: %lang:action|Use %1%|%"
- " command: %1%"
helpCommand:

helpCommand:
- "[gold]%0% [gray]-[reset]"
- " hover: %lang:action|Use %0%|%"
- " command: %0%"

region: "%lang:tRegion|%region%|%"

tRegion:
- "[bold]%0%[/bold]"
- " hover: Region %0%"
- " hover: %lang:action|Region information|%"
- " command: /areashop info region %0%"

player: "%lang:tPlayer|%player%|%"

tPlayer:
- "[bold]%0%[/bold]"
- " hover: Player %0%"
- " hover: %lang:action|Regions of %0%|%"
- " command: /areashop info player %0%"

landlord:
- "[bold]%landlord%[/bold]"
- " hover: Landlord %landlord%"
Expand Down Expand Up @@ -159,7 +165,6 @@ info-help:
- " %lang:command|reselling|/as info reselling|% [group] [page][break]"
- " %lang:command|nogroup|/as info nogroup [page]|%"
- " %lang:command|region|/as info region|% [region][break]"

info-noPermission: "You don't have permission to get information about regions."
info-allHeader: "All regions%0%:"
info-rentedHeader: "Rented regions%0%:"
Expand Down Expand Up @@ -187,7 +192,6 @@ info-pagePrevious:
info-pageNoPrevious:
- " [darkgray][bold]◄Previous[/bold] "
- " hover: This is already the first page"

info-pageNext:
- " [gray][bold]Next►[/bold]"
- " hover: %lang:action|Show next page|%"
Expand Down
Loading

0 comments on commit 59b960b

Please sign in to comment.