1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

Merge pull request #102049 from timothyqiu/editor-i18n

Fix several i18n issues in editor
This commit is contained in:
Thaddeus Crews
2025-01-27 09:46:15 -06:00
5 changed files with 7 additions and 3 deletions

View File

@@ -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);