projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor change in class.graphic.inc
[fa-stable.git]
/
admin
/
inst_lang.php
diff --git
a/admin/inst_lang.php
b/admin/inst_lang.php
index 69bd225f59d5588c26b39825d33c61b5d0aea717..e1fbd0636270513e6011633853efbdb5d64eb535 100644
(file)
--- a/
admin/inst_lang.php
+++ b/
admin/inst_lang.php
@@
-59,6
+59,9
@@
function display_languages()
$langs = get_languages_list();
foreach ($langs as $pkg_name => $lng)
{
$langs = get_languages_list();
foreach ($langs as $pkg_name => $lng)
{
+ if ($lng == 'C') // skip default locale (aka no translation)
+ continue;
+
$lang = $lng['code'];
$lang_name = $lng['name'];
$charset = $lng['encoding'];
$lang = $lng['code'];
$lang_name = $lng['name'];
$charset = $lng['encoding'];
@@
-72,8
+75,7
@@
function display_languages()
else
alt_table_row_color($k);
else
alt_table_row_color($k);
- $support = ($lang == 'C') ||
- $_SESSION['get_text']->check_support($lang, $charset);
+ $support = $_SESSION['get_text']->check_support($lang, $charset);
if (function_exists('gettext') && !$support && !get_post('DisplayAll')) continue;
if (function_exists('gettext') && !$support && !get_post('DisplayAll')) continue;