Commit Graph

223 Commits

Author SHA1 Message Date
Rémi Verschelde 24e6602832 i18n: Sync editor translations with Weblate
(cherry picked from commit 5be04c9153)
2022-06-01 00:42:08 +02:00
Rémi Verschelde 2f0adb1c16 i18n: Sync editor translations with Weblate
(cherry picked from commit bf2c722a25)
2022-05-24 00:09:46 +02:00
Haoyu Qiu fc3b845c07 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_NO_EDITOR
* Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-19 14:08:47 +08:00
Rémi Verschelde 80acc7a2c2 i18n: Sync editor translations with Weblate
(cherry picked from commit caeae1f949)
2022-05-17 23:45:31 +02:00
Rémi Verschelde b2beab3a0a i18n: Sync editor translations with Weblate
(cherry picked from commit 0997c2de84)
2022-05-05 15:55:44 +02:00
Rémi Verschelde 340ffabd20 i18n: Sync editor translations with Weblate
(cherry picked from commit 1e61fb1e37)
2022-04-25 17:19:34 +02:00
Haoyu Qiu 2f20ff0ed6 Extract theme property names for localization 2022-04-01 11:35:22 +08:00
Haoyu Qiu 39245c8216 Strip feature tag manually when extracting property paths 2022-03-30 20:29:43 +08:00
Haoyu Qiu 0a9f97f423 Add more patterns for property path extraction 2022-03-30 18:21:46 +08:00
Rémi Verschelde 29a946ee91
Merge pull request #59374 from timothyqiu/extract-refactor-master
Refactor editor `extract.py`
2022-03-29 08:44:37 +02:00
Rémi Verschelde a7a3ff6940 i18n: Sync editor translation template after #59349
(cherry picked from commit 15dc747de8)
2022-03-29 01:23:03 +02:00
Rémi Verschelde c5192d57c6 i18n: Sync editor translations with Weblate
(cherry picked from commit 0db753ef54)
2022-03-29 01:22:58 +02:00
Haoyu Qiu d91c35a325 Refactor editor `extract.py` 2022-03-21 15:56:00 +08:00
Haoyu Qiu 46f5cd65a1 More editor `extract.py` improvements and fixes 2022-03-20 20:21:00 +08:00
Rémi Verschelde 309cd91ea7 i18n: Sync editor translation template after #59265
(cherry picked from commit 0de7cfc60f)
2022-03-18 11:52:26 +01:00
Rémi Verschelde 38a77fd3ff i18n: Sync editor translations with Weblate
(cherry picked from commit 4228d320bd)
2022-03-18 11:52:22 +01:00
Haoyu Qiu 4d73899352 Improves editor property name extraction 2022-03-18 17:56:45 +08:00
Rémi Verschelde e10e7c8ea4 i18n: Sync editor translation POs with template
(cherry picked from commit 93a3d47edc)
2022-03-17 19:53:24 +01:00
Rémi Verschelde a4fc940bfe i18n: Add property paths to editor translation template
(cherry picked from commit 972c6687ff)
2022-03-17 19:53:18 +01:00
Rémi Verschelde 4245f996e5 i18n: Sync editor translations with Weblate
(cherry picked from commit 98b8f4043a)
2022-03-17 19:53:13 +01:00
Haoyu Qiu e64cd21f6f Remap property path based on path substrings
Also added captialization caching.
2022-03-18 00:31:13 +08:00
Rémi Verschelde 7e4a8d3ab3
Merge pull request #58706 from timothyqiu/property-i18n 2022-03-10 21:09:50 +01:00
Rémi Verschelde e78f9da476 i18n: Sync editor translations with Weblate
(cherry picked from commit 751769ed45)
2022-03-09 10:44:18 +01:00
Haoyu Qiu d6df2ffad8 i18n: Make property paths and categories translatable 2022-03-03 18:31:40 +08:00
Rémi Verschelde c4c29728a3
i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.

(cherry picked from commit 9f09251027)
2022-02-16 10:08:40 +01:00
Rémi Verschelde 6167ec42f9
i18n: Sync editor translations with Weblate
(cherry picked from commit da5a11fe45)
2022-01-12 18:45:36 +01:00
Rémi Verschelde 4dbef3a4f5
i18n: Sync template with current 3.x codebase
Weblate will now track the state of `3.x` to prepare for the 3.5 release.

(cherry picked from commit 02d9ac1071)
2022-01-07 13:35:28 +01:00
Rémi Verschelde 3ccedb4cdf
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:34:52 +01:00
Rémi Verschelde fe52458154
Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Rémi Verschelde 3c1d3912b6
i18n: Sync editor translations with Weblate
(cherry picked from commit 0fe94ee6e5)
2021-12-21 12:50:05 +01:00
Rémi Verschelde 6214727c80
i18n: Sync editor translations with Weblate
(cherry picked from commit 8a30e04fd1)
2021-12-16 15:16:02 +01:00
Rémi Verschelde 04cc06b28e
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:53:24 +01:00
Rémi Verschelde e156c4809a
i18n: Sync editor translations with Weblate
(cherry picked from commit fd86272ca0)
2021-12-10 11:53:14 +01:00
Rémi Verschelde 36150e432c
i18n: Sync editor translations with Weblate
(cherry picked from commit 7ca1be5f37)
2021-11-19 09:55:09 +01:00
Rémi Verschelde 3447e0dd19
i18n: Sync editor translations with Weblate
Latvian (lv) is now above the threshold for inclusion.

(cherry picked from commit 74bcf37f90)
2021-11-03 15:06:02 +01:00
Rémi Verschelde 0aa6f27061
i18n: Sync editor translations with Weblate
(cherry picked from commit 4010bb9af0)
2021-10-23 12:38:15 +02:00
Rémi Verschelde 01aec21d25
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.

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

The list will be synced manually every now and then.

(cherry picked from commit 8425c58991)
2021-10-20 15:10:13 +02:00
Rémi Verschelde 64c9d44c06
i18n: Sync editor translations with Weblate
(cherry picked from commit 2a7e1d0aac)
2021-10-18 12:02:05 +02:00
Rémi Verschelde b1853d8672
i18n: Sync translations with Weblate
(cherry picked from commit 323c3ee9db5414dbd79748a98e21446dddecb057)
2021-09-21 17:28:21 +02:00
Aaron Franke 3a902c66c4
Revert some URLs from the "Replace HTTP URLs with HTTPS" PR 2021-09-13 15:18:35 -05:00
Aaron Franke ae1702bee5
Replace HTTP links with HTTPS for sites with HTTPS versions 2021-08-22 20:13:11 -05:00
Rémi Verschelde d10bfe8e24
i18n: Sync translations with Weblate
And sync template with current 3.x codebase.

(cherry picked from commit f3441fcff0)
2021-08-12 17:10:01 +02:00
Rémi Verschelde 74f5513d21
i18n: Sync template with current 3.x codebase
Weblate will now track the state of `3.x` to prepare for the 3.4 release.

(cherry picked from commit 92bafdcafb)
2021-08-03 11:07:47 +02:00
Rémi Verschelde f618e7cf06
i18n: Sync translations with Weblate
Last POT sync with the `3.3` branch, we'll now switch Weblate to track
`3.x` to prepare for the 3.4 release.

(cherry picked from commit dec840452d)
2021-08-03 11:07:40 +02:00
Rémi Verschelde bf4dba5ff4
i18n: Sync translations with Weblate
(cherry picked from commit c406c8512f)
2021-07-26 16:23:31 +02:00
luz paz 3564c16cb8
Fix various typos with codespell
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25 11:21:51 +02:00
Rémi Verschelde f17341d61b
i18n: Sync translations with Weblate
(cherry picked from commit 1c840a31a5)
2021-07-13 13:15:34 +02:00
Rémi Verschelde c3f0b9f972
i18n: Sync translations with Weblate
(cherry picked from commit 30bb133e01)
2021-06-29 14:57:47 +02:00
Rémi Verschelde 37a0f4cefb
i18n: Sync translations with Weblate
(cherry picked from commit a812779cc5)
2021-06-16 13:48:32 +02:00
Rémi Verschelde ac47e1d3e5
i18n: Sync translations with Weblate
(cherry picked from commit 0446cf487f)
2021-06-02 11:10:28 +02:00