summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-03-04 21:54:29 +0100
committerGitHub <noreply@github.com>2019-03-04 21:54:29 +0100
commit9efbddfee143d5060af3b24426551c1f24a3f940 (patch)
tree11b3db412ce543e5abb709d9bece6ddb6e3ab51e
parent8366811352edc1d0b8b03d84562c1214c3361000 (diff)
parentaa465f076ffc19ca588a066670c97a146c10e5c2 (diff)
Merge pull request #26607 from ptrojahn/translationescape
Unescape translations in CSV importer
-rw-r--r--editor/import/resource_importer_csv_translation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_csv_translation.cpp b/editor/import/resource_importer_csv_translation.cpp
index b4b3e0e551..cfcdbc8de4 100644
--- a/editor/import/resource_importer_csv_translation.cpp
+++ b/editor/import/resource_importer_csv_translation.cpp
@@ -119,7 +119,7 @@ Error ResourceImporterCSVTranslation::import(const String &p_source_file, const
if (key != "") {
for (int i = 1; i < line.size(); i++) {
- translations.write[i - 1]->add_message(key, line[i]);
+ translations.write[i - 1]->add_message(key, line[i].c_unescape());
}
}