summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Trojahn <paul.trojahn@gmail.com>2019-03-04 20:59:17 +0100
committerPaul Trojahn <paul.trojahn@gmail.com>2019-03-04 21:07:58 +0100
commitaa465f076ffc19ca588a066670c97a146c10e5c2 (patch)
tree52ee06e50b749e6f10dd96148cb503fffb9df3cb
parentb69569415f6a3c7e8d15c6f58775260eba2bc09d (diff)
Unescape translations in CSV importer
Fixes #25361
-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());
}
}