Commit f3c1434a authored by Jérome Perrin's avatar Jérome Perrin

erp5_ui_test: move translation utility script to erp5_ui_test_core

so that they can be reused by other UI tests business templates without
having to install the full erp5_ui_test
parent 7193b12d
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
--> -->
<tr> <tr>
<td>open</td> <td>open</td>
<td tal:content="string: ${here/portal_url}/portal_skins/erp5_ui_test/Base_createUITestLanguages"></td> <td tal:content="string: ${here/portal_url}/Base_createUITestLanguages"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<tal:block tal:repeat="param_dict python: [{'translation': 'Seet Foos', 'language': 'wo'}, {'translation': 'Searching Foos', 'language': 'xh'}]"> <tal:block tal:repeat="param_dict python: [{'translation': 'Seet Foos', 'language': 'wo'}, {'translation': 'Searching Foos', 'language': 'xh'}]">
<tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})"> <tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})">
<td>open</td> <td>open</td>
<td tal:content="python: '%(root)s/portal_skins/erp5_ui_test/Base_addUITestTranslation?message=Search Foos&translation=%(translation)s&language=%(language)s' % param_dict"></td> <td tal:content="python: '%(root)s/Base_addUITestTranslation?message=Search Foos&translation=%(translation)s&language=%(language)s' % param_dict"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<tr> <tr>
<td>open</td> <td>open</td>
<td tal:content="string: ${here/portal_url}/portal_skins/erp5_ui_test/Base_createUITestLanguages"></td> <td tal:content="string: ${here/portal_url}/Base_createUITestLanguages"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
]"> ]">
<tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})"> <tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})">
<td>open</td> <td>open</td>
<td tal:content="python: '%(root)s/portal_skins/erp5_ui_test/Base_addUITestTranslation?message=%(message)s&translation=%(translation)s&language=%(language)s' % param_dict"></td> <td tal:content="python: '%(root)s/Base_addUITestTranslation?message=%(message)s&translation=%(translation)s&language=%(language)s' % param_dict"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<tr> <tr>
<td>open</td> <td>open</td>
<td tal:content="string: ${here/portal_url}/portal_skins/erp5_ui_test/Base_createUITestLanguages"></td> <td tal:content="string: ${here/portal_url}/Base_createUITestLanguages"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
]"> ]">
<tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})"> <tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})">
<td>open</td> <td>open</td>
<td tal:content="python: '%(root)s/portal_skins/erp5_ui_test/Base_addUITestTranslation?message=%(message)s&translation=%(translation)s&language=%(language)s' % param_dict"></td> <td tal:content="python: '%(root)s/Base_addUITestTranslation?message=%(message)s&translation=%(translation)s&language=%(language)s' % param_dict"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<tr> <tr>
<td>open</td> <td>open</td>
<td tal:content="string: ${here/portal_url}/portal_skins/erp5_ui_test/Base_createUITestLanguages"></td> <td tal:content="string: ${here/portal_url}/Base_createUITestLanguages"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
]"> ]">
<tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})"> <tr tal:define="dummy python: param_dict.update({'root': here.portal_url()})">
<td>open</td> <td>open</td>
<td tal:content="python: '%(root)s/portal_skins/erp5_ui_test/Base_addUITestTranslation?message=%(message)s&translation=%(translation)s&language=%(language)s&catalog_id=%(catalog_id)s' % param_dict"></td> <td tal:content="python: '%(root)s/Base_addUITestTranslation?message=%(message)s&translation=%(translation)s&language=%(language)s&catalog_id=%(catalog_id)s' % param_dict"></td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
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