Skip to content

Commit

Permalink
#68 - supporting flow files in other languages
Browse files Browse the repository at this point in the history
- with this commit, supporting components are there to allow taking
automation flow in multiple languages and showing execution in other
languages
- ported translation engine from tagui_parse.php to tagui_header.js
- flow language display can be controlled by the variable flow_language
- open the way for showing automation execution in different languages
- updated language definitions to windows format .csv
- added english and template definitions that can be used for
translations or reference
  • Loading branch information
kensoh committed Nov 12, 2017
1 parent bcef04e commit 4abf56a
Show file tree
Hide file tree
Showing 7 changed files with 384 additions and 84 deletions.
154 changes: 77 additions & 77 deletions src/languages/chinese.csv
Original file line number Diff line number Diff line change
@@ -1,77 +1,77 @@
ENGLISH,CHINESE
click,点击
tap,点击
move,移到
hover,移到
type,输入
enter,输入
select,选择
choose,选择
read,读取
fetch,读取
show,显示
print,显示
save,储存
echo,回声
dump,转储
write,写入
snap,快照
table,表格
live,互动
download,下载
upload,上载
load,加载
receive,接收
frame,框架
popup,弹出
wait,等待
timeout,倒数
seconds,秒
second,秒
api,api
dom,dom
js,js
else if,否则如果
else,否则
if,如果
for,让
while,当
check,验证
more than or equals to,多过或等于
more than or equal to,多过或等于
greater than or equals to,多过或等于
greater than or equal to,多过或等于
higher than or equals to,多过或等于
higher than or equal to,多过或等于
less than or equals to,少过或等于
less than or equal to,少过或等于
lesser than or equals to,少过或等于
lesser than or equal to,少过或等于
lower than or equals to,少过或等于
lower than or equal to,少过或等于
more than,多过
greater than,多过
higher than,多过
less than,少过
lesser than,少过
lower than,少过
not equals to,不等于
not equal to,不等于
equals to,等于
equal to,等于
not contains,不包括
not contain,不包括
contains,包括
contain,包括
and,和
or,或
from,从
to,到
as,为
title(),标题()
url(),网址()
text(),文本()
timer(),计时()
count(),计数()
present(),存在()
visible(),可见()
ENGLISH,CHINESE
click,点击
tap,点击
move,移到
hover,移到
type,输入
enter,输入
select,选择
choose,选择
read,读取
fetch,读取
show,显示
print,显示
save,储存
echo,回声
dump,转储
write,写入
snap,快照
table,表格
live,互动
download,下载
upload,上载
load,加载
receive,接收
frame,框架
popup,弹出
wait,等待
timeout,倒数
seconds,秒
second,秒
api,api
dom,dom
js,js
else if,否则如果
else,否则
if,如果
for,让
while,当
check,验证
more than or equals to,多过或等于
more than or equal to,多过或等于
greater than or equals to,多过或等于
greater than or equal to,多过或等于
higher than or equals to,多过或等于
higher than or equal to,多过或等于
less than or equals to,少过或等于
less than or equal to,少过或等于
lesser than or equals to,少过或等于
lesser than or equal to,少过或等于
lower than or equals to,少过或等于
lower than or equal to,少过或等于
more than,多过
greater than,多过
higher than,多过
less than,少过
lesser than,少过
lower than,少过
not equals to,不等于
not equal to,不等于
equals to,等于
equal to,等于
not contains,不包括
not contain,不包括
contains,包括
contain,包括
and,和
or,或
from,从
to,到
as,为
title(),标题()
url(),网址()
text(),文本()
timer(),计时()
count(),计数()
present(),存在()
visible(),可见()
77 changes: 77 additions & 0 deletions src/languages/english.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
ENGLISH,ENGLISH
click,click
tap,tap
move,move
hover,hover
type,type
enter,enter
select,select
choose,choose
read,read
fetch,fetch
show,show
print,print
save,save
echo,echo
dump,dump
write,write
snap,snap
table,table
live,live
download,download
upload,upload
load,load
receive,receive
frame,frame
popup,popup
wait,wait
timeout,timeout
seconds,seconds
second,second
api,api
dom,dom
js,js
else if,else if
else,else
if,if
for,for
while,while
check,check
more than or equals to,more than or equals to
more than or equal to,more than or equal to
greater than or equals to,greater than or equals to
greater than or equal to,greater than or equal to
higher than or equals to,higher than or equals to
higher than or equal to,higher than or equal to
less than or equals to,less than or equals to
less than or equal to,less than or equal to
lesser than or equals to,lesser than or equals to
lesser than or equal to,lesser than or equal to
lower than or equals to,lower than or equals to
lower than or equal to,lower than or equal to
more than,more than
greater than,greater than
higher than,higher than
less than,less than
lesser than,lesser than
lower than,lower than
not equals to,not equals to
not equal to,not equal to
equals to,equals to
equal to,equal to
not contains,not contains
not contain,not contain
contains,contains
contain,contain
and,and
or,or
from,from
to,to
as,as
title(),title()
url(),url()
text(),text()
timer(),timer()
count(),count()
present(),present()
visible(),visible()
77 changes: 77 additions & 0 deletions src/languages/template.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
ENGLISH,NEW
click,
tap,
move,
hover,
type,
enter,
select,
choose,
read,
fetch,
show,
print,
save,
echo,
dump,
write,
snap,
table,
live,
download,
upload,
load,
receive,
frame,
popup,
wait,
timeout,
seconds,
second,
api,
dom,
js,
else if,
else,
if,
for,
while,
check,
more than or equals to,
more than or equal to,
greater than or equals to,
greater than or equal to,
higher than or equals to,
higher than or equal to,
less than or equals to,
less than or equal to,
lesser than or equals to,
lesser than or equal to,
lower than or equals to,
lower than or equal to,
more than,
greater than,
higher than,
less than,
lesser than,
lower than,
not equals to,
not equal to,
equals to,
equal to,
not contains,
not contain,
contains,
contain,
and,
or,
from,
to,
as,
title(),
url(),
text(),
timer(),
count(),
present(),
visible(),
Loading

0 comments on commit 4abf56a

Please sign in to comment.