Repository navigation
fix: i18n 硬编码可见文案改走 t()(daily review) - #2320
Closed
flashduty[bot] wants to merge 1 commit into
Closed
flashduty[bot] wants to merge 1 commit into
flashduty[bot] wants to merge 1 commit into
Conversation
This was referenced Sep 9, 2026
Collaborator
|
1、2 都是专业名词暂时不宜强行做多语言,3 是错误信息倒不是必须要有多语言,后面有必要再整体看下 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
每日 i18n Review 发现以下今日新增的用户可见硬编码文案,统一改走 i18n 并补齐 zh_CN/en_US:
src/pages/alertCurEvent/pages/List/FullscreenList.tsx:<span>LIVE</span>→t('live'),新增live(zh_CN 实时 / en_US LIVE)。来源 PR feat(alert-cur-events): add fullscreen live view #2301。src/pages/dashboard/Editor/QueryEditor/Elasticsearch/QueryPanel.tsx:SQL 模式切换Builder/Code标签 → 复用已有tES('builder.title')/tES('builder.code');label='Legend'→ 复用已有t('query.legend')。来源 PR feat(elasticsearch): add ES SQL query mode with SQL builder #2293。src/pages/dashboard/Variables/Variable/Query.tsx:变量缺失依赖的错误提示 →t('query.variable_missing_dependency', { name, dependencies }),新增 key(zh_CN/en_US)。来源 PR feat(dashboard): support label/value object options for query variables #2314。未改动任何无关文件;未新增重复 key(Builder/Code/Legend 复用现有翻译)。