diff options
| author | Juan Linietsky | 2016-05-03 22:25:37 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2016-05-03 22:25:37 -0300 |
| commit | 567cb691ec49844101247bb9dc34bc2722f6af4f (patch) | |
| tree | caa577fdc22feec8869e66b32be34db0c90f8aa8 /tools/editor/array_property_edit.cpp | |
| parent | c7e8def44696da9ddf0b459e166280668c84c4cb (diff) | |
| download | godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.gz godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.zst godot-567cb691ec49844101247bb9dc34bc2722f6af4f.zip | |
Diffstat (limited to 'tools/editor/array_property_edit.cpp')
| -rw-r--r-- | tools/editor/array_property_edit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/array_property_edit.cpp b/tools/editor/array_property_edit.cpp index 66c2782da..1ff6e644d 100644 --- a/tools/editor/array_property_edit.cpp +++ b/tools/editor/array_property_edit.cpp @@ -64,7 +64,7 @@ bool ArrayPropertyEdit::_set(const StringName& p_name, const Variant& p_value){ return true; UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo(); - ur->create_action("Resize Array"); + ur->create_action(TTR("Resize Array")); ur->add_do_method(this,"_set_size",newsize); ur->add_undo_method(this,"_set_size",size); if (newsize<size) { @@ -109,7 +109,7 @@ bool ArrayPropertyEdit::_set(const StringName& p_name, const Variant& p_value){ Variant new_value=Variant::construct(Variant::Type(type),NULL,0,ce); UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo(); - ur->create_action("Change Array Value Type"); + ur->create_action(TTR("Change Array Value Type")); ur->add_do_method(this,"_set_value",idx,new_value); ur->add_undo_method(this,"_set_value",idx,value); ur->add_do_method(this,"_notif_change"); @@ -126,7 +126,7 @@ bool ArrayPropertyEdit::_set(const StringName& p_name, const Variant& p_value){ Variant value = arr.get(idx); UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo(); - ur->create_action("Change Array Value"); + ur->create_action(TTR("Change Array Value")); ur->add_do_method(this,"_set_value",idx,p_value); ur->add_undo_method(this,"_set_value",idx,value); ur->add_do_method(this,"_notif_changev",p_name); |
