i18n(chat): translate chat note-buffer status strings (8 languages)
The status-bar chat-buffer indicator was hardcoded English. Add semantic keys (chat_buffer_sending[_one]/preparing/loading/ready) to the English source and route chatBufferStatusText() through TR()+snprintf like the other counted strings — a singular/plural pair for the send count, %d/%d for the buffer fill. Translate all five into de/es/fr/ja/ko/pt/ru/zh (additive JSON edits, format specifiers preserved so the runtime overlay accepts them), and rebuild the CJK subset font for the two new glyphs (버퍼's 퍼 U+D37C, 缓冲's 冲 U+51B2). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -266,6 +266,13 @@ void I18n::loadBuiltinEnglish()
|
||||
strings_["chat_rename"] = "Rename contact";
|
||||
strings_["chat_rename_hint"] = "Contact name";
|
||||
strings_["chat_renamed"] = "Contact renamed";
|
||||
// Chat note-buffer status (status bar, while the Chat tab is active). %d are counts;
|
||||
// keep the format specifiers intact in translations.
|
||||
strings_["chat_buffer_sending_one"] = "Chat: sending %d message\xE2\x80\xA6";
|
||||
strings_["chat_buffer_sending"] = "Chat: sending %d messages\xE2\x80\xA6";
|
||||
strings_["chat_buffer_preparing"] = "Chat buffer: preparing %d/%d\xE2\x80\xA6";
|
||||
strings_["chat_buffer_loading"] = "Chat buffer: \xE2\x80\xA6";
|
||||
strings_["chat_buffer_ready"] = "Chat buffer: %d/%d ready";
|
||||
// Chat customization (gear modal + Settings → Chat & Contacts)
|
||||
strings_["chat_settings_title"] = "Chat settings";
|
||||
strings_["chat_settings_tip"] = "Chat customization";
|
||||
|
||||
Reference in New Issue
Block a user