diff --git a/.cmake/sak_i18n.cmake b/.cmake/sak_i18n.cmake index c3fec2c1..af6e5dd2 100644 --- a/.cmake/sak_i18n.cmake +++ b/.cmake/sak_i18n.cmake @@ -8,26 +8,27 @@ sak_lupdate COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_en.ts COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_zh_CN.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ar.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_cs.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_da.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_de.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_es.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fa.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fi.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fr.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_he.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_uk.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_it.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ja.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ko.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_lt.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_pl.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_pt.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ru.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sk.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sl.ts - COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sv.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ar.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_cs.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_da.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_de.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_es.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fa.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fi.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_fr.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_he.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_uk.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_it.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ja.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ko.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_lt.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_pl.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_pt.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_ru.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sk.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sl.ts + # COMMAND ${COMMON_STR} ${CMAKE_SOURCE_DIR}/resources/translations/sak_sv.ts + SOURCES .cmake/sak_i18n.cmake VERBATIM) endfunction() @@ -37,26 +38,27 @@ function(sak_add_lrelease) sak_lrelease COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_en.ts COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_zh_CN.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ar.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_cs.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_da.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_de.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_es.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fa.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fi.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fr.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_he.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_uk.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_it.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ja.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ko.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_lt.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_pl.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_pt.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ru.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sk.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sl.ts - COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sv.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ar.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_cs.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_da.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_de.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_es.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fa.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fi.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_fr.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_he.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_uk.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_it.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ja.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ko.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_lt.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_pl.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_pt.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_ru.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sk.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sl.ts + # COMMAND ${LRELEASE} -compress ${CMAKE_SOURCE_DIR}/resources/translations/sak_sv.ts + SOURCES .cmake/sak_i18n.cmake VERBATIM) add_dependencies(sak_lrelease sak_lupdate) diff --git a/resources/translations/sak_en.ts b/resources/translations/sak_en.ts index 700f61a2..f91f0a63 100644 --- a/resources/translations/sak_en.ts +++ b/resources/translations/sak_en.ts @@ -1,518 +1,1378 @@ + + AboutPage + + + Version: + + + + + Report a bug: + + + + + Build info: + + + + + User QQ Group: + + + + + Copy + + + + + Last commit(EasyDebug): + + + + + Last commit time(EasyDebug): + + + + + Last commit(QtSwissArmyKnife): + + + + + Last commit time(QtSwissArmyKnife): + + + + + Copyright information: + + + + + Application + + + Initializing... + + + + + Initializing main window... + + + + + Finished... + + + + + BleCentralController + + + Device list + + + + + filter + + + + + Timeout + + + + + Services + + + + + Characteristics + + + + + Writting + + + + + Write + + + + + Write without Response + + + + + Notify + + + + + Read + + + + + Unnotify + + + + + ClientController + + + + Address + + + + + + Port + + + + + Binding + + + + + Specify client information + + + + + Server settings + + + + + Message + + + + + ColorDialog + + + + + + + Color + + + + + ColorInputs + + + Hex + + + + + RGB + + + + + HSV + + + + + HSL + + + + + CommunicationPage + + + System + + + + + CommunicationPageController + + + Close + + + + + Open + + + + + CommunicationPageInput + + + Timed data + + + + + Set the text format of input text + + + + + Escape character + + + + + The prefix data + + + + + The suffix data + + + + + The CRC algorithm + + + + + Clear the input text + + + + + [prefix][input][crc][suffix](crc data is input data) + + + + + Send + + + + + CommunicationPageOutput + + + Set the text format of output text + + + + + Show the read text + + + + + Show the written data + + + + + Show date information + + + + + Show time information + + + + + Show ms information + + + + + Auto wrap output text + + + + + Clear the output text + + + + + DFWDataView + + + Save + + + + + Text format + + + + + Cleear + + + + + DFWInput + + + + Send + + + + + + Escape + + + + + + Format + + + + + + Cycle + + + + + DFWMainWindow + + + + Tools list + + + + + + Filter + + + + + + Data view + + + + + DFWNodeControl + + + + Tool settings + + + + + + Start the tool + + + + + + Stop the tool + + + + + DFWOutput + + + + Pause output + + + + + DFWOutputControl + + + Text format + + + + + Cleear + + + + + Save + + + + + FileDialog + + + + + + + File name + + + + + + + + + Filter + + + + + FontDialog + + + + + + + Writing System + + + + + FontDialogContent + + + Family + + + + + Style + + + + + Size + + + + + Effects + + + + + Underline + + + + + Strikeout + + + + + Sample + + + + + HubModel + + + Hub + + + ImageLoaderModel Open Image - + Image Files (*.png *.jpg *.bmp) - + + + + + InputWidget + + + Send + + + + + Escape + + + + + Format + + + + + Cycle + + + + + Disable + + + + + Keyboard + + + Remove from dictionary + + Context menu for word suggestion if it can be removed from the user dictionary. + + + + Block word + + Context menu for word suggestion if it can be removed from the default dictionary. MainWindow - + EasyDebug - - - - - MainWindowBleCentralPageController - - - BLE central settings - + - - Device list - + + Disable + - - filter - - - - - Timeout - - - - - Services - - - - - Characteristics - - - - - Writting - - - - - Write - - - - - Write without Response - - - - - Notify - - - - - Read - - - - - Unnotify - - - - - MainWindowInfoPage - - - Version: - - - - - Report a bug: - - - - - Build info: - - - - - User QQ Group: - - - - - Copy - - - - - Copyright information: - - - - - MainWindowSerialPortPageController - - + None - + - - - + + MainWindow + - - - - + + Tools list + - - - - + + Filter + - - - - + + Data view + - - Serial port settings - + + mDNS Browser + - - Port names - + + _http._tcp.local. + - - Baud rate - + + Browse + - - Stop bits - + + Any + - - Data bits - + + Key + - - Parity - + + Value + - - - No - + + Test Service + - - Even - + + _test._tcp.local. + - - Odd - + + Show queries + - - Space - + + Initializing application + - - Mark - + + mDNS Provider + - - Flow control - + + Service name: + - - Hardware - + + Service type: + - - Software - + + Service port: + - - Custom baud rate - + + Destroying provider + - - Ignore busy device - + + Creating provider + - - Auto update port names - - - - - MainWindowSettingsPage - - - General - + + Hostname changed to %1 + - - High dpi scale factor rounding policy (need to reboot the app) - + + [%1] %2 + - - .5 - + + Stop + - - Round up for .5 and above. - + + Start + - - Up - + + (Community) + - - Always round up. - + + &File + - - Down - + + New Window + - - Always round down. - + + Import Palette + - - .75 - + + Export Palette + - - Round up for .75 and above. - + + Exit + - - Don't - + + &Tools + - - Don't round. - + + &Options + - - UI - + + Application Style + - - Classical - + + Main Window + - - Modern - + + Exit to Sysytem Tray + - - Language - + + Settings + - - Font Family - + + Clear Configuration + - - Theme - + + Open configuration floder + - - Application theme - + + HDPI Policy + - + + Round up for .5 and above + + + + + Always round up + + + + + Always round down + + + + + Round up for .75 and above + + + + + Don't round + + + + + System - + - - Dark - - - - + Light - + - - Accent color - + + Dark + - - Primary color - + + Palette + - - Reset accent color and primary to default - + + Custom + - - Reset - + + &Languages + + + + + &Help + + + + + + About Qt + + + + + About QtSwissArmyKnife + + + + + Buy from Microsoft App Store + + + + + Get Source + + + + + GitHub + + + + + Gitee + + + + + + Release History + + + + + + QR Code + + + + + Donate + + + + + &Links + + + + + Qt Official Download + + + + + Qt Official Blog + + + + + Qt Official Release + + + + + Download SAK from Github + + + + + Download SAK from Gitee + + + + + Office Web Site + + + + + &Demo + + + + + Qt SerialPort Demo + + + + + Hide Text + + + + + Click to show(hide) nav text + + + + + Log Viewer + + + + + Preferences + + + + + Version + + + + + Edition + + + + + Author + + + + + Email + + + + + QQ + + + + + QQ Group + + + + + Build Time + + + + + Gitee Url + + + + + Gitbub Url + + + + + Copyright + + + + + Copyright 2018-%1 Qsaker(qsaker@foxmail.com). All rights reserved. + + + + + About QSAK + + + + + Reboot application to effective + + + + + Need to reboot, reboot to effective now? + + + + + User QQ Group + + + + + Qt QQ Group + + + + + + Save Palette + + + + + + All (*) + + + + + File Exists + + + + + The file is exists, import operaion failed + + + + + Data Flow Studio + + + + + + Save + + + + + The project has been modified, do you want to save it? + + + + + &Window + + + + + Tool Bar + + + + + Open project + + + + + Save project + + + + + Save as + + + + + Control Tool Bar + + + + + Start all nodes + + + + + Stop all nodes + + + + + Editor Tool Bar + + + + + Zoom in + + + + + Reset scene + + + + + Zoom out + + + + + Clear Current + + + + + Clear All + + + + + Save Current + + + + + Text (*.txt) + + + + + Warning + + + + + Failed to save file! + - MainWindowTcpClientPageController + MainWindowMenu - - TCP client settings - + + Open Settings File Dir + - - - MainWindowTcpServerPageController - - TCP server settings - + + Remove Settings File + + + + + Qt Technical Communication + + + + + &Exit + MainWindowToolBar - - - - SerialPort - + + Serial Port + - - + + BLE Central + + + + UDP Client - + - - + UDP Server - + - - + TCP Client - + - - + TCP Server - + - - + WebSocket Client - + - - + WebSocket Server - + + + + + About + + + + + Settings + - MainWindowUdpClientPageController + MessageDialog - - UDP client settings - + + + + + + Hide Details... + + + + + + + + + Show Details... + - MainWindowUdpServerPageController + NodeEditor - - UDP server settings - + + Input Output + + + + + Hub + - MainWindowWebSocketClientPageController + OutputWidget - - WebSocket client settings - + + Pause output + + + + + Output to + + + + + Output format is + - MainWindowWebSocketServerPageController + PdfLinkDelegate - - WebSocket server settings - + + Page %1 location %2, %3 zoom %4 + QObject - - Ascii Assistant - - - - + Base64 Assisatnt - + - + Broadcast Assistant - + - + CRC Assistant - + - + File Check Assistant - + - + Number Assistant - + - + String Assistant - + - + CAN Bus Studio - + - + Modbus Studio - + - + (Community) - + + + + + ASCII Assistant + + + + + Font Awesome Assistant + + + + + MDNS Assistant + + + + + Ping Assistant + + + + + Communication tools + + + + + Data Process + + + + + Data Output + @@ -521,13 +1381,13 @@ Open Flow Scene - + Flow Scene Files (*.flow) - + @@ -535,12 +1395,12 @@ &Undo - + &Redo - + @@ -548,239 +1408,527 @@ None - + SAKAnalyzerToolUi + + + + Analyzer parameters - + + + + + Fixed length - + + + + + Frame length - + + + + + Enable - + + + + + Max temp bytes - + + + + + Separation mark - + + + + + Hex format - + - SAKApplication + SAKAsciiAssistant - - Initializing... - + + Filter + - - Initializing main window... - + + Preserve case + - - Finished... - + + Bin + + + + + Oct + + + + + Dec + + + + + Hex + + + + + Description + + + + + NUL (NULL)) + + + + + SOH (Start Of Headling) + + + + + STX (Start Of Text) + + + + + ETX (End Of Text) + + + + + EOT (End Of Transmission) + + + + + ENQ (Enquiry) + + + + + ACK (Acknowledge) + + + + + BEL (Bell) + + + + + BS (Backspace) + + + + + HT (Horizontal Tab) + + + + + LF/NL(Line Feed/New Line) + + + + + VT (Vertical Tab) + + + + + FF/NP (Form Feed/New Page) + + + + + CR (Carriage Return) + + + + + SO (Shift Out) + + + + + SI (Shift In) + + + + + DLE (Data Link Escape) + + + + + DC1/XON(Device Control 1/Transmission On) + + + + + DC2 (Device Control 2) + + + + + DC3/XOFF(Device Control 3/Transmission Off) + + + + + DC4 (Device Control 4) + + + + + NAK (Negative Acknowledge) + + + + + SYN (Synchronous Idle) + + + + + ETB (End of Transmission Block) + + + + + CAN (Cancel) + + + + + EM (End of Medium) + + + + + SUB (Substitute) + + + + + ESC (Escape) + + + + + FS (File Separator) + + + + + GS (Group Separator) + + + + + RS (Record Separator) + + + + + US (Unit Separator) + + + + + (Space) + + + + + DEL (Delete) + SAKAssistantsFactory - + CRC Assistant - + - + ASCII Assistant - + - + File Check Assistant - + - + Number Assistant - + - + String Assistant - + - + Broadcast Assistant - + - + Base64 Assistant - + + + + + MDNS Assistant + + + + + Ping Assistant + SAKBase64Assisatnt + + Base64 Assistant - + + + Plaintext - + + + Ciphertext - + + + Image - + + + Decrypt - + + + Encrypt - + - + Data error - + - + Data can not convert image. - + SAKBleCentralToolUi + + + + Form - + + + + + Notify - + + + + + Read - + + + + + Characteristic - + + + + + Devices - + + + + + Service - + + + + + Write way - + + + + + WriteWithResponse - + + + + + WriteWithoutResponse - + + + + + Settings - + + + + + Scan - + + + + + (Unsupported characteristic) - + Timeout interval(S) - + Name filtter - + OK - + Disnotify - + Stop - + Characteristics%1 - + @@ -788,599 +1936,559 @@ Error Occurred - + SAKBroadcastAssistant - - - Broadcast parameters - - - - - Broadcast port - - - - - Broadcast suffix - - + + + Broadcast parameters + + + + + + + Broadcast port + + + + + + + Broadcast suffix + + + + + Output control + + + + + + Broadcast prefix - + - + + + Broadcast data - + - + + + Broadcast interval - + - + + + Data format - + + + + + + + + Broadcast + + + + + + + Broadcast address + - - Broadcast - - - - - Broadcast address - - - - + + 55443 - + - + + + Information output - + - + + + Output format - + - + + + Clear - + - + Broadcast Assistant - + - + Terminate - + SAKCRCAssistant + + CRC Assistant - + + + Paloy value - + + + Initial value - + + + + + Copy - + + + More information about crc calculation, visit http://www.ip33.com/crc.html(double clicked to visit) - + + + Input reversal - + + + Output reversal - + + + Clear - + + + Calculate - + + + Parameters - + + + XOR value - + + + Height its is on the left and the low bits is on the right - + + + HEX - + + + ASCII - + + + Result(HEX) - + + + Parameter model - + + + Width - + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'SimSun';"><br /></p></body></html> - + + + Paloy - + + + Input data - + + + Result(BIN) - + SAKCanBusUi + + CANBus Studio - + + + CAN frame - + + + Bitrate switch - + + + Frame type - + + + Flexible data-rate - + + + Extended format - + + + Send CAN frame - + + + Frame ID - + + + Payload - + + + Send - + + + Console - + + + Select plugin - + + + Disconnect - + + + Connect - + + + Specify configuration - + + + Custom data bitrate - + + + Custom bitrate - + + + CAN FD - + + + Loopback - + + + Bitrate - + + + Interface - + + + Data bitrate - + + + Receive own - + + + Error filter - + + + Custom configurations - + can0 - + DataFrame - + ErrorFrame - + RemoteRequestFrame - + Hex - + Interface Name is Empty - + Interface name is empty, please input the name then try again! - + Connection error: %1 - + Connection Error - + Device is Not Ready - + Device is not ready, please connect the device then try angin! - + Error Occure - + unspecified - + false - + true - + - SAKCommonDataStructure + SAKCrcCalculatorToolUi - - BIN - + + + + Start index + - - TEXT - + + + + End index + - - - None - - - - - SAKCommonInterface - - - - No - + + + + Algorithm + - - Even - - - - - Odd - - - - - Space - - - - - Mark - - - - - Hardware - - - - - Software - - - - - SAKCommonMainWindow - - - &File - - - - - &Exit - - - - - &Options - - - - - &Languages - - - - - &Help - - - - - User QQ Group - - - - - &About - - - - - Application Style - - - - - Settings - - - - - Clear Configuration - - - - - Open configuration floder - - - - - HDPI Policy - - - - - Round up for .5 and above - - - - - Always round up - - - - - Always round down - - - - - Round up for .75 and above - - - - - Don't round - - - - - System - - - - - (Part of Qt Swiss Army knife) - - - - - Author: - - - - - Email: - - - - - Commit: - - - - - Date: - - - - - Copyright 2023-%1 Qsaker(qsaker@foxmail.com). All rights reserved. - - - - - About - - - - - Reboot application to effective - - - - - Need to reboot, reboot to effective now? - + + + + BigEndian + @@ -1388,75 +2496,114 @@ p, li { white-space: pre-wrap; } Calculating finished - + + + + + SAKDataStructure + + + BIN + + + + + TEXT + + + + + + None + + + + + Bin + + + + + Oct + + + + + Dec + + + + + Hex + SAKEmitterTool - + Enable - + - + Description - + - + Format - + - + Escape Character - + - + Prefix - + - + Suffix - + - + Interval - + - + Append CRC - + - + Big Endian - + - + Algorithm - + - + Start Index - + - + End Index - + - + Data - + @@ -1464,123 +2611,203 @@ p, li { white-space: pre-wrap; } Form - + SAKEmitterToolUiEditor + + + + Cancel - + + + + + Apply - + + + + + Parameters - + + + + + Append CRC data - + + + + + The CRC start index is start form header, the first byte is 0. - + + + + + Format - + + + + + The CRC end index is from tail, the last byte of data is 0. - + + + + + Data - + + + + + Big endian byte order - + + + + + Start index - + + + + + Note: - + + + + + Algorithm - + + + + + Escape - + + + + + Enable - + + + + + Prefix - + + + + + Interval - + + + + + Sufix - + + + + + End index - + + + + + Description - + + + + + If the parameters of CRC is set error, all bytes of data will be calculcated. - + Emitter Item Editor - + SAKEscComboBox - + None - + @@ -1588,66 +2815,82 @@ p, li { white-space: pre-wrap; } None - + SAKFileCheckAssistant + + Form - + + + Upper result - + + + Checked file - + + + Checked progress - + + + Checked algorithm - + + + Checked result - + - + + + Calculate - + + + Open - + File Check Assistant - + - + Remaining time - + - + StopCalculating - + @@ -1655,530 +2898,434 @@ p, li { white-space: pre-wrap; } No - + Hardware - + Software - + - SAKLog + SAKFontAwesomeAssistant - - Log Type - + + + Font Awesome Assistant + - - Log Category - + + + Filter + + + + + SAKFontAwesomeIcon + + + + Info + + + + + SAKInterface + + + + No + - - Log Detail - + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + Hardware + + + + + Software + SAKLogUi - + + + + Form - + - + + + + Pause - + - + + + + Log level - + - + + + + Life cycle(days) - + - + + + + 1 - + - + + + + 5 - + - + + + + 10 - + - + + + + 15 - + - + + + + 20 - + - + + + + 25 - + - + + + + 30 - + - + + + + 60 - + - + + + + 90 - + - + + + + 120 - + - + + + + Directory - + - + + + + Clear - - - - - Disable - - - - - Debug - - - - - Info - - - - - Warning - - - - - Error - - - - - Clear Log Outputted - - - - - The log outputted will be empty, but the log file will not! - + SAKMainWindow - + + MainWindow - + - + &File - + - - New Window - - - - - Import Palette - - - - - - Save Palette - - - - - - All (*) - - - - - File Exists - - - - - The file is exists, import operaion failed - - - - - Export Palette - - - - - Exit - - - - - &Tools - - - - + &Options - + - + Application Style - + - - Main Window - + + &Exit + - - Exit to Sysytem Tray - + + &About + - + Settings - + - + Clear Configuration - + - + Open configuration floder - + - + HDPI Policy - + - - + System - + - - Light - + + (Part of Qt Swiss Army knife) + - - Dark - + + Author: + - - Palette - + + Email: + - - Custom - + + Commit: + - + + Date: + + + + + About + + + + &Languages - + - + &Help - + - - - About Qt - - - - - About QtSwissArmyKnife - - - - - Donate - - - - + Copyright 2018-%1 Qsaker(qsaker@foxmail.com). All rights reserved. - + - - Get Source - - - - - (Community) - - - - + Round up for .5 and above - + - + Always round up - + - + Always round down - + - + Round up for .75 and above - + - + Don't round - + - - Buy from Microsoft App Store - - - - - GitHub - - - - - Gitee - - - - - - Release History - - - - - - QR Code - - - - - &Links - - - - - Qt Official Download - - - - - Qt Official Blog - - - - - Qt Official Release - - - - - Download SAK from Github - - - - - Download SAK from Gitee - - - - - Office Web Site - - - - - &Demo - - - - - Qt SerialPort Demo - - - - - Hide Text - - - - - Click to show(hide) nav text - - - - - Log Viewer - - - - - Preferences - - - - - Version - - - - - Edition - - - - - Author - - - - - Email - - - - - QQ - - - - - QQ Group - - - - - Build Time - - - - - Gitee Url - - - - - Gitbub Url - - - - - Copyright - - - - - About QSAK - - - - + Reboot application to effective - + - + Need to reboot, reboot to effective now? - + - + User QQ Group - - - - - Qt QQ Group - + SAKMaskerToolUi + + + + Masker - + + + + + Mask code - + + + + + Enable - + + + + + SAKMdnsAssistant + + + Service type + + + + + + Start + + + + + Error occurred + + + + + Service type can not be empty, please input then try again. + + + + + Type + + + + + Hostname + + + + + Port + + + + + Attributes + + + + + Stop + @@ -2186,370 +3333,474 @@ p, li { white-space: pre-wrap; } RTU Client - + RTU Server - + TCP Client - + TCP Server - + SAKModbusUi + + Network settings - + + + Port - + + + Address - + + + Timeout - + + + Repeat times - + + + Colsole - + + + Client registers - + + + Protocol data unit - + + + pdu(no server address, no crc, such read 2 coils: 01 00 00 00 01) - + + + Send - + + + Server registers - + + + Server parameters - + + + Server address - + + + Serial port settings - + + + Data bits - + + + Port name - + + + Device busy - + + + Listen only mode - + + + Stop bits - + + + Parity - + + + Custom command - + + + Baud rate - + + + Device operations - + + + Device list - + + + CloseDevice - + + + OpenDevice - + + + Client operaions - + + + Target address - + + + Start address - + + + Address number - + + + Read - + + + Write - + + + Function code - + RtuClient - + RtuServer - + TcpClient - + TcpServer - + NoParity - + EvenParity - + OddParity - + SpaceParity - + MarkParity - + 0x01-ReadCoils - + 0x02-ReadDiscreteInputs - + 0x03-ReadHoldingRegisters - + 0x04-ReadInputRegisters - + 0x05-WriteSingleCoil - + 0x06-WriteSingleRegister - + 0x0f-WriteMultipleCoils - + 0x10-WriteMultipleRegisters - + DiscreteInputs - + Value - + Description - + Device is not Ready - + The modbus device is not ready, please check settings and try again later! - + Coils - + InputRegisters - + HoldingRegisters - + Error occured - + Can not open device: %1.Please check the parameters and try again! - + Can not open device - + SAKNumberAssistant - + + + Raw data - + - - Cooked data - + + Cooked data(Hex) + - - Float - + + Cooked data type + - - Double - + + Cooked data(Dec) + - HexRawData - + Such as: 1, -1, 1.1, -1.1 + - Big endian - + Cooked data(Bin) + - + + From left to right is high to low + + + + + + Cooked data + + + + + + Float + + + + + + Double + + + + + + HexRawData + + + + + + Big endian + + + + + Create - + @@ -2557,27 +3808,147 @@ p, li { white-space: pre-wrap; } No - + Even - + Odd - + Space - + Mark - + + + + + SAKPingAssistant + + + MainWindow + + + + + Total: --, Active: --, Finished: --, Remain: -- + + + + + Target Address + + + + + Online Status + + + + + Comparing + + + + + Host Name + + + + + Start scan + + + + + Pause scan + + + + + Stop scan + + + + + Start address + + + + + End address + + + + + Show all + + + + + Show online + + + + + + + IP Error + + + + + IP settings error, the start ip and end ip must be set, please check and try again. + + + + + IP settings error, the start ip and end ip must be in the same network segment, please check and try again. + + + + + IP settings error, the start ip must be less than the end ip, please check and try again. + + + + + Total:%1,Active:%2,Finished:%3,Remain:%4 + + + + + Scanning + + + + + Online + + + + + Offline + + + + + Scanning Finished + + + + + Scanning finished, you can screen out the result by the toolbar. + @@ -2585,12 +3956,12 @@ p, li { white-space: pre-wrap; } Form - + Palette - + @@ -2598,143 +3969,199 @@ p, li { white-space: pre-wrap; } Description - + Format - + Escape - + Prefix - + Suffix - + CrcEnable - + BigEndian - + Algorithm - + Start - + End - + Data - + SAKPrestorerToolUiEditor + + + + Cancel - + + + + + OK - + + + + + Parameters - + + + + + Format - + + + + + Suffix - + + + + + Big endian byte order - + + + + + Algorithm - + + + + + Data - + + + + + Escape - + + + + + Description - + + + + + Prefix - + + + + + Append CRC data - + + + + + Start index - + + + + + End index - + Prestorer Item Editor - + SAKRNComboBox - + None - + @@ -2742,13 +4169,13 @@ p, li { white-space: pre-wrap; } Disable - + Echo widget - + @@ -2757,7 +4184,7 @@ p, li { white-space: pre-wrap; } Always widget - + @@ -2766,7 +4193,7 @@ p, li { white-space: pre-wrap; } RxEqualReference widget - + @@ -2775,7 +4202,7 @@ p, li { white-space: pre-wrap; } RxContainReference widget - + @@ -2784,7 +4211,7 @@ p, li { white-space: pre-wrap; } RxDiscontainReference widget - + @@ -2793,29 +4220,29 @@ p, li { white-space: pre-wrap; } SAKResponseOptionsComboBox - + Echo - + - + Aways - + - + InputEqualReference - + - + InputContainReference - + - + InputDiscontainReference - + @@ -2823,276 +4250,416 @@ p, li { white-space: pre-wrap; } Enable - + Description - + Option - + RefFormat - + RefEscape - + RefPrefix - + RefSuffix - + RefCrcEnable - + RefCrcBigEndian - + RefAlgorithm - + RefStart - + RefEnd - + ReferenceData - + ResFormat - + Escape - + ResPrefix - + ResSuffix - + ResCrcEnable - + ResCrcBigEndian - + ResAlgorithm - + ResStart - + ResEnd - + ResDelay - + ResponseData - + SAKResponserToolUiEditor + + + + OK - + + + + + Cancel - + + + + + Parameters - + + + + + + + + + Big endian byte order - + + + + + + + + + End index - + + + + + Reference data - + + + + + + + + + Prefix - + + + + + Delay(ms) - + + + + + Enable - + + + + + + + + + Suffix - + + + + + + + + + Start index - + + + + + Reference - + + + + + + + + + Escape - + + + + + + + + + Algorithm - + + + + + Response data - + + + + + Format - + + + + + + + + + Append CRC data - + + + + + Fromat - + + + + + Description - + + + + + Response - + + + + + Option - + Responser Item Editor - + SAKSerialPortToolUi + + + + Port name - + + + + + Baud rate - + + + + + Data bits - + + + + + Stop bits - + + + + + Parity - + + + + + Flow control - + @@ -3100,1615 +4667,1491 @@ p, li { white-space: pre-wrap; } enable - + portName - + baudRate - + parity - + stopBits - + dataBits - + flowControl - + description - + SAKSerialPortTransmitterToolUiEditor + + + + Serial Port Transmitter Item Editor - + + + + + Parity - + + + + + Stop bits - + + + + + Enable - + + + + + Baudrate - + + + + + Data bits - + + + + + Port name - + + + + + Flow control - + + + + + Cancel - + + + + + Apply - + SAKSocketClientToolUi + + + + Client port - + + + + + (closed) - + + + + + Server IP - + + + + + Server port - + + + + + Context - + + + + + Message - + + + + + Client IP - + + + + + Specify ip and port - + Closed - + SAKSocketClientTransmitterTool - + Enable - + - + ClientIp - + - + ClientPort - + - + SpecifiedClientIpAndPort - + - + ServerIp - + - + ServerPort - + - + MessageType - + SAKSocketClientTransmitterToolUiEditor + + + + Item Editor - + + + + + enable - + + + + + Client IP - + + + + + Specified client ip and port - + + + + + Server IP - + + + + + Client port - + + + + + Server port - + + + + + Cancel - + + + + + Apply - + + + + + Message type - + SAKSocketServerToolUi + + + + (closed) - + + + + + Server port - + + + + + Target - + + + + + Clear - + + + + + All clients - + + + + + Binding - + + + + + Server IP - + + + + + Message - + + + + + Specify ip and port - + Closed - + SAKStatisticianToolUi + + + + Form - + + + + + Frames: - + + + + + Bytes: - + SAKStorerToolUi + + + + Storer - + + + + + Saving file path - + + + + + Browser - + + + + + Save time - + + + + + Save date - + + + + + Save tx - + + + + + Save rx - + + + + + Save format - + + + + + Save ms - + + + + + Enable - + Save file - + txt (*.txt);;All (*) - + SAKStringAssistant + + Raw data - + + + Input format - + + + Cooked data - + + + Output format - + + + Create - - - - - SAKSystemTrayIcon - - - Qt Swiss Army Knife - - - - - Open main window - - - - - Exit program - + SAKTableModelToolUi + + + + Form - + + + + + Export - + + + + + Import - + + + + + Delete - + + + + + Append - + + + + + Clear - + + + + + Visible - + + + + + Edit - + - + Please Select an Item - + - + Please select an tiem first, then try again! - + - + Invalid Parameter - + - + The value of mTableModelTool is nullptr, you must called initialize() first! - + - + Clear Data - + - + The data will be empty from settings file, please confrim the operation! - + - + Delete Data - + - + The data will be delete from settings file, please confrim the operation! - - - - - - Import data - + - JSON (*.json);;All (*) - + + Import data + - + + JSON (*.json);;All (*) + + + + JSON (*.json);;All (*); - + SAKToolBoxUi + + Clear - + + + + + Format - + + + + + + + Settings - + + + + + Rx - + + + Cycle - + - + + + Open - + + + MS - + + + Send - + + + Date - + + + Time - + + + + + Tx - + + + Wrap - + + + Input control - + + + Transmitter - + + + Tab 1 - + + + Tab 2 - + + + Output control - + + + Communication control - + + + I/O - + + + Input - + + + Output - + + + Emiter - + + + Responser - + + + + + Prestorer - + SerialPort - + UDP Client - + UDP Server - + TCP Client - + TCP Server - + WebSocket Client - + WebSocket Server - + BLE Central - + - + Close - + - + Disable - + - + SerialPort Transmitter - + - + UDP - + - + TCP - + - + WebSocket - + - + Error Occured - + SAKToolBoxUiCommunicationMenu + + Form - - - - - Tx analyzer - - - - - Rx analyzer - + SAKToolBoxUiInputMenu + + Append prefix - + + + Escape character - + + + Append suffix - + + + Big endian CRC - + + + CRC end index - + + + CRC algorithm - + + + Append CRC - + + + CRC start index - + SAKToolBoxUiOutputMenu + + Form - + + + Filter - + + + High light key words(separator is' ;') - + + + Such as:hello;world - + + + + + SAKToolFactory + + + Analyzer + + + + + Serialport + + + + + Emitter + + + + + Masker + + + + + Responser + + + + + Storer + + + + + Prestore + + + + + Velometer + + + + + UdpClient + + + + + UdpServer + + + + + TcpClient + + + + + TcpServer + + + + + WebSocketClient + + + + + WebSocketServer + + + + + BleCentral + + + + + BlePeriheral + + + + + Statistitician + + + + + SerialPortTransmitter + + + + + UdpTransmitter + + + + + TcpTransmitter + + + + + WebSocketTransmitter + + + + + CrcCalculator + + + + + Unknown + SAKVelometerToolUi + + + + Form - + + + + + Velometer: - + - ToolBoxCommonClient + SerialPortController - - + + Port name + + + + + Baud rate + + + + + Stop bits + + + + + Data bits + + + + + Parity + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + Flow control + + + + + Hardware + + + + + Software + + + + + ServerController + + Address - + - - + Port - + - - Binding - - - - - Specify client information - - - - - Server settings - - - - - Message - - - - - ToolBoxCommonCrcParameters - - - CRC Parameters - - - - - CRC enable - - - - - CRC arithmetic - - - - - CRC start index - - - - - CRC end index - - - - - ToolBoxCommonServer - - - Address - - - - - Port - - - - + Clients - + - + Message - + - ToolBoxCommonTableView + SettingsPage - - Edit - + + General + - - Delete - + + High dpi scale factor rounding policy (need to reboot the app) + - - Clear - + + .5 + - - Import - + + Round up for .5 and above. + - - Export - + + Up + - - Append - + + Always round up. + - - Clear Items - + + Down + - - The items will be clear, please confirm the operaion. - + + Always round down. + - - The items will be clear and it will be remove from the settings file. You can backup the items by "Export" operation. - + + .75 + - - Remove a Item - + + Round up for .75 and above. + - - The item will be removed, please confirm the operation. - + + Don't + - - Please Select an Item - + + Don't round. + - - Please select an item fist, the operaion need you to specify an item. - + + Language + + + + + Font Family + + + + + Theme + + + + + Application theme + + + + + System + + + + + Dark + + + + + Light + + + + + Accent color + + + + + Primary color + + + + + Reset accent color and primary to default + + + + + Reset + - ToolBoxController + SystemTrayIcon - - - - Conf - + + Qt Swiss Army Knife + - - Close - + + Open main window + - - Open - - - - - Output settings - - - - - Outut format - - - - - Clear - - - - - Input settings - - - - - Timer sending - - - - - Disable - - - - - Input format - - - - - Send - + + Exit program + - ToolBoxDrawer + ToolWidget - - Device - + + Tool settings + - - Output - + + Start the tool + - - Input - - - - - ToolBoxDrawerDeviceAnalyzer - - - Analyzer - - - - - Enable frame analyzer - - - - - Fixed frame length - - - - - Frame bytes - - - - - Separation mark - - - - - Max temp bytes - - - - - ToolBoxDrawerDeviceMasker - - - Masker - - - - - Enable reading masker - - - - - Enable writing masker - - - - - Reading mask - - - - - Writing mask - - - - - ToolBoxDrawerInputCrc - - - CRC Calculator - - - - - CRC type - - - - - Start index - - - - - End index(from tail) - - - - - Append CRC(before suffix) - - - - - The start index is start from header, the first byte is 0. The end index is from tail, the last byte is 0. If parameters are set error, all bytes inputed will be calculated. - - - - - ToolBoxDrawerInputFileSendding - - - File sending - - - - - Frame length(byte) - - - - - Frame interval(ms) - - - - - SelectFile - - - - - StartSending - - - - - File name - - - - - ToolBoxDrawerInputPreprocessor - - - Data preprocessor - - - - - Prefix - - - - - Suffix - - - - - Escape character - - - - - ToolBoxDrawerOutputHighlighter - - - Highlighter - - - - - Key word - - - - - Append - - - - - Double click to delete key word - - - - - ToolBoxDrawerOutputPreprocessor - - - Preprocessor - - - - - Show read bytes - - - - - Show written bytes - - - - - Show date information - - - - - Show time information - - - - - Show ms information - - - - - Show wrap - - - - - ToolBoxDrawerOutputStorer - - - Storer - - - - - Enable data storer - - - - - Save date information - - - - - Save time information - - - - - Save ms information - - - - - Text format - - - - - Select - - - - - Text files (*.txt) - - - - - All files (*) - - - - - ToolBoxReadWrite - - - I/O - - - - - Emitter - - - - - Responser - - - - - PresetData - - - - - ToolBoxReadWriteEmitterPopup - - - Enable the item - - - - - Description - - - - - Item text format - - - - - Item escape - - - - - Item prefix - - - - - Item suffix - - - - - Item interval - - - - - Item text - - - - - Append CRC data - - - - - CRC arithmetic - - - - - CRC start index - - - - - CRC end index - - - - - Cancle - - - - - Apply - - - - - ToolBoxReadWriteInputOutput - - - Rx - - - - - Tx - - - - - Date - - - - - Time - - - - - MS - - - - - Wrap - - - - - Output text format - - - - - Cycle sending interval - - - - - Disable - - - - - Input text format - - - - - Send - - - - - ToolBoxReadWritePrestorerPopup - - - Description - - - - - Item text format - - - - - Item escape - - - - - Item prefix - - - - - Item suffix - - - - - Item text - - - - - Append CRC data - - - - - CRC arithmetic - - - - - CRC start index - - - - - CRC end index - - - - - Cancle - - - - - Apply - - - - - ToolBoxReadWriteResponserPopup - - - Enable the item - - - - - Description - - - - - Response options - - - - - Reference - - - - - Response - - - - - Text format - - - - - Item escape - - - - - Item prefix - - - - - Item suffix - - - - - Item interval - - - - - Item text - - - - - Append CRC data - - - - - CRC arithmetic - - - - - CRC start index - - - - - CRC end index - - - - - Cancle - - - - - Apply - + + Stop the tool + diff --git a/resources/translations/sak_zh_CN.qm b/resources/translations/sak_zh_CN.qm index 15185d83..6c977158 100644 Binary files a/resources/translations/sak_zh_CN.qm and b/resources/translations/sak_zh_CN.qm differ diff --git a/resources/translations/sak_zh_CN.ts b/resources/translations/sak_zh_CN.ts index e27b7802..ce2d1d90 100644 --- a/resources/translations/sak_zh_CN.ts +++ b/resources/translations/sak_zh_CN.ts @@ -1,518 +1,1378 @@ + + AboutPage + + + Version: + 软件版本: + + + + Report a bug: + 问题反馈: + + + + Build info: + 构建信息: + + + + User QQ Group: + 技术交流: + + + + Copy + 复制 + + + + Last commit(EasyDebug): + 提交指纹(EasyDebug): + + + + Last commit time(EasyDebug): + 提交时间(EasyDebug): + + + + Last commit(QtSwissArmyKnife): + 提交指纹(QtSwissArmyKnife): + + + + Last commit time(QtSwissArmyKnife): + 提交时间(QtSwissArmyKnife): + + + + Copyright information: + 版本信息: + + + + Application + + + Initializing... + 初始化... + + + + Initializing main window... + 初始化主窗口... + + + + Finished... + 完成... + + + + BleCentralController + + + Device list + 设备列表 + + + + filter + 过滤设备 + + + + Timeout + 超时时间 + + + + Services + 服务列表 + + + + Characteristics + 特征值 + + + + Writting + 写操作 + + + + Write + 写入 + + + + Write without Response + 写入(要求应答) + + + + Notify + 通知 + + + + Read + 读取 + + + + Unnotify + 取消通知 + + + + ClientController + + + + Address + 地址 + + + + + Port + 端口 + + + + Binding + 绑定 + + + + Specify client information + 指定客户端IP端口 + + + + Server settings + 服务器配置 + + + + Message + 消息类型 + + + + ColorDialog + + + + + + + Color + 颜色 + + + + ColorInputs + + + Hex + 16进制 + + + + RGB + + + + + HSV + + + + + HSL + + + + + CommunicationPage + + + System + 系统 + + + + CommunicationPageController + + + Close + 关闭设备 + + + + Open + 打开设备 + + + + CommunicationPageInput + + + Timed data + 定时发送 + + + + Set the text format of input text + 设置输入文本格式 + + + + Escape character + 转义字符 + + + + The prefix data + 数据前缀 + + + + The suffix data + 数据后缀 + + + + The CRC algorithm + CRC算法 + + + + Clear the input text + 清空输入框 + + + + [prefix][input][crc][suffix](crc data is input data) + [前缀][输入][CRC][后缀](CRC数据为输入框输入的数据) + + + + Send + 发送 + + + + CommunicationPageOutput + + + Set the text format of output text + 设置输出数据的格式 + + + + Show the read text + 显示接收数据 + + + + Show the written data + 显示发送数据 + + + + Show date information + 显示日期信息 + + + + Show time information + 显示时间信息 + + + + Show ms information + 显示毫秒信息 + + + + Auto wrap output text + 自动换行 + + + + Clear the output text + 清空输出文本 + + + + DFWDataView + + + Save + 保存 + + + + Text format + 文本格式 + + + + Cleear + 清空 + + + + DFWInput + + + + Send + 发送 + + + + + Escape + 转义 + + + + + Format + 数据格式 + + + + + Cycle + 循环发送 + + + + DFWMainWindow + + + + Tools list + 工具列表 + + + + + Filter + 过滤器 + + + + + Data view + 数据视图 + + + + DFWNodeControl + + + + Tool settings + 工具配置 + + + + + Start the tool + 启动工具 + + + + + Stop the tool + 停止工具 + + + + DFWOutput + + + + Pause output + 暂停输出 + + + + DFWOutputControl + + + Text format + 输出格式 + + + + Cleear + 清空 + + + + Save + 保存 + + + + FileDialog + + + + + + + File name + 文件名称 + + + + + + + + Filter + 过滤器 + + + + FontDialog + + + + + + + Writing System + 写系统 + + + + FontDialogContent + + + Family + + + + + Style + + + + + Size + + + + + Effects + + + + + Underline + + + + + Strikeout + + + + + Sample + + + + + HubModel + + + Hub + + + ImageLoaderModel Open Image - + Image Files (*.png *.jpg *.bmp) - + + + + + InputWidget + + + Send + 发送 + + + + Escape + 转义字符 + + + + Format + 数据格式 + + + + Cycle + 循环发送 + + + + Disable + 禁止发送 + + + + Keyboard + + + Remove from dictionary + + Context menu for word suggestion if it can be removed from the user dictionary. + + + + Block word + + Context menu for word suggestion if it can be removed from the default dictionary. MainWindow - + EasyDebug EasyDebug - - - MainWindowBleCentralPageController - - BLE central settings - + + Disable + 禁止 - - Device list - 设备列表 - - - - filter - - - - - Timeout - 超时时间 - - - - Services - - - - - Characteristics - - - - - Writting - - - - - Write - 写入 - - - - Write without Response - - - - - Notify - 通知 - - - - Read - 读取 - - - - Unnotify - - - - - MainWindowInfoPage - - - Version: - - - - - Report a bug: - - - - - Build info: - - - - - User QQ Group: - - - - - Copy - 复制 - - - - Copyright information: - - - - - MainWindowSerialPortPageController - - + None - + - - - + + MainWindow + - - - - + + Tools list + 工具列表 - - - - + + Filter + 过滤器 - - - - + + Data view + 数据视图 - - Serial port settings - 串口配置 + + mDNS Browser + - - Port names - + + _http._tcp.local. + - - Baud rate - 波特率 + + Browse + 发现 - - Stop bits - 停止位 + + Any + 所有 - - Data bits - 数据位 + + Key + - - Parity - 校验位 + + Value + - - - No - + + Test Service + 测试服务 - - Even - 偶校验 + + _test._tcp.local. + - - Odd - 奇校验 + + Show queries + - - Space - 空格校验 + + Initializing application + - - Mark - 标记校验 + + mDNS Provider + - - Flow control - 流控位 + + Service name: + - - Hardware - + + Service type: + - - Software - + + Service port: + - - Custom baud rate - + + Destroying provider + - - Ignore busy device - + + Creating provider + - - Auto update port names - - - - - MainWindowSettingsPage - - - General - 通用 + + Hostname changed to %1 + - - High dpi scale factor rounding policy (need to reboot the app) - + + [%1] %2 + - - .5 - + + Stop + 停止 - - Round up for .5 and above. - 缩放至x.5被。 + + Start + 开始字节 - - Up - + + (Community) + - - Always round up. - 总是放大。 + + &File + 文件(&F) - - Down - + + New Window + 新建窗口 - - Always round down. - 总是缩小。 + + Import Palette + 导入配色方案 - - .75 - + + Export Palette + 导出配色方案 - - Round up for .75 and above. - 缩放至x.75被。 + + Exit + 退出 - - Don't - + + &Tools + 工具(&T) - - Don't round. - 不缩放。 + + &Options + 选项(&O) - - UI - + + Application Style + 软件风格 - - Classical - 经典 + + Main Window + 退出操作 - - Modern - 现代 + + Exit to Sysytem Tray + 退出至系统托盘 - - Language - + + Settings + - - Font Family - + + Clear Configuration + 清空配置 - - Theme - + + Open configuration floder + 打开配置目录 - - Application theme - + + HDPI Policy + 适配策略 - + + Round up for .5 and above + 缩放至x.5倍 + + + + Always round up + 总是放大 + + + + Always round down + 总是缩小 + + + + Round up for .75 and above + 缩放至x.75倍 + + + + Don't round + 不缩放 + + + + System - 系统 + 系统 - - Dark - 暗色主题 - - - + Light - 亮色主题 + 亮色主题 - - Accent color - + + Dark + 暗色主题 - - Primary color - + + Palette + - - Reset accent color and primary to default - + + Custom + 自定义 - - Reset - + + &Languages + 语言(&L) + + + + &Help + 帮助(&H) + + + + + About Qt + 关于Qt + + + + About QtSwissArmyKnife + 关于软件 + + + + Buy from Microsoft App Store + 从微软商店购买 + + + + Get Source + 获取源码 + + + + GitHub + GitHub + + + + Gitee + Gitee + + + + + Release History + 发布历史 + + + + + QR Code + 扫码入群 + + + + Donate + 支持点赞 + + + + &Links + 链接(&L) + + + + Qt Official Download + Qt官方下载 + + + + Qt Official Blog + Qt官方博客 + + + + Qt Official Release + Qt官方发布 + + + + Download SAK from Github + 从github下载 + + + + Download SAK from Gitee + 从Gitee下载 + + + + Office Web Site + “官方网站” + + + + &Demo + 示例(&D) + + + + Qt SerialPort Demo + Qt串口编程示例 + + + + Hide Text + 隐藏文本 + + + + Click to show(hide) nav text + 点击显示/隐藏导航按钮文本 + + + + Log Viewer + 日志预览 + + + + Preferences + 偏好设置 + + + + Version + 软件版本 + + + + Edition + 软件类型 + + + + Author + 作者名称 + + + + Email + 作者邮箱 + + + + QQ + 联系作者 + + + + QQ Group + 用户交流 + + + + Build Time + 构建时间 + + + + Gitee Url + Gitee地址 + + + + Gitbub Url + Github地址 + + + + Copyright + 版本声明 + + + + Copyright 2018-%1 Qsaker(qsaker@foxmail.com). All rights reserved. + 版权声明 2018-%1 Qsaker(qsaker@foxmail.com)。保留所有版权。 + + + + About QSAK + 关于软件 + + + + Reboot application to effective + 重启软件生效配置 + + + + Need to reboot, reboot to effective now? + 需要重启软件,确定现在重启软件来生效配置吗? + + + + User QQ Group + 用户QQ交流群 + + + + Qt QQ Group + Qt技术交流群 + + + + + Save Palette + 保存 + + + + + All (*) + 所有文件 (*) + + + + File Exists + 文件已存在 + + + + The file is exists, import operaion failed + 文件已存在,导入操作失败 + + + + Data Flow Studio + + + + + + Save + + + + + The project has been modified, do you want to save it? + + + + + &Window + + + + + Tool Bar + + + + + Open project + + + + + Save project + + + + + Save as + + + + + Control Tool Bar + + + + + Start all nodes + + + + + Stop all nodes + + + + + Editor Tool Bar + + + + + Zoom in + + + + + Reset scene + + + + + Zoom out + + + + + Clear Current + + + + + Clear All + + + + + Save Current + + + + + Text (*.txt) + + + + + Warning + 警告 + + + + Failed to save file! + - MainWindowTcpClientPageController + MainWindowMenu - - TCP client settings - + + Open Settings File Dir + 打开配置文件所在目录 - - - MainWindowTcpServerPageController - - TCP server settings - + + Remove Settings File + 删除配置文件 + + + + Qt Technical Communication + Qt技术交流 + + + + &Exit + 退出(&E) MainWindowToolBar - - - - SerialPort - 串口调试 + + Serial Port + 串口助手 - - + + BLE Central + BLE中心设备 + + + UDP Client - UDP客户端 + UDP客户端 - - + UDP Server - UDP服务器 + UDP服务器 - - + TCP Client - TCP客户端 + TCP客户端 - - + TCP Server - TCP服务器 + TCP服务器 - - + WebSocket Client - WebSocket客户端 + WebSocket客户端 - - + WebSocket Server - WebSocket服务器 + WebSocket服务器 + + + + About + 关于软件 + + + + Settings + 软件设置 - MainWindowUdpClientPageController + MessageDialog - - UDP client settings - + + + + + + Hide Details... + 隐藏细节... + + + + + + + + Show Details... + 显示细节... - MainWindowUdpServerPageController + NodeEditor - - UDP server settings - + + Input Output + 输入输出 + + + + Hub + 数据枢纽 - MainWindowWebSocketClientPageController + OutputWidget - - WebSocket client settings - + + Pause output + 暂停输出 + + + + Output to + 输出至 + + + + Output format is + 输出格式为 - MainWindowWebSocketServerPageController + PdfLinkDelegate - - WebSocket server settings - + + Page %1 location %2, %3 zoom %4 + QObject - - Ascii Assistant - ASCII参考助手 - - - + Base64 Assisatnt - + Base64助手 - + Broadcast Assistant - + 广播助手 - + CRC Assistant - + CRC助手 - + File Check Assistant - 文件校验助手 + 文件校验助手 - + Number Assistant - + 数值助手 - + String Assistant - + 字符查看助手 - + CAN Bus Studio - + CNA Bus Studio - + Modbus Studio - + Modbus Studio - + (Community) - + + + + + ASCII Assistant + ASCII助手 + + + + Font Awesome Assistant + 文本字符助手 + + + + MDNS Assistant + mDNS助手 + + + + Ping Assistant + Ping助手 + + + + Communication tools + 通信工具 + + + + Data Process + 数据处理 + + + + Data Output + 数据输出 @@ -521,13 +1381,13 @@ Open Flow Scene - + Flow Scene Files (*.flow) - + @@ -535,12 +1395,12 @@ &Undo - + &Redo - + @@ -555,200 +1415,488 @@ SAKAnalyzerToolUi + + + + Analyzer parameters 帧分析器参数 + + + + Fixed length 固定长度 + + + + Frame length 帧长度(字节) + + + + Enable 使能 + + + + Max temp bytes 最大缓存字节 + + + + Separation mark 帧分割标志 + + + + Hex format 16进制格式 - SAKApplication + SAKAsciiAssistant - - Initializing... - 初始化... + + Filter + 过滤器 - - Initializing main window... - 初始化主窗口... + + Preserve case + 区分大小写 - - Finished... - 完成... + + Bin + 二进制 + + + + Oct + 八进制 + + + + Dec + 10进制 + + + + Hex + 16进制 + + + + Description + 描述 + + + + NUL (NULL)) + 空字符 + + + + SOH (Start Of Headling) + 标题开始 + + + + STX (Start Of Text) + 正文开始 + + + + ETX (End Of Text) + 正文结束 + + + + EOT (End Of Transmission) + 传输结束 + + + + ENQ (Enquiry) + 请求 + + + + ACK (Acknowledge) + 回应/响应/收到通知 + + + + BEL (Bell) + 响铃 + + + + BS (Backspace) + 退格 + + + + HT (Horizontal Tab) + 水平制表符 + + + + LF/NL(Line Feed/New Line) + 换行键 + + + + VT (Vertical Tab) + 垂直制表符 + + + + FF/NP (Form Feed/New Page) + 换页键 + + + + CR (Carriage Return) + 回车键 + + + + SO (Shift Out) + 不用切换 + + + + SI (Shift In) + 启用切换 + + + + DLE (Data Link Escape) + 数据链路转义 + + + + DC1/XON(Device Control 1/Transmission On) + 设备控制1/传输开始 + + + + DC2 (Device Control 2) + 设备控制2 + + + + DC3/XOFF(Device Control 3/Transmission Off) + 设备控制3/传输中断 + + + + DC4 (Device Control 4) + 设备控制4 + + + + NAK (Negative Acknowledge) + 无响应/非正常响应/拒绝接收 + + + + SYN (Synchronous Idle) + 同步空闲 + + + + ETB (End of Transmission Block) + 传输块结束/块传输终止 + + + + CAN (Cancel) + 取消 + + + + EM (End of Medium) + 已到介质末端/介质存储已满/介质中断 + + + + SUB (Substitute) + 替补/替换 + + + + ESC (Escape) + 逃离/取消 + + + + FS (File Separator) + 文件分割符 + + + + GS (Group Separator) + 组分隔符/分组符 + + + + RS (Record Separator) + 记录分离符 + + + + US (Unit Separator) + 单元分隔符 + + + + (Space) + (空格) + + + + DEL (Delete) + (删除) SAKAssistantsFactory - + CRC Assistant 冗余校验助手 - + ASCII Assistant 标准字符助手 - + File Check Assistant 文件校验助手 - + Number Assistant 数值助手 - + String Assistant 字符查看助手 - + Broadcast Assistant 网络广播助手 - + Base64 Assistant Base64助手 + + + MDNS Assistant + mDNS助手 + + + + Ping Assistant + Ping助手 + SAKBase64Assisatnt + + Base64 Assistant Base64助手 + + Plaintext 明文 + + Ciphertext 密文 + + Image 图片 + + Decrypt 解码 + + Encrypt 编码 - + Data error 数据错误 - + Data can not convert image. - 数据无法转换为图片 + 数据无法转换为图片。 SAKBleCentralToolUi + + + + Form BLE + + + + Notify 启用通知 + + + + Read 读特征值 + + + + Characteristic 特征列表 + + + + Devices 设备列表 + + + + Service 服务列表 + + + + Write way 写入方式 + + + + WriteWithResponse 需要应答 + + + + WriteWithoutResponse 不需要应答 + + + + Settings 更多设置 + + + + Scan 开始扫描 + + + + (Unsupported characteristic) (暂不支持该类型特征值) @@ -794,78 +1942,109 @@ SAKBroadcastAssistant - + + + Broadcast parameters 广播参数 - + + + Broadcast port 广播端口 - + + + Broadcast suffix 消息后缀 - + + Output control + 输出控制 + + + + + Broadcast prefix 消息前缀 - + + + Broadcast data 广播数据 - + + + Broadcast interval 广播间隔 - + + + Data format 数据格式 - - + + + + Broadcast 广播 - + + + Broadcast address 广播地址 - + + + 55443 55443 - + + + Information output 信息输出 - + + + Output format 输出格式 - + + + Clear 清空 - + Broadcast Assistant 广播助手 - + Terminate 终端 @@ -874,239 +2053,333 @@ SAKCRCAssistant + + CRC Assistant - + 冗余校验助手 + + Paloy value - 负载数据 + 负载数据 + + Initial value - 初始取值 + 初始取值 + + + + Copy - 复制 + 复制 + + More information about crc calculation, visit http://www.ip33.com/crc.html(double clicked to visit) - 更多信息请访问:http://www.ip33.com/crc.html(双击访问) + 更多信息请访问:http://www.ip33.com/crc.html(双击访问) + + Input reversal - 输入翻转 + 输入翻转 + + Output reversal - 输出翻转 + 输出翻转 + + Clear - + 清空 + + Calculate - 计算 + 计算 + + Parameters - + 算法参数 + + XOR value - 异或值 + 异或值 + + Height its is on the left and the low bits is on the right - 高字节在左边,低字节在右边 + 高字节在左边,低字节在右边 + + HEX - + 16进制 + + ASCII - + ASCII + + Result(HEX) - 结果(16进制) + 结果(16进制) + + Parameter model - 参数模型 + 参数模型 + + Width - 位宽 + 位宽 + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'SimSun';"><br /></p></body></html> - + + + Paloy - 负载 + 负载 + + Input data - 输入数据 + 输入数据 + + Result(BIN) - 结果(二进制) + 结果(二进制) SAKCanBusUi + + CANBus Studio CANBus Studio + + CAN frame + + Bitrate switch 波特率 + + Frame type 帧类型 + + Flexible data-rate 动态速率 + + Extended format 扩展格式 + + Send CAN frame 发送帧 + + Frame ID 帧ID + + Payload 负载 + + Send 发送 + + Console 终端 + + Select plugin 选择插件 + + Disconnect 断开 + + Connect 连接 + + Specify configuration 指定配置 + + Custom data bitrate 自定义数据速率 + + Custom bitrate 自定义波特率 + + CAN FD CAN FD + + Loopback 回显方式 + + Bitrate 数据速率 + + Interface 接口名称 + + Data bitrate 数据速率 + + Receive own 接收自身 + + Error filter 错误过滤 + + Custom configurations 自定义配置 @@ -1188,199 +2461,34 @@ p, li { white-space: pre-wrap; } - SAKCommonDataStructure + SAKCrcCalculatorToolUi - - BIN - 二进制 + + + + Start index + 开始字节 - - TEXT - 文本 + + + + End index + 结束字节 - - - None - - - - - SAKCommonInterface - - - - No - + + + + Algorithm + 校验算法 - - Even - 偶校验 - - - - Odd - 奇校验 - - - - Space - 空格校验 - - - - Mark - 标记校验 - - - - Hardware - 硬件流控 - - - - Software - 软件流控 - - - - SAKCommonMainWindow - - - &File - 文件(&F) - - - - &Exit - - - - - &Options - 选项(&O) - - - - &Languages - 语言(&L) - - - - &Help - 帮助(&H) - - - - User QQ Group - 用户QQ交流群 - - - - &About - - - - - Application Style - 软件风格 - - - - Settings - - - - - Clear Configuration - 清空配置 - - - - Open configuration floder - 打开配置目录 - - - - HDPI Policy - 适配策略 - - - - Round up for .5 and above - 缩放至x.5倍 - - - - Always round up - 总是放大 - - - - Always round down - 总是缩小 - - - - Round up for .75 and above - 缩放至x.75倍 - - - - Don't round - 不缩放 - - - - System - 系统 - - - - (Part of Qt Swiss Army knife) - - - - - Author: - - - - - Email: - - - - - Commit: - - - - - Date: - - - - - Copyright 2023-%1 Qsaker(qsaker@foxmail.com). All rights reserved. - 版权声明 2018-%1 Qsaker(qsaker@foxmail.com)。保留所有版权。 {2023-%1 ?}。 - - - - About - - - - - Reboot application to effective - 重启软件生效配置 - - - - Need to reboot, reboot to effective now? - 需要重启软件,确定现在重启软件来生效配置吗? + + + + BigEndian + 大端字节 @@ -1388,73 +2496,112 @@ p, li { white-space: pre-wrap; } Calculating finished - 计算完成 + 计算完成 + + + + SAKDataStructure + + + BIN + 二进制 + + + + TEXT + 文本 + + + + + None + + + + + Bin + 二进制 + + + + Oct + 八进制 + + + + Dec + 10进制 + + + + Hex + 16进制 SAKEmitterTool - + Enable 使能标志 - + Description 消息描述 - + Format 数据格式 - + Escape Character 转义字符 - + Prefix 消息前缀 - + Suffix 消息后缀 - + Interval 消息间隔 - + Append CRC 数据校验 - + Big Endian 大端字节 - + Algorithm 校验算法 - + Start Index 开始字节 - + End Index 结束字节 - + Data 消息数据 @@ -1464,108 +2611,188 @@ p, li { white-space: pre-wrap; } Form - + SAKEmitterToolUiEditor + + + + Cancel 取消 + + + + Apply 应用 + + + + Parameters 消息参数设置 + + + + Append CRC data 追加CRC数据 + + + + The CRC start index is start form header, the first byte is 0. CRC开始索引从左边开始,第一字节为0. + + + + Format 数据格式 + + + + The CRC end index is from tail, the last byte of data is 0. CRC结束字节从右边开始,第一字节为0. + + + + Data 消息数据 + + + + Big endian byte order CRC数据为大端字节序 + + + + Start index 开始字节 + + + + Note: 注意: + + + + Algorithm 校验算法 + + + + Escape 转义字符 + + + + Enable 使能 + + + + Prefix 消息前缀 + + + + Interval 消息间隔 + + + + Sufix 消息后缀 + + + + End index 结束字节 + + + + Description 消息描述 + + + + If the parameters of CRC is set error, all bytes of data will be calculcated. 如果参数设置错误,所有数据字节用于计算CRC. @@ -1578,7 +2805,7 @@ p, li { white-space: pre-wrap; } SAKEscComboBox - + None @@ -1595,59 +2822,75 @@ p, li { white-space: pre-wrap; } SAKFileCheckAssistant + + Form - + + + Upper result - 大写 + 大写 + + Checked file - 校验文件 + 校验文件 + + Checked progress - 检验进度 + 检验进度 + + Checked algorithm - 检验算法 + 检验算法 + + Checked result - 校验结果 + 校验结果 - + + + Calculate - 计算 + 计算 + + Open - + 打开设备 File Check Assistant - 文件校验助手 + 文件校验助手 - + Remaining time - 剩余时间 + 剩余时间 - + StopCalculating - 停止校验 + 停止校验 @@ -1669,518 +2912,422 @@ p, li { white-space: pre-wrap; } - SAKLog + SAKFontAwesomeAssistant - - Log Type - 日志类型 + + + Font Awesome Assistant + 文本图标助手 - - Log Category - 日志分类 + + + Filter + 过滤器 + + + + SAKFontAwesomeIcon + + + + Info + 信息 + + + + SAKInterface + + + + No + - - Log Detail - 日志详情 + + Even + 偶校验 + + + + Odd + 奇校验 + + + + Space + 空格校验 + + + + Mark + 标记校验 + + + + Hardware + 硬件 + + + + Software + 软件 SAKLogUi - + + + + Form Form - + + + + Pause 暂停输出 - + + + + Log level 日志等级 - + + + + Life cycle(days) 保存时长(天) - + + + + 1 - + + + + 5 - + + + + 10 - + + + + 15 - + + + + 20 - + + + + 25 - + + + + 30 - + + + + 60 - + + + + 90 - + + + + 120 - + + + + Directory 日志目录 - + + + + Clear 清空输出 - - - Disable - 禁止 - - - - Debug - 调试 - - - - Info - 信息 - - - - Warning - 警告 - - - - Error - 错误 - - - - Clear Log Outputted - 清空日志输出 - - - - The log outputted will be empty, but the log file will not! - 输出日志将被清空,但日志文件不会被清空! - SAKMainWindow - + + MainWindow - + &File 文件(&F) - - New Window - 新建窗口 - - - - Import Palette - 导入配色方案 - - - - - Save Palette - 保存 - - - - - All (*) - 所有文件 (*) - - - - File Exists - 文件已存在 - - - - The file is exists, import operaion failed - 文件已存在,导入操作失败 - - - - Export Palette - 导出配色方案 - - - - (Community) - - - - - Exit - 退出 - - - - &Tools - 工具(&T) - - - + &Options 选项(&O) - + Application Style 软件风格 - - Main Window - 退出操作 + + &Exit + 退出(&E) - - Exit to Sysytem Tray - 退出至系统托盘 + + &About + 关于软件(&A) - + Settings 配置内容 - + Clear Configuration 清空配置 - + Open configuration floder 打开配置目录 - + HDPI Policy 适配策略 - - + System 系统 - - Light - 亮色主题 + + (Part of Qt Swiss Army knife) + (软件为开源项目:瑞士军刀(QtSwissArmyKnife)的一部分) - - Dark - 暗色主题 + + Author: + 软件作者: - - Palette - 配色方案 + + Email: + 联系邮箱: - - Custom - 自定义 + + Commit: + 提交指纹: - + + Date: + 提交日期: + + + + About + 关于软件 + + + &Languages 语言(&L) - + &Help 帮助(&H) - - - About Qt - 关于Qt - - - - About QtSwissArmyKnife - 关于软件 - - - - Donate - 支持点赞 - - - + Copyright 2018-%1 Qsaker(qsaker@foxmail.com). All rights reserved. 版权声明 2018-%1 Qsaker(qsaker@foxmail.com)。保留所有版权。 - - Get Source - 获取源码 - - - + Round up for .5 and above 缩放至x.5倍 - + Always round up 总是放大 - + Always round down 总是缩小 - + Round up for .75 and above 缩放至x.75倍 - + Don't round 不缩放 - - Buy from Microsoft App Store - 从微软商店购买 - - - - GitHub - GitHub - - - - Gitee - Gitee - - - - - Release History - 发布历史 - - - - - QR Code - 扫码入群 - - - - &Links - 链接(&L) - - - - Qt Official Download - Qt官方下载 - - - - Qt Official Blog - Qt官方博客 - - - - Qt Official Release - Qt官方发布 - - - - Download SAK from Github - 从github下载 - - - - Download SAK from Gitee - 从Gitee下载 - - - - Office Web Site - “官方网站” - - - - &Demo - 示例(&D) - - - - Qt SerialPort Demo - Qt串口编程示例 - - - - Hide Text - 隐藏文本 - - - - Click to show(hide) nav text - 点击显示/隐藏导航按钮文本 - - - - Log Viewer - 日志预览 - - - - Preferences - 偏好设置 - - - - Version - 软件版本 - - - - Edition - 软件类型 - - - - Author - 作者名称 - - - - Email - 作者邮箱 - - - - QQ - 联系作者 - - - - QQ Group - 用户交流 - - - - Build Time - 构建时间 - - - - Gitee Url - Gitee地址 - - - - Gitbub Url - Github地址 - - - - Copyright - 版本声明 - - - - About QSAK - 关于软件 - - - + Reboot application to effective 重启软件生效配置 - + Need to reboot, reboot to effective now? 需要重启软件,确定现在重启软件来生效配置吗? - + User QQ Group 用户QQ交流群 - - - Qt QQ Group - Qt技术交流群 - SAKMaskerToolUi + + + + Masker 掩码器 + + + + Mask code 掩码 + + + + Enable 使能 + + SAKMdnsAssistant + + + Service type + 服务类型 + + + + + Start + 开始发现 + + + + Error occurred + 出现错误 + + + + Service type can not be empty, please input then try again. + 服务类型不能为空,请输入后重试。 + + + + Type + 类型 + + + + Hostname + 主机名称 + + + + Port + 端口 + + + + Attributes + 属性 + + + + Stop + 停止 + + SAKModbusFactory @@ -2208,167 +3355,233 @@ p, li { white-space: pre-wrap; } SAKModbusUi + + Network settings 网络配置 + + Port 端口 + + Address 地址 + + Timeout 超时时间 + + Repeat times 重试次数 + + Colsole 终端 + + Client registers 客户端寄存器 + + Protocol data unit PDU + + pdu(no server address, no crc, such read 2 coils: 01 00 00 00 01) PDU + + Send 发送 + + Server registers 服务器寄存器 + + Server parameters 服务器参数 + + Server address 服务器地址 + + Serial port settings 串口配置 + + Data bits 数据位 + + Port name 设备名 + + Device busy 设备繁忙 + + Listen only mode 监听模式 + + Stop bits 停止位 + + Parity 校验位 + + Custom command 自定义数据 + + Baud rate 波特率 + + Device operations 设备选项 + + Device list 设备列表 + + CloseDevice 关闭设备 + + OpenDevice 打开设备 + + Client operaions 客户端选项 + + Target address 目标地址 + + Start address 开始地址 + + Address number 地址数据 + + Read 读取 + + Write 写入 + + Function code 功能码 @@ -2517,37 +3730,75 @@ p, li { white-space: pre-wrap; } SAKNumberAssistant - + + + Raw data 原始数据 - + + Cooked data(Hex) + 转换数据(16进制) + + + + Cooked data type + 转换类型 + + + + Cooked data(Dec) + 转换数据(10进制) + + + + Such as: 1, -1, 1.1, -1.1 + 例如:1, -1, 1.1, -1.1 + + + + Cooked data(Bin) + 转换数据(二进制) + + + + From left to right is high to low + 从左到右为高位到地位 + + + + Cooked data 处理数据 - + + Float 浮点数据 - + + Double 双精度浮点数 - + + HexRawData 16进制数据 - + + Big endian 大端字节 - + + Create 生成 @@ -2580,6 +3831,126 @@ p, li { white-space: pre-wrap; } 标记校验 + + SAKPingAssistant + + + MainWindow + + + + + Total: --, Active: --, Finished: --, Remain: -- + 全部:--,活跃:--,完成:--,剩余:-- + + + + Target Address + 目标地址 + + + + Online Status + 在线状态 + + + + Comparing + 比较 + + + + Host Name + 主机名称 + + + + Start scan + 开始扫描 + + + + Pause scan + 暂停扫描 + + + + Stop scan + 停止扫描 + + + + Start address + 开始地址 + + + + End address + 结束地址 + + + + Show all + 显示全部 + + + + Show online + 显示在线 + + + + + + IP Error + IP错误 + + + + IP settings error, the start ip and end ip must be set, please check and try again. + IP设置错误,必须设置开始IP和结束IP,请检查后重试。 + + + + IP settings error, the start ip and end ip must be in the same network segment, please check and try again. + IP设置错误,开始IP和结束IP不在同一个网段,请检查后重试。 + + + + IP settings error, the start ip must be less than the end ip, please check and try again. + IP设置错误,开始IP必须小于结束IP,请检查后重试。 + + + + Total:%1,Active:%2,Finished:%3,Remain:%4 + 全部:%1,活跃:%2,完成:%3,剩余:%4 + + + + Scanning + 扫描中 + + + + Online + 在线 + + + + Offline + 离线 + + + + Scanning Finished + 扫描完成 + + + + Scanning finished, you can screen out the result by the toolbar. + 扫描完成,你可以通过工具栏导出结果。 + + SAKPreferencesUi @@ -2655,71 +4026,127 @@ p, li { white-space: pre-wrap; } SAKPrestorerToolUiEditor + + + + Cancel 取消 + + + + OK 确定 + + + + Parameters 消息参数设置 + + + + Format 数据格式 + + + + Suffix 消息后缀 + + + + Big endian byte order CRC数据为大端字节序 + + + + Algorithm 校验算法 + + + + Data 消息数据 + + + + Escape 转义字符 + + + + Description 消息描述 + + + + Prefix 消息前缀 + + + + Append CRC data 追加CRC数据 + + + + Start index 开始字节 + + + + End index 结束字节 @@ -2732,7 +4159,7 @@ p, li { white-space: pre-wrap; } SAKRNComboBox - + None @@ -2788,27 +4215,27 @@ p, li { white-space: pre-wrap; } SAKResponseOptionsComboBox - + Echo 回显 - + Aways 总是 - + InputEqualReference 接收数据等于参考数据 - + InputContainReference 接收数据包含参考数据 - + InputDiscontainReference 接收数据不包含参考数据 @@ -2940,114 +4367,230 @@ p, li { white-space: pre-wrap; } SAKResponserToolUiEditor + + + + OK 确定 + + + + Cancel 取消 + + + + Parameters 参数 + + + + + + + + Big endian byte order CRC数据为大端字节序 + + + + + + + + End index 结束字节 + + + + Reference data 参考数据 + + + + + + + + Prefix 消息前缀 + + + + Delay(ms) 应答延时 + + + + Enable 使能 + + + + + + + + Suffix 消息后缀 + + + + + + + + Start index 开始字节 + + + + Reference 参考数据 + + + + + + + + Escape 转义字符 + + + + + + + + Algorithm 校验算法 + + + + Response data 应答数据 + + + + Format 数据格式 + + + + + + + + Append CRC data 追加CRC数据 + + + + Fromat 数据格式 + + + + Description 应答描述 + + + + Response 应答数据 + + + + Option 应答选项 @@ -3061,31 +4604,55 @@ p, li { white-space: pre-wrap; } SAKSerialPortToolUi + + + + Port name 端口名 + + + + Baud rate 波特率 + + + + Data bits 数据位 + + + + Stop bits 停止位 + + + + Parity 校验位 + + + + Flow control 流控位 @@ -3137,51 +4704,91 @@ p, li { white-space: pre-wrap; } SAKSerialPortTransmitterToolUiEditor + + + + Serial Port Transmitter Item Editor 串口转发编辑器 + + + + Parity 校验位 + + + + Stop bits 停止位 + + + + Enable 启用 + + + + Baudrate 波特率 + + + + Data bits 数据位 + + + + Port name 设备名 + + + + Flow control 流控位 + + + + Cancel 取消 + + + + Apply 应用 @@ -3190,41 +4797,73 @@ p, li { white-space: pre-wrap; } SAKSocketClientToolUi + + + + Client port 客户端端口 + + + + (closed) (关闭) + + + + Server IP 服务器地址 + + + + Server port 服务器端口 + + + + Context 绑定的信息 + + + + Message 消息的类型 + + + + Client IP 客户端地址 + + + + Specify ip and port 指定客户端的地址和端口 @@ -3237,37 +4876,37 @@ p, li { white-space: pre-wrap; } SAKSocketClientTransmitterTool - + Enable 使能 - + ClientIp 客户端地址 - + ClientPort 客户端端口 - + SpecifiedClientIpAndPort 指定IP端口 - + ServerIp 服务器地址 - + ServerPort 服务器端口 - + MessageType 消息的类型 @@ -3276,51 +4915,91 @@ p, li { white-space: pre-wrap; } SAKSocketClientTransmitterToolUiEditor + + + + Item Editor 网络客户端数据转发编辑器 + + + + enable 使能 + + + + Client IP 客户端地址 + + + + Specified client ip and port 指定客户端地址与端口 + + + + Server IP 服务器地址 + + + + Client port 客户端端口 + + + + Server port 服务器端口 + + + + Cancel 取消 + + + + Apply 应用 + + + + Message type 消息的类型 @@ -3329,46 +5008,82 @@ p, li { white-space: pre-wrap; } SAKSocketServerToolUi + + + + (closed) (关闭) + + + + Server port 服务器端口 + + + + Target 目标客户端 + + + + Clear 清空 + + + + All clients 所有客户端 + + + + Binding 绑定的信息 + + + + Server IP 服务器地址 + + + + Message 消息的类型 + + + + Specify ip and port 指定服务器的地址和端口 @@ -3382,16 +5097,28 @@ p, li { white-space: pre-wrap; } SAKStatisticianToolUi + + + + Form + + + + Frames: 帧数: + + + + Bytes: 字节: @@ -3400,51 +5127,91 @@ p, li { white-space: pre-wrap; } SAKStorerToolUi + + + + Storer 持久化参数 + + + + Saving file path 保存路径 + + + + Browser 浏览 + + + + Save time 保存时间 + + + + Save date 保存日期 + + + + Save tx 保存发送 + + + + Save rx 保存接收 + + + + Save format 保存格式 + + + + Save ms 保存毫秒 + + + + Enable 使能 @@ -3463,143 +5230,167 @@ p, li { white-space: pre-wrap; } SAKStringAssistant + + Raw data 原始数据 + + Input format 输入格式 + + Cooked data 处理数据 + + Output format 输出格式 + + Create 生成 - - SAKSystemTrayIcon - - - Qt Swiss Army Knife - 瑞士军刀 - - - - Open main window - 打开主窗口 - - - - Exit program - 退出程序 - - SAKTableModelToolUi + + + + Form + + + + Export 导出 + + + + Import 导入 + + + + Delete 删除 + + + + Append 添加 + + + + Clear 清空 + + + + Visible 可见性 + + + + Edit 编辑 - + Please Select an Item 未选中 - + Please select an tiem first, then try again! 请指定要删除的行后再重新尝试! - + Invalid Parameter 非法参数 - + The value of mTableModelTool is nullptr, you must called initialize() first! 请先初始化后重试! - + Clear Data 清空数据 - + The data will be empty from settings file, please confrim the operation! 数据将会被清楚,请确认该操作! - + Delete Data 删除数据 - + The data will be delete from settings file, please confrim the operation! 数据将被删除,请确认操作! - - + + Import data 导入数据 - + JSON (*.json);;All (*) - + JSON (*.json);;All (*); @@ -3608,12 +5399,18 @@ p, li { white-space: pre-wrap; } SAKToolBoxUi + + Clear 清空输出 + + + + Format 数据格式 @@ -3621,115 +5418,169 @@ p, li { white-space: pre-wrap; } + + + + + + Settings 更多设置 + + + + Rx 显示接收 + + Cycle 循环发送 - + + + Open 打开设备 + + MS 显示毫秒 + + Send 发送数据 + + Date 显示日期 + + Time 显示时间 + + + + Tx 显示发送 + + Wrap 自动换行 + + Input control 输入控制 + + Transmitter 数据转发 + + Tab 1 + + Tab 2 + + Output control 输出控制 + + Communication control 通信控制 + + I/O 数据收发 + + Input 数据输入 + + Output 数据输出 + + Emiter 自动发送 + + Responser 自动应答 + + + + Prestorer 预设数据 @@ -3774,17 +5625,17 @@ p, li { white-space: pre-wrap; } BLE中心设备 - + Close 关闭设备 - + Disable 禁止 - + SerialPort Transmitter 转发 @@ -3793,22 +5644,22 @@ p, li { white-space: pre-wrap; } - + UDP UDP转发 - + TCP TCP转发 - + WebSocket WebSocket转发 - + Error Occured 出现错误 @@ -3817,59 +5668,67 @@ p, li { white-space: pre-wrap; } SAKToolBoxUiCommunicationMenu + + Form - - - Tx analyzer - 发送帧分析器 - - - - Rx analyzer - 接受帧分析器 - SAKToolBoxUiInputMenu + + Append prefix 追加前缀 + + Escape character 转义字符 + + Append suffix 追加后缀 + + Big endian CRC 大端字节序 + + CRC end index 结束字节 + + CRC algorithm 算法模型 + + Append CRC 追加CRC数据 + + CRC start index 开始字节 @@ -3878,832 +5737,416 @@ p, li { white-space: pre-wrap; } SAKToolBoxUiOutputMenu + + Form + + Filter 过滤器 + + High light key words(separator is' ;') 高亮关键词(使用;隔开) + + Such as:hello;world 例如:hello;world + + SAKToolFactory + + + Analyzer + 分析器 + + + + Serialport + 串口助手 + + + + Emitter + 定时发送 + + + + Masker + 掩码器 + + + + Responser + 自动应答 + + + + Storer + 持久化参数 + + + + Prestore + 预设数据 + + + + Velometer + 速度计 + + + + UdpClient + UDP客户端 + + + + UdpServer + UDP服务器 + + + + TcpClient + TCP客户端 + + + + TcpServer + TCP服务器 + + + + WebSocketClient + WebSocket客户端 + + + + WebSocketServer + WebSocket服务器 + + + + BleCentral + BLE中心设备 + + + + BlePeriheral + BLE外围设备 + + + + Statistitician + 统计器 + + + + SerialPortTransmitter + 串口转发器 + + + + UdpTransmitter + UDP转发器 + + + + TcpTransmitter + TCP转发器 + + + + WebSocketTransmitter + WebSocket转发器 + + + + CrcCalculator + CRC计算器 + + + + Unknown + 未知 + + SAKVelometerToolUi + + + + Form + + + + Velometer: 速度: - ToolBoxCommonClient + SerialPortController - - + + Port name + 端口名 + + + + Baud rate + 波特率 + + + + Stop bits + 停止位 + + + + Data bits + 数据位 + + + + Parity + 校验位 + + + + + None + + + + + Even + 偶校验 + + + + Odd + 奇校验 + + + + Space + 空格校验 + + + + Mark + 标记校验 + + + + Flow control + 流控位 + + + + Hardware + 硬件 + + + + Software + 软件 + + + + ServerController + + Address 地址 - - - Port - 导出 - - - - Binding - 绑定 - - - - Specify client information - 指定客户端IP端口 - - - - Server settings - 服务器配置 - - - - Message - 消息 - - - - ToolBoxCommonCrcParameters - - - CRC Parameters - CRC参数 - - - - CRC enable - 追加CRC数据 - - - - CRC arithmetic - 算法 - - - - CRC start index - 开始字节 - - - - CRC end index - 结束字节 - - - - ToolBoxCommonServer - - - Address - 地址 - - - + Port 端口 - + Clients 客户端列表 - + Message - 消息 + 消息类型 - ToolBoxCommonTableView + SettingsPage - - Edit - 编辑 + + General + 通用 - - Delete - 删除 + + High dpi scale factor rounding policy (need to reboot the app) + HDPI缩放比例因子四舍五入策略(需要重启软件) - - Clear - + + .5 + - - Import - 导入 + + Round up for .5 and above. + 缩放至x.5被。 - - Export - 导出 + + Up + 放大 - - Append - 添加 + + Always round up. + 总是放大。 - - Clear Items - + + Down + 缩小 - - The items will be clear, please confirm the operaion. - + + Always round down. + 总是缩小。 - - The items will be clear and it will be remove from the settings file. You can backup the items by "Export" operation. - + + .75 + - - Remove a Item - + + Round up for .75 and above. + 缩放至x.75被。 - - The item will be removed, please confirm the operation. - + + Don't + 不缩放 - - Please Select an Item - 未选中 + + Don't round. + 不缩放。 - - Please select an item fist, the operaion need you to specify an item. - + + Language + 语言选择 + + + + Font Family + 字体 + + + + Theme + 主题 + + + + Application theme + 软件主题 + + + + System + 系统 + + + + Dark + 暗色主题 + + + + Light + 亮色主题 + + + + Accent color + 强调色 + + + + Primary color + 主题色 + + + + Reset accent color and primary to default + 将强调色和主题色重置为默认 + + + + Reset + 重置 - ToolBoxController + SystemTrayIcon - - - - Conf - + + Qt Swiss Army Knife + Qt Swiss Army Knife - - Close - 关闭 + + Open main window + 打开主窗口 - - Open - - - - - Output settings - - - - - Outut format - - - - - Clear - - - - - Input settings - - - - - Timer sending - - - - - Disable - 禁止 - - - - Input format - 输入格式 - - - - Send - + + Exit program + 退出程序 - ToolBoxDrawer + ToolWidget - - Device - + + Tool settings + 工具设置 - - Output - 数据输出 + + Start the tool + 启动工具 - - Input - 输入数据 - - - - ToolBoxDrawerDeviceAnalyzer - - - Analyzer - - - - - Enable frame analyzer - - - - - Fixed frame length - - - - - Frame bytes - - - - - Separation mark - 帧分割标志 - - - - Max temp bytes - 最大缓存字节 - - - - ToolBoxDrawerDeviceMasker - - - Masker - 掩码器 - - - - Enable reading masker - - - - - Enable writing masker - - - - - Reading mask - - - - - Writing mask - - - - - ToolBoxDrawerInputCrc - - - CRC Calculator - - - - - CRC type - - - - - Start index - 开始字节 - - - - End index(from tail) - - - - - Append CRC(before suffix) - - - - - The start index is start from header, the first byte is 0. The end index is from tail, the last byte is 0. If parameters are set error, all bytes inputed will be calculated. - - - - - ToolBoxDrawerInputFileSendding - - - File sending - - - - - Frame length(byte) - - - - - Frame interval(ms) - - - - - SelectFile - - - - - StartSending - - - - - File name - - - - - ToolBoxDrawerInputPreprocessor - - - Data preprocessor - - - - - Prefix - 消息前缀 - - - - Suffix - 消息后缀 - - - - Escape character - 转义字符 - - - - ToolBoxDrawerOutputHighlighter - - - Highlighter - - - - - Key word - - - - - Append - 添加 - - - - Double click to delete key word - - - - - ToolBoxDrawerOutputPreprocessor - - - Preprocessor - - - - - Show read bytes - - - - - Show written bytes - - - - - Show date information - - - - - Show time information - - - - - Show ms information - - - - - Show wrap - - - - - ToolBoxDrawerOutputStorer - - - Storer - 持久化参数 - - - - Enable data storer - - - - - Save date information - - - - - Save time information - - - - - Save ms information - - - - - Text format - - - - - Select - - - - - Text files (*.txt) - - - - - All files (*) - - - - - ToolBoxReadWrite - - - I/O - 输入输出 - - - - Emitter - - - - - Responser - 自动应答 - - - - PresetData - - - - - ToolBoxReadWriteEmitterPopup - - - Enable the item - - - - - Description - 描述 - - - - Item text format - - - - - Item escape - - - - - Item prefix - - - - - Item suffix - - - - - Item interval - - - - - Item text - - - - - Append CRC data - 追加CRC数据 - - - - CRC arithmetic - 算法 - - - - CRC start index - 开始字节 - - - - CRC end index - 结束字节 - - - - Cancle - - - - - Apply - 应用 - - - - ToolBoxReadWriteInputOutput - - - Rx - 显示接收 - - - - Tx - 显示发送 - - - - Date - 显示日期 - - - - Time - 显示时间 - - - - MS - 显示毫秒 - - - - Wrap - 自动换行 - - - - Output text format - - - - - Cycle sending interval - - - - - Disable - 禁止 - - - - Input text format - - - - - Send - - - - - ToolBoxReadWritePrestorerPopup - - - Description - 描述 - - - - Item text format - - - - - Item escape - - - - - Item prefix - - - - - Item suffix - - - - - Item text - - - - - Append CRC data - 追加CRC数据 - - - - CRC arithmetic - 算法 - - - - CRC start index - 开始字节 - - - - CRC end index - 结束字节 - - - - Cancle - - - - - Apply - 应用 - - - - ToolBoxReadWriteResponserPopup - - - Enable the item - - - - - Description - 描述 - - - - Response options - - - - - Reference - 参考数据 - - - - Response - 应答数据 - - - - Text format - - - - - Item escape - - - - - Item prefix - - - - - Item suffix - - - - - Item interval - - - - - Item text - - - - - Append CRC data - 追加CRC数据 - - - - CRC arithmetic - 算法 - - - - CRC start index - 开始字节 - - - - CRC end index - 结束字节 - - - - Cancle - - - - - Apply - 应用 + + Stop the tool + 停止工具 diff --git a/src/common/commonui/sakmainwindow.cc b/src/common/commonui/sakmainwindow.cc index 7a64728a..70b3dc8a 100644 --- a/src/common/commonui/sakmainwindow.cc +++ b/src/common/commonui/sakmainwindow.cc @@ -6,7 +6,7 @@ * QtSwissArmyKnife is licensed according to the terms in the file LICENCE in the root of the source * code directory. **************************************************************************************************/ -#include "sakcommonmainwindow.h" +#include "sakmainwindow.h" #include #include