Skip to content

fix: Chinese translations#1283

Merged
bdlukaa merged 1 commit intobdlukaa:masterfrom
Enaium-Fork:master
Feb 6, 2026
Merged

fix: Chinese translations#1283
bdlukaa merged 1 commit intobdlukaa:masterfrom
Enaium-Fork:master

Conversation

@Enaium
Copy link
Contributor

@Enaium Enaium commented Feb 4, 2026

Pre-launch Checklist

  • I have updated CHANGELOG.md with my changes
  • I have run "dart format ." on the project
  • I have added/updated relevant documentation

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Enaium, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on improving the Chinese localization within the application. It updates specific UI text elements to ensure better accuracy and consistency in the Chinese language. Additionally, it enhances the intl_zh.arb file by adding comprehensive descriptive metadata for existing translation keys, which will aid in future localization efforts and understanding of each string's context.

Highlights

  • Updated Chinese UI Translations: Several UI elements, including 'Undo', 'Pick a date', 'See more', and 'See less', have been updated with more accurate or consistent Chinese translations in fluent_localizations_zh.dart.
  • Enhanced Localization Metadata: Descriptive comments (@...) have been added for almost all Chinese localization keys within intl_zh.arb, significantly improving the clarity and maintainability of the translation file.
Changelog
  • CHANGELOG.md
    • Added an entry: 'Update Chinese translations'.
  • lib/l10n/generated/fluent_localizations_zh.dart
    • Updated undoActionLabel from 'Undo' to '撤销'.
    • Updated undoActionTooltip from 'Undo the last action' to '撤销上一个操作'.
    • Updated pickADate from 'Pick a date' to '选择日期'.
    • Updated seeMore from 'See more' to '查看更多'.
    • Updated seeLess from 'See less' to '查看更少'.
  • lib/l10n/intl_zh.arb
    • Added descriptive comments (@...) for numerous existing localization keys.
    • Ensured consistency for undoActionLabel, undoActionTooltip, pickADate, seeMore, and seeLess with their respective Chinese translations and descriptions.
Activity
  • The author, Enaium, has marked the CHANGELOG.md update and dart format . execution as complete in the pre-launch checklist.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Chinese translations for various UI elements. The changes are mostly correct and improve localization coverage. However, I've noticed several issues with the color name translations in lib/l10n/intl_zh.arb. Many are either incorrect (e.g., colorBrown translated as red) or too generic (e.g., multiple shades of green translated simply as 'green'). The newly added descriptions are helpful, and the translations should be updated to match them for better accuracy. I've left a few specific comments on this. Additionally, there's a minor consistency issue in CHANGELOG.md and a suggestion for a more idiomatic translation for 'See less'.

@Enaium Enaium changed the title Update Chinese translations for UI elements fix: Chinese translations Feb 4, 2026
@bdlukaa bdlukaa merged commit 6065dfd into bdlukaa:master Feb 6, 2026
1 of 3 checks passed
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.

2 participants