Skip to content

Commit 41d94ec

Browse files
committed
changed version in pom and modified README
1 parent f85caed commit 41d94ec

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ Shop system with a graphical interface for [NukkitX][nukkitx] server software fo
1818
Trading Interface supports the _Trading Commands_' configuration files' format. Just copy _buyList.yml_ and _sellList.yml_ from _plugins/Trading_Commands_ folder to _plugins/Trading_Interface_.
1919

2020
## Setting up:
21-
Shop management functions are available for players with `shop.edit` permission (operators have it by default).
21+
Shop management functions are available for players with `shop.edit` permission (operators have it by default). Players with this permission will see management buttons in the interface.
2222

2323
## Usage:
24-
To open up shop's main menu type `/shop` into the chat.
24+
To open up the shop's interface type `/shop` into the chat.
25+
26+
## Translations
27+
If the plugin is not translated into the language of your choosing, a file called `<your_lang>.lng`, where `<your_lang>` is the three-letter ID of your language, will be created in the plugin's data folder. It will contain text strings in the format of `key: value`, where `key` is the string's identifier and `value` is the string itself. Replace values in English with the values in your language, and these new strings will be used by the plugin. You can also start a pull request, placing `<your_lang>.lng` into `src/main/resources/lang`, and your translation may officially become a part of the plugin.
2528

2629
## Links
2730
- [Trading Interface on nukkitx.com](https://nukkitx.com/resources/trading-interface.113/)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>ua.leonidius</groupId>
88
<artifactId>trdinterface</artifactId>
9-
<version>2.0.0-SNAPSHOT</version>
9+
<version>2.0.0</version>
1010
<packaging>jar</packaging>
1111
<name>Trading Interface</name>
1212
<url>https://github.com/Leonidius20/TradingInterface</url>

src/main/resources/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
# Plugin language. if <default> - server language will be used. If there is no translation in your language, there will be created a file called <your_lang>.lng with all strings in English. You'll have to translate them.
1+
# Plugin language. if <default> - server language will be used.
2+
# If there is no translation in your language, there will be created
3+
# a file called <your_lang>.lng with all strings in English.
4+
# You'll have to translate them. Once you've created a translation to
5+
# your language, you can start a pull request on github.com/Leonidius20/TradingInterface
6+
# placing <your_lang>.lng into src/main/resources/lang, and your translation will
7+
# officially become a part of the plugin.
28
language: default
39
# If true, a file with all strings will be created. You can edit the strings.
410
save-translation: false

0 commit comments

Comments
 (0)