From dd02f47d3d185c93aa2df64e129246eeabd90038 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Sat, 18 Jan 2025 15:28:45 +0800 Subject: [PATCH] =?utf8?q?cat=E8=80=B3=E6=9C=BA=E6=93=8D=E4=BD=9C=20?= =?utf8?q?=E5=A2=9E=E5=8A=A0=E8=AF=AD=E8=A8=80=E5=8C=BA=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/bluetooth/src/BluetoothItemView.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothItemView.cpp b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothItemView.cpp index 0ca4aab85..d793d9898 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothItemView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/bluetooth/src/BluetoothItemView.cpp @@ -15,6 +15,8 @@ #include "custom_utils.h" #include "notification_manager.h" #include "PhoneAGService.h" +#include "ConfigModel.h" +#include "languagecode/LanguageInit.h" namespace OHOS { @@ -174,7 +176,15 @@ namespace OHOS if(SCOConnected) { std::string Text = connectStateLabel.GetText(); - Text+=" 播放中"; + + if(ConfigModel::GetInstance()->GetLanguage() == ZH_CN) + { + Text+=" 播放中"; + } + else + { + Text+=" In play"; + } connectStateLabel.SetText(Text.c_str()); } -- 2.17.1