Age | Commit message (Collapse) | Author |
|
(cherry picked from commit defb8011200f3ff908dd432cdbc095e4665677ef)
|
|
(cherry picked from commit e9484e057d00131bec2aece96f4b77c4956b24a6)
|
|
i18n: Make more `make_rst.py` strings translatable
|
|
For now we leave out the strings which could break rst table formatting.
|
|
Happy new year to the wonderful Godot community!
|
|
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
|
|
|
|
Add a few missing headings to the translation templates.
|
|
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 aac4e3614975303330a7e2aa719b7a05ae8333e5)
|
|
(cherry picked from commit eb4816ee130f3258849febecb44b8d013bf346a1)
|
|
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 dbfe36728ed32ee93bd200678534733c89dc3150)
|
|
(cherry picked from commit f8b4412b51dadcc262d90a1158efad79f6f55f0b)
|
|
(cherry picked from commit 9f838dbece20fb3eb53c6b57c4c1efb8361ea43c)
|
|
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 6fb47a271fdb009c03fd328feaeccb22f612a90f)
|
|
(cherry picked from commit f4b3c3ff09a6324ce52f5211683444464a89e163)
|
|
(cherry picked from commit f737ed4da03af2afb6dd9725b43182ba22aef7d4)
|
|
German (de) is now above the threshold for inclusion.
(cherry picked from commit 0b694eb8e711b6cfdc3d398254692ed9cbb6f8c9)
|
|
|
|
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 8425c589911f8ffc006990f4149859e175ae93a9)
|
|
(cherry picked from commit c17f051ee976ca3f192b1ead6c92aff762067508)
|
|
|
|
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.
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
|
|
|
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Missed some uncommitted changes from Weblate in the previous sync.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Adds initial fr.po translation for initialization on Weblate.
|
|
Configured for a max line length of 120 characters.
psf/black is very opinionated and purposely doesn't leave much room for
configuration. The output is mostly OK so that should be fine for us,
but some things worth noting:
- Manually wrapped strings will be reflowed, so by using a line length
of 120 for the sake of preserving readability for our long command
calls, it also means that some manually wrapped strings are back on
the same line and should be manually merged again.
- Code generators using string concatenation extensively look awful,
since black puts each operand on a single line. We need to refactor
these generators to use more pythonic string formatting, for which
many options are available (`%`, `format` or f-strings).
- CI checks and a pre-commit hook will be added to ensure that future
buildsystem changes are well-formatted.
|
|
|
|
Change extract script `path` argument to support specifying multiple
paths, like `makerst.py`. This prevents parsing invalid XML files while
scanning the whole repository.
|
|
|
|
Fixes #37109.
|