Permalink
Browse files

* Remove strings that shouldn't be translated (i.e. native language n…

…ames).

* Update translation files from KDE SVN.
  • Loading branch information...
1 parent e0db3a7 commit 2eace2947f1803da19684c9ae584599a27919dfb @dannyakakong committed Sep 28, 2014
Showing with 585 additions and 707 deletions.
  1. +0 −1 src/classes/shared/app.php
  2. +2 −2 src/classes/shared/developer.php
  3. +24 −18 src/classes/shared/digest.php
  4. +0 −1 src/languages/.gitignore
  5. +1 −0 src/languages/ast/LC_MESSAGES/.gitignore
  6. BIN src/languages/ast/LC_MESSAGES/commit-digest.mo
  7. +1 −0 src/languages/bs_BA/LC_MESSAGES/.gitignore
  8. BIN src/languages/bs_BA/LC_MESSAGES/commit-digest.mo
  9. +1 −0 src/languages/ca_ES/LC_MESSAGES/.gitignore
  10. BIN src/languages/ca_ES/LC_MESSAGES/commit-digest.mo
  11. +78 −130 src/languages/ca_ES/LC_MESSAGES/commit-digest.po
  12. BIN src/languages/commit-digest.mo
  13. +21 −93 src/languages/commit-digest.pot
  14. +1 −0 src/languages/cs_CZ/LC_MESSAGES/.gitignore
  15. BIN src/languages/cs_CZ/LC_MESSAGES/commit-digest.mo
  16. +135 −69 src/languages/cs_CZ/LC_MESSAGES/commit-digest.po
  17. BIN src/languages/de_DE/LC_MESSAGES/commit-digest.mo
  18. +1 −0 src/languages/en_GB/LC_MESSAGES/.gitignore
  19. BIN src/languages/en_GB/LC_MESSAGES/commit-digest.mo
  20. BIN src/languages/es_ES/LC_MESSAGES/commit-digest.mo
  21. +1 −0 src/languages/et_EE/LC_MESSAGES/.gitignore
  22. BIN src/languages/et_EE/LC_MESSAGES/commit-digest.mo
  23. +1 −0 src/languages/fi_FI/LC_MESSAGES/.gitignore
  24. BIN src/languages/fi_FI/LC_MESSAGES/commit-digest.mo
  25. BIN src/languages/fr_FR/LC_MESSAGES/commit-digest.mo
  26. +1 −0 src/languages/ga_IE/LC_MESSAGES/.gitignore
  27. BIN src/languages/ga_IE/LC_MESSAGES/commit-digest.mo
  28. +1 −0 src/languages/gl_GL/LC_MESSAGES/.gitignore
  29. BIN src/languages/gl_GL/LC_MESSAGES/commit-digest.mo
  30. +1 −0 src/languages/hu_HU/LC_MESSAGES/.gitignore
  31. BIN src/languages/hu_HU/LC_MESSAGES/commit-digest.mo
  32. +197 −180 src/languages/hu_HU/LC_MESSAGES/commit-digest.po
  33. BIN src/languages/it_IT/LC_MESSAGES/commit-digest.mo
  34. +1 −0 src/languages/ja_JP/LC_MESSAGES/.gitignore
  35. BIN src/languages/ja_JP/LC_MESSAGES/commit-digest.mo
  36. +1 −0 src/languages/ko_KR/LC_MESSAGES/.gitignore
  37. BIN src/languages/ko_KR/LC_MESSAGES/commit-digest.mo
  38. +1 −0 src/languages/lt_LT/LC_MESSAGES/.gitignore
  39. BIN src/languages/lt_LT/LC_MESSAGES/commit-digest.mo
  40. +1 −0 src/languages/mr_IN/LC_MESSAGES/.gitignore
  41. BIN src/languages/mr_IN/LC_MESSAGES/commit-digest.mo
  42. +1 −0 src/languages/nds/LC_MESSAGES/.gitignore
  43. BIN src/languages/nds/LC_MESSAGES/commit-digest.mo
  44. +46 −103 src/languages/nds/LC_MESSAGES/commit-digest.po
  45. +1 −0 src/languages/nl_NL/LC_MESSAGES/.gitignore
  46. BIN src/languages/nl_NL/LC_MESSAGES/commit-digest.mo
  47. +6 −6 src/languages/nl_NL/LC_MESSAGES/commit-digest.po
  48. BIN src/languages/pl_PL/LC_MESSAGES/commit-digest.mo
  49. BIN src/languages/pt_BR/LC_MESSAGES/commit-digest.mo
  50. +1 −0 src/languages/pt_PT/LC_MESSAGES/.gitignore
  51. BIN src/languages/pt_PT/LC_MESSAGES/commit-digest.mo
  52. +53 −104 src/languages/pt_PT/LC_MESSAGES/commit-digest.po
  53. +1 −0 src/languages/ro_RO/LC_MESSAGES/.gitignore
  54. BIN src/languages/ro_RO/LC_MESSAGES/commit-digest.mo
  55. BIN src/languages/ru_RU/LC_MESSAGES/commit-digest.mo
  56. +1 −0 src/languages/sk_SK/LC_MESSAGES/.gitignore
  57. BIN src/languages/sk_SK/LC_MESSAGES/commit-digest.mo
  58. BIN src/languages/sv_SE/LC_MESSAGES/commit-digest.mo
  59. +1 −0 src/languages/test/LC_MESSAGES/.gitignore
  60. BIN src/languages/test/LC_MESSAGES/commit-digest.mo
  61. +1 −0 src/languages/tr_TR/LC_MESSAGES/.gitignore
  62. BIN src/languages/tr_TR/LC_MESSAGES/commit-digest.mo
  63. +1 −0 src/languages/ug_CN/LC_MESSAGES/.gitignore
  64. BIN src/languages/ug_CN/LC_MESSAGES/commit-digest.mo
  65. BIN src/languages/uk_UA/LC_MESSAGES/commit-digest.mo
  66. +1 −0 src/languages/zh_CN/LC_MESSAGES/.gitignore
  67. BIN src/languages/zh_CN/LC_MESSAGES/commit-digest.mo
@@ -45,7 +45,6 @@ public static function setLanguage($language = null) {
define('LANGUAGE', Config::$locale['language']);
}
-
// load language strings for set language
putenv('LC_ALL=' . LANGUAGE);
setlocale(LC_ALL, array(LANGUAGE . '.utf8', LANGUAGE . '.utf-8', LANGUAGE));
@@ -399,8 +399,8 @@ public static function enumToString($context = 'key', $key = null, $enhanced = f
$keys['country'] = Digest::getCountries('basic');
}
- $keys['microblog_type'] = array('twitter' => _('twitter.com'),
- 'identica' => _('identi.ca'));
+ $keys['microblog_type'] = array('twitter' => 'twitter.com',
+ 'identica' => 'identi.ca');
// return...
if ($context == 'all') {
@@ -524,24 +524,30 @@ public static function getTypes() {
public static function getLanguages() {
- return array('en_US' => _('English'),
- 'de_DE' => _('Deutsch'),
- 'fr_FR' => _('Français'),
- 'es_ES' => _('Español'),
- 'ca_ES' => _('Català'),
- 'nl_NL' => _('Nederlands'),
- 'it_IT' => _('Italiano'),
- 'ru_RU' => _('Pyccĸий'),
- 'pl_PL' => _('Polski'),
- 'pt_PT' => _('Português'),
- 'pt_BR' => _('Português Brasileiro'),
- 'hu_HU' => _('Magyar'),
- 'uk_UA' => _('Українська'),
- 'cs_CZ' => _('Čeština'),
- 'nds' => _('Low Saxon'));
-
- // not yet ready for inclusion, here for translation purposes
- return array('sv_SE' => _('Svenska'));
+ $languages = array(
+ 'en_US' => 'English',
+ 'de_DE' => 'Deutsch',
+ 'fr_FR' => 'Français',
+ 'es_ES' => 'Español',
+ 'ca_ES' => 'Català',
+ 'nl_NL' => 'Nederlands',
+ 'it_IT' => 'Italiano',
+ 'ru_RU' => 'Pyccĸий',
+ 'pl_PL' => 'Polski',
+ 'pt_PT' => 'Português',
+ 'pt_BR' => 'Português Brasileiro',
+ 'hu_HU' => 'Magyar',
+ 'uk_UA' => 'Українська',
+ 'cs_CZ' => 'Čeština',
+ 'nds' => 'Low Saxon',
+ );
+
+ // show test language if not live site
+ if (!LIVE_SITE) {
+ $languages['test'] = 'Test language';
+ }
+
+ return $languages;
}
@@ -1 +0,0 @@
-/commit-digest.pot
@@ -0,0 +1 @@
+/commit-digest.po
Binary file not shown.
@@ -0,0 +1 @@
+/commit-digest.po
Binary file not shown.
@@ -0,0 +1 @@
+/commit-digest.po
Binary file not shown.
Oops, something went wrong.

0 comments on commit 2eace29

Please sign in to comment.