Commit 95edccb1 authored by Rafael Monnerat's avatar Rafael Monnerat

Translate Coordinates in Chinese

Translation of additional forms (already merged) in Chinese.

Please @lu.xu review the translation (and merge if it is appropriated)

See merge request !209
parents c1aeddbb a3b5252e
......@@ -108,7 +108,7 @@
<value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n
# generated on Fri, 17 Jan 2020 11:00:13 GMT+0200\n
# generated on Tue, 28 Apr 2020 11:00:13 GMT+0200\n
CACHE:\n
favicon.ico\n
font-awesome/font-awesome-webfont.eot?v=4.6.3\n
......@@ -581,7 +581,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>982.16656.9604.44475</string> </value>
<value> <string>983.32442.18214.26265</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -599,7 +599,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1584095553.4</float>
<float>1588113814.6</float>
<string>UTC</string>
</tuple>
</state>
......
/*globals window*/
/*jslint indent: 2, nomen: true, maxlen: 80*/
(function (window) {
......@@ -8,7 +6,7 @@
"use strict";
window.translation_data = {
"en": {
"en": {
"Title": "Title",
"Login Account": "Login Account",
"Intent not supported": "Intent not supported",
......@@ -354,9 +352,14 @@
"Hosting Subscription": "Hosting Subscription",
"Accept": "Accept",
"Generate New Invitation Link": "Generate New Invitation Link",
"Revoke Computer Certificate": "Revoke Computer Certificate"
},
"zh": {
"Revoke Computer Certificate": "Revoke Computer Certificate",
"Country": "Country",
"Telephone": "Telephone",
"Address": "Address",
"Postal Code": "Postal Code",
"City": "City"
},
"zh": {
"Title": "标题",
"Login Account": "登录账号",
"Intent not supported": "不支持该意图。",
......@@ -702,7 +705,12 @@
"Hosting Subscription": "托管订阅",
"Accept": "接受",
"Generate New Invitation Link": "生成新的邀请链接",
"Revoke Computer Certificate": "吊销计算机证书"
"Revoke Computer Certificate": "吊销计算机证书",
"Country": "国家",
"Telephone": "电话号码",
"Address": "地址",
"Postal Code": "邮编",
"City": "城市"
}
};
}(window));
\ No newline at end of file
......@@ -233,7 +233,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>983.13242.30278.32426</string> </value>
<value> <string>983.33872.15157.33570</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -251,7 +251,7 @@
</tuple>
<state>
<tuple>
<float>1586962878.51</float>
<float>1588113766.31</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -44,6 +44,38 @@
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//label[text()="电话号码"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//label[text()="地址"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//label[text()="邮编"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//label[text()="城市"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//label[text()="国家"]</td>
<td></td>
</tr>
<tr>
<td colspan="3"><b> Rename user to DEMO A </b></td>
</tr>
......@@ -66,13 +98,87 @@
<td>demoA@nexedi.com</td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSZHCommonTemplate/macros/save" />
<!-- Perform an intermediate save to ensure we can edit partial values -->
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/save" />
<tr>
<td>type</td>
<td>//textarea[@id="default_address_street_address"]</td>
<td>My New Address</td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="default_address_city"]</td>
<td>My New City</td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="default_address_zip_code"]</td>
<td>99999</td>
</tr>
<tr>
<td>type</td>
<td>//input[@id="default_telephone_coordinate_text"]</td>
<td>+55 0192182812</td>
</tr>
<tr>
<td>select</td>
<td>//select[@id="default_address_region"]</td>
<td>Brazil</td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/save" />
<!-- access somewhere else -->
<tal:block define="menu_item python: 'Sites'; header menu_item">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/access_menu_item" />
</tal:block>
<tal:block define="person_name python: 'DEMO A DEMO B'">
<tal:block metal:use-macro="here/Zuite_SlapOSZHCommonTemplate/macros/access_menu_item_account" />
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/access_menu_item_account" />
</tal:block>
<tal:block metal:use-macro="here/Zuite_SlapOSZHCommonTemplate/macros/slapos_logout" />
<tr>
<td>waitForElementPresent</td>
<td>//input[@id="default_address_city" and @value="My New City"]</td>
<td></td>
</tr>
<tr>
<td>verifyValue</td>
<td>//textarea[@id="default_address_street_address"]</td>
<td>My New Address</td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//input[@id="default_address_city" and @value="My New City"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//input[@id="default_address_zip_code" and @value="99999"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//input[@id="default_telephone_coordinate_text" and @value="+55 0192182812"]</td>
<td></td>
</tr>
<tr>
<td>assertElementPresent</td>
<td>//select[@id="default_address_region"]/option[text()="Brazil" and @selected="selected"]</td>
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/slapos_logout" />
</tbody></table>
</body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment