String: Remove TTR and DTR defines in non-tools build

This ensures we don't use TTR in runtime code, as it's specifically meant
to source translations for the editor.
This commit is contained in:
Rémi Verschelde committed 2022-03-28 20:26:35 +02:00
1 parent 2e85105959
commit 7119d355eb
65 files changed
+202 -207

No files matched your search

+1 -1
View File
@@ -388,7 +388,7 @@ String CSharpLanguage::validate_path(const String &p_path) const {
List<String> keywords;
get_reserved_words(&keywords);
if (keywords.find(class_name)) {
return TTR("Class name can't be a reserved keyword");
return RTR("Class name can't be a reserved keyword");
}
return "";
}