Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#372 - Updated language definitions and translation engine for new steps #373

Merged
merged 2 commits into from
Mar 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ TagUI has built-in integration with Python (works out of the box for both v2 & v
py finish
echo py_result

// an example of passing dynamically generated variables to Python integraton
// an example of passing dynamically generated variables to Python integration
phone = 1234567
name = 'donald duck'
py_step('phone = ' + phone)
Expand Down Expand Up @@ -370,7 +370,7 @@ TagUI has built-in integration with R - an open-source software environment for
r finish
echo r_result

// an example of passing dynamically generated variables to R integraton
// an example of passing dynamically generated variables to R integration
phone = 1234567
name = 'donald duck'
r_step('phone = ' + phone)
Expand Down Expand Up @@ -671,7 +671,7 @@ TagUI is a young tool and it tries to do the task of automating UI interactions

<details>
<summary>
Click to show how TagUI has native integraton with visible and headless Chrome using DevTools Protocol
Click to show how TagUI has native integration with visible and headless Chrome using DevTools Protocol
</summary>

TagUI has built-in integration with Chrome web browser to run web automation in visible or headless mode. It uses a websocket connection to directly communicate automation JavaScript code and information to Chrome.
Expand Down
5 changes: 5 additions & 0 deletions src/languages/bengali.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,মনমরা ভাব
write,লেখা
snap,ক্ষুদ্র তালা
table,টেবিল
mouse,মাউস
keyboard,কীবোর্ড
live,জীবিত
download,ডাউনলোড
upload,আপলোড
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),টাইমার()
count(),গণনা()
present(),বর্তমানে()
visible(),প্রোফাইল()
mouse_xy(),মাউস_xy()
mouse_x(),মাউস_x()
mouse_y(),মাউস_y()
2 changes: 1 addition & 1 deletion src/languages/build
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ https://translate.google.com/
// more details on ISO-639-1 Code and Google Translate here - https://cloud.google.com/translate/docs/languages

// define constants of vocabulary list
vocab_list = '|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|vision|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()|'
vocab_list = '|click|tap|move|hover|type|enter|select|choose|read|fetch|show|print|save|echo|dump|write|snap|table|mouse|keyboard|live|download|upload|load|receive|frame|popup|wait|timeout|seconds|second|api|dom|js|vision|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()|mouse_xy()|mouse_x()|mouse_y()|'

// convert vocabulary list into array
vocab_array = vocab_list.split('|')
Expand Down
5 changes: 5 additions & 0 deletions src/languages/chinese.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,转储
write,写入
snap,快照
table,表格
mouse,滑鼠
keyboard,键盘
live,互动
download,下载
upload,上载
Expand Down Expand Up @@ -76,3 +78,6 @@ timer(),计时()
count(),计数()
present(),存在()
visible(),可见()
mouse_xy(),滑鼠_xy()
mouse_x(),滑鼠_x()
mouse_y(),滑鼠_y()
5 changes: 5 additions & 0 deletions src/languages/english.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,dump
write,write
snap,snap
table,table
mouse,mouse
keyboard,keyboard
live,live
download,download
upload,upload
Expand Down Expand Up @@ -76,3 +78,6 @@ timer(),timer()
count(),count()
present(),present()
visible(),visible()
mouse_xy(),mouse_xy()
mouse_x(),mouse_x()
mouse_y(),mouse_y()
5 changes: 5 additions & 0 deletions src/languages/french.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,déverser
write,écrire
snap,enclencher
table,table
mouse,souris
keyboard,clavier
live,vivre
download,télécharger
upload,charger
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),minuteur()
count(),compter()
present(),présent()
visible(),visible()
mouse_xy(),souris_xy()
mouse_x(),souris_x()
mouse_y(),souris_y()
5 changes: 5 additions & 0 deletions src/languages/german.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,dump
write,schreiben
snap,schnapp
table,tabelle
mouse,maus
keyboard,tastatur
live,aktuell
download,herunterladen
upload,hochladen
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),stoppuhr()
count(),anzahl()
present(),vorhanden()
visible(),sichtbar()
mouse_xy(),maus_xy()
mouse_x(),maus_x()
mouse_y(),maus_y()
5 changes: 5 additions & 0 deletions src/languages/hindi.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,ढेर
write,लिखना
snap,स्नैप
table,तालिका
mouse,माउस
keyboard,कीबोर्ड
live,जीना
download,डाउनलोड
upload,अपलोड
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),टाइमर()
count(),गिनती()
present(),वर्तमान()
visible(),दृश्य()
mouse_xy(),माउस_xy()
mouse_x(),माउस_x()
mouse_y(),माउस_y()
5 changes: 5 additions & 0 deletions src/languages/hungarian.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,lerak
write,ír
snap,snap
table,asztal
mouse,egér
keyboard,billentyűzet
live,élő
download,letöltés
upload,feltölt
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),időzítő()
count(),számol()
present(),ajándék()
visible(),látható()
mouse_xy(),egér_xy()
mouse_x(),egér_x()
mouse_y(),egér_y()
5 changes: 5 additions & 0 deletions src/languages/indonesian.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,membuang
write,menulis
snap,jepret
table,meja
mouse,mouse
keyboard,keyboard
live,hidup
download,download
upload,upload
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),timer()
count(),menghitung()
present(),menyajikan()
visible(),terlihat()
mouse_xy(),mouse_xy()
mouse_x(),mouse_x()
mouse_y(),mouse_y()
5 changes: 5 additions & 0 deletions src/languages/italian.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,cumulo di rifiuti
write,scrivi
snap,schiocco
table,tavolo
mouse,topo
keyboard,tastiera
live,vivere
download,scaricare
upload,caricare
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),timer()
count(),contare()
present(),presente()
visible(),visibile()
mouse_xy(),topo_xy()
mouse_x(),topo_x()
mouse_y(),topo_y()
5 changes: 5 additions & 0 deletions src/languages/japanese.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,ダンプ
write,上書き保存する
snap,スクリーンショット
table,表
mouse,マウス
keyboard,キーボード
live,ライブ
download,ダウンロード
upload,アップロード
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),タイマー()
count(),カウント()
present(),プレゼント()
visible(),visible()
mouse_xy(),マウス_xy()
mouse_x(),マウス_x()
mouse_y(),マウス_y()
5 changes: 5 additions & 0 deletions src/languages/korean.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,덤프
write,쓰다
snap,스냅
table,표
mouse,마우스
keyboard,건반
live,살고 있다
download,다운로드
upload,업로드
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),시간제 노동자()
count(),카운트()
present(),선물()
visible(),명백한()
mouse_xy(),마우스_xy()
mouse_x(),마우스_x()
mouse_y(),마우스_y()
5 changes: 5 additions & 0 deletions src/languages/polish.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,wysypisko
write,pisać
snap,kłapnięcie
table,stół
mouse,mysz
keyboard,klawiatura
live,relacja na żywo
download,pobieranie
upload,przekazać plik
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),regulator czasowy()
count(),liczyć()
present(),teraźniejszość()
visible(),widoczny()
mouse_xy(),mysz_xy()
mouse_x(),mysz_x()
mouse_y(),mysz_y()
5 changes: 5 additions & 0 deletions src/languages/portuguese.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,despejar
write,escreva
snap,snap
table,mesa
mouse,rato
keyboard,teclado
live,viver
download,baixar
upload,envio
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),cronômetro()
count(),contagem()
present(),presente()
visible(),visível()
mouse_xy(),rato_xy()
mouse_x(),rato_x()
mouse_y(),rato_y()
5 changes: 5 additions & 0 deletions src/languages/romanian.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,depozit
write,scrie
snap,agrafă
table,masa
mouse,mouse
keyboard,tastatura
live,trăi
download,descarca
upload,încărcați
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),cronometru()
count(),numara()
present(),prezent()
visible(),vizibil()
mouse_xy(),mouse_xy()
mouse_x(),mouse_x()
mouse_y(),mouse_y()
5 changes: 5 additions & 0 deletions src/languages/russian.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,свалка
write,записывать
snap,щелчок
table,таблица
mouse,мышь
keyboard,клавиатура
live,жить
download,скачать
upload,загружать
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),таймер()
count(),кол-()
present(),настоящее время()
visible(),видимый()
mouse_xy(),мышь_xy()
mouse_x(),мышь_x()
mouse_y(),мышь_y()
5 changes: 5 additions & 0 deletions src/languages/serbian.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,депонија
write,пиши
snap,снап
table,сто
mouse,миш
keyboard,тастатура
live,живи
download,преузимање
upload,отпремити
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),тајмер()
count(),цоунт()
present(),поклон()
visible(),висибле()
mouse_xy(),миш_xy()
mouse_x(),миш_x()
mouse_y(),миш_y()
5 changes: 5 additions & 0 deletions src/languages/spanish.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,tugurio
write,escribir
snap,chasquido
table,mesa
mouse,ratón
keyboard,teclado
live,vivir
download,descargar
upload,subir
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),minutero()
count(),contar()
present(),presente()
visible(),visible()
mouse_xy(),ratón_xy()
mouse_x(),ratón_x()
mouse_y(),ratón_y()
5 changes: 5 additions & 0 deletions src/languages/tagalog.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,dump
write,isulat
snap,snap
table,talahanayan
mouse,daga
keyboard,teklado
live,mabuhay
download,i-download
upload,mag-upload
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),timer()
count(),bilangin()
present(),kasalukuyan()
visible(),nakikita()
mouse_xy(),daga_xy()
mouse_x(),daga_x()
mouse_y(),daga_y()
5 changes: 5 additions & 0 deletions src/languages/tamil.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,டம்ப்
write,எழுத
snap,நொடியில்
table,மேசை
mouse,சுட்டி
keyboard,விசைப்பலகை
live,வாழ
download,பதிவிறக்க
upload,பதிவேற்ற
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),டைமர்()
count(),எண்ண()
present(),தற்போது()
visible(),புலப்படும்()
mouse_xy(),சுட்டி_xy()
mouse_x(),சுட்டி_x()
mouse_y(),சுட்டி_y()
5 changes: 5 additions & 0 deletions src/languages/template.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,
write,
snap,
table,
mouse,
keyboard,
live,
download,
upload,
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),
count(),
present(),
visible(),
mouse_xy(),
mouse_x(),
mouse_y(),
5 changes: 5 additions & 0 deletions src/languages/thai.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,เท
write,เขียน
snap,ตะครุบ
table,ตาราง
mouse,เม้าส์
keyboard,แป้นพิมพ์
live,มีชีวิต
download,ดาวน์โหลด
upload,อัปโหลด
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),จับเวลา()
count(),นับ()
present(),นำเสนอ()
visible(),สามารถมองเห็นได้()
mouse_xy(),เม้าส์_xy()
mouse_x(),เม้าส์_x()
mouse_y(),เม้าส์_y()
5 changes: 5 additions & 0 deletions src/languages/vietnamese.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ dump,đổ
write,viết
snap,chụp nhanh
table,bàn
mouse,chuột
keyboard,bàn phím
live,trực tiếp
download,tải về
upload,tải lên
Expand Down Expand Up @@ -75,3 +77,6 @@ timer(),hẹn giờ()
count(),đếm()
present(),hiện tại()
visible(),có thể nhìn thấy()
mouse_xy(),chuột_xy()
mouse_x(),chuột_x()
mouse_y(),chuột_y()
Loading