virtualx-engine/editor
Haoyu Qiu e4e4e475f8 Make --doctool locale aware
* Adds `indent(str)` to `String`:
    * Indent the (multiline) string with the given indentation.
    * This method is added in order to keep the translated XML correctly
      indented.
* Moves the loading of tool/doc translation into
  `editor/editor_translation.{h,cpp}`.
    * This will be used from both `EditorSettings` and the doc tool from
      `main`.
* Makes use of doc translation when generating XML class references, and
  setup the translation locale based on `-l LOCALE` CLI parameter.

The XML class reference won't be translated if `-l LOCALE` parameter is
not given, or when it's `-l en`.
2021-12-16 17:49:22 +08:00
..
debugger Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
fileserver Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
icons Merge pull request #54002 from Calinou/editor-anchor-icon-improve-accent-visibility 2021-12-10 11:06:32 +01:00
import Merge pull request #53323 from xMakerx/patch-1 2021-12-10 10:42:20 +01:00
plugins Improve user communication in the Add Item Type dialog 2021-12-14 17:00:15 +03:00
translations i18n: Remove deleted translations from PO files 2021-12-10 11:53:24 +01:00
action_map_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
action_map_editor.h Allow mouse button event detection in Action Map Editor 2021-09-20 18:16:30 +02:00
animation_bezier_editor.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
animation_bezier_editor.h Make bezier handle type a property of keyframes, update interface 2021-11-16 09:26:35 -05:00
animation_track_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
animation_track_editor.h Allow to add RESET values from existing keys 2021-12-06 13:35:54 +01:00
animation_track_editor_plugins.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
animation_track_editor_plugins.h Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
array_property_edit.cpp
array_property_edit.h
audio_stream_preview.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
audio_stream_preview.h Don't return reference on copy assignment operators 2021-11-30 16:26:29 +01:00
code_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
code_editor.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
connections_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
connections_dialog.h
create_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
create_dialog.h
dependency_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
dependency_editor.h
dictionary_property_edit.cpp
dictionary_property_edit.h
doc_tools.cpp Make --doctool locale aware 2021-12-16 17:49:22 +08:00
doc_tools.h
editor_about.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
editor_about.h
editor_asset_installer.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_asset_installer.h
editor_atlas_packer.cpp
editor_atlas_packer.h
editor_audio_buses.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
editor_audio_buses.h Don't return reference on copy assignment operators 2021-11-30 16:26:29 +01:00
editor_autoload_settings.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_autoload_settings.h Display an error message in settings when autoload name is invalid 2021-09-14 13:04:00 +02:00
editor_builders.py Use maximum zlib compression when generating editor translation headers 2021-10-29 19:07:48 +02:00
editor_command_palette.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_command_palette.h Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
editor_data.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_data.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
editor_dir_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_dir_dialog.h
editor_export.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_export.h Add path to functions that return iporter options 2021-11-14 14:06:10 -03:00
editor_feature_profile.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_feature_profile.h
editor_file_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_file_dialog.h Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
editor_file_system.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_file_system.h Add TextFile support across the editor 2021-09-30 13:29:29 +01:00
editor_folding.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_folding.h
editor_fonts.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_fonts.h
editor_help.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_help.h Sort and group theme properties in docs, improve formatting for theme and enums 2021-12-01 21:02:20 +03:00
editor_help_search.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_help_search.h Move the docs for constructors and operators out of methods section 2021-10-29 12:34:57 -05:00
editor_inspector.cpp Stop asuming a default value of NIL means there's no default 2021-12-11 14:03:48 +01:00
editor_inspector.h Stop asuming a default value of NIL means there's no default 2021-12-11 14:03:48 +01:00
editor_layouts_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_layouts_dialog.h
editor_log.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_log.h Implement toast notifications in the editor 2021-10-14 13:30:54 +02:00
editor_native_shader_source_visualizer.cpp Rename readonly to editable 2021-08-12 09:29:58 +01:00
editor_native_shader_source_visualizer.h
editor_node.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_node.h Allow creating .gitignore and .gitattributes when creating a new project 2021-11-12 21:27:31 -06:00
editor_path.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_path.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
editor_paths.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_paths.h Provide a getter for the project data directory. 2021-09-15 12:52:03 -07:00
editor_plugin.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_plugin.h Expose ScriptEditor::edit to scripting 2021-12-08 15:25:05 +01:00
editor_plugin_settings.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_plugin_settings.h
editor_properties.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_properties.h Fix EditorInspectorPlugin virtual bindings and add parse_group callback 2021-11-10 17:56:59 +03:00
editor_properties_array_dict.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_properties_array_dict.h
editor_resource_picker.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_resource_picker.h Infer shader type based on edited node 2021-11-03 15:27:38 +01:00
editor_resource_preview.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_resource_preview.h Add GLES2 2D renderer + Linux display manager 2021-10-30 02:05:48 +02:00
editor_run.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_run.h Auto-Increment Debugger Port 2021-12-04 15:25:13 -06:00
editor_run_native.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
editor_run_native.h Implemented advanced features of DAP 2021-08-31 15:17:58 +01:00
editor_run_script.cpp Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
editor_run_script.h Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
editor_scale.cpp
editor_scale.h
editor_sectioned_inspector.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_sectioned_inspector.h
editor_settings.cpp Make --doctool locale aware 2021-12-16 17:49:22 +08:00
editor_settings.h Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
editor_spin_slider.cpp Make EditorSpinSlider grabbers thicker to be more noticeable 2021-12-15 00:44:55 +01:00
editor_spin_slider.h Make EditorSpinSlider wait for text on key_up/down 2021-10-26 18:00:16 -04:00
editor_themes.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
editor_themes.h
editor_toaster.cpp Defer the call to 'popup_str' to the next cycle to let Godot Engine's editor time to properly start 2021-12-14 20:08:19 +01:00
editor_toaster.h Defer the call to 'popup_str' to the next cycle to let Godot Engine's editor time to properly start 2021-12-14 20:08:19 +01:00
editor_translation.cpp Make --doctool locale aware 2021-12-16 17:49:22 +08:00
editor_translation.h Make --doctool locale aware 2021-12-16 17:49:22 +08:00
editor_translation_parser.cpp Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
editor_translation_parser.h Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
editor_vcs_interface.cpp Allow creating .gitignore and .gitattributes when creating a new project 2021-11-12 21:27:31 -06:00
editor_vcs_interface.h Allow creating .gitignore and .gitattributes when creating a new project 2021-11-12 21:27:31 -06:00
editor_zoom_widget.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
editor_zoom_widget.h
export_template_manager.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
export_template_manager.h
filesystem_dock.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
filesystem_dock.h Add New Shader option to the FileSystemDock popup menu. 2021-12-03 19:42:58 +03:00
find_in_files.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
find_in_files.h
groups_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
groups_editor.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
import_defaults_editor.cpp Add path to functions that return iporter options 2021-11-14 14:06:10 -03:00
import_defaults_editor.h
import_dock.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
import_dock.h Add path to functions that return iporter options 2021-11-14 14:06:10 -03:00
inspector_dock.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
inspector_dock.h Added confirmation dialog for making subresources unique. 2021-09-16 10:39:31 +10:00
localization_editor.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
localization_editor.h
multi_node_edit.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
multi_node_edit.h
node_dock.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
node_dock.h
plugin_config_dialog.cpp Fix PluginConfigDialog UI broken 2021-12-11 23:23:40 +08:00
plugin_config_dialog.h Fix plugin create dialog subfolder and script field validity checks 2021-10-17 23:42:04 +02:00
pot_generator.cpp Make some enhancements to the POT generation 2021-09-02 11:12:54 -03:00
pot_generator.h
progress_dialog.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
progress_dialog.h
project_export.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
project_export.h
project_manager.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
project_manager.h Entirely removes BIND_VMETHOD in favor of GDVIRTUAL 2021-08-23 08:10:13 -03:00
project_settings_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
project_settings_editor.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
property_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
property_editor.h Update usabilaty of the CustomPropertyEditor 2021-11-04 16:42:08 +01:00
property_selector.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
property_selector.h
quick_open.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
quick_open.h
register_exporters.h
rename_dialog.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
rename_dialog.h Modules: Make sure to include modules_enabled.gen.h where needed 2021-11-12 13:42:58 +01:00
reparent_dialog.cpp
reparent_dialog.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
scene_tree_dock.cpp Allow to copy foreign nodes 2021-12-13 13:33:06 +01:00
scene_tree_dock.h Modules: Make sure to include modules_enabled.gen.h where needed 2021-11-12 13:42:58 +01:00
scene_tree_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
scene_tree_editor.h Remove unimplemented methods 2021-10-21 18:44:25 +01:00
script_create_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
script_create_dialog.h Allow to name built-in scripts upon creation 2021-11-04 02:34:35 +01:00
SCsub i18n: Sync classref translations with Weblate 2021-11-03 15:06:09 +01:00
settings_config_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
settings_config_dialog.h Allow shortcuts to have any number of bindings. Updated UI as required. 2021-10-01 18:04:28 +10:00
shader_create_dialog.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
shader_create_dialog.h Add New Shader option to the FileSystemDock popup menu. 2021-12-03 19:42:58 +03:00
shader_globals_editor.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
shader_globals_editor.h