Commit 71d4acfe authored by Lu Xu's avatar Lu Xu 👀 Committed by Rafael Monnerat

slapos_jio_zh_ui_test: Update Test for Chinese adjustments

parent fba08e91
......@@ -135,8 +135,8 @@
<tal:block metal:use-macro="here/Zuite_SlapOSZHCommonTemplate/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 define="menu_item python: '站点'; header menu_item; menu_item_data python:'Sites'">
<tal:block metal:use-macro="here/Zuite_SlapOSZHCommonTemplate/macros/access_menu_item_zh" />
</tal:block>
<tal:block define="person_name python: 'DEMO A DEMO B'">
......@@ -179,7 +179,7 @@
<td></td>
</tr>
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/slapos_logout" />
<tal:block metal:use-macro="here/Zuite_SlapOSZHCommonTemplate/macros/slapos_logout" />
</tbody>
</table>
......
......@@ -38,7 +38,7 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/wait_for_content_loaded" />
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -83,7 +83,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK 1'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK 1'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -50,7 +50,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -106,7 +106,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -263,7 +263,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK-BY-ORGASNISATION 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -50,7 +50,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-PROJECT 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK-BY-PROJECT 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -106,7 +106,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-PROJECT 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK-BY-PROJECT 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -259,7 +259,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer Network :TEST-SLAPOSJS-NETWORK-BY-PROJECT 0'; ">
<tal:block define="header python: '计算机网络 :TEST-SLAPOSJS-NETWORK-BY-PROJECT 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -43,7 +43,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -159,7 +159,7 @@
<td>5000</td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -186,7 +186,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -265,7 +265,7 @@
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -316,7 +316,7 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/click_page_header" />
</tal:block>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -367,7 +367,7 @@
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -425,7 +425,7 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/click_page_header" />
</tal:block>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -490,7 +490,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -51,7 +51,7 @@
</tr>
<tr>
<td>waitForElementPresent</td>
<td>//a[@data-i18n="Computer: TEST-SLAPOSJS-COMPUTER-SHARED-BY-ORGANISATION 0"]</td>
<td>//a[@data-i18n="计算机: TEST-SLAPOSJS-COMPUTER-SHARED-BY-ORGANISATION 0"]</td>
<td></td>
</tr>
......@@ -107,7 +107,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER-SHARED-BY-ORGANISATION 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER-SHARED-BY-ORGANISATION 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -260,7 +260,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER-SHARED-BY-ORGANISATION 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER-SHARED-BY-ORGANISATION 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -79,7 +79,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER-SHARED-BY-PROJECT 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER-SHARED-BY-PROJECT 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -228,7 +228,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: TEST-SLAPOSJS-COMPUTER-SHARED-BY-PROJECT 0'; ">
<tal:block define="header python: '计算机: TEST-SLAPOSJS-COMPUTER-SHARED-BY-PROJECT 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -37,7 +37,7 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/wait_for_content_loaded" />
<tal:block define="header python: 'Site : TEST-SLAPOSJS-SET 0'; ">
<tal:block define="header python: '站点 : TEST-SLAPOSJS-SET 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......@@ -87,7 +87,7 @@
</tr>
<tal:block define="header python: 'Site : TEST-SLAPOSJS-SET 0'; ">
<tal:block define="header python: '站点 : TEST-SLAPOSJS-SET 0'; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
......
......@@ -320,7 +320,7 @@
</tr>
<tr>
<td>waitForTextPresent</td>
<td>You are not allowed to access this content</td>
<td>您没有权限查看此内容</td>
<td></td>
</tr>
<tr>
......
......@@ -70,7 +70,7 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/click_proceed" />
<tal:block tal:define="notification_configuration python: {'class': 'success',
'text': '新的集合已创建。'}">
'text': '新的工单已创建。'}">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/wait_for_notification" />
</tal:block>
......
......@@ -469,7 +469,7 @@
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/wait_for_content_loaded" />
<tal:block define="header python: 'Computer Network :%s' % document_title; ">
<tal:block define="header python: '计算机网络 :%s' % document_title; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
<tr>
......@@ -541,7 +541,7 @@
<td></td>
</tr>
<tal:block define="header python: 'Computer: %s' % document_title; ">
<tal:block define="header python: '计算机: %s' % document_title; ">
<tal:block metal:use-macro="here/Zuite_SlapOSCommonTemplate/macros/assert_page_header" />
</tal:block>
</tal:block>
......@@ -656,4 +656,4 @@
</tal:block>
</tal:block>
\ No newline at end of file
</tal:block>
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