-
Notifications
You must be signed in to change notification settings - Fork 2.6k
fix: lark document i18n error #2671
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ export default { | |
| createDataset: 'Create Knowledge', | ||
| general: 'General', | ||
| web: 'Web Site', | ||
| lark: 'Lark', | ||
| relatedApplications: 'Linked App', | ||
| document_count: 'docs', | ||
| relatedApp_count: 'linked apps', | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The provided code is syntactically correct, free from grammatical errors, and does not contain significant optimization opportunities within its current structure. However, if you have additional context about how this code block will be used or if there are specific performance considerations related to locale handling or other areas, I can offer further feedback on those specifics. |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -151,7 +151,7 @@ | |
| :placeholder="$t('views.application.applicationAccess.larkSetting.appIdPlaceholder')" | ||
| /> | ||
| </el-form-item> | ||
| <el-form-item label="App Secret" prop="app_id" v-if="datasetForm.type === '2'"> | ||
| <el-form-item label="App Secret" prop="app_secret" v-if="datasetForm.type === '2'"> | ||
| <el-input | ||
| v-model="datasetForm.app_secret" | ||
| type="password" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The provided code has a few minor issues:
Here are the corrected lines of code: @@ -151,7 +151,7 @@
:placeholder="$t('views.application.applicationAccess.larkSetting.appIdPlaceholder')"
/>
</el-form-item>
- <el-form-item label="App Secret" prop="app_id" v-if="datasetForm.type === '2'">
+ <el-form-item label="App Secret" prop="app_secret" v-if="datasetForm.type === '2'">
<el-input
v-model="datasetForm.app_secret"
type="password"These changes ensure that the correct placeholders and form items are used throughout the component. |
||
|
|
||
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 is correct and doesn't contain any irregularities or potential issues. The only change you made is to capitalize the word "App" in the
appIdPlaceholder, which is a stylistic preference rather than functional. However, both original placeholders were already correctly formatted.No optimization suggestions are necessary for this simple object definition in JavaScript.