Commit 1c364e1c authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_web_renderjs_ui_test_core: add translation

to test the translation of the editor's "Maximize" button
parent 37c3c2b3
...@@ -82,7 +82,8 @@ param_dict = [ ...@@ -82,7 +82,8 @@ param_dict = [
{ 'message': 'Configure Editor', 'translation': 'peizhibianjiqi', 'language': 'wo'}, { 'message': 'Configure Editor', 'translation': 'peizhibianjiqi', 'language': 'wo'},
{ 'message': 'List', 'translation': 'liebiao', 'language': 'wo'}, { 'message': 'List', 'translation': 'liebiao', 'language': 'wo'},
{ 'message': 'This page contains unsaved changes, do you really want to leave the page ?', 'translation': 'querenlikai?', 'language': 'wo'}, { 'message': 'This page contains unsaved changes, do you really want to leave the page ?', 'translation': 'querenlikai?', 'language': 'wo'},
{ 'message': 'What are you looking for?', 'translation': 'Ni zai zhao shenme?', 'language': 'wo'} { 'message': 'What are you looking for?', 'translation': 'Ni zai zhao shenme?', 'language': 'wo'},
{ 'message': 'Maximize', 'translation': 'zuidahua', 'language': 'wo'},
] ]
for tmp in param_dict: for tmp in param_dict:
context.Base_addUITestTranslation(message = tmp['message'], translation = tmp['translation'], language = tmp['language']) context.Base_addUITestTranslation(message = tmp['message'], translation = tmp['translation'], language = tmp['language'])
......
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