Skip to content

Commit 3e3cf29

Browse files
committed
Merge pull request godotengine#104377 from Mickeon/translation-slight-duplicates
Tweak a few miscellaneous localization strings
2 parents 3f14e6a + 5d794f8 commit 3e3cf29

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

editor/editor_inspector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,6 +1391,7 @@ void EditorProperty::_update_popup() {
13911391
menu->add_icon_item(get_editor_theme_icon(SNAME("Unfavorite")), TTR("Unfavorite Property"), MENU_FAVORITE_PROPERTY);
13921392
menu->set_item_tooltip(menu->get_item_index(MENU_FAVORITE_PROPERTY), TTR("Make this property be put back at its original place."));
13931393
} else {
1394+
// TRANSLATORS: This is a menu item to add a property to the favorites.
13941395
menu->add_icon_item(get_editor_theme_icon(SNAME("Favorites")), TTR("Favorite Property"), MENU_FAVORITE_PROPERTY);
13951396
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."));
13961397
}

editor/editor_run_native.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ Error EditorRunNative::start_run_native(int p_id) {
135135
bool is_arch_enabled = preset->get(preset_arch);
136136

137137
if (!is_arch_enabled) {
138-
String warning_message = vformat(TTR("Warning: The CPU architecture \"%s\" is not active in your export preset.\n\n"), Variant(architecture));
139-
warning_message += TTR("Run \"Remote Deploy\" anyway?");
140-
141-
run_native_confirm->set_text(warning_message);
138+
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));
142139
run_native_confirm->popup_centered();
143140
return OK;
144141
}

modules/openxr/editor/openxr_binding_modifier_editor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ OpenXRBindingModifierEditor::OpenXRBindingModifierEditor() {
261261
header_hb->add_child(binding_modifier_title);
262262

263263
rem_binding_modifier_btn = memnew(Button);
264-
rem_binding_modifier_btn->set_tooltip_text(TTR("Remove binding modifier."));
264+
rem_binding_modifier_btn->set_tooltip_text(TTR("Remove this binding modifier."));
265265
rem_binding_modifier_btn->connect(SceneStringName(pressed), callable_mp(this, &OpenXRBindingModifierEditor::_on_remove_binding_modifier));
266266
rem_binding_modifier_btn->set_flat(true);
267267
header_hb->add_child(rem_binding_modifier_btn);

platform/linuxbsd/export/export_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Error EditorExportPlatformLinuxBSD::export_project(const Ref<EditorExportPreset>
6767
if (!template_path.is_empty()) {
6868
String exe_arch = _get_exe_arch(template_path);
6969
if (arch != exe_arch) {
70-
add_message(EXPORT_MESSAGE_ERROR, TTR("Prepare Templates"), vformat(TTR("Mismatching custom export template executable architecture, found \"%s\", expected \"%s\"."), exe_arch, arch));
70+
add_message(EXPORT_MESSAGE_ERROR, TTR("Prepare Templates"), vformat(TTR("Mismatching custom export template executable architecture: found \"%s\", expected \"%s\"."), exe_arch, arch));
7171
return ERR_CANT_CREATE;
7272
}
7373
}

0 commit comments

Comments
 (0)