Use motranslator for translating #106

Merged
merged 82 commits into from Jan 23, 2017

Projects

None yet
@nijel
Member
nijel commented Dec 21, 2016

I've merged motranslator suport into motranslator branch. This should be merge after phpMyAdmin 4.6.6 is out with scheduled inclusion in phpMyAdmin 4.7.0.

Supersedes #35

nijel added some commits Feb 24, 2016
@nijel nijel Use motranslator to provide __ function
This makes it work transparently with or without phpMyAdmin.

Signed-off-by: Michal Čihař <michal@cihar.com>
865eb2e
@nijel nijel Add script for extracting strings to po files
Signed-off-by: Michal Čihař <michal@cihar.com>
cbbcad1
@nijel nijel Ignore backup files
Signed-off-by: Michal Čihař <michal@cihar.com>
d3c98eb
@nijel nijel Update po files
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
b1664f1
@nijel nijel Include mo files in the repository
Signed-off-by: Michal Čihař <michal@cihar.com>
bfcc89f
@nijel nijel Add script for generating mo files
Signed-off-by: Michal Čihař <michal@cihar.com>
b084e76
@nijel nijel Share error handling in one base class
Signed-off-by: Michal Čihař <michal@cihar.com>
26f97bc
@nijel nijel Move motranslator initialization to share core class
Signed-off-by: Michal Čihař <michal@cihar.com>
94a89e8
@nijel nijel Use translator
Signed-off-by: Michal Čihař <michal@cihar.com>
58477e3
@nijel nijel Add some translation
Signed-off-by: Michal Čihař <michal@cihar.com>
741897c
@nijel nijel Replace __( usage by Translator class
Signed-off-by: Michal Čihař <michal@cihar.com>
5f81f21
@nijel nijel Rename locales
Signed-off-by: Michal Čihař <michal@cihar.com>
79e4cda
@nijel nijel Adjust scripts to new structure
Signed-off-by: Michal Čihař <michal@cihar.com>
b259aec
@nijel nijel Require error message for error
Otherwise it's for user hard to diagnose what went wrong.

Signed-off-by: Michal Čihař <michal@cihar.com>
cb71ec9
@nijel nijel Update translations
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
f94b29f
@nijel nijel Move all helper scripts to single directory
Signed-off-by: Michal Čihař <michal@cihar.com>
c6a4ff0
@nijel nijel Use static method for translating
Signed-off-by: Michal Čihař <michal@cihar.com>
95c9d8d
@nijel nijel Adjust path to generate-mo script
Signed-off-by: Michal Čihař <michal@cihar.com>
981b2d4
@nijel nijel Migrate new code to use Translator class
Signed-off-by: Michal Čihař <michal@cihar.com>
3bad191
@nijel nijel Update translations
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
77bc28a
@nijel nijel Import translations from phpMyAdmin
Signed-off-by: Michal Čihař <michal@cihar.com>
efac573
@nijel nijel self-assigned this Dec 21, 2016
@nijel nijel Merge branch 'master' into motranslator
52d85cf
@codecov-io
codecov-io commented Dec 21, 2016 edited

Current coverage is 99.86% (diff: 100%)

No coverage report found for master at 7d20ae4.

Powered by Codecov. Last update 7d20ae4...ac852c7

nijel and others added some commits Dec 21, 2016
@nijel nijel Update to motranslator 2.x
Signed-off-by: Michal Čihař <michal@cihar.com>
9b24eeb
@nijel nijel Adjust to new motranslator API
Signed-off-by: Michal Čihař <michal@cihar.com>
ee40cfe
@nijel nijel Add weblate configuration
Signed-off-by: Michal Čihař <michal@cihar.com>
0101691
@weblate dingo thirteen Translated using Weblate (Dutch)
Currently translated at 97.6% (41 of 42 strings)
b0fec43
@weblate weblate Merge remote-tracking branch 'origin/motranslator' into motranslator 30241d9
@weblate dingo thirteen Translated using Weblate (Dutch)
Currently translated at 100.0% (42 of 42 strings)
ea0031d
@weblate weblate Update mo file
46d2782
@nijel nijel Add translation widget
Signed-off-by: Michal Čihař <michal@cihar.com>
6549764
@nijel @weblate nijel Translated using Weblate (German)
Currently translated at 85.7% (36 of 42 strings)
0d9a826
@nijel @weblate nijel Translated using Weblate (Interlingua)
Currently translated at 38.0% (16 of 42 strings)
06da2ae
@nijel nijel Merge branch 'master' into motranslator
5b65df6
@nijel @weblate nijel Translated using Weblate (Albanian)
Currently translated at 80.9% (34 of 42 strings)
c3baeb9
@nijel @weblate nijel Translated using Weblate (Catalan)
Currently translated at 85.7% (36 of 42 strings)
ba30f9a
@nijel @weblate nijel Translated using Weblate (Esperanto)
Currently translated at 2.3% (1 of 42 strings)
1b97bb5
@nijel @weblate nijel Translated using Weblate (Estonian)
Currently translated at 85.7% (36 of 42 strings)
6468b03
@nijel @weblate nijel Translated using Weblate (Chinese (Taiwan))
Currently translated at 85.7% (36 of 42 strings)
b70792b
@weblate anonymous Translated using Weblate (Greek)
Currently translated at 100.0% (42 of 42 strings)
a83d241
@nijel @weblate nijel Translated using Weblate (French)
Currently translated at 100.0% (42 of 42 strings)
661a611
@nijel @weblate nijel Translated using Weblate (Hungarian)
Currently translated at 85.7% (36 of 42 strings)
3a47092
@weblate Giovanni Sora Translated using Weblate (Interlingua)
Currently translated at 100.0% (42 of 42 strings)
cfcf91a
@nijel @weblate nijel Translated using Weblate (Russian)
Currently translated at 66.6% (28 of 42 strings)
709ce01
@nijel @weblate nijel Translated using Weblate (Italian)
Currently translated at 100.0% (42 of 42 strings)
fd92bf3
@nijel @weblate nijel Translated using Weblate (Slovenian)
Currently translated at 100.0% (42 of 42 strings)
2ddef18
@nijel @weblate nijel Translated using Weblate (Spanish)
Currently translated at 95.2% (40 of 42 strings)
2a4ef0c
@nijel @weblate nijel Translated using Weblate (Turkish)
Currently translated at 100.0% (42 of 42 strings)
3c0b023
@weblate weblate Merge remote-tracking branch 'origin/motranslator' into motranslator
ea86635
@nijel nijel referenced this pull request in phpmyadmin/phpmyadmin Dec 23, 2016
Closed

Localization of SQL parser messages #12013

ctyzxx and others added some commits Dec 24, 2016
@ctyzxx @weblate ctyzxx Translated using Weblate (Chinese (China))
Currently translated at 2.3% (1 of 42 strings)
a95012a
@fujisoft @weblate fujisoft Translated using Weblate (Japanese)
Currently translated at 45.2% (19 of 42 strings)
b6198f7
@SDSkyKlouD @weblate SDSkyKlouD Translated using Weblate (Korean)
Currently translated at 33.3% (14 of 42 strings)
3dc70bc
@weblate Kristjan Räts Translated using Weblate (Estonian)
Currently translated at 100.0% (42 of 42 strings)
408f2be
@weblate Lari Oesch Translated using Weblate (Finnish)
Currently translated at 45.2% (19 of 42 strings)
74fe9c0
@fujisoft @weblate fujisoft Translated using Weblate (Japanese)
Currently translated at 64.2% (27 of 42 strings)
aaee66a
@nijel nijel Merge branch 'master' into motranslator
3129d94
@nijel nijel Merge branch 'master' into motranslator
e71c921
@nijel nijel Merge branch 'master' into motranslator
88e3412
@nijel nijel Update translations
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
55a63fc
@nijel nijel Merge branch 'master' into motranslator
13193a6
@nijel nijel Merge branch 'master' into motranslator
67d4f8b
@nijel nijel Update translations
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
ff22ee0
@nijel @weblate nijel Translated using Weblate (Turkish)
Currently translated at 100.0% (43 of 43 strings)
eb2b165
@nijel nijel Merge branch 'master' into motranslator
e704f6b
@weblate dingo thirteen Translated using Weblate (Dutch)
Currently translated at 100.0% (43 of 43 strings)
643ac3d
@weblate Giovanni Sora Translated using Weblate (Interlingua)
Currently translated at 100.0% (43 of 43 strings)
f0b4d12
@nijel nijel referenced this pull request Jan 5, 2017
Closed

What is the function named __ #115

Daniel Palme... and others added some commits Jan 3, 2017
@weblate Daniel Palmeira Huanca Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (43 of 43 strings)
e71b22a
@panos78 @weblate panos78 Translated using Weblate (Greek)
Currently translated at 100.0% (43 of 43 strings)
e0c4f86
@nijel nijel Merge branch 'master' into motranslator 7c790bf
@nijel nijel Apply php-cs-fixer
Signed-off-by: Michal Čihař <michal@cihar.com>
5b1af70
@domnulnopcea @weblate domnulnopcea Translated using Weblate (Romanian)
Currently translated at 6.9% (3 of 43 strings)
7777fec
@Morwa666 @weblate Morwa666 Translated using Weblate (Polish)
Currently translated at 76.7% (33 of 43 strings)
ddb7c1a
@weblate weblate Merge remote-tracking branch 'origin/motranslator' into motranslator
b6e999a
@nijel nijel Merge branch 'master' into motranslator
91e4709
@nijel nijel Update translations
[CI skip]

Signed-off-by: Michal Čihař <michal@cihar.com>
a01fa66
@mansil @weblate mansil Translated using Weblate (Portuguese)
Currently translated at 4.6% (2 of 43 strings)
6a72b35
@nijel @weblate nijel Translated using Weblate (Italian)
Currently translated at 100.0% (43 of 43 strings)
a06ebff
@nijel nijel Merge branch 'master' into motranslator
7f9ce40
@Dada1981 @weblate Dada1981 Translated using Weblate (German)
Currently translated at 88.3% (38 of 43 strings)
5489846
@nijel nijel Merge branch 'master' into motranslator
50ef374
@nijel nijel Update to use motranslator 3.0
It uses PSR-4 prefix for PhpMyAdmin namespace.

See #126

Signed-off-by: Michal Čihař <michal@cihar.com>
ac852c7
@nijel nijel Merge branch 'master' into motranslator 25baae4
@nijel nijel Fix MoTranslator integration with current versions
Signed-off-by: Michal Čihař <michal@cihar.com>
531bcba
@nijel nijel merged commit 438ac0b into master Jan 23, 2017

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment