-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat: Locales #4273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Locales #4273
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
| placeholder1: 'Return the set of variables for each group', | ||
| group: { | ||
| placeholder: 'Please select a variable', | ||
| noneError: 'Name cannot be empty', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are two potential issues in this code snippet:
- A redundant field
placeholderis listed under the "Group" object key, which might not be necessary based on its current use. - The placeholder label has been changed inconsistently between "Structurally aggregate each group of variables" and "Return the set of variables for each group". Please ensure consistent wording.
For optimization suggests (not applicable to code):
The code is clean and efficient given the constraints provided. It appears to be designed with error handling for an aggregation strategy.
| placeholder1: '返回每组变量的集合', | ||
| group: { | ||
| placeholder: '请选择变量', | ||
| noneError: '名称不能为空', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks mostly correct, but here are some minor suggestions for improvement:
- Replace
'结构化聚合每组变量'with''since no content is provided in that field.
Here's the updated code snippet with these changes:
@@ -266,7 +266,7 @@ export default {
text: '对多个分支的输出进行聚合处理',
Strategy: '聚合策略',
placeholder: '返回每组的第一个非空值',
- placeholder1: '架构化聚合每组变量',
+ // placeholder1: '返回每组变量的集合',
group: {
placeholder: '请选择变量',
noneError: '名称不能为空',This change ensures that the placeholder remains consistent even if its content needs to be adjusted in future updates.
| placeholder1: '返回每組變量的集合', | ||
| group: { | ||
| placeholder: '請選擇變量', | ||
| noneError: '名稱不能為空', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The provided code snippet has some formatting issues and a mislabeling of placeholders. Here's an optimized version with corrections:
@@ -265,7 +265,7 @@ export default {
text: '聚合多個分支的輸出',
strategy: '聚合策略',
placeholder: '返回每組的第一個非空值',
- placeholder1: '結構化聚合每組變量',
+ placeholder1: '返回每組變量集合',
group: {
placeholder: '请选择变量',
noneError: '名称不能为空',
}
}Changes Made:
- Corrected the
Strategylabel to be "聚合策略" (Translation from Chinese to English). - Fixed the spelling error in
placeholder1from "結構化聚合每組變量" to "返回每組變量集合". - Removed the extra comma after
group.
feat: Locales