Commit graph

228 commits

Author SHA1 Message Date
Rémi Verschelde
ee8986e146
i18n: Sync editor translations with Weblate (3.5 branch) 2022-12-13 14:33:47 +01:00
Rémi Verschelde
7ee90a080f i18n: Sync editor translations with Weblate (3.5 branch) 2022-09-27 23:50:14 +02:00
Rémi Verschelde
367ffd10c8 i18n: Sync editor translations with Weblate (3.5 branch) 2022-09-09 14:41:34 +02:00
Rémi Verschelde
4e64c1f1b6 i18n: Sync editor translations with Weblate 2022-08-05 03:09:55 +02:00
Rémi Verschelde
5e66d2e2c4 i18n: Sync editor translations with Weblate 2022-07-27 15:31:01 +02:00
Rémi Verschelde
556e090bcc i18n: Sync editor translations with Weblate 2022-07-18 10:14:53 +02:00
Rémi Verschelde
30ceef93b0 i18n: Sync editor translations with Weblate 2022-07-06 14:59:09 +02:00
Rémi Verschelde
f29241fa1e i18n: Sync editor translations with Weblate 2022-06-29 12:08:19 +02:00
Rémi Verschelde
000499662b i18n: Sync editor translations with Weblate 2022-06-19 13:57:04 +02:00
Rémi Verschelde
135c252a38 i18n: Sync editor translations with Weblate 2022-06-16 20:59:13 +02:00
Rémi Verschelde
f1eab40cda i18n: Sync editor translations with Weblate
Remove some translation templates which were empty or almost empty
(less than 10 strings translated, years without further activity).
2022-06-08 13:16:32 +02:00
Rémi Verschelde
5be04c9153 i18n: Sync editor translations with Weblate 2022-06-01 00:37:03 +02:00
Rémi Verschelde
f13b47d9e2 Remove mistakenly committed file 2022-05-24 00:10:44 +02:00
Rémi Verschelde
bf2c722a25 i18n: Sync editor translations with Weblate 2022-05-24 00:06:20 +02:00
Haoyu Qiu
b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Rémi Verschelde
caeae1f949 i18n: Sync editor translations with Weblate 2022-05-17 23:41:31 +02:00
Rémi Verschelde
0997c2de84 i18n: Sync editor translations with Weblate 2022-05-05 15:54:58 +02:00
Rémi Verschelde
1e61fb1e37 i18n: Sync editor translations with Weblate 2022-04-25 17:14:49 +02:00
Haoyu Qiu
f9da6f6978 Extract theme property names for localization 2022-04-01 11:35:02 +08:00
Haoyu Qiu
14c13f7c4a Strip feature tag manually when extracting property paths 2022-03-30 20:28:57 +08:00
Haoyu Qiu
79d3fc5319 Add more patterns for property path extraction 2022-03-30 18:21:24 +08:00
Rémi Verschelde
eb837f8cb4
Merge pull request #59375 from timothyqiu/extract-refactor-3.x
[3.x] Refactor editor `extract.py`
2022-03-29 08:45:18 +02:00
Rémi Verschelde
15dc747de8 i18n: Sync editor translation template after #59349 2022-03-29 01:22:20 +02:00
Rémi Verschelde
0db753ef54 i18n: Sync editor translations with Weblate 2022-03-29 01:22:20 +02:00
Haoyu Qiu
545e2ceb8a Refactor editor extract.py 2022-03-21 15:53:43 +08:00
Haoyu Qiu
1bf30d7be0 More editor extract.py improvements and fixes 2022-03-20 20:21:05 +08:00
Rémi Verschelde
0de7cfc60f i18n: Sync editor translation template after #59265 2022-03-18 11:52:03 +01:00
Rémi Verschelde
4228d320bd i18n: Sync editor translations with Weblate 2022-03-18 11:50:55 +01:00
Haoyu Qiu
177c60fc52 Improves editor property name extraction 2022-03-18 17:53:28 +08:00
Rémi Verschelde
93a3d47edc i18n: Sync editor translation POs with template 2022-03-17 19:44:13 +01:00
Rémi Verschelde
972c6687ff i18n: Add property paths to editor translation template 2022-03-17 19:42:24 +01:00
Rémi Verschelde
98b8f4043a i18n: Sync editor translations with Weblate 2022-03-17 19:39:48 +01:00
Haoyu Qiu
8d7ec5075b Remap property path based on path substrings
Also added captialization caching.
2022-03-18 00:32:36 +08:00
Haoyu Qiu
878cf8262a Add context support for editor translation 2022-03-16 15:44:30 +08:00
Rémi Verschelde
153a068958
Merge pull request #58634 from timothyqiu/property-i18n-3.x 2022-03-10 21:08:38 +01:00
Rémi Verschelde
751769ed45 i18n: Sync editor translations with Weblate 2022-03-09 10:33:03 +01:00
Haoyu Qiu
aaff2e3982 i18n: Make property paths and sections translatable
Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2022-03-03 15:33:46 +08:00
Rémi Verschelde
9f09251027
i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.
2022-02-16 09:55:45 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
da5a11fe45
i18n: Sync editor translations with Weblate 2022-01-12 18:45:00 +01:00
Rémi Verschelde
02d9ac1071
i18n: Sync template with current 3.x codebase
Weblate will now track the state of `3.x` to prepare for the 3.5 release.
2022-01-07 13:30:21 +01:00
Rémi Verschelde
321d5f0861
i18n: Sync editor translations with Weblate (last 3.4 sync)
Next sync will be with the `3.x` branch to prepare the 3.5 translations.

(cherry picked from commit dd002197db)
2022-01-07 13:30:21 +01:00
Rémi Verschelde
9d17215dbf
i18n: Sync editor translations with Weblate
(cherry picked from commit 0fe94ee6e5)
2021-12-21 12:33:56 +01:00
Rémi Verschelde
660e8e7bb8
i18n: Sync editor translations with Weblate
(cherry picked from commit 8a30e04fd1)
2021-12-16 15:15:41 +01:00
Rémi Verschelde
95f895f087
i18n: Remove deleted translations from PO files
Since we bundle the whole files in the editor binary, they actual impact the
binary size needlessly.

Automate it via `make merge`.

(cherry picked from commit 6fb47a271f)
2021-12-10 11:52:45 +01:00
Rémi Verschelde
6b1fa33c55
i18n: Sync editor translations with Weblate
(cherry picked from commit fd86272ca0)
2021-12-10 11:52:35 +01:00
Rémi Verschelde
292164d2a5
i18n: Sync editor translations with Weblate
(cherry picked from commit 7ca1be5f37)
2021-11-19 09:54:40 +01:00
Rémi Verschelde
74bcf37f90
i18n: Sync editor translations with Weblate
Latvian (lv) is now above the threshold for inclusion.
2021-11-03 14:56:44 +01:00
Rémi Verschelde
4010bb9af0
i18n: Sync editor translations with Weblate 2021-10-23 12:28:40 +02:00
Rémi Verschelde
8425c58991
i18n: Only include editor translations above a threshold
This reduces the size of the editor binaries significantly, as we otherwise
embed all WIP translations, including ones with very low completion ratios,
and end up paying for the size of all `msgid`s for each locale.

Cf. https://github.com/godotengine/godot-proposals/issues/3421 for details.

The thresholds used are:
- 30% for the editor interface (should already include most common strings
  while more obscure ones like UndoRedo action names might be untranslated).
- 10% for the class reference: this is a HUGE resource and 10% is already
  a lot of useful content, especially if focused on the most used APIs.

For 3.x, we also exclude languages that require complex text layout support
to be displayed properly.

This currently reduces the size of the editor binary by 17% on Linux.

The list will be synced manually every now and then.
2021-10-20 14:39:21 +02:00