virtualx-engine/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 NodePath: Remove unimplemented get_parent() method 2021-04-23 12:37:53 +02:00
optimized_translation.cpp Fix specific warnings issues by Clang 2021-10-14 14:14:26 -07:00
optimized_translation.h Rename PHashTranslation to OptimizedTranslation 2021-03-20 10:02:47 +00:00
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 Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
string_buffer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
string_builder.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
string_builder.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
string_name.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
string_name.h Adds ability to debug stringnames 2021-07-20 17:31:51 -03:00
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
translation_po.cpp Use const references where possible for List range iterators 2021-07-25 12:22:25 +02:00
translation_po.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ucaps.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
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