Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit 2eace29

Browse files
committed
* Remove strings that shouldn't be translated (i.e. native language names).
* Update translation files from KDE SVN.
1 parent e0db3a7 commit 2eace29

File tree

67 files changed

+585
-707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+585
-707
lines changed

src/classes/shared/app.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public static function setLanguage($language = null) {
4545
define('LANGUAGE', Config::$locale['language']);
4646
}
4747

48-
4948
// load language strings for set language
5049
putenv('LC_ALL=' . LANGUAGE);
5150
setlocale(LC_ALL, array(LANGUAGE . '.utf8', LANGUAGE . '.utf-8', LANGUAGE));

src/classes/shared/developer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@ public static function enumToString($context = 'key', $key = null, $enhanced = f
399399
$keys['country'] = Digest::getCountries('basic');
400400
}
401401

402-
$keys['microblog_type'] = array('twitter' => _('twitter.com'),
403-
'identica' => _('identi.ca'));
402+
$keys['microblog_type'] = array('twitter' => 'twitter.com',
403+
'identica' => 'identi.ca');
404404

405405
// return...
406406
if ($context == 'all') {

src/classes/shared/digest.php

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -524,24 +524,30 @@ public static function getTypes() {
524524

525525

526526
public static function getLanguages() {
527-
return array('en_US' => _('English'),
528-
'de_DE' => _('Deutsch'),
529-
'fr_FR' => _('Français'),
530-
'es_ES' => _('Español'),
531-
'ca_ES' => _('Català'),
532-
'nl_NL' => _('Nederlands'),
533-
'it_IT' => _('Italiano'),
534-
'ru_RU' => _('Pyccĸий'),
535-
'pl_PL' => _('Polski'),
536-
'pt_PT' => _('Português'),
537-
'pt_BR' => _('Português Brasileiro'),
538-
'hu_HU' => _('Magyar'),
539-
'uk_UA' => _('Українська'),
540-
'cs_CZ' => _('Čeština'),
541-
'nds' => _('Low Saxon'));
542-
543-
// not yet ready for inclusion, here for translation purposes
544-
return array('sv_SE' => _('Svenska'));
527+
$languages = array(
528+
'en_US' => 'English',
529+
'de_DE' => 'Deutsch',
530+
'fr_FR' => 'Français',
531+
'es_ES' => 'Español',
532+
'ca_ES' => 'Català',
533+
'nl_NL' => 'Nederlands',
534+
'it_IT' => 'Italiano',
535+
'ru_RU' => 'Pyccĸий',
536+
'pl_PL' => 'Polski',
537+
'pt_PT' => 'Português',
538+
'pt_BR' => 'Português Brasileiro',
539+
'hu_HU' => 'Magyar',
540+
'uk_UA' => 'Українська',
541+
'cs_CZ' => 'Čeština',
542+
'nds' => 'Low Saxon',
543+
);
544+
545+
// show test language if not live site
546+
if (!LIVE_SITE) {
547+
$languages['test'] = 'Test language';
548+
}
549+
550+
return $languages;
545551
}
546552

547553

src/languages/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/commit-digest.po
590 Bytes
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/commit-digest.po
12.3 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/commit-digest.po
-58 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)