Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
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
dannya committed Sep 28, 2014
1 parent e0db3a7 commit 2eace29
Show file tree
Hide file tree
Showing 67 changed files with 585 additions and 707 deletions.
@@ -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;
}


This file was deleted.

@@ -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.

0 comments on commit 2eace29

Please sign in to comment.