Skip to content

fix: i18n 补齐 default/deleted/all_datasources 在 es/fr/id/ko/pt 的缺失翻译 (daily review) - #2329

Merged
jsers merged 1 commit into
mainfrom
fix/i18n-20260910-missing-locale-keys
Sep 10, 2026
Merged

jsers merged 1 commit into
mainfrom
fix/i18n-20260910-missing-locale-keys

Conversation

@flashduty

@flashduty flashduty Bot commented Sep 10, 2026

Copy link
Copy Markdown

背景

cat-fe 每日 i18n Review(2026-09-10)发现:今日合入 main 的变更中新增了 3 个 locale key,但只有部分语言补齐,5 个语言(es_ES / fr_FR / id_ID / ko_KR / pt_BR)缺失,导致这些语言回退到基础语言显示。

来源:PR #2290(Merge pull request #2290 from n9e/optimize-datasource-selectors,commit 060c83ba)。

缺失明细

文件 key 已有语言 缺失语言
src/components/DatasourceSelect/locale/* default、deleted zh_CN / zh_HK / en_US / ja_JP / ru_RU es_ES / fr_FR / id_ID / ko_KR / pt_BR
src/pages/alertRules/locale/* all_datasources zh_CN / zh_HK / en_US / ja_JP / ru_RU es_ES / fr_FR / id_ID / ko_KR / pt_BR

已用 git grep 在 HEAD 树中逐条确认:上述 key 在基础语言文件中存在、在 5 个语言文件中不存在。

修复内容

为 es_ES / fr_FR / id_ID / ko_KR / pt_BR 补齐 3 个 key(共 10 个文件、15 行),沿用各文件既有引号风格,仅新增、未改动任何既有条目。

  • default:Eliminado / Supprimé / Dihapus / 삭제됨 / Excluído
  • deleted:Predeterminado / Par défaut / Bawaan / 기본값 / Padrão
  • all_datasources:Todos los orígenes de datos / Toutes les sources de données / Semua sumber data / 모든 데이터 소스 / Todas as fontes de dados

校验建议

译文如需按产品术语统一(例如"默认/Default"在各语言的既有用法),欢迎直接在本 PR 上修改。

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: a99666c3-0a7a-4a6f-882e-75a3124819a5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jsers
jsers merged commit d069902 into main Sep 10, 2026
1 check 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.

1 participant