mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
e4e4e475f8
* 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`. |
||
---|---|---|
.. | ||
node_path.cpp | ||
node_path.h | ||
optimized_translation.cpp | ||
optimized_translation.h | ||
print_string.cpp | ||
print_string.h | ||
SCsub | ||
string_buffer.h | ||
string_builder.cpp | ||
string_builder.h | ||
string_name.cpp | ||
string_name.h | ||
translation_po.cpp | ||
translation_po.h | ||
translation.cpp | ||
translation.h | ||
ucaps.h | ||
ustring.cpp | ||
ustring.h |