Commit graph

197 commits

Author SHA1 Message Date
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