diff options
| author | Rémi Verschelde | 2016-05-19 00:08:12 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-05-21 00:21:57 +0200 |
| commit | 94c34ff8906935cf0a9ef5ad82c6755ee21bbd07 (patch) | |
| tree | 91e569002a8b8fcfcd2c8d6ee5f1d5fa1d02f93e /tools/editor/plugins/sprite_frames_editor_plugin.cpp | |
| parent | bc8df8feaafd4e9ce0daa383f772ff111073c672 (diff) | |
| download | godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.gz godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.tar.zst godot-94c34ff8906935cf0a9ef5ad82c6755ee21bbd07.zip | |
Diffstat (limited to 'tools/editor/plugins/sprite_frames_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/sprite_frames_editor_plugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/editor/plugins/sprite_frames_editor_plugin.cpp b/tools/editor/plugins/sprite_frames_editor_plugin.cpp index b2f10ccaa..abd316ff3 100644 --- a/tools/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/tools/editor/plugins/sprite_frames_editor_plugin.cpp @@ -333,11 +333,11 @@ void SpriteFramesEditor::_delete_pressed() { _delete_confirm_pressed(); //it has undo.. why bother with a dialog.. /* - dialog->set_title(TTR("Confirm...")); - dialog->set_text(TTR("Remove Resource '")+tree->get_selected()->get_text(0)+"' ?"); - //dialog->get_cancel()->set_text(TTR("Cancel")); + dialog->set_title("Confirm..."); + dialog->set_text("Remove Resource '"+tree->get_selected()->get_text(0)+"' ?"); + //dialog->get_cancel()->set_text("Cancel"); //dialog->get_ok()->show(); - dialog->get_ok()->set_text(TTR("Remove")); + dialog->get_ok()->set_text("Remove"); dialog->popup_centered(Size2(300,60));*/ } @@ -530,7 +530,7 @@ void SpriteFramesEditor::_update_library(bool p_skip_selector) { if (frames->get_frame(edited_anim,i).is_null()) { - name=itos(i)+TTR(": (empty)"); + name=itos(i)+": "+TTR("(empty)"); } else { name=itos(i)+": "+frames->get_frame(edited_anim,i)->get_name(); |
