diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-07 13:23:49 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-12-07 13:23:49 +0100 |
commit | 04cd36612ae017a4daf9670a89eb2fafb54e2a8b (patch) | |
tree | b3689aac3b512f168552a6f823945de0ce1fb742 /editor/plugins/tiles/tile_map_editor.cpp | |
parent | 836ec6b927269fbcf639758dfed676f60c0b1a1f (diff) | |
parent | 9893b04fda5c719072f98154d6015403c7d185c6 (diff) |
Merge pull request #69695 from timothyqiu/id-capitalization
Make ID capitalization in tiles editor consistent
Diffstat (limited to 'editor/plugins/tiles/tile_map_editor.cpp')
-rw-r--r-- | editor/plugins/tiles/tile_map_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/tiles/tile_map_editor.cpp b/editor/plugins/tiles/tile_map_editor.cpp index e622a0817a..a3d2c55346 100644 --- a/editor/plugins/tiles/tile_map_editor.cpp +++ b/editor/plugins/tiles/tile_map_editor.cpp @@ -156,7 +156,7 @@ void TileMapEditorTilesPlugin::_update_tile_set_sources_list() { // Common to all type of sources. if (!source->get_name().is_empty()) { - item_text = vformat(TTR("%s (id:%d)"), source->get_name(), source_id); + item_text = vformat(TTR("%s (ID: %d)"), source->get_name(), source_id); } // Atlas source. @@ -165,7 +165,7 @@ void TileMapEditorTilesPlugin::_update_tile_set_sources_list() { texture = atlas_source->get_texture(); if (item_text.is_empty()) { if (texture.is_valid()) { - item_text = vformat("%s (ID: %d)", texture->get_path().get_file(), source_id); + item_text = vformat(TTR("%s (ID: %d)"), texture->get_path().get_file(), source_id); } else { item_text = vformat(TTR("No Texture Atlas Source (ID: %d)"), source_id); } |