File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/java/org/maxgamer/quickshop/localization/text Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ public void load() {
123123 // parallel threads
124124 List <String > enabledLanguagesRegex = plugin .getConfiguration ().getStringList ("enabled-languages" );
125125 // Multi File and Multi-Language loader
126+ // Offline Initiated
127+ mapper .deployBundled ("/master/crowdin/lang/%locale%/messages.json" , loadBundled ("/master/crowdin/lang/%locale%/messages.json" ));
126128 distribution .getAvailableLanguages ().parallelStream ().forEach (crowdinCode -> distribution .getAvailableFiles ().parallelStream ().forEach (crowdinFile -> {
127129 try {
128130 // Minecraft client use lowercase wi
@@ -132,6 +134,7 @@ public void load() {
132134 return ;
133135 }
134136 Util .debugLog ("Loading translation for locale: " + crowdinCode + " (" + minecraftCode + ")" );
137+ Util .debugLog ("CrowdinFile: " + crowdinFile );
135138 // Deploy bundled to mapper
136139 mapper .deployBundled (crowdinFile , loadBundled (crowdinFile ));
137140 JsonConfiguration configuration = getDistributionConfiguration (crowdinFile , crowdinCode );
You can’t perform that action at this time.
0 commit comments