Far-Beyond-Pulsar/Pulsar-Native

Inconsistent locale coverage across editor crates — missing ru and empty locale sets

已关闭

#483 创建于 2026年7月29日

 (0 条评论) (0 个反应) (0 位负责人)Rust (29 个派生)auto 404
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

  1. Add ru.yml to ui_core, ui_file_manager, and ui_flamegraph (translations can be sourced from the existing ru.yml in ui_common etc.)
  2. Once #478 and #479 are resolved, ensure the new locale files match the supported locale set
  3. Consider establishing a CI check that verifies all editor crates with rust-i18n have the same set of locale files

贡献者指南