diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 9b53bd22b05..ef5d878ca0a 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1911,7 +1911,9 @@ CodeTextEditor::CodeTextEditor() { zoom_button->set_flat(true); zoom_button->set_v_size_flags(SIZE_EXPAND | SIZE_SHRINK_CENTER); zoom_button->set_tooltip_text( - TTR("Zoom factor") + "\n" + vformat(TTR("%sMouse wheel, %s/%s: Finetune\n%s: Reset"), keycode_get_string((Key)KeyModifierMask::CMD_OR_CTRL), ED_GET_SHORTCUT("script_editor/zoom_in")->get_as_text(), ED_GET_SHORTCUT("script_editor/zoom_out")->get_as_text(), ED_GET_SHORTCUT("script_editor/reset_zoom")->get_as_text())); + TTR("Zoom factor") + "\n" + + // TRANSLATORS: The placeholders are keyboard shortcuts. The first one is in the form of "Ctrl+"/"Cmd+". + vformat(TTR("%sMouse wheel, %s/%s: Finetune\n%s: Reset"), keycode_get_string((Key)KeyModifierMask::CMD_OR_CTRL), ED_GET_SHORTCUT("script_editor/zoom_in")->get_as_text(), ED_GET_SHORTCUT("script_editor/zoom_out")->get_as_text(), ED_GET_SHORTCUT("script_editor/reset_zoom")->get_as_text())); zoom_button->set_text("100 %"); PopupMenu *zoom_menu = zoom_button->get_popup(); diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 948e752c243..dd27e31fdb9 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -417,7 +417,7 @@ void EditorPropertyArray::update_property() { } else { edit->set_text_alignment(HORIZONTAL_ALIGNMENT_CENTER); edit->set_button_icon(Ref()); - edit->set_text(vformat(TTR("%s (size %s)"), array_type_name, itos(size))); + edit->set_text(vformat(TTR("%s (size %d)"), array_type_name, size)); } bool unfolded = get_edited_object()->editor_is_section_unfolded(get_edited_property()); diff --git a/editor/editor_settings_dialog.cpp b/editor/editor_settings_dialog.cpp index 641c3694361..607c922c691 100644 --- a/editor/editor_settings_dialog.cpp +++ b/editor/editor_settings_dialog.cpp @@ -439,6 +439,7 @@ TreeItem *EditorSettingsDialog::_create_shortcut_treeitem(TreeItem *p_parent, co TreeItem *event_item = shortcuts->create_item(shortcut_item); + // TRANSLATORS: This is the label for the main input event of a shortcut. event_item->set_text(0, shortcut_item->get_child_count() == 1 ? TTRC("Primary") : ""); event_item->set_text(1, ie->as_text()); event_item->set_auto_translate_mode(1, AUTO_TRANSLATE_MODE_DISABLED); diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index f626891bd8e..a6656470353 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -303,6 +303,7 @@ void FileSystemDock::_create_tree(TreeItem *p_parent, EditorFileSystemDirectory file_item->set_icon(0, _get_tree_item_icon(!file_info.import_broken, file_info.type, file_info.icon_path)); if (da->is_link(file_metadata)) { file_item->set_icon_overlay(0, get_editor_theme_icon(SNAME("LinkOverlay"))); + // TRANSLATORS: This is a tooltip for a file that is a symbolic link to another file. file_item->set_tooltip_text(0, vformat(TTR("Link to: %s"), da->read_link(file_metadata))); } file_item->set_icon_max_width(0, icon_size); diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index c6991d777ea..458f850b0b2 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -3529,7 +3529,7 @@ Error EditorExportPlatformAndroid::export_project_helper(const Ref