From 8f13444eb2d23aa5aa9ffcd7cff54fd0592f38f7 Mon Sep 17 00:00:00 2001 From: Kang Lin Date: Mon, 31 Jul 2023 15:31:04 +0800 Subject: [PATCH] Add CMake --- .github/workflows/android.yml | 54 +- .github/workflows/macos.yml | 19 +- .github/workflows/msvc.yml | 55 +- .github/workflows/ubuntu.yml | 18 +- App/CMakeLists.txt | 42 ++ App/Main.cpp | 9 +- App/MainWindow.cpp | 6 +- App/MainWindow.h | 4 +- .../Translations/SerialPortAssistant_ar.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_ca.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_cs.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_da.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_de.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_el.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_en.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_en_GB.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_es.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_et.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_fi.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_fr.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_gd.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_gl.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_hu.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_it.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_ja.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_ko.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_nb.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_ne.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_nl.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_nn.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_oc.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_pl.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_pt_BR.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_pt_PT.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_ro.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_ru.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_sk.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_sl.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_sv.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_th.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_tr.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_uk.ts | 527 ++++++++++++++++++ .../Translations/SerialPortAssistant_zh_CN.ts | 120 ++-- .../Translations/SerialPortAssistant_zh_TW.ts | 120 ++-- App/android/AndroidManifest.xml | 98 ++-- App/android/res/values/libs.xml | 25 - CMakeLists.txt | 120 ++++ ChangeLog.md | 1 + ChangeLog_zh_CN.md | 1 + README.md | 21 +- README_zh_CN.md | 13 +- SerialPortAssistant.pro | 17 +- debian/rules | 8 +- 53 files changed, 18356 insertions(+), 313 deletions(-) create mode 100644 App/CMakeLists.txt create mode 100644 App/Resource/Translations/SerialPortAssistant_ar.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_ca.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_cs.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_da.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_de.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_el.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_en.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_en_GB.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_es.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_et.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_fi.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_fr.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_gd.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_gl.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_hu.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_it.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_ja.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_ko.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_nb.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_ne.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_nl.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_nn.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_oc.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_pl.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_pt_BR.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_pt_PT.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_ro.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_ru.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_sk.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_sl.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_sv.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_th.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_tr.ts create mode 100644 App/Resource/Translations/SerialPortAssistant_uk.ts delete mode 100644 App/android/res/values/libs.xml create mode 100644 CMakeLists.txt diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 7eb07a5..3adf055 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -12,8 +12,8 @@ jobs: strategy: matrix: BUILD_TYPE: [Release] - qt_arch: [android_arm64_v8a, android_armv7, android_x86_64] - qt_version: [5.12.12] + qt_arch: [android_arm64_v8a, android_armv7, android_x86_64, android_x86] + qt_version: [6.6.0] include: - BUILD_TYPE: Release qt_arch: android_arm64_v8a @@ -27,6 +27,10 @@ jobs: qt_arch: android_x86_64 VCPKG_TARGET_TRIPLET: x64-android + - BUILD_TYPE: Release + qt_arch: android_x86 + VCPKG_TARGET_TRIPLET: x32-android + runs-on: ubuntu-latest env: @@ -35,10 +39,10 @@ jobs: TOOSL_DIR: ${{github.workspace}}/.cache/tools INSTALL_DIR: ${{github.workspace}}/.cache/install_${{matrix.BUILD_TYPE}}_${{matrix.qt_arch}} SerialPortAssistant_VERSION: v0.5.14 - VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2 + VCPKGGITCOMMITID: 2f6176ce98fee807a207dc9e8fec213f111c291b ANDROID_PLATFORM: android-23 ANDROID_NATIVE_API_LEVEL: 23 - qt_modules: qtwebengine + qt_modules: qtscxml qtserialport qtwebview # Map the job outputs to step outputs outputs: @@ -103,6 +107,7 @@ jobs: cached: '${{ steps.cache-qt.outputs.cache-hit }}' # optional, default is false - name: run-vcpkg + if: false uses: lukka/run-vcpkg@v7.4 with: # Indicates whether to only setup vcpkg (i.e. installing it and setting the environment variables VCPKG_ROOT, RUNVCPK_VCPKG_ROOT), without installing any port. @@ -121,19 +126,30 @@ jobs: working-directory: ${{env.SOURCE_DIR}} run: | git clone https://github.com/KangLin/RabbitCommon.git - + - name: build SerialPortAssistant + working-directory: ${{github.workspace}}/build env: RabbitCommon_DIR: ${{env.SOURCE_DIR}}/RabbitCommon QT_ROOT: ${{env.Qt5_DIR}} run: | - ${QT_ROOT}/bin/qmake ${{github.workspace}} \ - "CONFIG+=${{matrix.BUILD_TYPE}}" - make - make install INSTALL_ROOT=`pwd`/android-build + sudo chmod 777 ${Qt6_DIR}/bin/qt-cmake + ${Qt6_DIR}/bin/qt-cmake .. \ + -DCMARK_SHARED=OFF \ + -DCMARK_TESTS=OFF \ + -DCMARK_STATIC=ON \ + -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} \ + -DQT_HOST_PATH=${Qt6_DIR}/../gcc_64 \ + -DANDROID_PLATFORM=${{env.ANDROID_PLATFORM}} \ + -DANDROID_NATIVE_API_LEVEL=${{env.ANDROID_NATIVE_API_LEVEL}} \ + -DQt6LinguistTools_DIR=${Qt6_DIR}/../gcc_64/lib/cmake/Qt6LinguistTools \ + -DCMAKE_INSTALL_PREFIX=`pwd`/install + cmake --build . --config ${{matrix.BUILD_TYPE}} --target all + APK_FILE=`find . -name "android-*.apk"` + cp $APK_FILE SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_${{matrix.qt_arch}}_qt${{matrix.qt_version}}_${{matrix.BUILD_TYPE}}.apk - name: Package - if: ${{matrix.BUILD_TYPE == 'Release'}} + if: false env: QT_ROOT: ${{env.Qt5_DIR}} RabbitCommon_DIR: ${{env.SOURCE_DIR}}/RabbitCommon @@ -165,20 +181,6 @@ jobs: if: ${{ matrix.BUILD_TYPE == 'Release' }} uses: actions/upload-artifact@v2 with: - name: SerialPortAssistant_${{matrix.ANDROID_ABI}}_${{env.SerialPortAssistant_VERSION}}.apk + name: ${{ env.artifact_name }} path: | - ${{github.workspace}}/SerialPortAssistant_${{matrix.ANDROID_ABI}}_${{env.SerialPortAssistant_VERSION}}.apk - ${{github.workspace}}/update_android_${{matrix.ANDROID_ABI}}.xml - - - name: Upload To Github Release - if: ${{ matrix.BUILD_TYPE == 'Release' && startsWith(github.ref, 'refs/tags/') }} - uses: softprops/action-gh-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - prerelease: true - body: | - [:cn: 修改日志](ChangeLog_zh_CN.md) [:us: Change log](ChangeLog.md) - files: | - ${{github.workspace}}/SerialPortAssistant_${{matrix.ANDROID_ABI}}_${{env.SerialPortAssistant_VERSION}}.apk - ${{github.workspace}}/update_android_${{matrix.ANDROID_ABI}}.xml + ${{github.workspace}}/build/SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_${{matrix.qt_arch}}_qt${{matrix.qt_version}}_${{matrix.BUILD_TYPE}}.apk diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b774c89..fb8a05e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -16,13 +16,14 @@ jobs: matrix: # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) BUILD_TYPE: [Release, Debug] - qt_version: [6.5.0, 5.15.2, 5.12.12] + qt_version: [6.5.2, 5.15.2, 5.12.12] include: - - qt_version: 6.5.0 + - qt_version: 6.5.2 qt_modules: qtscxml qtserialport webchannel positioning macextras - qt_version: 5.15.2 qt_modules: "" + - qt_version: 5.12.12 qt_modules: "" @@ -36,7 +37,7 @@ jobs: qt_modules: qtwebengine ${{matrix.qt_modules}} SerialPortAssistant_VERSION: v1.0.9 artifact_name: build_macos - VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2 + VCPKGGITCOMMITID: 2f6176ce98fee807a207dc9e8fec213f111c291b # Map the job outputs to step outputs outputs: @@ -83,7 +84,7 @@ jobs: uses: actions/cache@v1 # not v2! with: path: ${{env.TOOSL_DIR}}/qt - key: qt${{matrix.qt_version}}-${{matrix.qt_arch}} + key: qt${{matrix.qt_version}}_macos - name: Install Qt # You may pin to the exact commit or the version. @@ -107,8 +108,14 @@ jobs: RabbitCommon_DIR: ${{env.SOURCE_DIR}}/RabbitCommon PKG_CONFIG_PATH: ${{env.INSTALL_DIR}}/lib/pkgconfig run: | - qmake ${{github.workspace}}/SerialPortAssistant.pro CONFIG*=${{matrix.BUILD_TYPE}} RabbitCommon_DIR=${{env.RabbitCommon_DIR}} prefix=${{github.workspace}}/build/install - make install -j$(sysctl -n hw.ncpu) + cmake ${{github.workspace}} \ + -DCMARK_SHARED=OFF \ + -DCMARK_TESTS=OFF \ + -DCMARK_STATIC=ON \ + -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} \ + -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/build/install \ + -DCMAKE_PREFIX_PATH=${{env.INSTALL_DIR}}/lib/cmake + cmake --build . --config ${{ matrix.BUILD_TYPE }} --target install 7z a SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_macos.zip install/. - name: Update artifact diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml index ede7f70..a93f8a3 100644 --- a/.github/workflows/msvc.yml +++ b/.github/workflows/msvc.yml @@ -12,9 +12,9 @@ jobs: strategy: matrix: BUILD_TYPE: [Release, Debug] - qt_version: [6.5.1, 5.15.2, 5.12.12] + qt_version: [6.5.2, 5.15.2, 5.12.12] include: - - qt_version: 6.5.1 + - qt_version: 6.5.2 triplet: x64-windows VCPKG_PLATFORM_TOOLSET: v142 qt_arch: win64_msvc2019_64 @@ -43,7 +43,7 @@ jobs: VCPKG_PLATFORM_TOOLSET: ${{matrix.VCPKG_PLATFORM_TOOLSET}} CMAKE_GENERATOR_PLATFORM: ${{matrix.CMAKE_GENERATOR_PLATFORM}} SerialPortAssistant_VERSION: v0.5.14 - VCPKGGITCOMMITID: 1286cac8751e13bb289061b7e3b89eb4c3f613a2 + VCPKGGITCOMMITID: 2f6176ce98fee807a207dc9e8fec213f111c291b qt_modules: qtwebengine ${{matrix.qt_modules}} artifact_name: build_msvc @@ -144,13 +144,13 @@ jobs: # arch: ${{ matrix.CMAKE_GENERATOR_PLATFORM }} # vsversion: ${{ matrix.vc_version }} - - name: Setup Visual Studio Tools - uses: egor-tensin/vs-shell@v2 - with: - arch: ${{ matrix.CMAKE_GENERATOR_PLATFORM }} +# - name: Setup Visual Studio Tools +# uses: egor-tensin/vs-shell@v2 +# with: +# arch: ${{ matrix.CMAKE_GENERATOR_PLATFORM }} - - name: Install jom - run: choco install jom +# - name: Install jom +# run: choco install jom - name: build SerialPortAssistant working-directory: ${{github.workspace}}/build @@ -158,17 +158,44 @@ jobs: RabbitCommon_DIR: ${{env.SOURCE_DIR}}/RabbitCommon #Log4Qt_DIR: ${{env.INSTALL_DIR}} run: | - qmake ${{github.workspace}}/SerialPortAssistant.pro CONFIG*=${{matrix.BUILD_TYPE}} RabbitCommon_DIR=${{env.RabbitCommon_DIR}} prefix=${{github.workspace}}/build/install - jom - jom install + cmake ${{github.workspace}} ^ + -A ${{matrix.CMAKE_GENERATOR_PLATFORM}} ^ + -T ${{matrix.VCPKG_PLATFORM_TOOLSET}} ^ + -DCMARK_SHARED=OFF ^ + -DCMARK_TESTS=OFF ^ + -DCMARK_STATIC=ON ^ + -DCMAKE_BUILD_TYPE=${{matrix.BUILD_TYPE}} ^ + -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/build/install ^ + -DCMAKE_TOOLCHAIN_FILE=${{env.VCPKG_ROOT}}/scripts/buildsystems/vcpkg.cmake ^ + -DVCPKG_VERBOSE=ON ^ + -DX_VCPKG_APPLOCAL_DEPS_INSTALL=ON + cmake --build . --config ${{matrix.BUILD_TYPE}} + cmake --install . --config ${{matrix.BUILD_TYPE}} --component=Application + cmake --install . --config ${{matrix.BUILD_TYPE}} --component=Runtime + cmake --install . --config ${{matrix.BUILD_TYPE}} --component=DependLibraries + copy /Y ${{env.INSTALL_DIR}}\bin\*.dll install\bin + copy /Y ${{env.INSTALL_DIR}}\lib\*.dll install\bin makensis Install.nsi + copy /Y SerialPortAssistant_Setup_${{env.SerialPortAssistant_VERSION}}.exe SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_qt${{matrix.qt_version}}_Setup.exe - - name: Update artifact + - name: XML + working-directory: ${{github.workspace}}/build + if: ${{ matrix.BUILD_TYPE == 'Release' && '6.5.2' == matrix.qt_version }} + run: | + ${{github.workspace}}\build\install\bin\SerialPortAssistant.exe ^ + -f "update_windows.xml" ^ + -u https://github.com/KangLin/SerialPortAssistant/releases/download/${{env.SerialPortAssistant_VERSION}}/SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_qt${{matrix.qt_version}}_Setup.exe;https://sourceforge.net/projects/SerialPortAssistant/files/${{env.SerialPortAssistant_VERSION}}/SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_qt${{matrix.qt_version}}_Setup.exe ^ + --pf SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_qt${{matrix.qt_version}}_Setup.exe ^ + -m "${{env.SerialPortAssistant_VERSION}}" + + - name: Update artifact + if: ${{ matrix.BUILD_TYPE == 'Release' }} uses: actions/upload-artifact@v3 with: name: ${{ env.artifact_name }} path: | - ${{github.workspace}}\build\SerialPortAssistant_Setup_${{env.SerialPortAssistant_VERSION}}.exe + ${{github.workspace}}\build\SerialPortAssistant_${{env.SerialPortAssistant_VERSION}}_qt${{matrix.qt_version}}_Setup.exe + ${{github.workspace}}\build\update_windows.xml # - name: Upload To Github Release # if: ${{ matrix.BUILD_TYPE == 'Release' && '5.12.12' == matrix.qt_version && startsWith(github.ref, 'refs/tags/') }} diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 350aff9..d1810e8 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -50,6 +50,7 @@ jobs: libglu1-mesa-dev libpulse-mainloop-glib0 \ cmake debhelper fakeroot \ qttools5-dev qttools5-dev-tools qtbase5-dev qtbase5-dev-tools \ + qtwebengine5-dev \ libqt5serialport5-dev \ libxkbcommon-dev libxkbcommon-x11-dev xorg-dev libx11-xcb-dev \ libx11-dev libxfixes-dev @@ -120,18 +121,5 @@ jobs: with: name: ${{ env.artifact_name }} path: | - ${{github.workspace}}/build/serialportassistant_${{env.SerialPortAssistant_VERSION}}_amd64.deb - ${{github.workspace}}/build/update_linux.xml - -# - name: Upload To Github Release -# if: ${{ startsWith(github.ref, 'refs/tags/') }} -# uses: softprops/action-gh-release@v1 -# env: -# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# with: -# prerelease: true -# body: | -# [:cn: 修改日志](ChangeLog_zh_CN.md) [:us: Change log](ChangeLog.md) -# files: | -# serialportassistant_${{env.SerialPortAssistant_VERSION}}_amd64.deb -# update_linux.xml + ${{github.workspace}}/serialportassistant_${{env.SerialPortAssistant_VERSION}}_amd64.deb + ${{github.workspace}}/update_linux.xml diff --git a/App/CMakeLists.txt b/App/CMakeLists.txt new file mode 100644 index 0000000..066e247 --- /dev/null +++ b/App/CMakeLists.txt @@ -0,0 +1,42 @@ +# Author: Kang Lin + +project(SerialPortAssistant) + +set(HEADER_FILES + MainWindow.h + Global/Global.h + Common/Tool.h + SendFile.h + ${CMAKE_SOURCE_DIR}/3th_lib/Control/lightbutton.h + ) +set(SOURCE_FILES + MainWindow.cpp + Main.cpp + Global/Global.cpp + Common/Tool.cpp + SendFile.cpp + ${CMAKE_SOURCE_DIR}/3th_lib/Control/lightbutton.cpp + ) +set(SOURCE_UI_FILES + MainWindow.ui + ) +set(RESOURCE_FILES Resource/Resource.qrc) +if(WIN32) + list(APPEND RESOURCE_FILES AppIcon.rc) +endif() + +ADD_TARGET(NAME ${PROJECT_NAME} + ISEXE + ISWINDOWS + SOURCE_FILES ${SOURCE_FILES} ${SOURCE_UI_FILES} ${HEADER_FILES} ${RESOURCE_FILES} + INCLUDE_DIRS + $ # See: http://www.it1352.com/478094.html + $ + $ + $ + PRIVATE_LIBS RabbitCommon ${QT_LIBRARIES} + PRIVATE_DEFINITIONS SerialPortAssistant_VERSION="${SerialPortAssistant_VERSION}" + SerialPortAssistant_REVISION="${SerialPortAssistant_REVISION}" + RABBITCOMMON + VERSION ${SerialPortAssistant_VERSION} + ) diff --git a/App/Main.cpp b/App/Main.cpp index bd872f0..7ba51e9 100644 --- a/App/Main.cpp +++ b/App/Main.cpp @@ -33,14 +33,7 @@ int main(int argc, char *argv[]) #if defined (_DEBUG) Q_INIT_RESOURCE(translations_SerialPortAssistant); #endif - -#if (QT_VERSION > QT_VERSION_CHECK(5,6,0)) - QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); -#endif -#if defined(Q_OS_ANDROID) && QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) && QT_VERSION < QT_VERSION_CHECK(6, 0, 0) - QtAndroid::hideSplashScreen(); -#endif - + QApplication a(argc, argv); a.setApplicationName("SerialPortAssistant"); diff --git a/App/MainWindow.cpp b/App/MainWindow.cpp index b8421fd..90a2d5a 100644 --- a/App/MainWindow.cpp +++ b/App/MainWindow.cpp @@ -858,9 +858,9 @@ void CMainWindow::on_actionAbout_A_triggered() about->m_AppIcon = QImage(":/icon/AppIcon"); about->m_szHomePage = "https://github.com/KangLin/SerialPortAssistant"; about->m_szCopyrightStartTime = "2017"; -#ifdef SerialPortAssistant_Revision - about->m_szVersionRevision = SerialPortAssistant_Revision; -#endif + #ifdef SerialPortAssistant_Revision + about->m_szVersionRevision = SerialPortAssistant_Revision; + #endif #if defined(BUILD_QUIWidget) && !defined(Q_OS_ANDROID) QUIWidget* quiwidget = new QUIWidget(nullptr, true); quiwidget->setMainWidget(about); diff --git a/App/MainWindow.h b/App/MainWindow.h index e3675ff..142d765 100644 --- a/App/MainWindow.h +++ b/App/MainWindow.h @@ -17,8 +17,8 @@ Module Name: #define MAINWINDOW_H #include -#include -#include +#include +#include #include #include #include diff --git a/App/Resource/Translations/SerialPortAssistant_ar.ts b/App/Resource/Translations/SerialPortAssistant_ar.ts new file mode 100644 index 0000000..49d36df --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ar.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_ca.ts b/App/Resource/Translations/SerialPortAssistant_ca.ts new file mode 100644 index 0000000..e1f6fb0 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ca.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_cs.ts b/App/Resource/Translations/SerialPortAssistant_cs.ts new file mode 100644 index 0000000..5becdf2 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_cs.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_da.ts b/App/Resource/Translations/SerialPortAssistant_da.ts new file mode 100644 index 0000000..0ee8288 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_da.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_de.ts b/App/Resource/Translations/SerialPortAssistant_de.ts new file mode 100644 index 0000000..e9e3e1a --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_de.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_el.ts b/App/Resource/Translations/SerialPortAssistant_el.ts new file mode 100644 index 0000000..00f2953 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_el.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_en.ts b/App/Resource/Translations/SerialPortAssistant_en.ts new file mode 100644 index 0000000..3dabd63 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_en.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_en_GB.ts b/App/Resource/Translations/SerialPortAssistant_en_GB.ts new file mode 100644 index 0000000..887c269 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_en_GB.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_es.ts b/App/Resource/Translations/SerialPortAssistant_es.ts new file mode 100644 index 0000000..09bd382 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_es.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_et.ts b/App/Resource/Translations/SerialPortAssistant_et.ts new file mode 100644 index 0000000..4c2a851 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_et.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_fi.ts b/App/Resource/Translations/SerialPortAssistant_fi.ts new file mode 100644 index 0000000..5079efc --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_fi.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_fr.ts b/App/Resource/Translations/SerialPortAssistant_fr.ts new file mode 100644 index 0000000..38cd07c --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_fr.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_gd.ts b/App/Resource/Translations/SerialPortAssistant_gd.ts new file mode 100644 index 0000000..543366b --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_gd.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_gl.ts b/App/Resource/Translations/SerialPortAssistant_gl.ts new file mode 100644 index 0000000..8ac4482 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_gl.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_hu.ts b/App/Resource/Translations/SerialPortAssistant_hu.ts new file mode 100644 index 0000000..6bfdc60 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_hu.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_it.ts b/App/Resource/Translations/SerialPortAssistant_it.ts new file mode 100644 index 0000000..b9ff6fc --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_it.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_ja.ts b/App/Resource/Translations/SerialPortAssistant_ja.ts new file mode 100644 index 0000000..c629c47 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ja.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_ko.ts b/App/Resource/Translations/SerialPortAssistant_ko.ts new file mode 100644 index 0000000..154a1b5 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ko.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_nb.ts b/App/Resource/Translations/SerialPortAssistant_nb.ts new file mode 100644 index 0000000..05a03b3 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_nb.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_ne.ts b/App/Resource/Translations/SerialPortAssistant_ne.ts new file mode 100644 index 0000000..e4ec7ce --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ne.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_nl.ts b/App/Resource/Translations/SerialPortAssistant_nl.ts new file mode 100644 index 0000000..b7a432d --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_nl.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_nn.ts b/App/Resource/Translations/SerialPortAssistant_nn.ts new file mode 100644 index 0000000..ecc1cdc --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_nn.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_oc.ts b/App/Resource/Translations/SerialPortAssistant_oc.ts new file mode 100644 index 0000000..4fe7a2e --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_oc.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_pl.ts b/App/Resource/Translations/SerialPortAssistant_pl.ts new file mode 100644 index 0000000..487e8d0 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_pl.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_pt_BR.ts b/App/Resource/Translations/SerialPortAssistant_pt_BR.ts new file mode 100644 index 0000000..47f557a --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_pt_BR.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_pt_PT.ts b/App/Resource/Translations/SerialPortAssistant_pt_PT.ts new file mode 100644 index 0000000..849f19f --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_pt_PT.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_ro.ts b/App/Resource/Translations/SerialPortAssistant_ro.ts new file mode 100644 index 0000000..41c76eb --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ro.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_ru.ts b/App/Resource/Translations/SerialPortAssistant_ru.ts new file mode 100644 index 0000000..fe7bbb7 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_ru.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_sk.ts b/App/Resource/Translations/SerialPortAssistant_sk.ts new file mode 100644 index 0000000..5ce6034 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_sk.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_sl.ts b/App/Resource/Translations/SerialPortAssistant_sl.ts new file mode 100644 index 0000000..b17d19d --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_sl.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_sv.ts b/App/Resource/Translations/SerialPortAssistant_sv.ts new file mode 100644 index 0000000..ad02973 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_sv.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_th.ts b/App/Resource/Translations/SerialPortAssistant_th.ts new file mode 100644 index 0000000..db8ea96 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_th.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_tr.ts b/App/Resource/Translations/SerialPortAssistant_tr.ts new file mode 100644 index 0000000..4d800e0 --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_tr.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_uk.ts b/App/Resource/Translations/SerialPortAssistant_uk.ts new file mode 100644 index 0000000..de3d59c --- /dev/null +++ b/App/Resource/Translations/SerialPortAssistant_uk.ts @@ -0,0 +1,527 @@ + + + + + CMainWindow + + + Serial Port Assistant + + + + + Send Settings + + + + + Receive Settings + + + + + Port Settings + + + + + Display Send + + + + + Display Time + + + + + + Encode: + + + + + Save to file: + + + + + + Browse(&B) + + + + + Serial Port: + + + + + BaudRate: + + + + + DataBit: + + + + + Parity: + + + + + StopBit: + + + + + Flow Control: + + + + + + Input + + + + + Auto Feed Line + + + + + r + + + + + n + + + + + + Send file + + + + + Loop + + + + + Loop number: + + + + + -1: unlimited loop + + + + + Transmissions: + + + + + Transmissions + + + + + 0 + + + + + Loop interval: + + + + + ms + + + + + + + + + + Open(&O) + + + + + Send(&S) + + + + + Tools(&T) + + + + + Language(&A) + + + + + Help(&H) + + + + + View(&V) + + + + + Clear(&L) + + + + + Clear Send History + + + + + Exit(&E) + + + + + About(&A) + + + + + StatusBar(&S) + + + + + ToolBar(&T) + + + + + LeftBar(&L) + + + + + Pause(&P) the flow list + + + + + + + Pause the flow list + + + + + Load File(&F) + + + + + Open Log(&G) + + + + + Update(&U) + + + + + Refresh(&R) + + + + + + + Refresh serial ports + + + + + + + + Open save file + + + + + + + + Open send file + + + + + Style(&S) + + + + + + None + + + + + Even + + + + + Odd + + + + + Space + + + + + Mark + + + + + HardWare + + + + + SoftWare + + + + + Ready + + + + + + Rx: 0 Bytes + + + + + + Tx: 0 Bytes + + + + + + Drop: 0 Bytes + + + + + + Serial Port Close + + + + + Open Serial port %1 fail errNo[%2]: %3 + + + + + + Close(&C) + + + + + Open. + + + + + Rx: + + + + + + + + Bytes + + + + + Send fail + + + + + + Tx: + + + + + Drop: + + + + + Warning + + + + + Serial [%1] is opened, be sure cloase? + + + + + Default + + + + + English + + + + + Chinese + + + + + Chinese(TaiWan) + + + + + Close + + + + + Language changes, close the program, and please restart the program. + + + + + Set baud rate fail + + + + + Set data bits fail + + + + + Set parity fail + + + + + Set stop bits fail + + + + + Set Flow Control fail + + + + + Load File + + + + + Close serial port + + + + + Will be close serial port ? + + + + + CTS + + + + + DCD + + + + + DTR + + + + + DSR + + + + + PNG + + + + + RTS + + + + + SRD + + + + + STD + + + + + CTool + + + Open file + + + + + QObject + + + Serial Port Assistant + + + + diff --git a/App/Resource/Translations/SerialPortAssistant_zh_CN.ts b/App/Resource/Translations/SerialPortAssistant_zh_CN.ts index 7289474..fe5ae03 100644 --- a/App/Resource/Translations/SerialPortAssistant_zh_CN.ts +++ b/App/Resource/Translations/SerialPortAssistant_zh_CN.ts @@ -132,10 +132,10 @@ - - - - + + + + Open(&O) 打开(&O) @@ -262,222 +262,222 @@ 样式(&S) - - + + None - + Even 偶校验 - + Odd 奇校验 - + Space - + Mark - + HardWare 硬件 - + SoftWare 软件 - + Ready 预备 - - + + Rx: 0 Bytes 接收: 0 字节 - - + + Tx: 0 Bytes 发送: 0 字节 - - + + Drop: 0 Bytes 丢包: 0 字节 - - + + Serial Port Close 串口关闭 - + Open Serial port %1 fail errNo[%2]: %3 打开串口[%1]失败。错误号[%2]: %3 - - + + Close(&C) 关闭(&C) - + Open. 打开。 - + Rx: 接收: - - - - + + + + Bytes 字节 - + Send fail 发送失败 - - + + Tx: 发送: - + Drop: 丢包: - + Warning 警告 - + Serial [%1] is opened, be sure cloase? 串口[%1]已打开,是否关闭它? - + Default 默认 - + English 英语 - + Chinese 中文 - + Chinese(TaiWan) 中文(台湾) - + Close 关闭 - + Language changes, close the program, and please restart the program. 语言改变,关闭程序,并请从重启程序。 - + CTS - + DCD - + DTR - + DSR - + PNG - + RTS - + SRD - + STD - + Set baud rate fail 设置比特率失败 - + Set data bits fail 设置数据位失败 - + Set parity fail 设置校验失败 - + Set stop bits fail 设置停止位失败 - + Set Flow Control fail 设置流控失败 - + Load File 加载文件 @@ -485,7 +485,7 @@ - + Open send file 打开发送文件 @@ -493,17 +493,17 @@ - + Open save file 打开保存文件 - + Close serial port 关闭串口 - + Will be close serial port ? 要关闭串口? diff --git a/App/Resource/Translations/SerialPortAssistant_zh_TW.ts b/App/Resource/Translations/SerialPortAssistant_zh_TW.ts index 4b8466c..abd0554 100644 --- a/App/Resource/Translations/SerialPortAssistant_zh_TW.ts +++ b/App/Resource/Translations/SerialPortAssistant_zh_TW.ts @@ -132,10 +132,10 @@ - - - - + + + + Open(&O) 打開(&O) @@ -262,222 +262,222 @@ 樣式(&S) - - + + None - + Even 偶校驗 - + Odd 奇校驗 - + Space - + Mark - + HardWare 硬件 - + SoftWare 軟件 - + Ready 預備 - - + + Rx: 0 Bytes 接收: 0 字節 - - + + Tx: 0 Bytes 發送: 0 字節 - - + + Drop: 0 Bytes 丟包: 0 字節 - - + + Serial Port Close 串口關閉 - + Open Serial port %1 fail errNo[%2]: %3 打開串口[%1]失敗。錯誤號[%2]: %3 - - + + Close(&C) 關閉(&C) - + Open. 打開。 - + Rx: 接收: - - - - + + + + Bytes 字節 - + Send fail 發送失敗 - - + + Tx: 發送: - + Drop: 丟包: - + Warning 警告 - + Serial [%1] is opened, be sure cloase? 串口[%1]已打開,是否關閉它? - + Default 默認 - + English 英語 - + Chinese 中文 - + Chinese(TaiWan) 中文(臺灣) - + Close 關閉 - + Language changes, close the program, and please restart the program. 語言改變,關閉程序,並請從重啟程序。 - + CTS - + DCD - + DTR - + DSR - + PNG - + RTS - + SRD - + STD - + Set baud rate fail 設置比特率失敗 - + Set data bits fail 設置數據位失敗 - + Set parity fail 設置校驗失敗 - + Set stop bits fail 設置停止位失敗 - + Set Flow Control fail 設置流控失敗 - + Load File 加載文件 @@ -485,7 +485,7 @@ - + Open send file 打開發送文件 @@ -493,17 +493,17 @@ - + Open save file 打開保存文件 - + Close serial port 關閉串口 - + Will be close serial port ? 要關閉串口? diff --git a/App/android/AndroidManifest.xml b/App/android/AndroidManifest.xml index d41c3b5..0010cda 100644 --- a/App/android/AndroidManifest.xml +++ b/App/android/AndroidManifest.xml @@ -1,72 +1,45 @@ - - + - - - - + + + + + + + + + - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + diff --git a/App/android/res/values/libs.xml b/App/android/res/values/libs.xml deleted file mode 100644 index 4009a77..0000000 --- a/App/android/res/values/libs.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - https://download.qt.io/ministro/android/qt5/qt-5.9 - - - - - - - - - - - - - - - - - - - - diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..227a53e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,120 @@ +# Author: Kang Lin + +cmake_minimum_required(VERSION 3.21) +MESSAGE(STATUS "Found CMake ${CMAKE_VERSION}") + +project(SerialPortAssistant) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +#set(CMAKE_CXX_EXTENSIONS OFF) +if(CMAKE_VERSION VERSION_LESS "3.7.0") + set(CMAKE_INCLUDE_CURRENT_DIR ON) +endif() +set(CMAKE_VERBOSE_MAKEFILE ON CACHE BOOL "verbose") + +IF(MSVC) + # This option is to enable the /MP switch for Visual Studio 2005 and above compilers + OPTION(WIN32_USE_MP "Set to ON to build with the /MP option (Visual Studio 2005 and above)." ON) + MARK_AS_ADVANCED(WIN32_USE_MP) + IF(WIN32_USE_MP) + #SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") + add_compile_options(/MP) + ENDIF(WIN32_USE_MP) + add_compile_options("$<$:/utf-8>") + add_compile_options("$<$:/utf-8>") +ENDIF(MSVC) + +SET(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libs") +if (BUILD_SHARED_LIBS) + add_definitions(-DBUILD_SHARED_LIBS) + if (CMAKE_COMPILER_IS_GNUCXX AND NOT MINGW) + # Just setting CMAKE_POSITION_INDEPENDENT_CODE should be enough to set + # -fPIC for GCC but sometimes it still doesn't get set, so make sure it + # does. + add_compile_options("-fPIC") + endif() + set(CMAKE_POSITION_INDEPENDENT_CODE ON) +endif() + +# Open qt build tool +SET(CMAKE_AUTOUIC ON) +SET(CMAKE_AUTOMOC ON) +SET(CMAKE_AUTORCC ON) + +# Need qt components +find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core) +SET(QT_COMPONENTS Core Gui Widgets SerialPort Network Xml) +find_package(Qt${QT_VERSION_MAJOR} COMPONENTS ${QT_COMPONENTS}) +message("QT_VERSION:${Qt${QT_VERSION_MAJOR}_VERSION}") +if(Qt${QT_VERSION_MAJOR}_FOUND) + FOREACH(_COMPONENT ${QT_COMPONENTS}) + list(APPEND QT_LIBRARIES Qt${QT_VERSION_MAJOR}::${_COMPONENT}) + ENDFOREACH() +endif() +get_filename_component(QT_INSTALL_DIR "${Qt${QT_VERSION_MAJOR}_DIR}/../../.." ABSOLUTE) +message("Qt${QT_VERSION_MAJOR}_DIR:${Qt${QT_VERSION_MAJOR}_DIR}") +message("QT_INSTALL_DIR:${QT_INSTALL_DIR}") +message("${PROJECT_NAME} QT_LIBRARIES:${QT_LIBRARIES}") + +if(NOT RabbitCommon_DIR) + set(RabbitCommon_DIR $ENV{RabbitCommon_DIR}) + if(NOT RabbitCommon_DIR) + set(RabbitCommon_DIR ${CMAKE_SOURCE_DIR}/../RabbitCommon) + endif() +endif() +if(DEFINED RabbitCommon_DIR AND EXISTS ${RabbitCommon_DIR}/Src) + add_subdirectory(${RabbitCommon_DIR}/Src ${CMAKE_BINARY_DIR}/RabbitCommon) +else() + message("1. Please download RabbitCommon source code from https://github.com/KangLin/RabbitCommon") + message(" ag:") + message(" git clone https://github.com/KangLin/RabbitCommon.git") + message("2. Then set cmake value or environment variable RabbitCommon_DIR to download root directory.") + message(" ag:") + message(FATAL_ERROR " cmake -DRabbitCommon_DIR= ") +endif() + +GET_VERSION(OUT_VERSION SerialPortAssistant_VERSION + OUT_REVISION SerialPortAssistant_REVISION) +IF(NOT SerialPortAssistant_VERSION) + SET(SerialPortAssistant_VERSION "v0.5.14") +ENDIF() +message("SerialPortAssistant_VERSION:${SerialPortAssistant_VERSION};Revision:${SerialPortAssistant_REVISION}") + +add_subdirectory(App) + +INSTALL(FILES ${CMAKE_SOURCE_DIR}/etc/SerialPortAssistant_logqt.ini + DESTINATION etc COMPONENT Runtime) + +iF(WIN32) + INSTALL(FILES Install/Install.nsi DESTINATION "${CMAKE_BINARY_DIR}" + COMPONENT Runtime) +endif() +# Install other files +set(OTHER_FILES + License.md + Authors.md + ChangeLog.md + Authors_zh_CN.md + ChangeLog_zh_CN.md) +if(ANDROID) + INSTALL(FILES ${OTHER_FILES} DESTINATION "assets" COMPONENT Runtime) +else() + INSTALL(FILES ${OTHER_FILES} DESTINATION "." COMPONENT Runtime) +endif() + +INSTALL(FILES ${CMAKE_SOURCE_DIR}/App/SerialPortAssistant.ico + DESTINATION "." + COMPONENT Runtime) + +if(UNIX AND NOT ANDROID) + INSTALL(FILES ${CMAKE_SOURCE_DIR}/share/SerialPortAssistant.desktop + DESTINATION "share/applications" + COMPONENT Runtime) + INSTALL(PROGRAMS ${CMAKE_SOURCE_DIR}/share/SerialPortAssistant.sh + DESTINATION "${CMAKE_INSTALL_BINDIR}" + COMPONENT Runtime) + INSTALL(FILES ${CMAKE_SOURCE_DIR}/App/Resource/png/SerialPortAssistant.png + DESTINATION "share/pixmaps" + COMPONENT Runtime) +endif() diff --git a/ChangeLog.md b/ChangeLog.md index 0a9f2db..ec27bc8 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -2,6 +2,7 @@ Change log ---------- + Version: v0.5.15 - Use RabbitCommon v2 + - Add CMakeLists.txt + Version: v0.5.14 - Fix: log output file diff --git a/ChangeLog_zh_CN.md b/ChangeLog_zh_CN.md index 562ecb2..2be5e10 100644 --- a/ChangeLog_zh_CN.md +++ b/ChangeLog_zh_CN.md @@ -3,6 +3,7 @@ + 版本: v0.5.15 - 使用 RabbitCommon v2 + - 使用 CMake 管理工程 + 版本: v0.5.14 - 修复日志输出到文件 diff --git a/README.md b/README.md index 0a17f25..748e2c1 100644 --- a/README.md +++ b/README.md @@ -110,24 +110,18 @@ If it cannot be displayed, please open: git clone https://github.com/KangLin/SerialPortAssistant.git - Compiled with QtCreator - + Open the project file ![SerialPortAssistant.pro](SerialPortAssistant.pro) with QtCreator + + Open the project file [CMakeLists.txt](CMakeLists.txt) with QtCreator + The RabbitCommon can be downloaded to the same directory of the project. If it is a different directory, Set the parameter RabbitCommon_DIR - - Project -> Build & Run -> Build -> Build settings -> Build step -> qmake - + Direct compilation can generate programs - Compile with the command line + Build the build directory in the project root directory - + *qmake* build compilation project - - *make* install Build the program with the local toolchain - - The program is generated in the *install* directory - mkdir build - cd build - qmake ../SerialPortAssistant.pro - make install - cd install #The program is generated in the install directory + mkdir build + cd build + cmake .. --config Release [-DRabbitCommon_DIR=...] + cmake --build . --config Release --traget install + cd install #The program is generated in the install directory ### Script @@ -142,4 +136,5 @@ If it cannot be displayed, please open: sudo apt-get install -y -qq qttools5-dev qttools5-dev-tools \ libqt5serialport5-dev qtbase5-dev qtbase5-dev-tools -- deploy.sh: This script is used to generate new release version numbers and tag +- deploy.sh: This script is used to generate new release version numbers and tag. + Used only by the program publisher. diff --git a/README_zh_CN.md b/README_zh_CN.md index bc3406a..b13475c 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -105,20 +105,17 @@ git clone https://github.com/KangLin/RabbitCommon.git - 用 QtCreator 编译 - * 直接用 QtCreator 打开工程文件 ![SerialPortAssistant.pro](SerialPortAssistant.pro) + * 直接用 QtCreator 打开工程文件 [CMakeLists.txt](CMakeLists.txt) * 如果 RabbitCommon 不在本项目同级目录中,设置参数 RabbitCommon_DIR 指定其位置。 - 项目 -> 编译和运行 -> 编译 -> 编译设置 -> 编译步骤 -> qmake -> 额外参数 * 直接编译就可以生成程序 - 用命令行编译 * 在项目根目录下建立 build 目录 - * qmake 生成编译工程 - * make install 用本地工具链生成程序 - * 在 install 目录下会生成程序 + * cmake 生成编译工程 mkdir build cd build - qmake ../SerialPortAssistant.pro [RabbitCommon_DIR=...] - make install + cmake .. --config Release [-DRabbitCommon_DIR=...] + cmake --build . --config Release --traget install cd install #进入生成的程序目录 #### 脚本 @@ -133,4 +130,4 @@ sudo apt-get install -y -qq qttools5-dev qttools5-dev-tools \ libqt5serialport5-dev qtbase5-dev qtbase5-dev-tools -- deploy.sh: 此脚本用于产生新的发行版本号和标签 +- deploy.sh: 此脚本用于产生新的发行版本号和标签。仅程序发布者使用。 diff --git a/SerialPortAssistant.pro b/SerialPortAssistant.pro index f9ce4f1..0c660cf 100644 --- a/SerialPortAssistant.pro +++ b/SerialPortAssistant.pro @@ -26,16 +26,17 @@ install_win.path = $$OUT_PWD install_win.CONFIG += directory no_check_exist win32: INSTALLS += install_win -install_unix.files = Install/install.sh -install_unix.path = $$PREFIX -install_unix.CONFIG += directory no_check_exist +!android : !macx : unix { -start_script.files = share/SerialPortAssistant.sh -start_script.path = $$PREFIX/bin -start_script.CONFIG += directory no_check_exist -unix: !android: INSTALLS += install_unix start_script + install_unix.files = Install/install.sh + install_unix.path = $$PREFIX + install_unix.CONFIG += directory no_check_exist + + start_script.files = share/SerialPortAssistant.sh + start_script.path = $$PREFIX/bin + start_script.CONFIG += directory no_check_exist + unix: !android: INSTALLS += install_unix start_script -!android : !macx : unix { # install icons icon128.target = icon128 icon128.files = App/Resource/png/SerialPortAssistant.png diff --git a/debian/rules b/debian/rules index 4fb33f3..6368c91 100755 --- a/debian/rules +++ b/debian/rules @@ -31,10 +31,14 @@ endif # dh_make generated override targets # This is example for Cmake ( See https://bugs.debian.org/641051 ) override_dh_auto_configure: - $(QMAKE) PREFIX=/opt/SerialPortAssistant ${PARAS} + dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/opt/SerialPortAssistant \ + -DQt5_DIR=${QT_ROOT}/lib/cmake/Qt5 \ + -DRabbitCommon_DIR=${RabbitCommon_DIR} \ + ${PARAS} override_dh_auto_build: dh_auto_build -- $(if "`cat /proc/cpuinfo |grep 'cpu cores' |wc -l`" = "0",, -j`cat /proc/cpuinfo |grep 'cpu cores' |wc -l`) override_dh_shlibdeps: - dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l`pwd`/debian/serialportassistant/opt/SerialPortAssistant/bin:`pwd`/debian/serialportassistant/opt/SerialPortAssistant/lib:$(LIB_PARAS) + dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info -l`pwd`/debian/serialportassistant/opt/SerialPortAssistant/bin:`pwd`/debian/serialportassistant/opt/SerialPortAssistant/lib:`pwd`/debian/serialportassistant/opt/SerialPortAssistant/lib/`uname -m`-linux-gnu:$(LIB_PARAS)