diff options
author | tpart <tpart120@proton.me> | 2025-01-23 13:26:09 +0100 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-01-23 13:26:09 +0100 |
commit | 3c09e26352e9cb9643d1581eeb83a9455030bed8 (patch) | |
tree | 6f1a380a049e357deae1c1b6fb6af8c957d8de4e /client | |
parent | 9157924da255c0f1dc88d274cf3e70d91e380bd4 (diff) | |
download | hurrycurry-3c09e26352e9cb9643d1581eeb83a9455030bed8.tar hurrycurry-3c09e26352e9cb9643d1581eeb83a9455030bed8.tar.bz2 hurrycurry-3c09e26352e9cb9643d1581eeb83a9455030bed8.tar.zst |
Fix #245 (Newlines of new ini loader are not converted)
Diffstat (limited to 'client')
-rw-r--r-- | client/translation_manager.gd | 2 |
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 |