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/editor_data.cpp | |
| parent | c7e8def44696da9ddf0b459e166280668c84c4cb (diff) | |
| download | godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.gz godot-567cb691ec49844101247bb9dc34bc2722f6af4f.tar.zst godot-567cb691ec49844101247bb9dc34bc2722f6af4f.zip | |
Modified editor strings to be translatable in the future
Diffstat (limited to 'tools/editor/editor_data.cpp')
| -rw-r--r-- | tools/editor/editor_data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/editor_data.cpp b/tools/editor/editor_data.cpp index 8bb2d60ca..4c4fecdd8 100644 --- a/tools/editor/editor_data.cpp +++ b/tools/editor/editor_data.cpp @@ -569,12 +569,12 @@ bool EditorData::check_and_update_scene(int p_idx) { Ref<PackedScene> pscene; pscene.instance(); - EditorProgress ep("update_scene","Updating Scene",2); - ep.step("Storing local changes..",0); + EditorProgress ep("update_scene",TTR("Updating Scene"),2); + ep.step(TTR("Storing local changes.."),0); //pack first, so it stores diffs to previous version of saved scene Error err = pscene->pack(edited_scene[p_idx].root); ERR_FAIL_COND_V(err!=OK,false); - ep.step("Updating scene..",1); + ep.step(TTR("Updating scene.."),1); Node *new_scene = pscene->instance(true); ERR_FAIL_COND_V(!new_scene,false); |
