From 2f28e98ca4f05a692e734727cd80bbf961740c6a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 2 Jul 2015 11:38:31 +0200 Subject: [PATCH] system: enable German, it's at the magic 30% level While there, zap unused code and let the other languages be picked up by xgettext as they don't print anywhere like that. --- src/www/system_general.php | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/www/system_general.php b/src/www/system_general.php index db5f7cfdb..23fdec00a 100644 --- a/src/www/system_general.php +++ b/src/www/system_general.php @@ -37,23 +37,14 @@ function get_locale_list() /* first one is the default */ $locales['en_US'] = _('English'); - //$locales['ja_JP'] = _('Japanese'); + $locales['de_DE'] = _('German'); + /* $locales['es_CO'] = */ _('Spanish'); + /* $locales['ja_JP'] = */ _('Japanese'); $locales['zh_CN'] = _('Chinese (Simplified)'); return $locales; } -function get_flavour_list() -{ - $flavours = array(); - - /* first one is the default */ - $flavours['latest'] = 'OpenSSL'; - $flavours['libressl'] = 'LibreSSL'; - - return $flavours; -} - $pconfig['hostname'] = $config['system']['hostname']; $pconfig['domain'] = $config['system']['domain']; list($pconfig['dns1'],$pconfig['dns2'],$pconfig['dns3'],$pconfig['dns4']) = $config['system']['dnsserver'];