commit
3b3ba7d179
3 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ bool EditorAutoloadSettings::_autoload_name_is_valid(const String &p_name, Strin
|
|||
for (int i = 0; i < Variant::VARIANT_MAX; i++) {
|
||||
if (Variant::get_type_name(Variant::Type(i)) == p_name) {
|
||||
if (r_error)
|
||||
*r_error = TTR("Invalid name.") + "\n" + TTR("Must not collide with an existing buit-in type name.");
|
||||
*r_error = TTR("Invalid name.") + "\n" + TTR("Must not collide with an existing built-in type name.");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -721,7 +721,7 @@ void EditorFeatureProfileManager::_import_profiles(const Vector<String> &p_paths
|
|||
String dst_file = EditorSettings::get_singleton()->get_feature_profiles_dir().plus_file(basefile);
|
||||
|
||||
if (FileAccess::exists(dst_file)) {
|
||||
EditorNode::get_singleton()->show_warning(vformat(TTR("Profile '%s' already exists. Remote it first before importing, import aborted."), basefile.get_basename()));
|
||||
EditorNode::get_singleton()->show_warning(vformat(TTR("Profile '%s' already exists. Remove it first before importing, import aborted."), basefile.get_basename()));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -177,7 +177,7 @@ String Container::get_configuration_warning() const {
|
|||
if (warning != String()) {
|
||||
warning += "\n";
|
||||
}
|
||||
warning += TTR("Container by itself serves no purpose unless a script configures it's children placement behavior.\nIf you don't intend to add a script, then please use a plain 'Control' node instead.");
|
||||
warning += TTR("Container by itself serves no purpose unless a script configures its children placement behavior.\nIf you don't intend to add a script, then please use a plain 'Control' node instead.");
|
||||
}
|
||||
return warning;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue