|
144 | 144 | <context>
|
145 | 145 | <name>MainWindow</name>
|
146 | 146 | <message>
|
147 |
| - <location filename="../ui/mainwindow.ui" line="82"/> |
| 147 | + <location filename="../ui/mainwindow.ui" line="69"/> |
148 | 148 | <source>File</source>
|
149 | 149 | <translation>文件</translation>
|
150 | 150 | </message>
|
151 | 151 | <message>
|
152 |
| - <location filename="../ui/mainwindow.ui" line="91"/> |
| 152 | + <location filename="../ui/mainwindow.ui" line="78"/> |
153 | 153 | <source>Tools</source>
|
154 | 154 | <translation>工具</translation>
|
155 | 155 | </message>
|
156 | 156 | <message>
|
157 |
| - <location filename="../ui/mainwindow.ui" line="98"/> |
| 157 | + <location filename="../ui/mainwindow.ui" line="85"/> |
158 | 158 | <source>Edit</source>
|
159 | 159 | <translation>编辑</translation>
|
160 | 160 | </message>
|
161 | 161 | <message>
|
162 |
| - <location filename="../ui/mainwindow.ui" line="108"/> |
| 162 | + <location filename="../ui/mainwindow.ui" line="95"/> |
163 | 163 | <source>View</source>
|
164 | 164 | <translation>视图</translation>
|
165 | 165 | </message>
|
166 | 166 | <message>
|
167 |
| - <location filename="../ui/mainwindow.ui" line="118"/> |
| 167 | + <location filename="../ui/mainwindow.ui" line="106"/> |
168 | 168 | <source>Help</source>
|
169 | 169 | <translation>帮助</translation>
|
170 | 170 | </message>
|
171 | 171 | <message>
|
172 |
| - <location filename="../ui/mainwindow.ui" line="132"/> |
173 |
| - <location filename="../ui/mainwindow.ui" line="245"/> |
| 172 | + <location filename="../ui/mainwindow.ui" line="120"/> |
| 173 | + <location filename="../ui/mainwindow.ui" line="233"/> |
174 | 174 | <source>Tool Bar</source>
|
175 | 175 | <translation>工具栏</translation>
|
176 | 176 | </message>
|
177 | 177 | <message>
|
178 |
| - <location filename="../ui/mainwindow.ui" line="164"/> |
| 178 | + <location filename="../ui/mainwindow.ui" line="152"/> |
179 | 179 | <source>Save</source>
|
180 | 180 | <translation>保存</translation>
|
181 | 181 | </message>
|
182 | 182 | <message>
|
183 |
| - <location filename="../ui/mainwindow.ui" line="167"/> |
| 183 | + <location filename="../ui/mainwindow.ui" line="155"/> |
184 | 184 | <source>Ctrl+S</source>
|
185 | 185 | <translation></translation>
|
186 | 186 | </message>
|
187 | 187 | <message>
|
188 |
| - <location filename="../ui/mainwindow.ui" line="176"/> |
| 188 | + <location filename="../ui/mainwindow.ui" line="164"/> |
189 | 189 | <source>Options</source>
|
190 | 190 | <translation>选项</translation>
|
191 | 191 | </message>
|
192 | 192 | <message>
|
193 |
| - <location filename="../ui/mainwindow.ui" line="185"/> |
194 |
| - <location filename="../src/mainwindow.cpp" line="263"/> |
| 193 | + <location filename="../ui/mainwindow.ui" line="173"/> |
| 194 | + <location filename="../src/mainwindow.cpp" line="268"/> |
195 | 195 | <source>Open Port</source>
|
196 | 196 | <translation>打开端口</translation>
|
197 | 197 | </message>
|
198 | 198 | <message>
|
199 |
| - <location filename="../ui/mainwindow.ui" line="188"/> |
| 199 | + <location filename="../ui/mainwindow.ui" line="176"/> |
200 | 200 | <source>Alt+S</source>
|
201 | 201 | <translation></translation>
|
202 | 202 | </message>
|
203 | 203 | <message>
|
204 |
| - <location filename="../ui/mainwindow.ui" line="201"/> |
205 |
| - <location filename="../src/mainwindow.cpp" line="213"/> |
| 204 | + <location filename="../ui/mainwindow.ui" line="189"/> |
| 205 | + <location filename="../src/mainwindow.cpp" line="218"/> |
206 | 206 | <source>Pause Tx/Rx</source>
|
207 | 207 | <translation>暂停发送/接收</translation>
|
208 | 208 | </message>
|
209 | 209 | <message>
|
210 |
| - <location filename="../ui/mainwindow.ui" line="204"/> |
| 210 | + <location filename="../ui/mainwindow.ui" line="192"/> |
211 | 211 | <source>Alt+R</source>
|
212 | 212 | <translation></translation>
|
213 | 213 | </message>
|
214 | 214 | <message>
|
215 |
| - <location filename="../ui/mainwindow.ui" line="213"/> |
| 215 | + <location filename="../ui/mainwindow.ui" line="201"/> |
216 | 216 | <source>Clear Buffer</source>
|
217 | 217 | <translation>清空缓冲</translation>
|
218 | 218 | </message>
|
219 | 219 | <message>
|
220 |
| - <location filename="../ui/mainwindow.ui" line="216"/> |
| 220 | + <location filename="../ui/mainwindow.ui" line="204"/> |
221 | 221 | <source>Alt+C</source>
|
222 | 222 | <translation></translation>
|
223 | 223 | </message>
|
224 | 224 | <message>
|
225 |
| - <location filename="../ui/mainwindow.ui" line="225"/> |
| 225 | + <location filename="../ui/mainwindow.ui" line="213"/> |
226 | 226 | <source>Port Settings</source>
|
227 | 227 | <translation>端口设置</translation>
|
228 | 228 | </message>
|
229 | 229 | <message>
|
230 |
| - <location filename="../ui/mainwindow.ui" line="234"/> |
| 230 | + <location filename="../ui/mainwindow.ui" line="222"/> |
231 | 231 | <source>Close</source>
|
232 | 232 | <translation>关闭</translation>
|
233 | 233 | </message>
|
234 | 234 | <message>
|
235 |
| - <location filename="../ui/mainwindow.ui" line="256"/> |
| 235 | + <location filename="../ui/mainwindow.ui" line="244"/> |
236 | 236 | <source>Status Bar</source>
|
237 | 237 | <translation>状态栏</translation>
|
238 | 238 | </message>
|
239 | 239 | <message>
|
240 |
| - <location filename="../ui/mainwindow.ui" line="261"/> |
| 240 | + <location filename="../ui/mainwindow.ui" line="249"/> |
241 | 241 | <source>About</source>
|
242 | 242 | <translation>关于</translation>
|
243 | 243 | </message>
|
244 | 244 | <message>
|
245 |
| - <location filename="../ui/mainwindow.ui" line="264"/> |
| 245 | + <location filename="../ui/mainwindow.ui" line="252"/> |
246 | 246 | <source>F1</source>
|
247 | 247 | <translation></translation>
|
248 | 248 | </message>
|
249 | 249 | <message>
|
250 |
| - <location filename="../ui/mainwindow.ui" line="269"/> |
251 |
| - <location filename="../ui/mainwindow.ui" line="272"/> |
| 250 | + <location filename="../ui/mainwindow.ui" line="257"/> |
| 251 | + <location filename="../ui/mainwindow.ui" line="260"/> |
252 | 252 | <source>Wiki</source>
|
253 | 253 | <translation></translation>
|
254 | 254 | </message>
|
255 | 255 | <message>
|
256 |
| - <location filename="../ui/mainwindow.ui" line="281"/> |
257 |
| - <location filename="../ui/mainwindow.ui" line="284"/> |
| 256 | + <location filename="../ui/mainwindow.ui" line="269"/> |
| 257 | + <location filename="../ui/mainwindow.ui" line="272"/> |
258 | 258 | <source>Open</source>
|
259 | 259 | <translation>打开</translation>
|
260 | 260 | </message>
|
261 | 261 | <message>
|
262 |
| - <location filename="../ui/mainwindow.ui" line="287"/> |
| 262 | + <location filename="../ui/mainwindow.ui" line="275"/> |
263 | 263 | <source>Ctrl+O</source>
|
264 | 264 | <translation></translation>
|
265 | 265 | </message>
|
266 | 266 | <message>
|
267 |
| - <location filename="../ui/mainwindow.ui" line="296"/> |
| 267 | + <location filename="../ui/mainwindow.ui" line="284"/> |
268 | 268 | <source>Stays On Top</source>
|
269 | 269 | <translation>置于顶层</translation>
|
270 | 270 | </message>
|
271 | 271 | <message>
|
272 |
| - <location filename="../ui/mainwindow.ui" line="301"/> |
| 272 | + <location filename="../ui/mainwindow.ui" line="289"/> |
273 | 273 | <source>Update</source>
|
274 | 274 | <translation>更新</translation>
|
275 | 275 | </message>
|
276 | 276 | <message>
|
277 |
| - <location filename="../src/mainwindow.cpp" line="208"/> |
| 277 | + <location filename="../ui/mainwindow.ui" line="294"/> |
| 278 | + <source>Reset Config</source> |
| 279 | + <translation>清除设置</translation> |
| 280 | + </message> |
| 281 | + <message> |
| 282 | + <location filename="../src/mainwindow.cpp" line="213"/> |
278 | 283 | <source>Start Tx/Rx</source>
|
279 | 284 | <translation>开始发送/接收</translation>
|
280 | 285 | </message>
|
281 | 286 | <message>
|
282 |
| - <location filename="../src/mainwindow.cpp" line="249"/> |
| 287 | + <location filename="../src/mainwindow.cpp" line="254"/> |
283 | 288 | <source>Close Port</source>
|
284 | 289 | <translation>关闭端口</translation>
|
285 | 290 | </message>
|
|
402 | 407 | <translation>波特率</translation>
|
403 | 408 | </message>
|
404 | 409 | <message>
|
405 |
| - <location filename="../src/port/serialport.cpp" line="94"/> |
| 410 | + <location filename="../src/port/serialport.cpp" line="92"/> |
406 | 411 | <source>Error</source>
|
407 | 412 | <translation>错误</translation>
|
408 | 413 | </message>
|
409 | 414 | <message>
|
410 |
| - <location filename="../src/port/serialport.cpp" line="95"/> |
| 415 | + <location filename="../src/port/serialport.cpp" line="93"/> |
411 | 416 | <source>Can not open the port!
|
412 | 417 | Port may be occupied or configured incorrectly!</source>
|
413 | 418 | <translation>无法打开端口!
|
@@ -487,6 +492,14 @@ Please check the port number.</source>
|
487 | 492 | <translation>远程主机关闭连接。</translation>
|
488 | 493 | </message>
|
489 | 494 | </context>
|
| 495 | +<context> |
| 496 | + <name>TerminalView</name> |
| 497 | + <message> |
| 498 | + <location filename="../src/views/terminal/terminalview.h" line="16"/> |
| 499 | + <source>Terminal</source> |
| 500 | + <translation type="unfinished">终端</translation> |
| 501 | + </message> |
| 502 | +</context> |
490 | 503 | <context>
|
491 | 504 | <name>TextTRView</name>
|
492 | 505 | <message>
|
@@ -520,23 +533,23 @@ Please check the port number.</source>
|
520 | 533 | <translation>发送</translation>
|
521 | 534 | </message>
|
522 | 535 | <message>
|
523 |
| - <location filename="../src/views/terminal/texttrview.cpp" line="189"/> |
| 536 | + <location filename="../src/views/texttr/texttrview.cpp" line="205"/> |
524 | 537 | <source>Ctrl + Enter to send</source>
|
525 | 538 | <translation>Ctrl + Enter发送</translation>
|
526 | 539 | </message>
|
527 | 540 | <message>
|
528 |
| - <location filename="../src/views/terminal/texttrview.cpp" line="190"/> |
| 541 | + <location filename="../src/views/texttr/texttrview.cpp" line="206"/> |
529 | 542 | <source>Connect port and start transmission to enable this button</source>
|
530 | 543 | <translation>连接端口并开启传输来启用此按钮</translation>
|
531 | 544 | </message>
|
532 | 545 | <message>
|
533 |
| - <location filename="../src/views/terminal/texttrview.cpp" line="442"/> |
534 |
| - <location filename="../src/views/terminal/texttrview.cpp" line="447"/> |
| 546 | + <location filename="../src/views/texttr/texttrview.cpp" line="479"/> |
| 547 | + <location filename="../src/views/texttr/texttrview.cpp" line="484"/> |
535 | 548 | <source>Terminal Text File (*.txt)</source>
|
536 | 549 | <translation>终端文本文件 (*.txt)</translation>
|
537 | 550 | </message>
|
538 | 551 | <message>
|
539 |
| - <location filename="../src/views/terminal/texttrview.h" line="18"/> |
| 552 | + <location filename="../src/views/texttr/texttrview.h" line="18"/> |
540 | 553 | <source>Text Tx/Rx</source>
|
541 | 554 | <translation>文本收发</translation>
|
542 | 555 | </message>
|
@@ -681,12 +694,24 @@ Please check the port number.</source>
|
681 | 694 | <context>
|
682 | 695 | <name>ViewManager</name>
|
683 | 696 | <message>
|
684 |
| - <location filename="../src/views/viewmanager.cpp" line="113"/> |
| 697 | + <location filename="../src/views/viewmanager.cpp" line="146"/> |
685 | 698 | <source>Save</source>
|
686 | 699 | <translation>保存</translation>
|
687 | 700 | </message>
|
688 | 701 | <message>
|
689 |
| - <location filename="../src/views/viewmanager.cpp" line="126"/> |
| 702 | + <location filename="../src/views/viewmanager.cpp" line="155"/> |
| 703 | + <location filename="../src/views/viewmanager.cpp" line="174"/> |
| 704 | + <source>Warning</source> |
| 705 | + <translation type="unfinished">警告</translation> |
| 706 | + </message> |
| 707 | + <message> |
| 708 | + <location filename="../src/views/viewmanager.cpp" line="156"/> |
| 709 | + <location filename="../src/views/viewmanager.cpp" line="175"/> |
| 710 | + <source>This view does not support this operation.</source> |
| 711 | + <translation type="unfinished"></translation> |
| 712 | + </message> |
| 713 | + <message> |
| 714 | + <location filename="../src/views/viewmanager.cpp" line="165"/> |
690 | 715 | <source>Open</source>
|
691 | 716 | <translation>打开</translation>
|
692 | 717 | </message>
|
|
0 commit comments