godot/core/variant
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
..
SCsub Reorganized core/ directory, it was too fatty already 2020-11-07 20:17:12 -03:00
array.cpp PackedByteArray, Array slice end exclusive, rename subarray to slice 2021-11-26 22:13:12 -06:00
array.h PackedByteArray, Array slice end exclusive, rename subarray to slice 2021-11-26 22:13:12 -06:00
binder_common.h align to horizontal_alignment, valign to vertical_alignment, related 2021-12-09 01:38:46 -06:00
callable.cpp Remove binds from Signal.connect 2021-09-24 17:07:33 +02:00
callable.h Remove binds from Signal.connect 2021-09-24 17:07:33 +02:00
callable_bind.cpp Implement properties arrays in the Inspector. 2021-09-07 09:51:28 +02:00
callable_bind.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
container_type_validate.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
dictionary.cpp Modify Dictionary::operator== to do real key/value comparison with recursive support (and add unittests) 2021-10-30 13:11:01 +02:00
dictionary.h Modify Dictionary::operator== to do real key/value comparison with recursive support (and add unittests) 2021-10-30 13:11:01 +02:00
method_ptrcall.h Implement NativeExtension pointer arguments 2021-08-23 19:58:40 -03:00
native_ptr.h Fix const pointers types in docs and extension API. 2021-09-29 16:04:20 +02:00
type_info.h clang-format: Disable alignment of operands, too unreliable 2021-10-28 15:19:35 +02:00
typed_array.h Replace BIND_VMETHOD by new GDVIRTUAL syntax 2021-08-22 08:23:58 -03:00
variant.cpp Modify Dictionary::operator== to do real key/value comparison with recursive support (and add unittests) 2021-10-30 13:11:01 +02:00
variant.h Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
variant_call.cpp Make `--doctool` locale aware 2021-12-16 17:49:22 +08:00
variant_construct.cpp Refactored Node3D rotation modes 2021-10-25 14:34:00 -03:00
variant_construct.h Make some variant internal functions public. 2021-06-17 19:59:28 -03:00
variant_destruct.cpp Improve extension system 2021-08-05 14:57:31 -03:00
variant_destruct.h Improve extension system 2021-08-05 14:57:31 -03:00
variant_internal.h Expose max_axis_index and max_axis_index for Vector2(i) 2021-12-02 23:45:41 -06:00
variant_op.cpp Add Variant `in` operator for any String/StringName operands 2021-10-06 22:07:32 -03:00
variant_op.h Add Variant `in` operator for any String/StringName operands 2021-10-06 22:07:32 -03:00
variant_parser.cpp Replace String comparisons with "", String() to is_empty() 2021-12-09 04:48:38 -06:00
variant_parser.h Modify Dictionary::operator== to do real key/value comparison with recursive support (and add unittests) 2021-10-30 13:11:01 +02:00
variant_setget.cpp Rename `remove()` to `remove_at()` when removing by index 2021-11-23 18:58:57 -07:00
variant_setget.h Make some variant internal functions public. 2021-06-17 19:59:28 -03:00
variant_utility.cpp Expose `randfn` to global scope 2021-11-17 14:29:19 +03:00