update: FLUID 界面翻译使用外置 JSON 语言包
MemRelay-Operation: memory-save:uiframe-fluid-dialog-i18n-20261122 MemRelay-Resource: fc5bc4b3-dfe5-41a8-bf3e-9b204a1847d7
This commit is contained in:
@@ -8,14 +8,14 @@ memory_type: decision
|
||||
project_id: 0017cd22-9dea-4f87-9595-fc050356ff3c
|
||||
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
|
||||
status: active
|
||||
revision: 2
|
||||
request_id: uiframe-fluid-json-locale-coverage-20261122
|
||||
revision: 3
|
||||
request_id: uiframe-fluid-dialog-i18n-20261122
|
||||
created_at: '2026-11-21T19:57:49.684886+00:00'
|
||||
updated_at: '2026-11-21T20:12:41.944138+00:00'
|
||||
updated_at: '2026-11-21T20:20:05.087058+00:00'
|
||||
tags:
|
||||
- fltk-plus
|
||||
- fluid
|
||||
- i18n
|
||||
---
|
||||
|
||||
FLUID 界面译文在 fltk-plus/fluid/locale 的 UTF-8 JSON。英文是内置原文。缺的键保持英文。查找顺序:FLUID_LOCALE_DIR、可执行文件旁边的 locale、../share/fltk-plus/locale。偏好键 ui_language_id。测试用 E:\code\UIFrame\fltk-plus\build\bin\fluid.exe,不要用 cargo 安装的旧 fluid。当前构建目录是 Visual Studio 多配置,Release 产物在 build\bin\Release,已同步到 build\bin\fluid.exe 和 build\bin\locale。语言包覆盖主菜单、新建菜单(含图标项的类型名)、模板对话框、控件箱、代码视图、关于、命令窗口和控件属性页的主要标签。边框类型名(NO_BOX 等)和一部分长说明仍是英文。这次改动尚未提交。
|
||||
FLUID 界面译文在 fltk-plus/fluid/locale 的 UTF-8 JSON。英文是内置原文。缺的键保持英文。查找顺序:FLUID_LOCALE_DIR、可执行文件旁边的 locale、../share/fltk-plus/locale。偏好键 ui_language_id。测试用 E:\code\UIFrame\fltk-plus\build\bin\fluid.exe。弹出框在 fluid/message.cxx 统一翻译标题、正文和按钮;格式串在 printf 之前翻译,占位符必须保留。文件对话框标题在 file_chooser.cxx 翻译。fl_ok/fl_cancel/fl_yes/fl_no/fl_close 随语言切换。语言包已覆盖新建容器提示、普通消息、警告、文件对话框标题和外部编辑器错误。操作系统返回的 strerror 文本保持系统语言。改动尚未提交。
|
||||
Reference in New Issue
Block a user