mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
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:
@@ -34,7 +34,7 @@ TypedArray<String> Range::get_configuration_warnings() const {
|
||||
TypedArray<String> warnings = Node::get_configuration_warnings();
|
||||
|
||||
if (shared->exp_ratio && shared->min <= 0) {
|
||||
warnings.push_back(TTR("If \"Exp Edit\" is enabled, \"Min Value\" must be greater than 0."));
|
||||
warnings.push_back(RTR("If \"Exp Edit\" is enabled, \"Min Value\" must be greater than 0."));
|
||||
}
|
||||
|
||||
return warnings;
|
||||
|
||||
Reference in New Issue
Block a user