mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
i18n: Make property paths and sections translatable
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
parent
cf970aab26
commit
aaff2e3982
8 changed files with 276 additions and 47 deletions
|
|
@ -80,6 +80,7 @@
|
|||
#include "editor/editor_log.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/editor_properties.h"
|
||||
#include "editor/editor_property_name_processor.h"
|
||||
#include "editor/editor_resource_picker.h"
|
||||
#include "editor/editor_resource_preview.h"
|
||||
#include "editor/editor_run_native.h"
|
||||
|
|
@ -5771,6 +5772,9 @@ int EditorNode::execute_and_show_output(const String &p_title, const String &p_p
|
|||
}
|
||||
|
||||
EditorNode::EditorNode() {
|
||||
EditorPropertyNameProcessor *epnp = memnew(EditorPropertyNameProcessor);
|
||||
add_child(epnp);
|
||||
|
||||
Input::get_singleton()->set_use_accumulated_input(true);
|
||||
Resource::_get_local_scene_func = _resource_get_edited_scene;
|
||||
|
||||
|
|
@ -5970,6 +5974,7 @@ EditorNode::EditorNode() {
|
|||
EDITOR_DEF("interface/editor/show_update_spinner", false);
|
||||
EDITOR_DEF("interface/editor/update_continuously", false);
|
||||
EDITOR_DEF("interface/editor/update_vital_only", false);
|
||||
EDITOR_DEF("interface/editor/translate_properties", true);
|
||||
EDITOR_DEF_RST("interface/scene_tabs/restore_scenes_on_load", false);
|
||||
EDITOR_DEF_RST("interface/scene_tabs/show_thumbnail_on_hover", true);
|
||||
EDITOR_DEF_RST("interface/inspector/capitalize_properties", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue