Commit Graph

104547 Commits

Author SHA1 Message Date
Madhura Jayaratne
709ab0ce2b Fix TODO: HTML5 "required" property is mostly supported now
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-14 12:50:19 +11:00
Madhura Jayaratne
126d7b125e Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2016-01-14 12:37:58 +11:00
Madhura Jayaratne
c60c33377d Fix TODO: Use finally as it's available in PHP >= 5.5
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-14 12:36:18 +11:00
Marc Delisle
dc75d09c12 Translated using Weblate (French)
Currently translated at 100.0% (3217 of 3217 strings)

[CI skip]
2016-01-13 12:38:44 +01:00
Michal Čihař
ccd6163563 Add test for getting MySQL locale
Issue #11789

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-13 08:51:56 +01:00
Michal Čihař
cbca7ca202 Show MySQL error messages in user language
Fixes #11789

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-13 08:49:02 +01:00
Michal Čihař
8813090359 Add infrastructure to map language to MySQL locale
Issue #11789

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-13 08:44:24 +01:00
Michal Čihař
60b7bb1733 Add method for getting current language
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-13 08:30:23 +01:00
Michal Čihař
b554a72d95 Merge pull request #11848 from nijel/languagemanager
Language selection refactoring
2016-01-12 17:18:58 +01:00
Michal Čihař
b450e58dbb Remove require of libraries included in test bootstrap
There is no need to specify them in every test when we already do it
globally.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 16:43:16 +01:00
Michal Čihař
25260a0a94 Ensure we initialize language before running tests
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 16:41:21 +01:00
Michal Čihař
908c44c027 Remove no longer used variables
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:51:08 +01:00
Michal Čihař
bd779eeaea Implement language selection using LanguageManager
Issue #11847

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:51:08 +01:00
Michal Čihař
19f9e830eb Remove no longer needed code for language selection
Issue #11847

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:51:08 +01:00
Michal Čihař
342c9a25b5 Switch languge selection to LanguageManager
Issue #11847

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:51:07 +01:00
Michal Čihař
fd045a94e7 Initial implementation of LanguageManager
The LanguageManager is responsible for choosing correct language and
Language class wraps invididual locales, allows matching and their
activation.

Issue #11847

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:51:07 +01:00
Michal Čihař
39771f44c0 Simplify code
For ages we set $GLOBALS['lang'] to language code, so it's safe to use
it here.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:50:13 +01:00
Michal Čihař
3ecafc5973 Move mysql_charset_map to common.inc.php
It should be later removed (as it's IMHO not needed), but we move it out
of select_lang.inc.php where it really doesn't belong.

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:50:13 +01:00
Michal Čihař
ff21ad8e0e Remove unused use
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-12 14:49:40 +01:00
Atul Pratap Singh
ea9a8aeadd Merge branch 'QA_4_5' 2016-01-12 18:43:51 +05:30
Atul Pratap Singh
f03d49e674 Merge commit '0f23dd5'
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>

Conflicts:
	js/messages.php
2016-01-12 18:43:15 +05:30
Weblate
6b781d7fd7 Merge remote-tracking branch 'origin/QA_4_5' into QA_4_5 2016-01-12 14:04:30 +01:00
Xosé Calvo
5b577198bb Translated using Weblate (Galician)
Currently translated at 85.0% (2730 of 3210 strings)

[CI skip]
2016-01-12 14:04:28 +01:00
Marc Delisle
814ea29854 Translated using Weblate (French)
Currently translated at 100.0% (3210 of 3210 strings)

[CI skip]
2016-01-12 14:04:28 +01:00
Kristjan Räts
5613c32029 Translated using Weblate (Estonian)
Currently translated at 100.0% (3210 of 3210 strings)

[CI skip]
2016-01-12 14:04:28 +01:00
Atul Pratap Singh
0f23dd51d8 Add localStorage availability checks, update the error message
Signed-off-by: Atul Pratap Singh <atulpratapsingh05@gmail.com>
2016-01-12 18:30:04 +05:30
Marc Delisle
c32e2ed3a5 Translated using Weblate (French)
Currently translated at 100.0% (3217 of 3217 strings)

[CI skip]
2016-01-12 12:37:13 +01:00
Madhura Jayaratne
682f5eb79a Remove more removeProp() function calls
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 20:25:04 +11:00
Madhura Jayaratne
702fc182ae Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2016-01-12 20:22:58 +11:00
Madhura Jayaratne
723b4bdfbe Fix #11846 Grid editing window is disabled the second time
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 20:21:12 +11:00
Madhura Jayaratne
614b7d55ab Update tests
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 20:16:27 +11:00
Weblate
eca5e8f5c3 Merge remote-tracking branch 'origin/master' 2016-01-12 09:53:13 +01:00
Xosé Calvo
351f330f5a Translated using Weblate (Galician)
Currently translated at 84.0% (2704 of 3217 strings)

[CI skip]
2016-01-12 09:53:10 +01:00
Madhura Jayaratne
a8f960bcc2 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2016-01-12 19:52:51 +11:00
Madhura Jayaratne
9873f76e5f Fix #11771 Transformation column path problem
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-12 19:51:33 +11:00
Weblate
b3e5fc7534 Merge remote-tracking branch 'origin/master' 2016-01-11 14:12:28 +01:00
Kristjan Räts
63a5849964 Translated using Weblate (Estonian)
Currently translated at 100.0% (3217 of 3217 strings)

[CI skip]
2016-01-11 14:12:26 +01:00
Marc Delisle
bc295fdb30 Use strict comparison
Signed-off-by: Marc Delisle <marc@infomarc.info>
2016-01-11 08:12:11 -05:00
Madhura Jayaratne
99cb7f1237 Merge branch 'master' of github.com:phpmyadmin/phpmyadmin 2016-01-11 17:54:24 +11:00
Madhura Jayaratne
04bf7696ff Merge branch 'QA_4_5' 2016-01-11 17:54:02 +11:00
Madhura Jayaratne
c8eeccf87b Merge branch 'QA_4_5' of github.com:phpmyadmin/phpmyadmin into QA_4_5 2016-01-11 17:50:29 +11:00
Madhura Jayaratne
7d261f45fe Fix #11840 Index comments not working properly
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-11 17:49:17 +11:00
Weblate
61def5438f Merge remote-tracking branch 'origin/master' 2016-01-10 22:47:29 +01:00
Martin Lacina
dd0b36903d Translated using Weblate (Slovak)
Currently translated at 83.0% (2673 of 3217 strings)

[CI skip]
2016-01-10 22:47:28 +01:00
Madhura Jayaratne
5e692c2d4b Merge branch 'QA_4_5' 2016-01-11 08:46:56 +11:00
Weblate
8b561a00bf Merge remote-tracking branch 'origin/QA_4_5' into QA_4_5 2016-01-10 22:43:14 +01:00
Martin Lacina
355e36d55d Translated using Weblate (Slovak)
Currently translated at 83.9% (2694 of 3210 strings)

[CI skip]
2016-01-10 22:43:13 +01:00
Madhura Jayaratne
5a54fb1ee1 Fix #11772 Table pagination does nothing when session expired
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2016-01-11 08:42:55 +11:00
Marc Delisle
348f4dea37 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2016-01-10 07:43:01 -05:00
Marc Delisle
e8b648f920 ChangeLog entry
Signed-off-by: Marc Delisle <marc@infomarc.info>
2016-01-10 07:39:54 -05:00