Commit Graph

243 Commits

Author SHA1 Message Date
Rémi Verschelde
eec165e1f5 i18n: Sync translations with Weblate 2023-02-24 14:43:04 +01:00
Rémi Verschelde
6f64349bfe i18n: Sync translations with Weblate 2023-02-20 12:09:15 +01:00
Rémi Verschelde
493e932c86 i18n: Sync translations with Weblate 2023-02-10 15:32:10 +01:00
Rémi Verschelde
097cf5431b Keep only production ready translations, move the WIP ones to godot-editor-l10n
- Remove WIP translation templates, moved to godot-editor-l10n which
  will be the source and target for Weblate contributions.
  * https://github.com/godotengine/godot-editor-l10n
- Re-add translations with a high completion ratio, stripped of the
  untranslated and fuzzy strings, and of the location and translator
  comments, to keep the size lower.
  * Threshold editor interface: 20% complete.
  * Threshold properties: 20% complete.
  * Threshold classes: 10% complete.
2023-02-07 15:35:12 +01:00
Rémi Verschelde
bebd76954c i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit b06d93aec6ff4aaf4fa8abdf3d5f0536a49d4cdc)
2023-01-20 12:32:03 +01:00
Rémi Verschelde
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Rémi Verschelde
bd0f008c67 i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit ee8986e146568ffa21e0d2824a0145aa5a241728)
2022-12-13 14:38:52 +01:00
Haoyu Qiu
c0e9d928e6 Improve editor property capitalization
* Captialize stop words when they are the last word.
* Add stop words logic in `extract.py`.
2022-11-25 18:54:37 +08:00
Jiri Suchan
c5bd2f9dce ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07:00
Rémi Verschelde
fdb2456ccb i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 7ee90a080f88d7f5786b25cc829da65b5c33faa7)
2022-09-27 23:51:05 +02:00
Rémi Verschelde
ae0c1b2b5c i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 367ffd10c8a0131bb7f669070d99841fdc3ec6e2)
2022-09-09 14:52:16 +02:00
Danil Alexeev
d4555ef5fb Add String.to_{camel,pascal,snake}_case methods 2022-08-30 12:36:24 +03:00
Rémi Verschelde
97db538352 i18n: Sync editor translations with Weblate
(cherry picked from commit 4e64c1f1b6c842cbf343f4f1f176f6fa0671bbc7)
2022-08-05 03:32:15 +02:00
Rémi Verschelde
d5f8ecd54e i18n: Sync editor translations with Weblate
(cherry picked from commit 5e66d2e2c4103ba4c7d178409da2a721bcb6d842)
2022-07-27 15:59:43 +02:00
Rémi Verschelde
2bc9b7b76b i18n: Sync editor translations with Weblate
(cherry picked from commit 556e090bcc72e6e51d210f374d8cb9cb72f8fe39)
2022-07-18 10:28:22 +02:00
Rémi Verschelde
550f9faa9c i18n: Sync editor translations with Weblate
(cherry picked from commit 30ceef93b03c235134d6356b708cc2715d9145d2)
2022-07-06 15:04:47 +02:00
Rémi Verschelde
5235ce4379 i18n: Sync editor translations with Weblate
(cherry picked from commit f29241fa1eed5899604e6b8c8fc3b4c84e4f4641)
2022-06-29 12:12:43 +02:00
Rémi Verschelde
22a8c80f67 i18n: Sync editor translations with Weblate
(cherry picked from commit 000499662bdb60e786ab6451c260e62a72ad595d)
2022-06-19 14:00:18 +02:00
Rémi Verschelde
d04e7a7506 i18n: Sync editor translations with Weblate
(cherry picked from commit 135c252a389c4cea2074536aeebef941038a1429)
2022-06-16 21:07:30 +02:00
Rémi Verschelde
72dea3b821 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).

(cherry picked from commit f1eab40cdaefc899a120e674a752347cf9ffdced)
2022-06-08 13:18:34 +02:00
Rémi Verschelde
24e6602832 i18n: Sync editor translations with Weblate
(cherry picked from commit 5be04c9153d832449d2b6affd4155977393bf36e)
2022-06-01 00:42:08 +02:00
Rémi Verschelde
2f0adb1c16 i18n: Sync editor translations with Weblate
(cherry picked from commit bf2c722a25943a3cca5460334cbbddd59120fecd)
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 caeae1f94964587fde62e397e27d01af7fc0567b)
2022-05-17 23:45:31 +02:00
Rémi Verschelde
b2beab3a0a i18n: Sync editor translations with Weblate
(cherry picked from commit 0997c2de84764c4cfbdf582ab405ac73b1cfad30)
2022-05-05 15:55:44 +02:00
Rémi Verschelde
340ffabd20 i18n: Sync editor translations with Weblate
(cherry picked from commit 1e61fb1e37c537179e3d50ad21ff26776a3ebb7e)
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 15dc747de8e895c4ac3212cd564266fb31a5d613)
2022-03-29 01:23:03 +02:00
Rémi Verschelde
c5192d57c6 i18n: Sync editor translations with Weblate
(cherry picked from commit 0db753ef54a305c32bbf9511ec7de5f1ba1c4c3c)
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 0de7cfc60f9ad8c7e5717bbbe484b22344b4bb17)
2022-03-18 11:52:26 +01:00
Rémi Verschelde
38a77fd3ff i18n: Sync editor translations with Weblate
(cherry picked from commit 4228d320bd1410c9b668d9c3cf3bfa4d296a2d0b)
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 93a3d47edcc1b3dabb81df55a8faf6f1cc22d1b3)
2022-03-17 19:53:24 +01:00
Rémi Verschelde
a4fc940bfe i18n: Add property paths to editor translation template
(cherry picked from commit 972c6687ffc3626b76557fc8a40927565db8eb2e)
2022-03-17 19:53:18 +01:00
Rémi Verschelde
4245f996e5 i18n: Sync editor translations with Weblate
(cherry picked from commit 98b8f4043a3e4c0c6d9a1a94bd0de99fbe6ee0b1)
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 751769ed45f835e96eedb7cf1aa47733b342d969)
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 9f09251027a485f14740dce7b753e962d26bff78)
2022-02-16 10:08:40 +01:00
Rémi Verschelde
6167ec42f9 i18n: Sync editor translations with Weblate
(cherry picked from commit da5a11fe45d9e358773a8df2da8df2f87293b088)
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 02d9ac107158c8c5d95f1ecc48078d66e00c1a57)
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 dd002197db63d0c4fd24c4ca005c83c60b3de1e8)
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 0fe94ee6e55e1231df5e80c20e58e7f2d73adde8)
2021-12-21 12:50:05 +01:00