Skip to content

Commit b655b49

Browse files
committed
Update translations
1 parent 3906aae commit b655b49

2 files changed

Lines changed: 24 additions & 20 deletions

File tree

omodsim/translations/omodsim_ru.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,9 +1608,9 @@ MODBUS Point Type:
16081608
</message>
16091609
<message>
16101610
<location filename="../mainwindow.cpp" line="323"/>
1611-
<location filename="../mainwindow.cpp" line="362"/>
1612-
<location filename="../mainwindow.cpp" line="375"/>
1613-
<location filename="../mainwindow.cpp" line="386"/>
1611+
<location filename="../mainwindow.cpp" line="363"/>
1612+
<location filename="../mainwindow.cpp" line="377"/>
1613+
<location filename="../mainwindow.cpp" line="389"/>
16141614
<source>All files (*)</source>
16151615
<translation>Все файлы (*)</translation>
16161616
</message>
@@ -2196,17 +2196,17 @@ MODBUS Point Type:
21962196
<context>
21972197
<name>OutputWidget</name>
21982198
<message>
2199-
<location filename="../controls/outputwidget.cpp" line="826"/>
2199+
<location filename="../controls/outputwidget.cpp" line="829"/>
22002200
<source>%1: Enter Description</source>
22012201
<translation>%1: Введите описание</translation>
22022202
</message>
22032203
<message>
2204-
<location filename="../controls/outputwidget.cpp" line="891"/>
2204+
<location filename="../controls/outputwidget.cpp" line="894"/>
22052205
<source>NOT CONNECTED!</source>
22062206
<translation>НЕ ПОДКЛЮЧЕНО!</translation>
22072207
</message>
22082208
<message>
2209-
<location filename="../controls/outputwidget.cpp" line="899"/>
2209+
<location filename="../controls/outputwidget.cpp" line="902"/>
22102210
<source>Invalid Data Length Specified</source>
22112211
<translation>Указана недопустимая длина данных</translation>
22122212
</message>
@@ -2375,10 +2375,12 @@ MODBUS Point Type:
23752375
</message>
23762376
<message>
23772377
<location filename="../controls/scriptcontrol.ui" line="49"/>
2378-
<source>Script.onInit(()=&gt;{
2379-
let deviceId = 1;
2380-
let address = 1;
2381-
Server.addressBase = AddressBase.Base1;
2378+
<source>Server.addressBase = AddressBase.Base1;
2379+
2380+
let deviceId = 1;
2381+
let address = 1;
2382+
2383+
Script.onInit(()=&gt;{
23822384
Server.onChange(deviceId, Register.Holding, address, (value)=&gt;
23832385
{
23842386
/* write your code on register value change */

omodsim/translations/omodsim_zh.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,9 +1616,9 @@ MODBUS Point Type:
16161616
</message>
16171617
<message>
16181618
<location filename="../mainwindow.cpp" line="323"/>
1619-
<location filename="../mainwindow.cpp" line="362"/>
1620-
<location filename="../mainwindow.cpp" line="375"/>
1621-
<location filename="../mainwindow.cpp" line="386"/>
1619+
<location filename="../mainwindow.cpp" line="363"/>
1620+
<location filename="../mainwindow.cpp" line="377"/>
1621+
<location filename="../mainwindow.cpp" line="389"/>
16221622
<source>All files (*)</source>
16231623
<translation>所有文件 (*)</translation>
16241624
</message>
@@ -2204,17 +2204,17 @@ MODBUS Point Type:
22042204
<context>
22052205
<name>OutputWidget</name>
22062206
<message>
2207-
<location filename="../controls/outputwidget.cpp" line="826"/>
2207+
<location filename="../controls/outputwidget.cpp" line="829"/>
22082208
<source>%1: Enter Description</source>
22092209
<translation>%1:输入描述</translation>
22102210
</message>
22112211
<message>
2212-
<location filename="../controls/outputwidget.cpp" line="891"/>
2212+
<location filename="../controls/outputwidget.cpp" line="894"/>
22132213
<source>NOT CONNECTED!</source>
22142214
<translation>未连接!</translation>
22152215
</message>
22162216
<message>
2217-
<location filename="../controls/outputwidget.cpp" line="899"/>
2217+
<location filename="../controls/outputwidget.cpp" line="902"/>
22182218
<source>Invalid Data Length Specified</source>
22192219
<translation>指定的数据长度无效</translation>
22202220
</message>
@@ -2383,10 +2383,12 @@ MODBUS Point Type:
23832383
</message>
23842384
<message>
23852385
<location filename="../controls/scriptcontrol.ui" line="49"/>
2386-
<source>Script.onInit(()=&gt;{
2387-
let deviceId = 1;
2388-
let address = 1;
2389-
Server.addressBase = AddressBase.Base1;
2386+
<source>Server.addressBase = AddressBase.Base1;
2387+
2388+
let deviceId = 1;
2389+
let address = 1;
2390+
2391+
Script.onInit(()=&gt;{
23902392
Server.onChange(deviceId, Register.Holding, address, (value)=&gt;
23912393
{
23922394
/* write your code on register value change */

0 commit comments

Comments
 (0)