[Cherokee-commits] [3750] cherokee/trunk/admin: i18n

SVN at cherokee-project.com SVN at cherokee-project.com
Fri Oct 23 19:29:15 CEST 2009


Revision: 3750
          http://svn.cherokee-project.com/changeset/3750
Author:   taher
Date:     2009-10-23 19:29:15 +0200 (Fri, 23 Oct 2009)

Log Message:
-----------
i18n

Modified Paths:
--------------
    cherokee/trunk/admin/Wizard_Alfresco.py
    cherokee/trunk/admin/Wizard_ColdFusion.py
    cherokee/trunk/admin/Wizard_Django.py
    cherokee/trunk/admin/Wizard_Drupal.py
    cherokee/trunk/admin/Wizard_Glassfish.py
    cherokee/trunk/admin/Wizard_HotLinking.py
    cherokee/trunk/admin/Wizard_Icons.py
    cherokee/trunk/admin/Wizard_Joomla.py
    cherokee/trunk/admin/Wizard_Liferay.py
    cherokee/trunk/admin/Wizard_Mailman.py
    cherokee/trunk/admin/Wizard_Mono.py
    cherokee/trunk/admin/Wizard_Moodle.py
    cherokee/trunk/admin/Wizard_RoR.py
    cherokee/trunk/admin/Wizard_Sugar.py
    cherokee/trunk/admin/Wizard_Symfony.py
    cherokee/trunk/admin/Wizard_Trac.py
    cherokee/trunk/admin/Wizard_WordPress.py
    cherokee/trunk/admin/Wizard_Zend.py
    cherokee/trunk/admin/Wizard_phpBB.py
    cherokee/trunk/admin/Wizard_uWSGI.py

Modified: cherokee/trunk/admin/Wizard_Alfresco.py
===================================================================
--- cherokee/trunk/admin/Wizard_Alfresco.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Alfresco.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -77,18 +77,18 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_alfresco!new_host', _(NOTE_VSRV_NAME), value="alfresco.example.com")
         txt += self.Indent(table)
 
-        txt += '<h2>Alfresco Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Alfresco project"))
         table = TableProps()
         self.AddPropEntry (table, _('Source host'), 'tmp!wizard_alfresco!new_src_host', _(NOTE_HOST_SRC))
         self.AddPropEntry (table, _('Source port'), 'tmp!wizard_alfresco!new_src_port', _(NOTE_HOST_PRT), value=8080)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -137,7 +137,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>Alfresco Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Alfresco Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Web Directory'), 'tmp!wizard_alfresco!new_webdir', _(NOTE_WEB_DIR), value="/alfresco")
         self.AddPropEntry (table, _('Source host'), 'tmp!wizard_alfresco!new_src_host', _(NOTE_HOST_SRC), value="localhost")

Modified: cherokee/trunk/admin/Wizard_ColdFusion.py
===================================================================
--- cherokee/trunk/admin/Wizard_ColdFusion.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_ColdFusion.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -96,7 +96,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_coldfusion!new_host', _(NOTE_VSRV_NAME), value="coldfusion.example.com")
         txt += self.Indent(table)
@@ -106,7 +106,7 @@
         self.AddPropEntry (table, _('Host'), 'tmp!wizard_coldfusion!new_source', _(NOTE_SOURCE), value="127.0.0.1:8500")
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Django.py
===================================================================
--- cherokee/trunk/admin/Wizard_Django.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Django.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -82,18 +82,18 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_django!new_host',      _(NOTE_NEW_HOST),   value="www.example.com")
         self.AddPropEntry (table, _('Document Root'), 'tmp!wizard_django!document_root', _(NOTE_DJANGO_DIR), value=os_get_document_root())
         txt += self.Indent(table)
 
-        txt += '<h2>Django Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Django Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Project Directory'), 'tmp!wizard_django!django_dir', _(NOTE_DJANGO_DIR))
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -145,12 +145,12 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>Web Directory</h2>'
+        txt += '<h2>%s</h2>' % (_("Web Directory"))
         table = TableProps()
         self.AddPropEntry (table, _('Web Directory'), 'tmp!wizard_django!new_webdir', _(NOTE_NEW_HOST), value="/project")
         txt += self.Indent(table)
 
-        txt += '<h2>Django Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Django Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Project Directory'), 'tmp!wizard_django!django_dir', _(NOTE_DJANGO_DIR))
         txt += self.Indent(table)

Modified: cherokee/trunk/admin/Wizard_Drupal.py
===================================================================
--- cherokee/trunk/admin/Wizard_Drupal.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Drupal.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -112,7 +112,7 @@
 
 class Wizard_VServer_Drupal (WizardPage):
     ICON = "drupal.png"
-    DESC = "Configure a new virtual server using Drupal."
+    DESC = _("Configure a new virtual server using Drupal.")
 
     def __init__ (self, cfg, pre):
         WizardPage.__init__ (self, cfg, pre,
@@ -134,7 +134,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_drupal!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Glassfish.py
===================================================================
--- cherokee/trunk/admin/Wizard_Glassfish.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Glassfish.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -74,18 +74,18 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_glassfish!new_host', _(NOTE_VSRV_NAME), value="glassfish.example.com")
         txt += self.Indent(table)
 
-        txt += '<h2>Glassfish Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Glassfish Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Source host'), 'tmp!wizard_glassfish!new_src_host', _(NOTE_HOST_SRC), value="localhost")
         self.AddPropEntry (table, _('Source port'), 'tmp!wizard_glassfish!new_src_port', _(NOTE_HOST_PRT), value=8080)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -134,7 +134,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>Glassfish Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Glassfish Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Web Directory'), 'tmp!wizard_glassfish!new_webdir', _(NOTE_WEB_DIR), value="/glassfish")
         self.AddPropEntry (table, _('Source host'), 'tmp!wizard_glassfish!new_src_host', _(NOTE_HOST_SRC), value="localhost")

Modified: cherokee/trunk/admin/Wizard_HotLinking.py
===================================================================
--- cherokee/trunk/admin/Wizard_HotLinking.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_HotLinking.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -63,12 +63,12 @@
             nick = "example.com"
 
         txt = '<h1>%s</h1>' % (self.title)
-        txt += '<h2>Local Host Name</h2>'
+        txt += '<h2>%s</h2>' % (_("Local Host Name"))
         table = TableProps()
         self.AddPropEntry (table, _('Domain Name'), 'tmp!wizard_hotlink!domain', _(NOTE_DOMAIN), value=nick)
         txt += self.Indent(table)
 
-        txt += '<h2>Behaviour</h2>'
+        txt += '<h2>%s</h2>' % (_("Behavior"))
         table = TableProps()
         self.AddPropOptions_Reload_Plain (table, _('Reply type'), 'tmp!wizard_hotlink!type', TYPES, _(NOTE_TYPE))
 

Modified: cherokee/trunk/admin/Wizard_Icons.py
===================================================================
--- cherokee/trunk/admin/Wizard_Icons.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Icons.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -33,7 +33,7 @@
 
     def __init__ (self, cfg, pre):
         Wizard.__init__ (self, cfg, pre)
-        self.name        = "Add the /icons directory"
+        self.name        = _("Add the /icons directory")
         self.have_icons  = False
         self.have_themes = False
 

Modified: cherokee/trunk/admin/Wizard_Joomla.py
===================================================================
--- cherokee/trunk/admin/Wizard_Joomla.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Joomla.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -127,7 +127,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_joomla!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Liferay.py
===================================================================
--- cherokee/trunk/admin/Wizard_Liferay.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Liferay.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -59,7 +59,7 @@
 
 class Wizard_VServer_Liferay (WizardPage):
     ICON = "liferay.png"
-    DESC = "New virtual server based on a Liferay project."
+    DESC = _("New virtual server based on a Liferay project.")
 
     def __init__ (self, cfg, pre):
         WizardPage.__init__ (self, cfg, pre,
@@ -74,18 +74,18 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_liferay!new_host', _(NOTE_VSRV_NAME), value="liferay.example.com")
         txt += self.Indent(table)
 
-        txt += '<h2>Liferay Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Liferay Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Source host'), 'tmp!wizard_liferay!new_src_host', _(NOTE_HOST_SRC), value="localhost")
         self.AddPropEntry (table, _('Source port'), 'tmp!wizard_liferay!new_src_port', _(NOTE_HOST_PRT), value=8080)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -119,7 +119,7 @@
 
 class Wizard_Rules_Liferay (WizardPage):
     ICON = "liferay.png"
-    DESC = "New directory based on a Liferay project."
+    DESC = _("New directory based on a Liferay project.")
 
     def __init__ (self, cfg, pre):
         WizardPage.__init__ (self, cfg, pre,
@@ -134,7 +134,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>Liferay Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Liferay Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Web Directory'), 'tmp!wizard_liferay!new_webdir', _(NOTE_WEB_DIR), value="/liferay")
         self.AddPropEntry (table, _('Source host'), 'tmp!wizard_liferay!new_src_host', _(NOTE_HOST_SRC), value="localhost")

Modified: cherokee/trunk/admin/Wizard_Mailman.py
===================================================================
--- cherokee/trunk/admin/Wizard_Mailman.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Mailman.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -99,7 +99,7 @@
 
 class Wizard_VServer_Mailman (WizardPage):
     ICON = "mailman.png"
-    DESC = "New virtual server based on a Mailman mailing list manager."
+    DESC = _("New virtual server based on a Mailman mailing list manager.")
 
     def __init__ (self, cfg, pre):
         WizardPage.__init__ (self, cfg, pre,
@@ -117,7 +117,7 @@
         guessed_arch = path_find_w_default (SRC_PATHS_ARCH)
 
         txt = '<h1>%s</h1>' % (self.title)
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_mailman!new_host', _(NOTE_NEW_HOST), value="www.example.com")
         txt += self.Indent(table)
@@ -129,7 +129,7 @@
         self.AddPropEntry (table, _('Mail Archive directory'), 'tmp!wizard_mailman!mailman_arch_dir', _(NOTE_MAILMAN_ARCH_DIR), value=guessed_arch)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Mono.py
===================================================================
--- cherokee/trunk/admin/Wizard_Mono.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Mono.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -93,8 +93,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        title= _('New Virtual Server')
-        txt += '<h2>%s</h2>' % title
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_mono!new_host',      _(NOTE_NEW_HOST),   value="www.example.com")
         self.AddPropEntry (table, _('Document Root'), 'tmp!wizard_mono!document_root', _(NOTE_DROOT), value=os_get_document_root())
@@ -106,8 +105,7 @@
         self.AddPropEntry (table, _('Project Directory'), 'tmp!wizard_mono!mono_dir', _(NOTE_MONO_DIR))
         txt += self.Indent(table)
 
-        title = _('Logging')
-        txt += '<h2>%s</h2>' % title
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Moodle.py
===================================================================
--- cherokee/trunk/admin/Wizard_Moodle.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Moodle.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -65,7 +65,7 @@
 
 class Wizard_VServer_Moodle (WizardPage):
     ICON = "moodle.png"
-    DESC = "Configures Moodle e-learning platform on a new virtual server."
+    DESC = _("Configures Moodle e-learning platform on a new virtual server.")
 
     def __init__ (self, cfg, pre):
         WizardPage.__init__ (self, cfg, pre,
@@ -87,7 +87,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_moodle!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -147,7 +147,7 @@
         # Check for PHP
         php_info = wizard_php_get_info (self._cfg, self._pre)
         if not php_info:
-            self.no_show = "PHP support is required."
+            self.no_show = _("PHP support is required.")
             return False
         return True
 

Modified: cherokee/trunk/admin/Wizard_RoR.py
===================================================================
--- cherokee/trunk/admin/Wizard_RoR.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_RoR.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -156,12 +156,12 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_ror!new_host',      _(NOTE_NEW_HOST), value="www.example.com")
         txt += self.Indent(table)
 
-        txt += '<h2>Ruby on Rails Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Ruby on Rails Project"))
         txt += self._render_content_dispatch_fcgi()
 
         table = TableProps()
@@ -169,7 +169,7 @@
         self.AddPropOptions (table, _('RAILS_ENV environment'), 'tmp!wizard_ror!ror_env', RAILS_ENV, _(NOTE_ENV))
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -231,12 +231,12 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>Web Directory</h2>'
+        txt += '<h2>%s</h2>' % (_("Web Directory"))
         table = TableProps()
         self.AddPropEntry (table, _('Web Directory'), 'tmp!wizard_ror!new_webdir', _(NOTE_NEW_DIR), value="/project")
         txt += self.Indent(table)
 
-        txt += '<h2>Ruby on Rails Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Ruby on Rails Project"))
         txt += self._render_content_dispatch_fcgi()
 
         table = TableProps()

Modified: cherokee/trunk/admin/Wizard_Sugar.py
===================================================================
--- cherokee/trunk/admin/Wizard_Sugar.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Sugar.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -121,7 +121,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_sugar!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -184,7 +184,7 @@
         # Check for PHP
         php_info = wizard_php_get_info (self._cfg, self._pre)
         if not php_info:
-            self.no_show = "PHP support is required."
+            self.no_show = _("PHP support is required.")
             return False
         return True
 

Modified: cherokee/trunk/admin/Wizard_Symfony.py
===================================================================
--- cherokee/trunk/admin/Wizard_Symfony.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Symfony.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -124,7 +124,7 @@
         self.AddPropEntry (table, _('Symfony Package'), 'tmp!wizard_symfony!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Trac.py
===================================================================
--- cherokee/trunk/admin/Wizard_Trac.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Trac.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -100,18 +100,18 @@
         txt = '<h1>%s</h1>' % (self.title)
         guessed_src = path_find_w_default (SRC_PATHS)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_trac!new_host', _(NOTE_NEW_HOST), value="trac.example.com")
         txt += self.Indent(table)
 
-        txt += '<h2>Trac Project</h2>'
+        txt += '<h2>%s</h2>' % (_("Trac Project"))
         table = TableProps()
         self.AddPropEntry (table, _('Project Directory'), 'tmp!wizard_trac!trac_project', _(NOTE_TRAC_PROJECT), value=os_get_document_root())
         self.AddPropEntry (table, _('Trac Directory'), 'tmp!wizard_trac!trac_data', _(NOTE_TRAC_DATA), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_WordPress.py
===================================================================
--- cherokee/trunk/admin/Wizard_WordPress.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_WordPress.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -112,7 +112,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_wp!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_Zend.py
===================================================================
--- cherokee/trunk/admin/Wizard_Zend.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_Zend.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -96,7 +96,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_zend!sources', _(NOTE_SOURCES), value="/var/www")
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_phpBB.py
===================================================================
--- cherokee/trunk/admin/Wizard_phpBB.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_phpBB.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -92,7 +92,7 @@
         self.AddPropEntry (table, _('Source Directory'), 'tmp!wizard_phpbb!sources', _(NOTE_SOURCES), value=guessed_src)
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
+        txt += '<h2>%s</h2>' % (_("Logging"))
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)

Modified: cherokee/trunk/admin/Wizard_uWSGI.py
===================================================================
--- cherokee/trunk/admin/Wizard_uWSGI.py	2009-10-23 16:50:56 UTC (rev 3749)
+++ cherokee/trunk/admin/Wizard_uWSGI.py	2009-10-23 17:29:15 UTC (rev 3750)
@@ -117,7 +117,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>New Virtual Server</h2>'
+        txt += '<h2>%s</h2>' % (_("New Virtual Server"))
         table = TableProps()
         self.AddPropEntry (table, _('New Host Name'), 'tmp!wizard_uwsgi!new_host',      _(NOTE_NEW_HOST), value="www.example.com")
         self.AddPropEntry (table, _('Document Root'), 'tmp!wizard_uwsgi!document_root', _(NOTE_DROOT), value=os_get_document_root())
@@ -130,7 +130,6 @@
         self.AddPropEntry (table, _('Configuration File'), 'tmp!wizard_uwsgi!uwsgi_cfg', _(NOTE_UWSGI_CONFIG))
         txt += self.Indent(table)
 
-        txt += '<h2>Logging</h2>'
         txt += self._common_add_logging()
 
         form = Form (url_pre, add_submit=True, auto=False)
@@ -192,7 +191,7 @@
     def _render_content (self, url_pre):
         txt = '<h1>%s</h1>' % (self.title)
 
-        txt += '<h2>uWSGI Project</h2>'
+        txt += '<h2>uWSGI</h2>'
         table = TableProps()
         if not self.uwsgi_binary:
             self.AddPropEntry (table, _('uWSGI binary'), 'tmp!wizard_uwsgi!uwsgi_binary', _(NOTE_UWSGI_BINARY))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.octality.com/pipermail/cherokee-commits/attachments/20091023/85c1cbae/attachment-0001.htm 


More information about the Cherokee-commits mailing list