Commit Graph

29 Commits

Author SHA1 Message Date
Morris Jobke 692e056df9 Extract app name and navigation entries for l10n
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-05-08 23:24:28 -05:00
Thomas Müller f5c5f45572 Also use Javascript as language in l10n.pl - fixes #13924 2016-04-07 12:59:59 +02:00
Lukas Reschke 74a9fc29b4 Merge pull request #14399 from owncloud/ignore-empty-plurals
Ignore empty plurals just like with singulars
2015-03-26 20:15:33 +01:00
Joas Schilling 3ab9ad2d78 Ignore empty plurals just like with singulars
The js and php code of n() has fallbacks for when the key is missing.
However there is no fallback, when the key is defined with an array of empty
strings. So we just don't extract them anymore and use the english language.
2015-02-20 11:36:56 +01:00
Joas Schilling 602845f33e Correctly create the expected key for plurals with quotes
Ported from the administration repo:
c67eaa11c0
and
41b0f9fa3a
2015-02-18 13:22:06 +01:00
Bernhard Posselt 71f32745b6 ignore minified js, owncloud/news#719 2015-02-05 15:48:58 +01:00
Thomas Müller 2f19de11e4 adding console command to generate javascript translation files based on existing php translation files
read server side translations from json files
2014-10-29 10:09:12 +01:00
Thomas Müller f67123c5a4 l10n.pl now generates js files as well 2014-10-29 10:09:12 +01:00
Morris Jobke 9107cd2bde replace $ by \$ 2014-06-03 08:13:57 +02:00
Thomas Müller d2371f0cc2 update version to 6.0.0 and adding comment option 2013-10-07 10:00:43 +02:00
Thomas Müller c71408eaa9 fixing call to join 2013-08-15 15:38:33 +02:00
Thomas Müller 550b647d8a another new line 2013-08-02 23:07:53 +02:00
Thomas Müller 389d0824e8 add new line to generated php code 2013-08-02 21:45:36 +02:00
Jakob Sack e064e53aa3 Save the plural information given in po files 2013-08-01 19:13:52 +02:00
Jakob Sack 69b175dbf9 Fix two bugs in l10n.pl 2013-07-16 22:25:19 +02:00
Jakob Sack 18fc22b52b Allow several plural forms in l10n php files 2013-07-16 21:44:50 +02:00
Jakob Sack e13d1d0cf2 Add possibility to read/write plural translations 2013-07-07 19:51:24 +02:00
Thomas Mueller 068595e5ac fixing issues with UTF8 characters in translatable strings 2013-02-12 12:16:13 +01:00
Thomas Müller b57cc67f60 Python language setting on gettext
gettext with language setting 'Python' gives better results than 'Perl'
2012-09-26 14:17:12 +03:00
Robin Appelman 549889d3cb update l10n script to better read js files 2012-06-06 00:11:45 +02:00
Jakob Sack 5301248ea2 Sorting files in l10n.pl to get the same order always 2011-08-26 09:21:55 +02:00
Jan-Christoph Borchardt b2768637d2 updated translations 2011-08-13 05:13:35 +02:00
Jakob Sack ae862ddf69 Improve l10n.pl
o more information
 o drop l10n/xgettextfiles
 o read all php and js files inside a folder that has a "l10n" folder
2011-08-10 12:34:49 +02:00
Jan-Christoph Borchardt 7e11bf280d updated localization script and removed duplicate strings 2011-07-27 12:05:41 +02:00
Jakob Sack c25474e2c5 Updated l10n script, fixed translation in admin/users template 2011-06-21 16:19:30 +02:00
Jakob Sack f72db005b5 Keep order when creating php files 2011-06-20 22:22:17 +02:00
Jakob Sack ef3386c5f8 All translations should be in the new system 2011-06-20 22:08:44 +02:00
Jakob Sack daa194cede more i18n improvements 2011-06-20 22:02:13 +02:00
Jakob Sack 61993419ec New i18n-structure 2011-06-20 21:54:21 +02:00