Skip to content

feat: 引入 l10n 并添加日语翻译#15

Open
h-akatsuki wants to merge 3 commits intoasmroneapp:mainfrom
h-akatsuki:feature/localization
Open

feat: 引入 l10n 并添加日语翻译#15
h-akatsuki wants to merge 3 commits intoasmroneapp:mainfrom
h-akatsuki:feature/localization

Conversation

@h-akatsuki
Copy link
Copy Markdown

  • 修复了代码中的弃用警告 (deprecation warnings) 并移除了未使用的引用 (unused imports)。
  • 将现有的中文消息抽离至 l10n,并新增了日语翻译。

h-akatuki added 3 commits November 29, 2025 23:08
… removed redundant code blocks and optimized function calls.
- Created `app_localizations_ja.dart` for Japanese translations.
- Created `app_localizations_zh.dart` for Chinese translations.
- Added corresponding ARB file `app_zh.arb` for Chinese localization.
- Updated `l10n.dart` to include localization extension for easy access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant