summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortpart <tpart120@proton.me>2025-01-23 13:26:09 +0100
committertpart <tpart120@proton.me>2025-01-23 13:26:09 +0100
commit3c09e26352e9cb9643d1581eeb83a9455030bed8 (patch)
tree6f1a380a049e357deae1c1b6fb6af8c957d8de4e
parent9157924da255c0f1dc88d274cf3e70d91e380bd4 (diff)
downloadhurrycurry-3c09e26352e9cb9643d1581eeb83a9455030bed8.tar
hurrycurry-3c09e26352e9cb9643d1581eeb83a9455030bed8.tar.bz2
hurrycurry-3c09e26352e9cb9643d1581eeb83a9455030bed8.tar.zst
Fix #245 (Newlines of new ini loader are not converted)
-rw-r--r--client/translation_manager.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/translation_manager.gd b/client/translation_manager.gd
index d45a153a..ea84b680 100644
--- a/client/translation_manager.gd
+++ b/client/translation_manager.gd
@@ -54,6 +54,6 @@ func get_ini_dict(file_name: String, locale_path: String) -> Dictionary: # Dicti
for line in lines:
var halves := line.split("=", true, 1)
- dict[halves[0].strip_edges()] = halves[1].strip_edges()
+ dict[halves[0].strip_edges()] = halves[1].strip_edges().replace("%n", "\n")
return dict