godot/core
Rémi Verschelde 9729432ec0
i18n: Add support for translating the class reference
- Parse `.po` files from `doc/translations/*.po` like already done
  with `editor/translations/*.po`.
- Add logic to register a doc translation mapping in `TranslationServer`
  and `EditorSettings`.
- Add `DTR()` to lookup the doc translation mapping (similar to `TTR()`).
  Strings are automatically dedented and stripped of whitespace to ensure
  that they would match the translation catalog.
- Use `DTR()` to translate relevant strings in `EditorHelp`,
  `EditorInspector`, `CreateDialog`, `ConnectionsDialog`.
- Small simplification to `TranslationLoaderPO`, the path argument was
  not really meaningful.

(cherry picked from commit 4857648a16)
2021-10-07 12:48:23 +02:00
..
bind Fix crash when creating thread 2021-10-03 16:03:41 +08:00
crypto [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-06 11:10:47 +02:00
io i18n: Add support for translating the class reference 2021-10-07 12:48:23 +02:00
math Merge pull request #51086 from aaronfranke/3.x-warn-dectime 2021-10-05 12:06:03 +02:00
os Add an editor setting to configure number of threads for lightmap baking 2021-10-05 17:35:20 +02:00
array.cpp Add an Array.pop_at() method to pop an element at an arbitrary index 2021-08-27 01:27:07 +02:00
array.h Add an Array.pop_at() method to pop an element at an arbitrary index 2021-08-27 01:27:07 +02:00
bitfield_dynamic.cpp Portal occlusion culling 2021-07-14 11:43:23 +01:00
bitfield_dynamic.h Portal occlusion culling 2021-07-14 11:43:23 +01:00
class_db.cpp Improve error message when instantiating virtual class 2021-10-06 09:29:31 +02:00
class_db.h Expose enum related methods in ClassDB 2021-09-11 20:33:29 +08:00
color_names.inc
color.cpp
color.h
command_queue_mt.cpp
command_queue_mt.h
compressed_translation.cpp
compressed_translation.h
core_builders.py SCons: Generate header with info on which modules are enabled 2021-07-14 23:09:47 +02:00
core_string_names.cpp
core_string_names.h
cowdata.h
dictionary.cpp
dictionary.h
engine.cpp Add Engine.print_error_messages property to disable printing errors 2021-07-20 13:58:07 +03:00
engine.h Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
error_list.h
error_macros.cpp
error_macros.h Merge pull request #53393 from lawnjelly/dev_asserts 2021-10-05 11:25:24 +02:00
func_ref.cpp
func_ref.h
global_constants.cpp Fix game controllers ignoring the last listed button 2021-06-03 15:45:05 +01:00
global_constants.h
hash_map.h
hashfuncs.h
image.cpp Fixes 50428, added missing checks for image lock 2021-07-14 21:49:23 +05:30
image.h Validate image formats, check if resize_to_po2 failed 2021-06-29 14:02:23 +02:00
input_map.cpp Adding InputMap action error suggestion for Input singleton 2021-09-21 17:14:58 +02:00
input_map.h Adding InputMap action error suggestion for Input singleton 2021-09-21 17:14:58 +02:00
int_types.h
list.h
local_vector.h Fix LocalVector crash on insert. 2021-09-14 13:41:26 +02:00
make_binders.py
map.h
message_queue.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
message_queue.h
method_bind.cpp
method_bind.h
method_ptrcall.h
node_path.cpp Optimize NodePath update when renaming or deleting nodes in the editor 2021-07-09 11:43:05 -07:00
node_path.h
oa_hash_map.h
object_id.h
object_rc.h Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
object.cpp Fix CONNECT_REFERENCE_COUNTED 2021-10-04 15:15:27 +02:00
object.h Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
ordered_hash_map.h
packed_data_container.cpp
packed_data_container.h
paged_allocator.h Replace QuickHull with Bullet's convex hull computer. 2021-05-22 08:16:43 +02:00
pair.h
path_remap.cpp
path_remap.h
pool_allocator.cpp
pool_allocator.h
pool_vector.cpp
pool_vector.h
pooled_list.h Sphere occluders (portals and general use) 2021-08-17 09:02:06 +01:00
print_string.cpp
print_string.h
project_settings.cpp Merge pull request #52714 from m4gr3d/provide_getter_for_project_data_dir_3x 2021-10-05 21:02:41 +02:00
project_settings.h Provide a getter for the project data directory. 2021-09-15 13:00:25 -07:00
ref_ptr.cpp
ref_ptr.h
reference.cpp
reference.h
register_core_types.cpp Backport HMac crypto to 3.x 2021-05-20 13:29:38 +03:00
register_core_types.h
resource.cpp OS: Fix used resource debug prints 2021-08-06 13:24:02 +02:00
resource.h Resource: Remove unused _use_builtin_script() virtual method 2021-08-12 16:45:48 +02:00
rid.cpp
rid.h
ring_buffer.h
safe_refcount.cpp
safe_refcount.h
script_debugger_local.cpp
script_debugger_local.h
script_language.cpp
script_language.h Add Script::inherits_script() 2021-08-02 15:18:30 +02:00
SCsub Fixed build with SCRIPT_AES256_ENCRYPTION_KEY set 2021-05-14 15:15:25 +02:00
self_list.h
set.h
simple_type.h
sort_array.h
string_buffer.h
string_builder.cpp
string_builder.h
string_name.cpp
string_name.h
translation.cpp i18n: Add support for translating the class reference 2021-10-07 12:48:23 +02:00
translation.h i18n: Add support for translating the class reference 2021-10-07 12:48:23 +02:00
type_info.h Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
typedefs.h
ucaps.h
undo_redo.cpp Improve Undo/Redo menu items 2021-08-18 00:46:51 +08:00
undo_redo.h Improve Undo/Redo menu items 2021-08-18 00:46:51 +08:00
ustring.cpp i18n: Add support for translating the class reference 2021-10-07 12:48:23 +02:00
ustring.h i18n: Add support for translating the class reference 2021-10-07 12:48:23 +02:00
variant_call.cpp fix crash in Variant::get_method_default_arguments when wrong type is passed 2021-09-28 19:57:45 +09:00
variant_op.cpp Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
variant_parser.cpp NaN, INF read/write bug fixed 2021-10-05 13:28:39 -04:00
variant_parser.h VariantParser: Fix uninitialized ResourceParser funcs 2021-08-03 09:33:25 +02:00
variant.cpp Fix crash when casting from null 2021-09-26 10:08:14 +08:00
variant.h Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
vector.h
version.h
vmap.h
vset.h