mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Make action names translatable
This commit is contained in:
parent
20d46c5b9e
commit
284c6c81eb
5 changed files with 18 additions and 12 deletions
|
|
@ -154,7 +154,7 @@ void AtlasMergingDialog::_merge_confirmed(String p_path) {
|
|||
Ref<Texture2D> new_texture_resource = ResourceLoader::load(p_path, "Texture2D");
|
||||
merged->set_texture(new_texture_resource);
|
||||
|
||||
undo_redo->create_action("Merge TileSetAtlasSource");
|
||||
undo_redo->create_action(TTR("Merge TileSetAtlasSource"));
|
||||
int next_id = tile_set->get_next_source_id();
|
||||
undo_redo->add_do_method(*tile_set, "add_source", merged, next_id);
|
||||
undo_redo->add_undo_method(*tile_set, "remove_source", next_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue