|
@@ -151,7 +151,7 @@ void TileSetEditor::_update_sources_list(int force_selected_id) {
|
|
|
|
|
|
// Common to all type of sources.
|
|
// Common to all type of sources.
|
|
if (!source->get_name().is_empty()) {
|
|
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.
|
|
// Atlas source.
|
|
@@ -160,7 +160,7 @@ void TileSetEditor::_update_sources_list(int force_selected_id) {
|
|
texture = atlas_source->get_texture();
|
|
texture = atlas_source->get_texture();
|
|
if (item_text.is_empty()) {
|
|
if (item_text.is_empty()) {
|
|
if (texture.is_valid()) {
|
|
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 {
|
|
} else {
|
|
item_text = vformat(TTR("No Texture Atlas Source (ID: %d)"), source_id);
|
|
item_text = vformat(TTR("No Texture Atlas Source (ID: %d)"), source_id);
|
|
}
|
|
}
|