27 Commits

Author SHA1 Message Date
Rémi Verschelde
37a383d5a8 Merge and export translations for Godot 4.5 2025-07-31 22:28:13 +02:00
Rémi Verschelde
07fd9cb8d2 Merge translations with Godot 4.5 strings
Not exporting them to the Godot repo yet as we'll merge the classes change
from tab indentation to spaces first.
2025-06-06 14:17:54 +02:00
Rémi Verschelde
b0cc5442f2 Scripts: Fix extract_classes.py to better handle XML indentation (#26)
No need to special case codeblocks, we can just rely on textwrap.dedent and keep
the original element text verbatim.
2025-06-06 14:17:34 +02:00
Haoyu Qiu
b3a984c9c1 Fix basic editor settings not extracted (#25) 2025-03-13 08:54:52 +01:00
Haoyu Qiu
d44ab97aa6 Ignore properties starting with an underscore (#24) 2025-02-27 10:02:55 +01:00
Haoyu Qiu
6651031975 Exclude tests folder from string extraction 2024-06-25 19:47:33 +08:00
Michael Alexsander
2201267681 Fix regression from ignoring comments 2024-05-07 21:36:31 -03:00
Michael Alexsander
de7827d2bf Improve Regex extraction so it ignores comments 2024-03-06 15:36:59 -03:00
Rémi Verschelde
0d93c25a45 Add 'extractable' PO files, merged with editor translations 2024-03-04 16:14:35 +01:00
Rémi Verschelde
456fe0d715 Merge pull request #13 from YeldhamDev/extractable_translations
Add POT generation for `ETR/ETRN()` strings
2024-03-04 15:45:10 +01:00
Danil Alexeev
ed734eb158 Add translation string for void tooltip 2024-02-28 19:13:41 +03:00
Danil Alexeev
cd170711fe Add extraction of deprecated/experimental messages 2024-02-15 19:44:53 +03:00
Micky
b31dc2343a Add "No description for this enum" message
Related to https://github.com/godotengine/godot-editor-l10n/pull/14

Required for https://github.com/godotengine/godot/pull/87259
2024-01-16 18:38:35 +01:00
Micky
b6a4a7a1a0 Add "No description for this constant" message
Required for https://github.com/godotengine/godot/pull/85836
2024-01-16 17:56:07 +01:00
Michael Alexsander
1c3beb31e6 Add POT generation for ETR/ETRN() strings 2023-12-15 22:28:26 -03:00
Haoyu Qiu
e1b8c675b0 Sync base strings from make_rst.py 2023-11-24 12:30:39 +08:00
Haoyu Qiu
56ef2dba10 Fix wrong way to build theme item paths 2023-10-19 10:33:23 +08:00
Haoyu Qiu
c74e582138 Add context support for editor property name i18n
Also:
* Removed deprecated code that remains in `extract_editor.py` after the
  script split
* Fixed borken remap extraction due to our migration from
  `String::utf8("text")` to `U"text"`
2023-10-06 19:44:55 +08:00
Rémi Verschelde
73d5be8f19 Sync translation templates with Godot (first 4.2 sync) 2023-10-02 17:46:22 +02:00
Rémi Verschelde
873d564a33 Sync translation templates with Godot
Also update POT file width to 80, missed in 0790d4b54d.
2023-09-08 12:10:49 +02:00
Raul Santos
bd83eddb89 Add base strings for note about C# differences and empty descriptions 2023-07-09 01:45:28 +02:00
Haoyu Qiu
0b10708d17 Parse UTF-32 string literal for editor strings 2023-07-02 12:25:08 +08:00
Danil Alexeev
2d4e85ab4f Add translation string for BitField<T> tooltip 2023-06-16 21:38:49 +03:00
Haoyu Qiu
2bef7e3bc3 Exclude non-editor property strings 2023-02-11 22:01:13 +08:00
Haoyu Qiu
9b2b74e599 Handle GLOBAL_DEF overload 2023-02-10 12:11:44 +08:00
Haoyu Qiu
7c4d85cc85 Handle grouping in import options 2023-02-09 14:43:31 +08:00
Rémi Verschelde
57ae4577ed Move all editor translations from Godot repo to this new repo
We use a git submodule to handle updating the POT templates.

The translations were synced with the last 3.5 state from Jan 20,
then merged and updated with Feb 7 sources for 4.0.

The editor translations are split into editor interface (`editor`)
and properties (`properties`) resources, following:
https://github.com/godotengine/godot/pull/70623
2023-02-07 15:19:16 +01:00