summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-08-04 13:08:17 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-08-04 13:08:17 +0000
commit086385c2a8fa0556c1c5fc700e35547177cc0de8 (patch)
tree98b6bc168a9bbfd7b649e43ed48421f213e1e066 /includes
parent3488a1ed443c92f918e6153c27fd6d6cf3ab287d (diff)
downloadbrdo-086385c2a8fa0556c1c5fc700e35547177cc0de8.tar.gz
brdo-086385c2a8fa0556c1c5fc700e35547177cc0de8.tar.bz2
#164209 by mooffie: native language names were not shown in the predefined language dropdown for RTL languages
Diffstat (limited to 'includes')
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 2d4ca3e10..66efadd2f 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -2184,7 +2184,7 @@ function _locale_prepare_predefined_list() {
continue;
}
// Include native name in output, if possible
- if (count($value) == 2) {
+ if (count($value) > 1) {
$tname = t($value[0]);
$predefined[$key] = ($tname == $value[1]) ? $tname : "$tname ($value[1])";
}