Commit Graph

31 Commits

Author SHA1 Message Date
Michal Čihař
5d9056367c Fix path to Config.php in master
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-07-18 13:31:50 +02:00
Michal Čihař
9d1b49ae65 Improve extracting translatable strings from Twig templates
- use separate (clean) directory to avoid messing up with stale cache
  data or other files in the temporary dir
- restore filenames for twig templates in Gettext files, the lines still
  don't match, but at least the filename is correct
- extract the _gettext function as well

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-05-17 09:23:59 +02:00
Maurício Meneghini Fauth
d71e097593 Add Twig cache generator and bypass escape option
- Add script to generate cache files for all Twig templates
- Add option in Twig extension that bypass autoescaping

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-04-06 20:33:32 -03:00
Michal Čihař
4b8fe37b05 Remove phpmyadmin vendor from being translated here
Every library should handle localization on it's own.

Fixes #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-01-23 14:21:28 +01:00
Michal Čihař
0c5acc9127 Merge branch 'QA_4_6' 2016-12-08 11:42:07 +01:00
Michal Čihař
f2bfa7d745 Avoid running shell scripts as CGI
There is really no reason for that besides misconfigured servers.

This is followup for PMASA-2016-54

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-08 11:41:42 +01:00
Michal Čihař
e191c6eb39 Do not include vendor strings in po files
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-05-23 14:30:26 +02:00
Michal Čihař
55fec136f7 Add back SQL parser messages to phpMyAdmin
Temporary solution until we decide for something better.

See issue #12013

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 14:21:57 +01:00
Michal Čihař
c81561bac4 Avoid extracting translations from third party libraries
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 14:19:46 +01:00
Marc Delisle
509dbe3481 Fix update-po due to namespace and filename changes
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-10-09 12:00:21 -04:00
Michal Čihař
95cc6a5809 Change address for discussing translations
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-09-04 10:18:29 +02:00
Michal Čihař
c29b43a3b1 Move mailing lists to own server
Signed-off-by: Michal Čihař <michal@cihar.com>
2015-07-24 16:24:08 +02:00
Jason
be584def3c Fix update-po script
Signed-off-by: Jason <jason.daurus@gmail.com>
2015-05-22 00:05:29 +08:00
Jason
c6dfa49e60 Improve template system
- Introduce `trim` method for templates
- Complete template of the designer module
- Update tests for template system
- Use phtml as template files extension

Signed-off-by: Jason <jason.daurus@gmail.com>
2015-05-20 01:34:33 +08:00
Michal Čihař
7841666149 Skip CI for PO files update
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-11-05 10:03:51 +01:00
Michal Čihař
fa2a891b3b Prevent scanning release directory 2012-11-12 14:19:14 +01:00
Marc Delisle
824c2804a7 Add the from-code option to xgettext, otherwise it fails on the new ellipsis character 2012-11-03 07:35:55 -04:00
Michal Čihař
e8c80a2916 Automatically commit changes when updating locales 2012-10-31 09:54:24 +01:00
Michal Čihař
b25679cf7f Exit script on failure to prevent posible corruption of entries 2012-06-04 13:46:56 +02:00
Michal Čihař
9e95a48c22 Rename script to reflect reality 2012-04-06 13:06:14 +02:00
Michal Čihař
88376c0385 Include real locations of advisory rules in po files 2012-04-06 10:53:45 +02:00
Michal Čihař
21344f9c50 Remove merging with docs, not needed with Weblate 2012-04-06 10:07:52 +02:00
Michal Čihař
7166723120 Update po generating scripts to include advisor rules 2011-08-11 13:48:07 +02:00
Michal Čihař
86906773f1 LC_ALL is the right one to override 2011-06-27 10:29:25 +02:00
Michal Čihař
cc28728cc3 Really use C locale in all cases 2011-06-17 15:01:49 +02:00
Michal Čihař
35385e307f Do not generate messages for tests 2011-06-17 15:01:06 +02:00
Michal Čihař
53ba93b02e Remove debug code.
This should never be commited.
2011-03-05 15:11:59 +01:00
Michal Čihař
614838a4e5 Update po files 2011-03-03 07:17:58 +01:00
Michal Čihař
f85249062f Always use locale insensitive search to avoid reordering the file every time. 2010-05-10 09:36:08 +02:00
Michal Čihař
5e68c366ef Proper support for ngettext. 2010-03-30 14:29:23 +02:00
Michal Čihař
e9909a2441 Consistent naming. 2010-03-30 10:44:58 +02:00