Commit Graph

256 Commits

Author SHA1 Message Date
Rémi Verschelde 1ee507d62c
i18n: Sync translations with Weblate
(cherry picked from commit 284dae021a)
2020-10-28 15:55:15 +01:00
Rémi Verschelde 1e2f55e273
i18n: Rename pt_PT to pt
We originally used `pt_PT` (i.e. Portuguese (Portugal)) to distinguish with
the Brazilian Portuguese variant `pt_BR`, as both are significantly different
and need separate translation files.

But Portugal's Portuguese (or "European Portuguese") is close to the variant
spoken and written in other Portuguese-speaking countries such as Angola and
Mozambique, so it makes sense for users of these countries to also have access
to the European Portuguese translation (at least until translators decide that
adding e.g. `pt_AO` and `pt_MZ` variants would make sense, taking into account
the translation effort that this duplication implies).

Godot's locale matching checks first for the full locale (e.g. `pt_AO`), and
if no translation is found, it checks for the non-regional language code
(`pt`), so this change enables translations for Portuguese speakers outside
Portugal and Brazil.
2020-09-24 16:50:44 +02:00
Rémi Verschelde 93303737ac
i18n: Sync translations with Weblate
(cherry picked from commit 510d87e468)
2020-09-24 15:35:55 +02:00
Marcel Admiraal a1a2531459 Remove duplicate or unnecessary Python definitions. 2020-09-10 08:38:07 +01:00
Rémi Verschelde 9568bcf166
i18n: Sync translations with Weblate
Add translators comment for the two 'Project Manager' strings,
and fix some of the translations.

(cherry picked from commit c5f6d2097b)
2020-09-08 15:18:17 +02:00
Rémi Verschelde 5bf28c735d
Merge pull request #41510 from SkyLucilfer/TranslatorComment
Add translators comments extraction for Editor
2020-09-07 14:41:49 +02:00
Rémi Verschelde 5c0fabd314 i18n: Sync translations with Weblate
(cherry picked from commit 41b9e1d7ea)
2020-09-04 08:56:38 +02:00
SkyJJ c1016dc3bf Add translators comments extraction for Editor 2020-08-25 20:59:29 +02:00
SkyJJ ce3461dc88 Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx. 2020-08-19 03:10:51 +02:00
SkyJJ 0ef758eaee Updated Translation architecture to have TranslationPO, did some commit fixes and updated class Reference. 2020-08-19 03:01:53 +02:00
SkyJJ 396f2eee82 Update POT generation to handle context and plurals 2020-08-19 03:01:52 +02:00
Rémi Verschelde 17dd5e29d0 i18n: Sync translations with Weblate
(cherry picked from commit 900949b316)
2020-08-11 16:07:42 +02:00
Rémi Verschelde 12feb9d633 i18n: Sync translations with Weblate
(cherry picked from commit ed20772c09)
2020-07-28 13:08:52 +02:00
Rémi Verschelde e8706848e6 i18n: Sync translations with Weblate
(cherry picked from commit a84f081160)
2020-06-25 11:00:38 +02:00
Rémi Verschelde 492625db28 i18n: Sync translations with Weblate
(cherry picked from commit 000db65d40)
2020-06-22 08:44:07 +02:00
Rémi Verschelde 77990b87c2 i18n: Sync translations with Weblate
Remove 'de_CH' translation (4% complete) to default to the 100%
complete 'de' one.

Fixes #32625.

(cherry picked from commit 35a5ebb44d)
2020-06-15 14:35:07 +02:00
Rémi Verschelde bcac39551d i18n: Sync translations with Weblate
(cherry picked from commit d68e631566)
2020-06-11 10:01:23 +02:00
Rémi Verschelde 0caf55a481 i18n: Sync translations with Weblate
(cherry picked from commit 00b5663782)
2020-05-05 16:05:56 +02:00
Rémi Verschelde 3fff0dda39 i18n: Sync translations with Weblate
(cherry picked from commit ae958b89ab)
2020-04-27 10:38:22 +02:00
Rémi Verschelde 3c3795279f i18n: Sync translations with Weblate
(cherry picked from commit 471a5abbf3)
2020-04-17 13:41:23 +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 aca1971a12 i18n: Add header strings to translation catalog 2020-03-20 12:35:22 +01:00
Rémi Verschelde 2aa832f415 i18n: Sync translations with Weblate
(cherry picked from commit 0e36b11f9d)
2020-03-16 10:49:03 +01:00
Rémi Verschelde e629b4bc8a i18n: Sync translations with Weblate
(cherry picked from commit 18e021b7cd)
2020-03-09 10:13:45 +01:00
Rémi Verschelde c40bd6b775 i18n: Sync translations with Weblate
(cherry picked from commit 1c9132540f)
2020-02-19 10:16:45 +01:00
Rémi Verschelde ca87791688 i18n: Sync translation template with current source
(cherry picked from commit 3dfedc0b4c)
2020-02-14 20:20:50 +01:00
Rémi Verschelde 991ad66d28 i18n: Sync translations with Weblate
(cherry picked from commit 74738806f3)
2020-02-14 20:20:43 +01:00
Rémi Verschelde f76009bbcf i18n: Sync translations with Weblate 2020-01-27 08:11:37 +01:00
Rémi Verschelde 8a7a216be5 i18n: Sync translations with Weblate 2020-01-23 23:19:54 +01:00
Rémi Verschelde 7f7ae0712f i18n: Sync translations with Weblate 2020-01-19 23:19:29 +01:00
Rémi Verschelde 045a5ce14a i18n: Sync translation template with current source 2020-01-16 23:47:18 +01:00
Rémi Verschelde a0f716763b i18n: Sync translations with Weblate 2020-01-16 23:37:56 +01:00
Rémi Verschelde 269eb5f06c i18n: Sync translation template with current source
Prevent parsing 'thirdparty' sources, there are invalid UTF-8 files
among Bullet sources.
2020-01-12 14:42:34 +01:00
Rémi Verschelde 48d7f7a70f i18n: Sync translations with Weblate 2020-01-12 14:36:21 +01:00
Rémi Verschelde a7f49ac9a1 Update copyright statements to 2020
Happy new year to the wonderful Godot community!

We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.

Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
Rémi Verschelde d53a297a6d i18n: Sync translation template with current source 2019-12-30 18:28:57 +01:00
Rémi Verschelde c2a28aa28d i18n: Sync translations with Weblate 2019-12-30 18:27:52 +01:00
Rémi Verschelde 8938577459 i18n: Sync translations with Weblate + update template
Also fix a few stray clang-format formatting errors that passed
through CI unnoticed.
2019-12-22 13:27:02 +01:00
Rémi Verschelde 2019d8001d i18n: Sync translations with Weblate 2019-12-21 12:28:47 +01:00
Rémi Verschelde 45908eebf3 i18n: Sync translation template with current source 2019-12-17 11:47:29 +01:00
Rémi Verschelde 5a74cc12d0 i18n: Sync translations with Weblate 2019-12-17 11:44:35 +01:00
Rémi Verschelde 787113d96e i18n: Sync translation template with current source 2019-12-13 10:41:06 +01:00
Rémi Verschelde 115a45c2c5 i18n: Sync translations with Weblate 2019-12-13 10:41:06 +01:00
Rémi Verschelde 10481046e5 i18n: Sync translations with Weblate 2019-12-04 09:08:11 +01:00
Rémi Verschelde 1b40a95b6f i18n: Sync translations with Weblate 2019-11-29 15:51:09 +01:00
Rémi Verschelde b7ea22c5d2 i18n: Sync translation template with current source 2019-11-22 09:21:58 +01:00
Rémi Verschelde b395d6bd80 i18n: Sync translations with Weblate 2019-11-22 09:20:29 +01:00
Rémi Verschelde b8daad9779 i18n: Sync translation template with current source 2019-10-29 13:57:45 +01:00
Rémi Verschelde 270bdafaeb i18n: Sync translations with Weblate 2019-10-29 13:50:36 +01:00
Rémi Verschelde 02ca4c49fa i18n: Sync translation template with current source 2019-09-26 14:05:21 +02:00
Rémi Verschelde 89094fc76a i18n: Sync translations with Weblate 2019-09-26 13:59:57 +02:00
Rémi Verschelde 208dd5b4a6 i18n: Sync translation template with current source 2019-08-29 15:55:33 +02:00
Rémi Verschelde 00ec90474c i18n: Sync translations with Weblate
Adds templates for Basque, Irish and Odia.
2019-08-29 15:38:52 +02:00
Rémi Verschelde 10c015b730 i18n: Sync translation template with current source 2019-07-29 21:40:51 +02:00
Rémi Verschelde 1babc23d95 i18n: Sync translations with Weblate 2019-07-29 21:40:01 +02:00
Rémi Verschelde 9384b6ab0e i18n: Sync translation template with current source
Fix a few typos in new strings.
2019-07-19 16:08:40 +02:00
Rémi Verschelde 0d779e7777 i18n: Sync translations with Weblate 2019-07-19 15:45:00 +02:00
hbina085 349deabbe4 Fix issues where translations doesn't work
The crux of the issue is a white space between % and s.
I have fixed similar problems than found in #30063

Edited by @akien-mga to fix some more occurrences on other
placeholders.
2019-07-09 12:54:53 +02:00
Rémi Verschelde 59ad47961f i18n: Sync translation template with current source 2019-07-09 12:50:49 +02:00
Rémi Verschelde 5c8654882a i18n: Sync translations with Weblate 2019-07-09 12:48:36 +02:00
Rémi Verschelde 78af5625d0 i18n: Sync translation template with current source 2019-07-02 13:30:19 +02:00
Rémi Verschelde ce3e3b609c i18n: Sync translations with Weblate 2019-07-02 13:22:58 +02:00
hbina085 fd39e94121 Pylint warning for extract.py
pylint is complaining that an "Anomalous backslash in string: '\-'"
The string constant might be missing an 'r' prefix.
2019-06-29 05:31:42 -04:00
Rémi Verschelde cd22551d2d i18n: Sync translation template with current source 2019-06-16 22:08:53 +02:00
Rémi Verschelde e864237f1a i18n: Fix extract.py support for new TTRC
Also make compatible with Python 3.
2019-06-16 22:02:44 +02:00
Rémi Verschelde ea9a6672e0 i18n: Sync translations with Weblate
(cherry picked from commit e50eb830af)
2019-06-16 21:46:27 +02:00
Rémi Verschelde 1595dfb5db i18n: Sync translation template with current source
(cherry picked from commit bf7585530b)
2019-05-21 13:07:26 +02:00
Rémi Verschelde e350c81673 i18n: Sync translations with Weblate
(cherry picked from commit 239a11fe19)
2019-05-21 13:07:20 +02:00
Rémi Verschelde e0574e1d98 Fix typos with codespell
Using codespell 1.15.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
doubleclick
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
```
2019-05-19 13:10:35 +02:00
Rémi Verschelde 9fc84061dd i18n: Sync translation template with current source
(cherry picked from commit 23cf9f3b6f)
2019-04-25 14:31:13 +02:00
Rémi Verschelde d6994c9b70 i18n: Sync translations with Weblate
(cherry picked from commit 348270df38)
2019-04-25 14:31:06 +02:00
Juan Linietsky a20235aeb0 Add ability to edit editor feature profiles
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Rémi Verschelde 3c4938d59a i18n: Sync translations with Weblate 2019-04-08 12:37:48 +02:00
Rémi Verschelde 472c8a7ba1 i18n: Sync translations with Weblate
Also sync translation template.
2019-03-28 10:38:58 +01:00
Rémi Verschelde 04b04555d1 i18n: Sync translations with Weblate 2019-03-12 16:57:43 +01:00
Rémi Verschelde 43184375b2 i18n: Sync translation template with current source 2019-03-10 11:04:59 +01:00
Rémi Verschelde 9a2fdef1fa i18n: Sync translations with Weblate 2019-03-10 11:03:26 +01:00
Rémi Verschelde 3c59604061 i18n: Sync translation template with current source 2019-03-01 13:04:23 +01:00
Rémi Verschelde 4c8db607fb i18n: Sync translations with Weblate 2019-03-01 13:01:50 +01:00
Rémi Verschelde 03c4e4bba8 i18n: Sync translation template with current source 2019-02-18 09:57:02 +01:00
Rémi Verschelde b65d22ed90 i18n: Sync translations with Weblate 2019-02-18 09:55:52 +01:00
Rémi Verschelde f614f15506 doc: Misc formatting fixes 2019-02-10 13:30:48 +01:00
Rémi Verschelde ba0a4a942e i18n: Sync translation template with current source 2019-02-10 13:19:03 +01:00
Rémi Verschelde dc239b47b3 i18n: Sync translations with Weblate 2019-02-10 13:03:59 +01:00
Rémi Verschelde 16fa788510 i18n: Sync translation template with current source 2019-01-26 22:27:36 +01:00
Rémi Verschelde 8cc9bf5969 i18n: Sync translations with Weblate 2019-01-26 22:24:25 +01:00
Rémi Verschelde 100154a131 i18n: Sync translation template with current source 2019-01-21 20:36:37 +01:00
Rémi Verschelde f1f65d9c05 i18n: Sync translations with Weblate 2019-01-21 20:35:16 +01:00
Rémi Verschelde 0222841357 i18n: Sync translation template with current source 2019-01-14 16:42:58 +01:00
Rémi Verschelde 19c562991c i18n: Sync translations with Weblate 2019-01-14 16:42:57 +01:00
Rémi Verschelde ac8ae09bc3 i18n: Sync translation template with current source
Misc fixes to source strings.
2019-01-07 16:57:52 +01:00
Rémi Verschelde d2b17d8d60 i18n: Sync translations with Weblate 2019-01-07 16:42:05 +01:00
Rémi Verschelde b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde 17c3c64a80 i18n: Sync translation template with current source
Also French translation update and misc fixes to source strings.
2018-12-13 14:47:24 +01:00
Rémi Verschelde d0d52606a7 i18n: Sync translations with Weblate 2018-12-13 13:49:46 +01:00
Rémi Verschelde 89f8b84c47 i18n: Sync translation template with current source 2018-12-04 23:22:18 +01:00
Rémi Verschelde b7782f182a i18n: Sync translations with Weblate 2018-12-04 23:21:00 +01:00
Rémi Verschelde 24c38628b5 i18n: Sync translation template with current source 2018-11-26 17:25:11 +01:00
Rémi Verschelde f0c7a545db i18n: Sync translations with Weblate
Adds initial translations for Malayalam and Sinhala.
2018-11-26 17:23:42 +01:00
luz.paz 08bde5b2de Misc. typos
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde e22f0515c9 Drop old ShaderGraph code, obsoleted by VisualShader 2018-08-24 11:49:08 +02:00
Rémi Verschelde d1497b720e i18n: Fix extract.py after #17440
As discussed in https://github.com/godotengine/godot/pull/17440#discussion_r212277597
2018-08-23 14:43:41 +02:00
Rémi Verschelde 87958e7ada i18n: Merge translation catalogs with updated template 2018-08-23 14:37:31 +02:00
Rémi Verschelde 2f721d1245 i18n: Sync translation template with current source
Finally unlocking translations for the master/3.1 branch on Weblate
to prepare for the stable release.
2018-08-23 14:35:40 +02:00
Rémi Verschelde 32a6542672 i18n: Sync translations with Weblate
(cherry picked from commit f16f9b2b8a)

Also adds initial Georgian and Latvian translations.
2018-08-23 13:38:37 +02:00
Rémi Verschelde fd16dd48cb i18n: Sync translations with Weblate
(cherry picked from commit 5c6c88ef15)
2018-07-26 11:23:51 +02:00
Rémi Verschelde 80f7eacf88 i18n: Sync translations with Weblate
(cherry picked from commit d04cc2855a)
2018-06-22 11:42:21 +02:00
Rémi Verschelde dd5398ce9d i18n: Sync translations with Weblate
(cherry picked from commit e8bfc09b81)
2018-06-05 22:41:42 +02:00
Rémi Verschelde 6bc9ac9cc3 i18n: Sync translation templates with current source
(cherry picked from commit 74808e71d2)
2018-06-05 22:41:34 +02:00
Karolis K 8694f98170 AssetLib pagination modifications 2018-05-16 17:06:15 +03:00
Rémi Verschelde f3640621ad i18n: Sync translation templates with current source
(cherry picked from commit 056348a8c0)

Note: Still syncing with the 3.0 code for now to allow updating translations
in the 3.0 branch. We'll eventually switch Weblate to use the strings of the
3.1-dev branch once it is stable enough.
2018-05-03 11:27:01 +02:00
Rémi Verschelde 9bf0acbfcb i18n: Sync translations with Weblate
(cherry picked from commit ddbe559c04)
2018-05-03 11:26:49 +02:00
Hugo Locurcio 1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
Viktor Ferenczi 272ecddb28 Properly closing all files in Python code 2018-03-11 14:55:50 +01:00
Rémi Verschelde dd23f33b49 i18n: Sync translation templates with 3.0 source
(cherry picked from commit 65d214d3da)
2018-03-03 10:58:51 +01:00
Rémi Verschelde 7c7d3efb5b i18n: Sync translations with Weblate 2018-03-03 10:56:09 +01:00
Rémi Verschelde 270ef3a189 i18n: Sync translation templates with 3.0 source
Currently staying in sync with the 3.0 branch to give translators a chance
to increase the completion rate of their 3.0 translations for the stable
branch (translation template is synced with the master branch).

(cherry picked from commit 07e2461995)
2018-02-22 18:47:42 +01:00
Rémi Verschelde 661ab3c88e i18n: Sync translations with Weblate 2018-02-22 18:42:07 +01:00
Rémi Verschelde bcbf744b73 i18n: Sync translations with Weblate 2018-01-25 23:29:19 +01:00
Rémi Verschelde bd716cf81e i18n: Sync translations with Weblate 2018-01-24 21:54:44 +01:00
Rémi Verschelde 879e5abe05 i18n: Fix typo in translation msgid 2018-01-22 09:19:09 +01:00
Rémi Verschelde 4d1d0e6f62 i18n: Sync translations with Weblate 2018-01-22 09:17:17 +01:00
Rémi Verschelde 09732a15a5 i18n: Sync translation templates with current source 2018-01-20 10:10:49 +01:00
Rémi Verschelde 1f70ba5bd9 i18n: Sync translations with Weblate
Adds Romanian translation.
2018-01-20 10:10:00 +01:00
Rémi Verschelde 9f479f096c Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
2018-01-18 22:01:42 +01:00
Rémi Verschelde 2a1ce0fbc4 i18n: Sync translation templates with current source 2018-01-06 14:32:21 +01:00
Rémi Verschelde 15a1fe1b76 i18n: Sync translations with Weblate 2018-01-06 14:29:37 +01:00
Rémi Verschelde b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Rémi Verschelde acf835cb08 i18n: Sync translation templates with current source 2017-12-20 17:10:28 +01:00
Rémi Verschelde a27b57829e i18n: Sync translations with Weblate
Adds Icelandic and Tamil.
2017-12-20 17:08:48 +01:00
Rémi Verschelde 56fe852bae i18n: Fix instructions for adding new language
Closes #13972.
[ci skip]
2017-12-04 21:10:19 +01:00
Rémi Verschelde 47d397579b i18n: Sync translation templates with current source
[ci skip]
2017-11-29 09:51:00 +01:00
Rémi Verschelde 23aa51fc94 i18n: Sync translations with Weblate
Adds Afrikaans, Hebrew, Hindi, Swedish, Ukrainian and Vietnamese.
2017-11-29 09:49:45 +01:00
Rémi Verschelde b52e47f263 i18n: Sync translation templates with current source
[ci skip]
2017-11-22 13:16:51 +01:00
Rémi Verschelde 2b4fc2e9d0 i18n: Sync translations with Weblate
Adds Serbian (Cyrillic) translation.
2017-11-22 13:14:55 +01:00
Rémi Verschelde 277e730d34 Fix typo in project manager
[ci skip]
2017-10-29 18:48:42 +01:00
Rémi Verschelde f327fba627 i18n: Sync translation templates with current source
[ci skip]
2017-10-29 14:04:00 +01:00
Rémi Verschelde d3939dcddb i18n: Sync translations with Weblate 2017-10-29 14:03:22 +01:00
Rémi Verschelde 722a2bb9db i18n: Sync translation templates with current source 2017-10-21 12:04:36 +02:00
Rémi Verschelde 4e9b7bf32e i18n: Sync translations with Weblate 2017-10-21 12:04:36 +02:00
letheed 5ad9be4c24 Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding
C++ methods according to the folloming changes:

* pos -> position
* rot -> rotation
* loc -> location

C++ variables are left as is.
2017-09-20 13:11:10 +02:00
Rémi Verschelde d9e94fa0c3 Fix i18n bug in GridMap string
Regression from 6134d87 causing build issue on clang.
2017-08-25 20:55:33 +02:00
Rémi Verschelde f75678a94f Mi18n: erge translations with template 2017-08-25 19:00:03 +02:00
Rémi Verschelde 3034bbf908 i18n: Update template with current source
Additions: 254 msgids.
Deletions: 101 msgids.
2017-08-25 18:59:28 +02:00
Rémi Verschelde c67984b561 i18n: Sync translations with Weblate 2017-08-25 18:57:11 +02:00
Rémi Verschelde e5d890c23a i18n: Update template and sync translations 2017-06-25 14:19:51 +02:00
Rémi Verschelde d9813ba826 i18n: Sync translations with Weblate
Adds Finnish translation.
2017-06-25 14:16:14 +02:00
Rémi Verschelde c8aea60324 Improve documentation of thirdparty code snippets 2017-05-07 11:42:37 +02:00
Rémi Verschelde b474646de0 i18n: Add more assetlib strings to translate
Fixes #8463.
2017-04-20 14:52:46 +02:00
Rémi Verschelde cd69343ff1 i18n: Sync translation templates with current source 2017-04-20 14:52:46 +02:00