From: cajus Date: Wed, 1 Aug 2007 15:08:09 +0000 (+0000) Subject: Updated languages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aa42ba4c6d8a8cd92656526ba7b86347084de112;p=gosa.git Updated languages git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6954 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/AUTHORS b/AUTHORS index 1af30aef6..e8c0cd9e1 100644 --- a/AUTHORS +++ b/AUTHORS @@ -42,6 +42,9 @@ documentation and additional help. * Igor Muratov Various fixes and speed enhancements +* Daniel Nylander + Swedish translation + * Michael Pasdziernik Documentation for GOsa and safe-mode, fixes @@ -51,6 +54,9 @@ documentation and additional help. * Henning Schmiedehausen Various fixes, support for user defined people/group base +* Guido Serra + Italian translation + * Alfred Schröder German translation diff --git a/include/functions.inc b/include/functions.inc index 262401714..8295cbcd2 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -189,6 +189,9 @@ function get_browser_language() if (preg_match('/zh/', $lang)){ return ("zh_CN"); } + if (preg_match('/sv/', $lang)){ + return ("sv_SE"); + } return (strtolower($lang)."_".strtoupper($lang)); } diff --git a/plugins/admin/systems/class_dhcpHost.inc b/plugins/admin/systems/class_dhcpHost.inc index 12d0598c2..6a3092dc5 100644 --- a/plugins/admin/systems/class_dhcpHost.inc +++ b/plugins/admin/systems/class_dhcpHost.inc @@ -27,6 +27,10 @@ class dhcpHost extends plugin var $statements= array(); var $dn= "new"; + /* Subobjects */ + var $network; + var $advanced; + /* attribute list for save action */ var $attributes= array(); var $objectclasses= array(); @@ -65,6 +69,11 @@ class dhcpHost extends plugin } } + + /* Load network module */ + $this->network= new dhcpNetwork(); + $this->network->options= $this->options; + $this->network->statements= $this->statements; } function execute() @@ -88,7 +97,7 @@ class dhcpHost extends plugin "token-ring" => _("Token Ring"))); /* Show main page */ - return($smarty->fetch(get_template_path('dhcphost.tpl', TRUE))); + return($smarty->fetch(get_template_path('dhcphost.tpl', TRUE)).$this->network->execute()); } diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index a4e02b704..e24e928e0 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -265,7 +265,7 @@ class user extends plugin "de_DE" => ("de_DE"), "it_IT" => ("it_IT"), "nl_NL" => ("nl_NL"), "ru_RU" => ("ru_RU"), "zh_CN" => ("zh_CN"), "pl_PL" => ("pl_PL"), - "sv_SV" => ("sv_SV"), "es_ES" => ("es_ES")); + "sv_SE" => ("sv_SE"), "es_ES" => ("es_ES")); $smarty->assign("preferredLanguage_list", $language); /* Get random number for pictures */ diff --git a/setup/class_setupStep_Language.inc b/setup/class_setupStep_Language.inc index 909704f19..e5beae6cc 100644 --- a/setup/class_setupStep_Language.inc +++ b/setup/class_setupStep_Language.inc @@ -52,7 +52,7 @@ class Step_Language extends setup_step "en_EN" => _("English"), "nl_NL" => _("Dutch"), "pl_PL" => _("Polish"), - "sv_SV" => _("Swedish"), + "sv_SE" => _("Swedish"), "zh_CN" => _("Chinese"), "ru_RU" => _("Russian")); asort($this->languages);