Преглед изворни кода

Unescape translations in CSV importer

Fixes #25361
Paul Trojahn пре 6 година
родитељ
комит
aa465f076f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      editor/import/resource_importer_csv_translation.cpp

+ 1 - 1
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());
 			}
 		}