godot/tests/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
..
test_node_path.h Move and organize tests into subfolders 2021-11-07 00:43:31 -06:00
test_string.h Make `--doctool` locale aware 2021-12-16 17:49:22 +08:00
test_translation.h Move and organize tests into subfolders 2021-11-07 00:43:31 -06:00