godot/core/string
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
..
node_path.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
node_path.h
optimized_translation.cpp Fix specific warnings issues by Clang 2021-10-14 14:14:26 -07:00
optimized_translation.h
print_string.cpp Change print_line() to use any number of Variants 2021-10-07 16:28:22 +02:00
print_string.h Change print_line() to use any number of Variants 2021-10-07 16:28:22 +02:00
SCsub
string_buffer.h
string_builder.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
string_builder.h
string_name.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
string_name.h
translation_po.cpp
translation_po.h
translation.cpp Added check to get_all_locales to avoid adding duplicate locales to array 2021-12-10 19:25:59 -03:00
translation.h Implement override of get_message and get_plural_message 2021-09-29 14:19:14 +03:00
ucaps.h
ustring.cpp Make --doctool locale aware 2021-12-16 17:49:22 +08:00
ustring.h Make --doctool locale aware 2021-12-16 17:49:22 +08:00