summaryrefslogtreecommitdiff
path: root/editor/io_plugins
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-05-01 17:44:52 +0200
committerRémi Verschelde <rverschelde@gmail.com>2017-05-01 17:50:19 +0200
commit7ce8342ac5c0e0a302559d3ef561ffd9dc74ff2c (patch)
tree7548791d163e1468ba9794b6ab3eee427f891e1a /editor/io_plugins
parentde7eba887e9fe940dac0958836fa8fb778628d2a (diff)
Rename project file to "project.godot"
Slimmed down variant from the reverted #8375. The rationale behind the name change is to give Godot's project file a unique extension (".godot") that can be registered on the OS to be associated with the Godot binary (OS registration not implemented here). This PR also adds the possibility to start the game or editor if launched with the project.godot passed as argument, which paves the way for allowing a similar behaviour on a double-click in the OS file manager (code originally by @Hinsbart). Closes #6915.
Diffstat (limited to 'editor/io_plugins')
-rw-r--r--editor/io_plugins/editor_translation_import_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/io_plugins/editor_translation_import_plugin.cpp b/editor/io_plugins/editor_translation_import_plugin.cpp
index 8fba33f787..caa0659046 100644
--- a/editor/io_plugins/editor_translation_import_plugin.cpp
+++ b/editor/io_plugins/editor_translation_import_plugin.cpp
@@ -347,7 +347,7 @@ public:
add_to_project = memnew( CheckButton);
add_to_project->set_pressed(true);
- add_to_project->set_text(TTR("Add to Project (godot.cfg)"));
+ add_to_project->set_text(TTR("Add to Project (project.godot)"));
tcomp->add_child(add_to_project);
file_select = memnew(EditorFileDialog);