[Commits] r644 - in trunk/webinterface/core: . locale/de_DE/LC_MESSAGES

new-commit at lists.openvcp.org new-commit at lists.openvcp.org
Tue Dec 30 00:43:23 UTC 2008


Author: ftx
Date: 2008-12-30 00:43:23 +0000 (Tue, 30 Dec 2008)
New Revision: 644

Added:
   trunk/webinterface/core/locale/de_DE/LC_MESSAGES/super_menu.po
   trunk/webinterface/core/locale/de_DE/LC_MESSAGES/user_menu.po
Modified:
   trunk/webinterface/core/GUI.php
Log:
fixed gettext for head menu



Modified: trunk/webinterface/core/GUI.php
===================================================================
--- trunk/webinterface/core/GUI.php	2008-12-30 00:29:10 UTC (rev 643)
+++ trunk/webinterface/core/GUI.php	2008-12-30 00:43:23 UTC (rev 644)
@@ -189,6 +189,12 @@
 					}
 				}
 
+
+				if(strstr($homeDir, 'super'))
+					OpenVCP::setTextdomain('super_menu');
+				else
+					OpenVCP::setTextdomain('user_menu');
+				
 				$this->headerMenu  = "<li><a href=\"" . $homeDir . "\"> " . _("home") . "</a></li>";
 
 				while($f = readdir($dp)){
@@ -207,6 +213,7 @@
 				}
 				closedir($dp);
 				
+				OpenVCP::resetTextdomain();
 				$this->createContentMenu(dirname(OpenVCP::calledMod()));
 
 				//get css file

Added: trunk/webinterface/core/locale/de_DE/LC_MESSAGES/super_menu.po
===================================================================
--- trunk/webinterface/core/locale/de_DE/LC_MESSAGES/super_menu.po	                        (rev 0)
+++ trunk/webinterface/core/locale/de_DE/LC_MESSAGES/super_menu.po	2008-12-30 00:43:23 UTC (rev 644)
@@ -0,0 +1,40 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-08-19 12:16+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+
+msgid "home"
+msgstr "Home"
+
+
+msgid "admins"
+msgstr "Admin's"
+
+
+msgid "customers"
+msgstr "Benutzer"
+
+msgid "log"
+msgstr "log"
+
+msgid "settings"
+msgstr "Einstellungen"
+
+msgid "vservers"
+msgstr "vServer"
+
+

Added: trunk/webinterface/core/locale/de_DE/LC_MESSAGES/user_menu.po
===================================================================
--- trunk/webinterface/core/locale/de_DE/LC_MESSAGES/user_menu.po	                        (rev 0)
+++ trunk/webinterface/core/locale/de_DE/LC_MESSAGES/user_menu.po	2008-12-30 00:43:23 UTC (rev 644)
@@ -0,0 +1,36 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-08-19 12:16+0000\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+
+msgid "home"
+msgstr "Home"
+
+
+msgid "control"
+msgstr "Kontrolle"
+
+
+msgid "firewall"
+msgstr "Firewall"
+
+msgid "options"
+msgstr "Optionen"
+
+msgid "stats"
+msgstr "Statistik"
+



More information about the Commits mailing list