aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/project_settings.cpp
diff options
context:
space:
mode:
authorDimOkGamer2016-05-30 21:47:53 +0300
committerDimOkGamer2016-05-30 21:47:53 +0300
commit0fc4f1bcf4daf4b6efbce3e76506d74c672db59a (patch)
tree985997aee82b30871111994366bc37e3ab6a650c /tools/editor/project_settings.cpp
parent405094c167b573d196faa40a0e13ef2d059333d9 (diff)
downloadgodot-0fc4f1bcf4daf4b6efbce3e76506d74c672db59a.tar.gz
godot-0fc4f1bcf4daf4b6efbce3e76506d74c672db59a.tar.zst
godot-0fc4f1bcf4daf4b6efbce3e76506d74c672db59a.zip
Added more translatable strings in code. Updated template tools.pot.
also improved Russian localization.
Diffstat (limited to 'tools/editor/project_settings.cpp')
-rw-r--r--tools/editor/project_settings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/editor/project_settings.cpp b/tools/editor/project_settings.cpp
index ed26af29f..1f49f2a9f 100644
--- a/tools/editor/project_settings.cpp
+++ b/tools/editor/project_settings.cpp
@@ -81,10 +81,10 @@ void ProjectSettings::_notification(int p_what) {
translation_list->connect("button_pressed",this,"_translation_delete");
_update_actions();
- popup_add->add_icon_item(get_icon("Keyboard","EditorIcons"),"Key",InputEvent::KEY);
- popup_add->add_icon_item(get_icon("JoyButton","EditorIcons"),"Joy Button",InputEvent::JOYSTICK_BUTTON);
- popup_add->add_icon_item(get_icon("JoyAxis","EditorIcons"),"Joy Axis",InputEvent::JOYSTICK_MOTION);
- popup_add->add_icon_item(get_icon("Mouse","EditorIcons"),"Mouse Button",InputEvent::MOUSE_BUTTON);
+ popup_add->add_icon_item(get_icon("Keyboard","EditorIcons"),TTR("Key "),InputEvent::KEY);//"Key " - because the word 'key' has already been used as a key animation
+ popup_add->add_icon_item(get_icon("JoyButton","EditorIcons"),TTR("Joy Button"),InputEvent::JOYSTICK_BUTTON);
+ popup_add->add_icon_item(get_icon("JoyAxis","EditorIcons"),TTR("Joy Axis"),InputEvent::JOYSTICK_MOTION);
+ popup_add->add_icon_item(get_icon("Mouse","EditorIcons"),TTR("Mouse Button"),InputEvent::MOUSE_BUTTON);
List<String> tfn;
ResourceLoader::get_recognized_extensions_for_type("Translation",&tfn);