Commit Graph

16 Commits

Author SHA1 Message Date
Rémi Verschelde 3e78963bb9
Fix typos with codespell
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
```
2020-09-18 13:44:25 +02:00
Rémi Verschelde e2f4510a27 i18n: Sync classref translations with Weblate (again)
Missed some uncommitted changes from Weblate in the previous sync.
2020-08-11 16:42:27 +02:00
Rémi Verschelde 33a3e78926 i18n: Sync classref translation template with current docs 2020-08-11 16:37:29 +02:00
Rémi Verschelde 0ccd5ad3c5 i18n: Sync classref translations with Weblate 2020-08-11 16:23:22 +02:00
Rémi Verschelde ce5de2a3f4 i18n: Sync classref translation template with current docs 2020-06-25 11:00:39 +02:00
Rémi Verschelde c88e5bfbcc i18n: Sync classref translations with Weblate 2020-06-25 11:00:39 +02:00
Marcel Admiraal b5e31b70dc Correct misspellings of damped spring. 2020-06-04 18:07:24 +01:00
Marcel Admiraal e7fee711b3 Update game controller enums. 2020-05-13 10:33:32 +01:00
Rémi Verschelde 7cd43c17e9 i18n: Sync translate template for class reference 2020-05-01 12:46:46 +02:00
Aaron Franke 540156b387
[Core] Rename linear_interpolate to lerp 2020-04-29 04:02:49 -04:00
Rémi Verschelde 1222541c95 i18n: Sync translate template for class reference
Adds initial fr.po translation for initialization on Weblate.
2020-04-07 09:57:51 +02:00
Rémi Verschelde cd4e46ee65 SCons: Format buildsystem files with psf/black
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.
2020-03-30 09:05:53 +02:00
Rémi Verschelde 36baa0247e i18n: Generate translation template for class reference 2020-03-20 12:58:38 +01:00
Rémi Verschelde 87d23bf85a i18n: Add Makefile to extract classref strings
Change extract script `path` argument to support specifying multiple
paths, like `makerst.py`. This prevents parsing invalid XML files while
scanning the whole repository.
2020-03-20 12:56:36 +01:00
Rémi Verschelde aca1971a12 i18n: Add header strings to translation catalog 2020-03-20 12:35:22 +01:00
Thakee Nathees e817792c0a Add script to generate translation catalog for the class reference
Fixes #37109.
2020-03-19 03:32:47 +05:30