Skip to content

Commit 1540096

Browse files
committed
make debug log useful
1 parent 4bf854c commit 1540096

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/util/language/text/TextManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void load() {
135135
configuration.set(key, override.get(key));
136136
}
137137
locale2ContentMapping.get(languageFileCrowdin).computeIfAbsent(minecraftCode, e -> configuration);
138-
Util.debugLog("Locale " + crowdinFile + " has been successfully loaded");
138+
Util.debugLog("Locale " + crowdinFile.replace("%locale%",crowdinCode) + " has been successfully loaded");
139139
} catch (CrowdinOTA.OTAException e) {
140140
// Key founds in available locales but not in custom mapping on crowdin platform
141141
plugin.getLogger().warning("Couldn't update the translation for locale " + crowdinCode + " because it not configured, please report to QuickShop");

0 commit comments

Comments
 (0)