godot/core
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
..
config Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
crypto [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-03 16:12:55 +02:00
debugger Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
error 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
extension Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
input Sync controller mappings DB with SDL2 community repo 2021-12-10 10:59:30 +01:00
io Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
math align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
multiplayer PackedByteArray, Array slice end exclusive, rename subarray to slice 2021-11-26 22:13:12 -06:00
object Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
os Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
string Make `--doctool` locale aware 2021-12-16 17:49:22 +08:00
templates Merge pull request #35901 from nathanfranke/pool-byte-array-subarray-exclusive 2021-12-07 14:00:59 +01:00
variant Make `--doctool` locale aware 2021-12-16 17:49:22 +08:00
SCsub SCons: List `.gen.cpp` sources explicitly to avoid globbing errors 2021-10-15 22:14:11 +02:00
core_bind.cpp Improve Directory content navigation 2021-12-10 17:24:04 +01:00
core_bind.h Improve Directory content navigation 2021-12-10 17:24:04 +01:00
core_builders.py Use maximum zlib compression when generating editor translation headers 2021-10-29 19:07:48 +02:00
core_constants.cpp align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Removed _change_notify 2021-02-10 19:31:24 -03:00
core_string_names.h Removed _change_notify 2021-02-10 19:31:24 -03:00
doc_data.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
doc_data.h Make overridden properties link to parent definition 2021-12-03 17:47:22 +03:00
register_core_types.cpp Update MultiplayerPeerExtension class registration to non-virtual 2021-12-11 11:05:03 -03:30
register_core_types.h Implement native extension system 2021-06-25 17:32:45 -03:00
typedefs.h Rename built-in `SGN()` macro to `SIGN()` 2021-11-16 20:40:49 +01:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00