Skip to content

Commit 9927935

Browse files
added russion to lang manager
1 parent 88847a5 commit 9927935

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/org/strassburger/serverlinksz/util/LanguageManager.java

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

1212
public class LanguageManager {
1313
private final JavaPlugin plugin = ServerLinksZ.getInstance();
14-
public static final List<String> defaultLangs = List.of("en-US", "de-DE", "zh-CN");
14+
public static final List<String> defaultLangs = List.of("en-US", "de-DE", "zh-CN", "ru-RU");
1515

1616
private HashMap<String, String> translationMap;
1717
private FileConfiguration langConfig;

src/main/resources/config.yml

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

1919
# Set the language to any code found in the "lang" folder (don't add the .yml extension)
2020
# You can add your own language files. Use https://github.com/KartoffelChipss/ServerLinksZ/tree/main/src/main/resources/lang/en-US.yml as a template
21+
# If you want to share your language file, either create a pull request on GitHub or use GitLocalize: https://gitlocalize.com/repo/9890
2122
# | en-US | de-DE | zh-CN | ru-RU
2223
lang: "en-US"
2324

@@ -27,5 +28,4 @@ hints: true
2728
# Add a /link command to view the links
2829
linkCommand: true
2930

30-
3131
# [!!!] You can configure the links in the links.yml file!

src/main/resources/links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ discord:
44
allowCommand: true
55
website:
66
name: "<#7cd770>&lWebsite"
7-
url: "https://modrinth.com"
7+
url: "https://modrinth.com/plugin/serverlinksz"
88
allowCommand: false

0 commit comments

Comments
 (0)