Răsfoiți Sursa

Tweak a few miscellaneous localization strings

Micky 5 luni în urmă
părinte
comite
5d794f83ed

+ 1 - 0
editor/editor_inspector.cpp

@@ -1391,6 +1391,7 @@ void EditorProperty::_update_popup() {
 			menu->add_icon_item(get_editor_theme_icon(SNAME("Unfavorite")), TTR("Unfavorite Property"), MENU_FAVORITE_PROPERTY);
 			menu->add_icon_item(get_editor_theme_icon(SNAME("Unfavorite")), TTR("Unfavorite Property"), MENU_FAVORITE_PROPERTY);
 			menu->set_item_tooltip(menu->get_item_index(MENU_FAVORITE_PROPERTY), TTR("Make this property be put back at its original place."));
 			menu->set_item_tooltip(menu->get_item_index(MENU_FAVORITE_PROPERTY), TTR("Make this property be put back at its original place."));
 		} else {
 		} else {
+			// TRANSLATORS: This is a menu item to add a property to the favorites.
 			menu->add_icon_item(get_editor_theme_icon(SNAME("Favorites")), TTR("Favorite Property"), MENU_FAVORITE_PROPERTY);
 			menu->add_icon_item(get_editor_theme_icon(SNAME("Favorites")), TTR("Favorite Property"), MENU_FAVORITE_PROPERTY);
 			menu->set_item_tooltip(menu->get_item_index(MENU_FAVORITE_PROPERTY), TTR("Make this property be placed at the top for all objects of this class."));
 			menu->set_item_tooltip(menu->get_item_index(MENU_FAVORITE_PROPERTY), TTR("Make this property be placed at the top for all objects of this class."));
 		}
 		}

+ 1 - 4
editor/editor_run_native.cpp

@@ -135,10 +135,7 @@ Error EditorRunNative::start_run_native(int p_id) {
 		bool is_arch_enabled = preset->get(preset_arch);
 		bool is_arch_enabled = preset->get(preset_arch);
 
 
 		if (!is_arch_enabled) {
 		if (!is_arch_enabled) {
-			String warning_message = vformat(TTR("Warning: The CPU architecture \"%s\" is not active in your export preset.\n\n"), Variant(architecture));
-			warning_message += TTR("Run \"Remote Deploy\" anyway?");
-
-			run_native_confirm->set_text(warning_message);
+			run_native_confirm->set_text(vformat(TTR("Warning: The CPU architecture \"%s\" is not active in your export preset.\n\nRun \"Remote Deploy\" anyway?"), architecture));
 			run_native_confirm->popup_centered();
 			run_native_confirm->popup_centered();
 			return OK;
 			return OK;
 		}
 		}

+ 1 - 1
modules/openxr/editor/openxr_binding_modifier_editor.cpp

@@ -261,7 +261,7 @@ OpenXRBindingModifierEditor::OpenXRBindingModifierEditor() {
 	header_hb->add_child(binding_modifier_title);
 	header_hb->add_child(binding_modifier_title);
 
 
 	rem_binding_modifier_btn = memnew(Button);
 	rem_binding_modifier_btn = memnew(Button);
-	rem_binding_modifier_btn->set_tooltip_text(TTR("Remove binding modifier."));
+	rem_binding_modifier_btn->set_tooltip_text(TTR("Remove this binding modifier."));
 	rem_binding_modifier_btn->connect(SceneStringName(pressed), callable_mp(this, &OpenXRBindingModifierEditor::_on_remove_binding_modifier));
 	rem_binding_modifier_btn->connect(SceneStringName(pressed), callable_mp(this, &OpenXRBindingModifierEditor::_on_remove_binding_modifier));
 	rem_binding_modifier_btn->set_flat(true);
 	rem_binding_modifier_btn->set_flat(true);
 	header_hb->add_child(rem_binding_modifier_btn);
 	header_hb->add_child(rem_binding_modifier_btn);

+ 1 - 1
platform/linuxbsd/export/export_plugin.cpp

@@ -67,7 +67,7 @@ Error EditorExportPlatformLinuxBSD::export_project(const Ref<EditorExportPreset>
 	if (!template_path.is_empty()) {
 	if (!template_path.is_empty()) {
 		String exe_arch = _get_exe_arch(template_path);
 		String exe_arch = _get_exe_arch(template_path);
 		if (arch != exe_arch) {
 		if (arch != exe_arch) {
-			add_message(EXPORT_MESSAGE_ERROR, TTR("Prepare Templates"), vformat(TTR("Mismatching custom export template executable architecture, found \"%s\", expected \"%s\"."), exe_arch, arch));
+			add_message(EXPORT_MESSAGE_ERROR, TTR("Prepare Templates"), vformat(TTR("Mismatching custom export template executable architecture: found \"%s\", expected \"%s\"."), exe_arch, arch));
 			return ERR_CANT_CREATE;
 			return ERR_CANT_CREATE;
 		}
 		}
 	}
 	}