summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-08-27 09:59:27 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-08-27 09:59:27 +0200
commit60426e2ef81e27446196a74fc5ac1c36d457a553 (patch)
treeb0921c6dbe7c7fca98319bc63055c39fd317b54c /settings/personal.php
parent46978b616cf18d86c3b5790560d233ebde1fc8e7 (diff)
downloadnextcloud-server-60426e2ef81e27446196a74fc5ac1c36d457a553.tar.gz
nextcloud-server-60426e2ef81e27446196a74fc5ac1c36d457a553.zip
add comment for translators
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php
index bbbba3b5b8d..32944de7200 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -71,6 +71,7 @@ $languages=array();
$commonlanguages = array();
foreach($languageCodes as $lang) {
$l = \OC::$server->getL10N('settings', $lang);
+ // TRANSLATORS this is the language name for the language switcher in the personal settings and should be the localized version
if(substr($l->t('__language_name__'), 0, 1) !== '_') {//first check if the language name is in the translation file
$ln=array('code'=>$lang, 'name'=> (string)$l->t('__language_name__'));
}elseif(isset($languageNames[$lang])) {