Commit Graph

70 Commits

Author SHA1 Message Date
Jiri Suchan c5bd2f9dce ci: add Python static analysis check via mypy 2022-09-30 19:03:17 +07:00
Rémi Verschelde 0f1efa7c55 i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit 8dbd40db65)
2022-09-27 23:51:12 +02:00
Rémi Verschelde 93be337483 i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit 26a28d6bbd)
2022-09-09 14:52:21 +02:00
Rémi Verschelde 1afc83d0a7 i18n: Sync classref translations with Weblate
(cherry picked from commit b671ea88fb)
2022-08-05 03:32:23 +02:00
Rémi Verschelde 4e9640b3ec i18n: Sync classref translations with Weblate
(cherry picked from commit 516d6b6bad)
2022-07-27 16:03:34 +02:00
Rémi Verschelde dfc76dc26d i18n: Sync classref translations with Weblate
(cherry picked from commit 7379f2c76a)
2022-07-18 10:29:25 +02:00
Rémi Verschelde 76d0a99707 i18n: Sync classref translations with Weblate
(cherry picked from commit 417f20f06c)
2022-07-06 15:04:52 +02:00
Rémi Verschelde 26dd4746a1 i18n: Sync classref translations with Weblate
(cherry picked from commit c93ccb5d1d)
2022-06-29 12:12:48 +02:00
Rémi Verschelde f7d2dcc878 i18n: Sync classref translations with Weblate
(cherry picked from commit 5478afdb1e)
2022-06-19 14:00:21 +02:00
Rémi Verschelde f5deed4612 i18n: Sync classref translations with Weblate
(cherry picked from commit e047c50068)
2022-06-16 21:07:33 +02:00
Rémi Verschelde c09d830106 i18n: Sync classref translations with Weblate
(cherry picked from commit 6536877117)
2022-06-08 13:18:40 +02:00
Rémi Verschelde 70eaaf2a01 i18n: Sync classref translations with Weblate
(cherry picked from commit af8a02ddaf)
2022-06-01 00:42:11 +02:00
Rémi Verschelde 911e915b2d i18n: Sync classref translations with Weblate
(cherry picked from commit 10414fa893)
2022-05-24 00:11:26 +02:00
Rémi Verschelde 438202dbd8 i18n: Sync classref translations with Weblate
(cherry picked from commit e86d840d4f)
2022-05-17 23:45:37 +02:00
Rémi Verschelde f10f2a7232 i18n: Sync classref translations with Weblate
(cherry picked from commit 021f92a1be)
2022-05-05 15:55:50 +02:00
Rémi Verschelde baa0b4fdec i18n: Sync classref translations with Weblate
(cherry picked from commit 4c68304e2f)
2022-04-25 17:19:45 +02:00
Rémi Verschelde c5efda5f4e i18n: Sync classref translations with Weblate
(cherry picked from commit 37f6fff7ae)
2022-03-29 01:23:07 +02:00
Rémi Verschelde c6c6d58c71 i18n: Sync classref translations with Weblate
(cherry picked from commit 009b286e31)
2022-03-17 19:53:31 +01:00
Rémi Verschelde da4fc8d0ea i18n: Sync classref translations with Weblate
(cherry picked from commit 6c56433997)
2022-03-09 10:44:30 +01:00
Rémi Verschelde 6c40d1ab9b
i18n: Sync classref translations with Weblate
(cherry picked from commit 9cb169504a)
2022-02-16 10:09:29 +01:00
Yuri Sizov 2b35ecaee4 Extract link titles for translation if available 2022-02-10 22:16:27 +03:00
Rémi Verschelde 40691b2ebe
i18n: Exclude `$DOCS_URL` links from classref translations 2022-02-10 15:38:21 +01:00
Rémi Verschelde 1bdb82c64e
Fix typos with codespell
Using codespell 2.2-dev from current git.

Added `misc/scripts/codespell.sh` to make it easier to run it once in a
while and update the skip and ignore lists.
2022-02-10 12:30:19 +01:00
Rémi Verschelde 53096c6f01
i18n: Sync classref translations with Weblate
(cherry picked from commit b9b23d2226)
2022-01-12 18:45:42 +01:00
Rémi Verschelde 50225a0f32
i18n: Sync classref translations with current 3.x codebase
(cherry picked from commit defb801120)
2022-01-07 13:39:06 +01:00
Rémi Verschelde 315805649a
i18n: Sync classref translations with Weblate
(cherry picked from commit e9484e057d)
2022-01-07 13:35:36 +01:00
Rémi Verschelde 0905f81c0a
Merge pull request #56162 from akien-mga/i18n-make_rst-more-translatable
i18n: Make more `make_rst.py` strings translatable
2022-01-07 09:23:57 +01:00
Rémi Verschelde fd1d0c28c2
i18n: Make more `make_rst.py` strings translatable
For now we leave out the strings which could break rst table formatting.
2022-01-06 21:13:38 +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
luz paz a124f1effe Fix various typos
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn`
Update editor/import/resource_importer_layered_texture.cpp

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update doc/classes/TileSetScenesCollectionSource.xml

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/graph_edit.cpp

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/resources/animation.cpp

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Update scene/gui/rich_text_label.cpp

Co-authored-by: Raul Santos <raulsntos@gmail.com>
Revert previously committed change
2022-01-02 01:03:58 -05:00
Rémi Verschelde d3d6208ec8
Merge pull request #56127 from akien-mga/doc-makerst-lang-headings 2021-12-21 14:39:02 +01:00
Rémi Verschelde b98785309f
i18n: Add `--lang` option to `make_rst.py` to write translated headings
Add a few missing headings to the translation templates.
2021-12-21 13:47:11 +01:00
Rémi Verschelde d7f6993357
i18n: Sync classref translations with 3.x branch (3.5-beta)
This is the new base branch for the classref translations to prepare them
for the 3.5 release.

This means that the 3.4 class ref translations will likely no longer get
updates, as we can't easily maintain two slightly different branches on
Weblate.

(cherry picked from commit aac4e36149)
2021-12-21 12:50:20 +01:00
Rémi Verschelde 20fd60e37d
i18n: Sync classref translations with Weblate
(cherry picked from commit eb4816ee13)
2021-12-21 12:50:14 +01:00
Rémi Verschelde 7695ad5858
i18n: Remove line numbers from classref PO files
It's useful context for translators but it generates very spammy diffs whenever
a line is added or removed, changing the comments for hundreds or thousands of
msgids needlessly.

We still have the file names so it's relatively easy to search in file to find
the location of the source string.

(cherry picked from commit dbfe36728e)
2021-12-21 12:50:07 +01:00
Rémi Verschelde bc2ac26964
i18n: Sync classref translations with current `3.4` docs
(cherry picked from commit f8b4412b51)
2021-12-16 17:06:18 +01:00
Rémi Verschelde 61c8ea7b14
i18n: Sync classref translations with Weblate
(cherry picked from commit 9f838dbece)
2021-12-16 15:16:04 +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 d3d12a7c9d
i18n: Sync classref translations with Weblate
(cherry picked from commit f4b3c3ff09)
2021-12-10 11:53:19 +01:00
Rémi Verschelde a777f01052
i18n: Sync classref translations with Weblate
(cherry picked from commit f737ed4da0)
2021-11-19 09:55:14 +01:00
Rémi Verschelde 804406fcaf
i18n: Sync classref translations with Weblate
German (de) is now above the threshold for inclusion.

(cherry picked from commit 0b694eb8e7)
2021-11-03 15:06:09 +01:00
Rémi Verschelde cce7797a75
Another rename for makerst.py 2021-10-26 08:46:16 +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 d802d67a0e
i18n: Sync classref translations with Weblate
(cherry picked from commit c17f051ee9)
2021-10-18 12:02:11 +02:00
Anutrix a4b736658e Remove unused imports in .py, SCsub and SConstruct files 2021-10-18 01:50:34 +05:30
Rémi Verschelde c8dea45f55
i18n: Sync classref translations with `3.x` branch
The files are directed copied from the version which was merged in `3.x`
together with the translations from Weblate.

For future commits we can do cherry-picks from `3.x` to `master` like usual
for the editor translations.
2021-10-07 14:08:44 +02:00
Balloonpopper 4fae7ae9dc Correct null and boolean values being capitalised by the str command 2021-08-26 17:11:34 +10:00
Lightning_A e28fd07b2b Rename `instance()`->`instantiate()` when it's a verb 2021-06-19 20:49:18 -06:00
Gregory Basile 8ab13f8ace Documentation search fixes
Updates rich_text_label so that the built-in documentation can be searched
Previously, it would only find the first result and would not select other results
Renames "_entered" functions to "_submitted"
2021-06-16 09:43:34 -07:00
Pedro J. Estébanez 04688b92ff Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00