diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-28 15:24:14 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-03-28 20:26:35 +0200 |
commit | 7119d355eb6dfe18df5d6f505c4216791bfdbd92 (patch) | |
tree | 5d2182ed9122b8c8dfe1c856ac3f7a258c7d3b5d /modules/mono/csharp_script.cpp | |
parent | 2e8510595996478524e5d8ed48d90318f4a56777 (diff) | |
download | redot-engine-7119d355eb6dfe18df5d6f505c4216791bfdbd92.tar.gz |
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.
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r-- | modules/mono/csharp_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 0953bde9bb..8acd119880 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -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 ""; } |