From a386c83d8e5275234cbeac2febb60976950e90cd Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 27 Oct 2015 08:54:06 +0000 Subject: [PATCH] [erp5_web_renderjs_ui] Move translation gadget from officejs bt5 --- .../rjs_gadget_translation_data_js.xml} | 125 +----------------- .../rjs_gadget_translation_html.xml} | 18 +-- .../rjs_gadget_translation_js.xml} | 14 +- .../web_site_module/renderjs_runner.xml | 6 +- 4 files changed, 26 insertions(+), 137 deletions(-) rename bt5/{erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_data_js.xml => erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_data_js.xml} (69%) rename bt5/{erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_html.xml => erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_html.xml} (94%) rename bt5/{erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_js.xml => erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_js.xml} (96%) diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_data_js.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_data_js.xml similarity index 69% rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_data_js.xml rename to bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_data_js.xml index 76e42920b6..87e522b14f 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_data_js.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_data_js.xml @@ -71,7 +71,7 @@ </item> <item> <key> <string>default_reference</string> </key> - <value> <string>gadget_officejs_translation_data.js</string> </value> + <value> <string>gadget_translation_data.js</string> </value> </item> <item> <key> <string>description</string> </key> @@ -81,7 +81,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>gadget_officejs_translation_data_js</string> </value> + <value> <string>rjs_gadget_translation_data_js</string> </value> </item> <item> <key> <string>language</string> </key> @@ -107,126 +107,15 @@ "use strict";\n \n window.translation_data = {\n - zh: {\n - "Product title or Reference": "产å“å称或编å·",\n - "Supplier title or Reference": "供货商å称或编å·",\n - "Price": "å•ä»·",\n - "Currency": "è´§å¸",\n - "Quantity": "æ•°é‡",\n - "Quantity Unit": "æ•°é‡å•ä½",\n - "Start Date": "开始日期",\n - "State": "状æ€",\n - "Description": "æè¿°",\n - "Comment": "备注",\n - "Title": "å称",\n - "Product Line": "产å“线",\n - "Article Nb": "项目编å·",\n - "Supplier title": "供应商å称",\n - "Default Telephone": "默认电è¯",\n - "Default Address City": "默认地å€åŸŽå¸‚",\n - "Region": "地区",\n - "Street Address": "è¡—é“地å€",\n - "Postal Code": "邮编",\n - "Email": "邮箱",\n - "Add": "æ·»åŠ ",\n - "New": "新建",\n - "Purchase Price": "采è´ä»·æ ¼",\n - "New Purchase Price": "新采è´ä»·æ ¼",\n - "Menu": "èœå•",\n - "Purchase": "采è´",\n - "Inventory": "库å˜",\n - "Production": "生产",\n - "Sales": "销售",\n - "Products": "产å“",\n - "Suppliers": "供应商",\n - "Sync": "åŒæ¥",\n - "Logout": "登出",\n - "Launch": "å¯åŠ¨",\n - "Confirm": "确认",\n - "Purchase price of a specific product from a specific supplier":\n - "æŸä¸€ä¾›åº”商æ供的æŸä¸€äº§å“的采è´ä»·æ ¼",\n - "Reference": "ç¼–å·",\n - "Telephone": "电è¯",\n - "Purchase Prices": "采è´ä»·æ ¼",\n - "Product title": "产å“å称",\n - "Supplier": "供应商",\n - "Product": "产å“",\n - "Loading": "åŠ è½½",\n - "Synchronize": "åŒæ¥",\n - "Log In": "登录",\n - "Login": "登录",\n - "Password": "密ç ",\n - // validated = trade condition approved\n - "validated": "已验è¯",\n - // invalidated = trade condition rejected\n - "invalidated": "æ— æ•ˆ",\n - "Not synced!": "未åŒæ¥",\n - "Waiting for approval": "ç‰å¾…å®¡æ ¸"\n - },\n en: {\n - "Product title or Reference": "Product title or Reference",\n - "Supplier title or Reference": "Supplier title or Reference",\n - "Price": "Price",\n - "Currency": "Currency",\n - "Quantity": "Quantity",\n - "Quantity Unit": "Quantity Unit",\n - "Start Date": "Start Date",\n - "State": "State",\n - "Description": "Description",\n - "Comment": "Comment",\n - "Title": "Title",\n - "Product Line": "Product Line",\n - "Article Nb": "Article Nb",\n - "Supplier title": "Supplier title",\n - "Default Telephone": "Default Telephone",\n - "Default Address City": "Default Address City",\n - "Region": "Region",\n - "Street Address": "Street Address",\n - "Postal Code": "Postal Code",\n - "Email": "Email",\n - "Add": "Add",\n - "New": "New",\n - "Purchase Price": "Purchase Price",\n - "New Purchase Price": "New Purchase Price",\n - "Menu": "Menu",\n - "Purchase": "Purchase",\n - "Inventory": "Inventory",\n - "Production": "Production",\n - "Sales": "Sales",\n - "Products": "Products",\n - "Suppliers": "Suppliers",\n - "Sync": "Sync",\n - "Logout": "Logout",\n - "Launch": "Launch",\n - "Confirm": "Confirm",\n - "Purchase price of a specific product from a specific supplier":\n - "Purchase price of a specific product from a specific supplier",\n - "Reference": "Reference",\n - "Telephone": "Telephone",\n - "Purchase Prices": "Purchase Prices",\n - "Product title": "Product title",\n - "Supplier": "Supplier",\n - "Product": "Product",\n - "Loading": "Loading",\n - "Synchronize": "Synchronize",\n - "Log In": "Log In",\n - "Login": "Login",\n - "Password": "Password",\n - // validated = trade condition approved\n - "validated": "validated",\n - // invalidated = trade condition rejected\n - "invalidated": "invalidated",\n - "Not synced!": "Not synced!",\n - "Waiting for approval": "Waiting for approval"\n }\n -\n };\n \n }(window));</string> </value> </item> <item> <key> <string>title</string> </key> - <value> <string>OfficeJS Translation Data JS</string> </value> + <value> <string>Gadget Translation Data JS</string> </value> </item> <item> <key> <string>version</string> </key> @@ -345,7 +234,7 @@ </item> <item> <key> <string>actor</string> </key> - <value> <string>cedric.le.ninivin</string> </value> + <value> <string>romain</string> </value> </item> <item> <key> <string>comment</string> </key> @@ -359,7 +248,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>944.43485.22470.14216</string> </value> + <value> <string>946.45868.14105.29764</string> </value> </item> <item> <key> <string>state</string> </key> @@ -377,8 +266,8 @@ </tuple> <state> <tuple> - <float>1440436932.68</float> - <string>UTC</string> + <float>1445935505.72</float> + <string>GMT</string> </tuple> </state> </object> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_html.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_html.xml similarity index 94% rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_html.xml rename to bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_html.xml index ec1757f45e..8dc77fa225 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_html.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_html.xml @@ -75,7 +75,7 @@ </item> <item> <key> <string>default_reference</string> </key> - <value> <string>gadget_officejs_translation.html</string> </value> + <value> <string>gadget_translation.html</string> </value> </item> <item> <key> <string>description</string> </key> @@ -85,7 +85,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>gadget_officejs_translation_html</string> </value> + <value> <string>rjs_gadget_translation_html</string> </value> </item> <item> <key> <string>language</string> </key> @@ -120,8 +120,8 @@ \n <script src="i18next.js"></script>\n <!-- custom script -->\n - <script src="gadget_officejs_translation_data.js" type="text/javascript"></script>\n - <script src="gadget_officejs_translation.js" type="text/javascript"></script>\n + <script src="gadget_translation_data.js" type="text/javascript"></script>\n + <script src="gadget_translation.js" type="text/javascript"></script>\n \n </head>\n <body>\n @@ -133,7 +133,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>OfficeJS Translation</string> </value> + <value> <string>Gadget Translation</string> </value> </item> <item> <key> <string>version</string> </key> @@ -252,7 +252,7 @@ </item> <item> <key> <string>actor</string> </key> - <value> <string>cedric.le.ninivin</string> </value> + <value> <string>romain</string> </value> </item> <item> <key> <string>comment</string> </key> @@ -266,7 +266,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>945.18322.40087.29883</string> </value> + <value> <string>945.43799.10287.64221</string> </value> </item> <item> <key> <string>state</string> </key> @@ -284,8 +284,8 @@ </tuple> <state> <tuple> - <float>1440439674.63</float> - <string>UTC</string> + <float>1445935119.77</float> + <string>GMT</string> </tuple> </state> </object> diff --git a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_js.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_js.xml similarity index 96% rename from bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_js.xml rename to bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_js.xml index 04831b3775..fddc6a6095 100644 --- a/bt5/erp5_officejs/PathTemplateItem/web_page_module/gadget_officejs_translation_js.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_translation_js.xml @@ -71,7 +71,7 @@ </item> <item> <key> <string>default_reference</string> </key> - <value> <string>gadget_officejs_translation.js</string> </value> + <value> <string>gadget_translation.js</string> </value> </item> <item> <key> <string>description</string> </key> @@ -81,7 +81,7 @@ </item> <item> <key> <string>id</string> </key> - <value> <string>gadget_officejs_translation_js</string> </value> + <value> <string>rjs_gadget_translation_js</string> </value> </item> <item> <key> <string>language</string> </key> @@ -222,7 +222,7 @@ </item> <item> <key> <string>title</string> </key> - <value> <string>OfficeJS Translation JS</string> </value> + <value> <string>Gadget Translation JS</string> </value> </item> <item> <key> <string>version</string> </key> @@ -341,7 +341,7 @@ </item> <item> <key> <string>actor</string> </key> - <value> <string>cedric.le.ninivin</string> </value> + <value> <string>romain</string> </value> </item> <item> <key> <string>comment</string> </key> @@ -355,7 +355,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>944.43480.63566.24541</string> </value> + <value> <string>946.45862.6528.13858</string> </value> </item> <item> <key> <string>state</string> </key> @@ -373,8 +373,8 @@ </tuple> <state> <tuple> - <float>1440436943.59</float> - <string>UTC</string> + <float>1445935096.31</float> + <string>GMT</string> </tuple> </state> </object> diff --git a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_site_module/renderjs_runner.xml b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_site_module/renderjs_runner.xml index 7acf962ca9..d27530cfe4 100644 --- a/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_site_module/renderjs_runner.xml +++ b/bt5/erp5_web_renderjs_ui/PathTemplateItem/web_site_module/renderjs_runner.xml @@ -305,7 +305,7 @@ </item> <item> <key> <string>configuration_translation_gadget_url</string> </key> - <value> <string>gadget_officejs_translation.html</string> </value> + <value> <string>gadget_translation.html</string> </value> </item> <item> <key> <string>configuration_view_action_category</string> </key> @@ -540,7 +540,7 @@ </item> <item> <key> <string>serial</string> </key> - <value> <string>945.49899.34411.54152</string> </value> + <value> <string>946.38651.7361.44032</string> </value> </item> <item> <key> <string>state</string> </key> @@ -558,7 +558,7 @@ </tuple> <state> <tuple> - <float>1444639310.19</float> + <float>1445934915.63</float> <string>GMT</string> </tuple> </state> -- 2.30.9