Far-Beyond-Pulsar/Pulsar-Native
Inconsistent locale coverage across editor crates — missing ru and empty locale sets
已关闭
#483 创建于 2026年7月29日
difficulty: easyenhancementgood first issuehelp wantedpriority: low
仓库指标
- 星标
- (348 个星标)
- PR 合并指标
- (平均合并 11小时 37分钟) (30 天内合并 69 个 PR)
描述
Summary
The locale coverage across editor crates is inconsistent. Some crates have the ru (Russian) locale, others don't. Two crates have no locale files at all.
Current locale coverage
| Crate | en | zh-CN | zh-HK | pt-BR | it | ru | lol |
|---|---|---|---|---|---|---|---|
ui_common |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_level_editor |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_problems |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_type_debugger |
✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
ui_core |
✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |
ui_file_manager |
✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |
ui_flamegraph |
✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ |
ui_log_viewer |
❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
ui (wgpui-component) |
❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
Missing ru locale: ui_core, ui_file_manager, ui_flamegraph
No locale files at all: ui_log_viewer (see #479), ui (wgpui-component, see #478)
Additionally, the lol (LOLCAT) locale exists in most crates as a pseudo-locale for testing — it should probably be consistently present or consistently removed.
Suggested fix
- Add
ru.ymltoui_core,ui_file_manager, andui_flamegraph(translations can be sourced from the existingru.ymlinui_commonetc.) - Once #478 and #479 are resolved, ensure the new locale files match the supported locale set
- Consider establishing a CI check that verifies all editor crates with
rust-i18nhave the same set of locale files