[Erp5-report] r23236 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 28 16:12:05 CEST 2008


Author: ivan
Date: Thu Aug 28 16:12:01 2008
New Revision: 23236

URL: http://svn.erp5.org?rev=23236&view=rev
Log:
Translate all possible report,add, exchange action's titles at the script level once as this script results is cached in respect to user's preferred language.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml?rev=23236&r1=23235&r2=23236&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_getCategorizedModuleActionInformationDict.xml Thu Aug 28 16:12:01 2008
@@ -134,7 +134,7 @@
                                     form_id=form_id,\n
                                     selection_name=selection_name,\n
                                     select_action=action))\n
-        module_add_list.append((content_type, url))\n
+        module_add_list.append((N_(content_type), url))\n
       for template in module.getDocumentTemplateList():\n
         action = \'template %s\' % template.getRelativeUrl()\n
         url = renderCustomLink(\'%s/Base_doAction\' % module_url,\n
@@ -151,7 +151,7 @@
                                     form_id=form_id,\n
                                     selection_name=selection_name,\n
                                     select_action=action))\n
-        module_add_list.append((add_action[\'name\'], url))\n
+        module_add_list.append((N_(add_action[\'name\']), url))\n
       if module_add_list:\n
         add_list.append((translated_title, module_add_list))\n
 \n
@@ -163,7 +163,7 @@
                                     form_id=form_id,\n
                                     selection_name=selection_name,\n
                                     dialog_category=\'object_search\')).strip()\n
-        module_search_list.append((search_action[\'name\'], url))\n
+        module_search_list.append((N_(search_action[\'name\']), url))\n
       if module_search_list:\n
         search_list.append((translated_title, module_search_list))\n
 \n
@@ -175,7 +175,7 @@
                                     form_id=form_id,\n
                                     selection_name=selection_name,\n
                                     dialog_category=\'object_exchange\')).strip()\n
-        module_exchange_list.append((exchange_action[\'name\'], url))\n
+        module_exchange_list.append((N_(exchange_action[\'name\']), url))\n
       if module_exchange_list:\n
         exchange_list.append((translated_title, module_exchange_list))\n
 \n
@@ -187,7 +187,7 @@
                                     form_id=form_id,\n
                                     selection_name=selection_name,\n
                                     dialog_category=\'object_report\')).strip()\n
-        module_report_list.append((report_action[\'name\'], url))\n
+        module_report_list.append((N_(report_action[\'name\']), url))\n
       if module_report_list:\n
         report_list.append((translated_title, module_report_list))\n
 \n
@@ -199,7 +199,7 @@
                                     form_id=form_id,\n
                                     selection_name=selection_name,\n
                                     dialog_category=\'object_print\')).strip()\n
-        module_print_list.append((print_action[\'name\'], url))\n
+        module_print_list.append((N_(print_action[\'name\']), url))\n
       if module_print_list:\n
         print_list.append((translated_title, module_print_list))\n
 \n
@@ -295,6 +295,12 @@
             <value> <string>ERP5Site_getCategorizedModuleActionInformationDict</string> </value>
         </item>
         <item>
+            <key> <string>uid</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
             <key> <string>warnings</string> </key>
             <value>
               <tuple/>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=23236&r1=23235&r2=23236&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Thu Aug 28 16:12:01 2008
@@ -1,1 +1,1 @@
-587
+590




More information about the Erp5-report mailing list