From 608120cd8e67a7499f5d05794559590c089b1b54 Mon Sep 17 00:00:00 2001 From: XHG20033 Date: Fri, 6 Nov 2026 20:07:29 +0800 Subject: [PATCH 1/2] Add missing Simplified Chinese strings for braille display and utils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three strings existed in the English sources but had no Simplified Chinese translations: - bd_blinking_interval_never: 从不 - bd_preference_cursor_on_non_editable_title: 在不可编辑项上显示光标 - template_text_appended: 已追加,%1$s (matching the existing 已复制,%1$s for template_text_copied) --- .../brailledisplay/src/phone/res/values-zh-rCN/strings.xml | 4 ++++ utils/src/main/res/values-zh-rCN/strings.xml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/braille/brailledisplay/src/phone/res/values-zh-rCN/strings.xml b/braille/brailledisplay/src/phone/res/values-zh-rCN/strings.xml index 01e28c902..3b8a13562 100644 --- a/braille/brailledisplay/src/phone/res/values-zh-rCN/strings.xml +++ b/braille/brailledisplay/src/phone/res/values-zh-rCN/strings.xml @@ -144,6 +144,10 @@ 在屏幕上显示盲文输出 消息时长 光标闪烁间隔 + + 从不 + + 在不可编辑项上显示光标 显示设备消息 在盲文显示屏上显示设备消息,例如应用通知和来电 保存设备消息 diff --git a/utils/src/main/res/values-zh-rCN/strings.xml b/utils/src/main/res/values-zh-rCN/strings.xml index 1d8509797..f5f808214 100644 --- a/utils/src/main/res/values-zh-rCN/strings.xml +++ b/utils/src/main/res/values-zh-rCN/strings.xml @@ -4,6 +4,8 @@ 字符 %1$d 无标题 %1$d 个字符,从“%2$s”到“%3$s” + + 已追加,%1$s 已复制,%1$s 大写的 %1$s %1$d 个%2$s From b4c83fd8bc73434420a101fce0a0670b7bd14415 Mon Sep 17 00:00:00 2001 From: XHG20033 Date: Sat, 7 Nov 2026 08:41:16 +0800 Subject: [PATCH 2/2] Update the lint baseline for the newly translated brailledisplay strings The baseline entries for bd_blinking_interval_never and bd_preference_cursor_on_non_editable_title listed Simplified Chinese among the missing translations. Now that the previous commit adds the zh-rCN translations, the recorded messages no longer match and lint fails with two MissingTranslation errors. Remove zh from the two entries, the same way #435 did. --- lint-baseline.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lint-baseline.xml b/lint-baseline.xml index 2e74597b2..0c8f0565d 100644 --- a/lint-baseline.xml +++ b/lint-baseline.xml @@ -12,7 +12,7 @@