From dfd825aa8fafb173dfbfbae776c8651cd64e8984 Mon Sep 17 00:00:00 2001 From: wh201906 Date: Sat, 17 Jun 2023 12:33:48 +0800 Subject: [PATCH] v0.0.3 --- Qt/android/AndroidManifest.xml | 2 +- Qt/mEDIFIER.pro | 2 +- Qt/mEDIFIER_zh_CN.ts | 10 ++++++++-- Qt/w820nbplusform.cpp | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Qt/android/AndroidManifest.xml b/Qt/android/AndroidManifest.xml index 30e3cae..8bc67fd 100644 --- a/Qt/android/AndroidManifest.xml +++ b/Qt/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - + diff --git a/Qt/mEDIFIER.pro b/Qt/mEDIFIER.pro index e13e7aa..a39cfe8 100644 --- a/Qt/mEDIFIER.pro +++ b/Qt/mEDIFIER.pro @@ -47,6 +47,6 @@ DISTFILES += \ android/AndroidManifest.xml # Remember to change version in AndroidManifest.xml -VERSION = 0.0.2 +VERSION = 0.0.3 # Expose VERSION to the source files. DEFINES += APP_VERSION=\\\"$$VERSION\\\" diff --git a/Qt/mEDIFIER_zh_CN.ts b/Qt/mEDIFIER_zh_CN.ts index c8e3430..fd5514b 100644 --- a/Qt/mEDIFIER_zh_CN.ts +++ b/Qt/mEDIFIER_zh_CN.ts @@ -59,14 +59,14 @@ - + RFCOMM - + BLE @@ -312,5 +312,11 @@ Send 发送 + + + The name is too long + The name is too long. + 设备名过长 + diff --git a/Qt/w820nbplusform.cpp b/Qt/w820nbplusform.cpp index 0b52af3..802a287 100644 --- a/Qt/w820nbplusform.cpp +++ b/Qt/w820nbplusform.cpp @@ -208,7 +208,7 @@ void W820NBPlusForm::on_nameSetButton_clicked() // the max length of W820NB Plus is 30(defined in w820nbplusform.h) if(nameBytes.length() > m_maxNameLength) { - emit showMessage(tr("The name is too long.")); + emit showMessage(tr("The name is too long")); return; } QByteArray cmd = "\xCA";