@box/metadata-editor 0.55.0 → 0.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/lib/components/metadata-instance-editor/subcomponents/custom-instance/custom-instance.js +68 -57
- package/esm/lib/components/metadata-instance-editor/subcomponents/custom-instance/messages.js +1 -1
- package/esm/lib/components/metadata-instance-editor/subcomponents/custom-instance-new-field/custom-instance-new-field.js +14 -11
- package/esm/lib/components/metadata-instance-editor/subcomponents/custom-instance-new-field/messages.js +4 -0
- package/i18n/bn-IN.js +16 -15
- package/i18n/bn-IN.properties +21 -9
- package/i18n/da-DK.js +12 -11
- package/i18n/da-DK.properties +17 -5
- package/i18n/de-DE.js +12 -11
- package/i18n/de-DE.properties +17 -5
- package/i18n/en-AU.js +3 -2
- package/i18n/en-AU.properties +13 -1
- package/i18n/en-CA.js +2 -1
- package/i18n/en-CA.properties +13 -1
- package/i18n/en-GB.js +3 -2
- package/i18n/en-GB.properties +13 -1
- package/i18n/en-US.js +2 -1
- package/i18n/en-US.properties +3 -1
- package/i18n/en-x-pseudo.js +96 -95
- package/i18n/en-x-pseudo.properties +101 -89
- package/i18n/es-419.js +12 -11
- package/i18n/es-419.properties +17 -5
- package/i18n/es-ES.js +12 -11
- package/i18n/es-ES.properties +17 -5
- package/i18n/fi-FI.js +12 -11
- package/i18n/fi-FI.properties +17 -5
- package/i18n/fr-CA.js +11 -10
- package/i18n/fr-CA.properties +16 -4
- package/i18n/fr-FR.js +11 -10
- package/i18n/fr-FR.properties +16 -4
- package/i18n/hi-IN.js +12 -11
- package/i18n/hi-IN.properties +17 -5
- package/i18n/it-IT.js +12 -11
- package/i18n/it-IT.properties +17 -5
- package/i18n/ja-JP.js +13 -12
- package/i18n/ja-JP.properties +18 -6
- package/i18n/json/src/lib/components/metadata-instance-editor/subcomponents/custom-instance/messages.json +1 -1
- package/i18n/json/src/lib/components/metadata-instance-editor/subcomponents/custom-instance-new-field/messages.json +1 -1
- package/i18n/ko-KR.js +12 -11
- package/i18n/ko-KR.properties +17 -5
- package/i18n/nb-NO.js +12 -11
- package/i18n/nb-NO.properties +17 -5
- package/i18n/nl-NL.js +12 -11
- package/i18n/nl-NL.properties +17 -5
- package/i18n/pl-PL.js +12 -11
- package/i18n/pl-PL.properties +17 -5
- package/i18n/pt-BR.js +12 -11
- package/i18n/pt-BR.properties +17 -5
- package/i18n/ru-RU.js +12 -11
- package/i18n/ru-RU.properties +17 -5
- package/i18n/sv-SE.js +12 -11
- package/i18n/sv-SE.properties +17 -5
- package/i18n/tr-TR.js +12 -11
- package/i18n/tr-TR.properties +17 -5
- package/i18n/zh-CN.js +12 -11
- package/i18n/zh-CN.properties +17 -5
- package/i18n/zh-TW.js +12 -11
- package/i18n/zh-TW.properties +17 -5
- package/package.json +2 -2
- package/types/lib/components/metadata-instance-editor/subcomponents/custom-instance-new-field/messages.d.ts +5 -0
package/i18n/zh-CN.properties
CHANGED
@@ -75,19 +75,19 @@ metadataEditor.addMetadataTemplate.search.placeholder = 搜索模板
|
|
75
75
|
# Call to encourage user to add metadata templates
|
76
76
|
metadataEditor.addMetadataTemplate.trigger.label = 添加模板
|
77
77
|
# Label for value suggested by Box AI
|
78
|
-
metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI
|
78
|
+
metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI 建议:
|
79
79
|
# Aria-label for AI suggestion options
|
80
|
-
metadataEditor.aiSuggestionField.aiSuggestionOptions =
|
80
|
+
metadataEditor.aiSuggestionField.aiSuggestionOptions = 选项
|
81
81
|
# Label for appending the AI suggestion
|
82
82
|
metadataEditor.aiSuggestionField.appendLabel = 追加
|
83
83
|
# Label for clearing the current value and applying the AI suggestion
|
84
|
-
metadataEditor.aiSuggestionField.clearAndReplaceLabel =
|
84
|
+
metadataEditor.aiSuggestionField.clearAndReplaceLabel = 清除和替换
|
85
85
|
# Label for ignoring the AI suggestion
|
86
|
-
metadataEditor.aiSuggestionField.ignoreLabel =
|
86
|
+
metadataEditor.aiSuggestionField.ignoreLabel = 忽略
|
87
87
|
# Paragraph asking user are they sure that they want to delete the template
|
88
88
|
metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = 是否确定要删除 “{templateName}” 元数据模板及其此文件中的所有值?
|
89
89
|
# Label informing how to confirm deletion of the template
|
90
|
-
metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel =
|
90
|
+
metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel = 键入元数据模板的名称以确认删除
|
91
91
|
# Paragraph informing that data cannot be restored
|
92
92
|
metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph = 元数据值一旦删除就无法恢复。
|
93
93
|
# CTA to cancel deletion of the template
|
@@ -100,6 +100,8 @@ metadataEditor.editInstance.deleteConfirmationModal.customMedatata = 自定义
|
|
100
100
|
metadataEditor.editInstance.deleteConfirmationModal.dismissButton = 取消
|
101
101
|
# Header informing that template will be deleted
|
102
102
|
metadataEditor.editInstance.deleteConfirmationModal.header = 删除 “{templateName}”
|
103
|
+
# Aria label for header informing that template will be deleted
|
104
|
+
metadataEditor.editInstance.deleteConfirmationModal.headerAriaLabel = 删除元数据模版
|
103
105
|
# Description of Box AI features
|
104
106
|
metadataEditor.fileLevel.emptyState.boxAiEnabled.body = 利用 Box AI 的强大功能,快速获取文档元数据,同时有不断提高的准确性。
|
105
107
|
# Call to encourage user to use Box AI to autofill metadata fields
|
@@ -158,6 +160,8 @@ metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabe
|
|
158
160
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton = 保存
|
159
161
|
# Button with "Autofill" text. Call to action to automatically fill in form fields based on AI information
|
160
162
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton = 自动填充
|
163
|
+
# Tooltip text explaining that by clicking button user can autofill template using Box AI
|
164
|
+
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip = 使用 Box AI 自动填充
|
161
165
|
# Header with Custom Metadata template name
|
162
166
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle = 自定义元数据
|
163
167
|
# Aria label used to indicate that the button is currently loading.
|
@@ -176,5 +180,13 @@ metadataEditor.unsavedChangesModal.saveAndContinueCTA = 保存并继续
|
|
176
180
|
metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA = 隐藏空值
|
177
181
|
# Call to action to show hidden empty values
|
178
182
|
metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA = 显示空值
|
183
|
+
# Aria label for the autofill button
|
184
|
+
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel = 使用 Box AI 自动填充
|
185
|
+
# Tooltip text explaining that by clicking button user can autofill template using Box AI
|
186
|
+
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip = 使用 Box AI 自动填充
|
179
187
|
# Header with Custom Metadata template name
|
180
188
|
metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle = 自定义元数据
|
189
|
+
# Aria label for the edit button
|
190
|
+
metadataEditor.viewInstance.metadataInstanceHeader.editButtonAriaLabel = 编辑
|
191
|
+
# Tooltip text explaining that by clicking button user can edit template
|
192
|
+
metadataEditor.viewInstance.metadataInstanceHeader.editButtonTooltip = 编辑
|
package/i18n/zh-TW.js
CHANGED
@@ -37,20 +37,20 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "自訂中繼資料",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "搜尋範本",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "新增範本",
|
40
|
-
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI
|
41
|
-
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI 建議:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "選項",
|
42
42
|
"metadataEditor.aiSuggestionField.appendLabel": "附加",
|
43
|
-
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "
|
44
|
-
"metadataEditor.aiSuggestionField.ignoreLabel": "
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "清除並取代",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "略過",
|
45
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "確定要刪除「{templateName}」中繼資料範本,以及此檔案中的所有值?",
|
46
|
-
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "
|
46
|
+
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "輸入中繼資料範本的名稱以確認刪除",
|
47
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "刪除後,中繼資料值將無法恢復。",
|
48
48
|
"metadataEditor.editInstance.deleteConfirmationModal.cancelButton": "取消",
|
49
49
|
"metadataEditor.editInstance.deleteConfirmationModal.confirmButton": "確認",
|
50
50
|
"metadataEditor.editInstance.deleteConfirmationModal.customMedatata": "自訂中繼資料",
|
51
51
|
"metadataEditor.editInstance.deleteConfirmationModal.dismissButton": "關閉",
|
52
52
|
"metadataEditor.editInstance.deleteConfirmationModal.header": "刪除「{templateName}」",
|
53
|
-
"metadataEditor.editInstance.deleteConfirmationModal.headerAriaLabel": "
|
53
|
+
"metadataEditor.editInstance.deleteConfirmationModal.headerAriaLabel": "刪除中繼資料範本",
|
54
54
|
"metadataEditor.fileLevel.emptyState.boxAiEnabled.body": "使用 Box AI 的能力快速捕獲文件中繼資料,準確度不斷提高。",
|
55
55
|
"metadataEditor.fileLevel.emptyState.boxAiEnabled.heading": "使用 Box AI 自動填充中繼資料",
|
56
56
|
"metadataEditor.fileLevel.emptyState.default.body": "新增中繼資料至您的檔案,以支援業務運營、工作流程等更多!",
|
@@ -63,6 +63,7 @@ export default {
|
|
63
63
|
"metadataEditor.instanceLevel.emptyState.noEmptyValues.body": "此範本沒有值",
|
64
64
|
"metadataEditor.managerLevel.emptyState.body": "瀏覽或搜尋您的項目,以套用和編輯中繼資料",
|
65
65
|
"metadataEditor.managerLevel.emptyState.heading": "套用中繼資料範本",
|
66
|
+
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Add new attribute to Custom Metadata",
|
66
67
|
"metadataEditor.metadataEditor.customIntanceNewField.addNewFieldCTA": "新增",
|
67
68
|
"metadataEditor.metadataEditor.customIntanceNewField.attributeNameLabel": "屬性名稱",
|
68
69
|
"metadataEditor.metadataEditor.customIntanceNewField.cancelCTA": "取消",
|
@@ -80,7 +81,7 @@ export default {
|
|
80
81
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "載入中......",
|
81
82
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "儲存",
|
82
83
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "自動填充",
|
83
|
-
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "
|
84
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "使用 Box AI 自動填充",
|
84
85
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "自訂中繼資料",
|
85
86
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "載入中......",
|
86
87
|
"metadataEditor.unsavedChangesModal.body": "中繼資料範本有未儲存的變更。 您想要如何繼續?",
|
@@ -90,9 +91,9 @@ export default {
|
|
90
91
|
"metadataEditor.unsavedChangesModal.saveAndContinueCTA": "儲存並繼續",
|
91
92
|
"metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "隱藏空值",
|
92
93
|
"metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "顯示空值",
|
93
|
-
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel": "
|
94
|
-
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip": "
|
94
|
+
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel": "使用 Box AI 自動填充",
|
95
|
+
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip": "使用 Box AI 自動填充",
|
95
96
|
"metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "自訂中繼資料",
|
96
|
-
"metadataEditor.viewInstance.metadataInstanceHeader.editButtonAriaLabel": "
|
97
|
-
"metadataEditor.viewInstance.metadataInstanceHeader.editButtonTooltip": "
|
97
|
+
"metadataEditor.viewInstance.metadataInstanceHeader.editButtonAriaLabel": "編輯",
|
98
|
+
"metadataEditor.viewInstance.metadataInstanceHeader.editButtonTooltip": "編輯"
|
98
99
|
}
|
package/i18n/zh-TW.properties
CHANGED
@@ -75,19 +75,19 @@ metadataEditor.addMetadataTemplate.search.placeholder = 搜尋範本
|
|
75
75
|
# Call to encourage user to add metadata templates
|
76
76
|
metadataEditor.addMetadataTemplate.trigger.label = 新增範本
|
77
77
|
# Label for value suggested by Box AI
|
78
|
-
metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI
|
78
|
+
metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI 建議:
|
79
79
|
# Aria-label for AI suggestion options
|
80
|
-
metadataEditor.aiSuggestionField.aiSuggestionOptions =
|
80
|
+
metadataEditor.aiSuggestionField.aiSuggestionOptions = 選項
|
81
81
|
# Label for appending the AI suggestion
|
82
82
|
metadataEditor.aiSuggestionField.appendLabel = 附加
|
83
83
|
# Label for clearing the current value and applying the AI suggestion
|
84
|
-
metadataEditor.aiSuggestionField.clearAndReplaceLabel =
|
84
|
+
metadataEditor.aiSuggestionField.clearAndReplaceLabel = 清除並取代
|
85
85
|
# Label for ignoring the AI suggestion
|
86
|
-
metadataEditor.aiSuggestionField.ignoreLabel =
|
86
|
+
metadataEditor.aiSuggestionField.ignoreLabel = 略過
|
87
87
|
# Paragraph asking user are they sure that they want to delete the template
|
88
88
|
metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = 確定要刪除「{templateName}」中繼資料範本,以及此檔案中的所有值?
|
89
89
|
# Label informing how to confirm deletion of the template
|
90
|
-
metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel =
|
90
|
+
metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel = 輸入中繼資料範本的名稱以確認刪除
|
91
91
|
# Paragraph informing that data cannot be restored
|
92
92
|
metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph = 刪除後,中繼資料值將無法恢復。
|
93
93
|
# CTA to cancel deletion of the template
|
@@ -100,6 +100,8 @@ metadataEditor.editInstance.deleteConfirmationModal.customMedatata = 自訂中
|
|
100
100
|
metadataEditor.editInstance.deleteConfirmationModal.dismissButton = 關閉
|
101
101
|
# Header informing that template will be deleted
|
102
102
|
metadataEditor.editInstance.deleteConfirmationModal.header = 刪除「{templateName}」
|
103
|
+
# Aria label for header informing that template will be deleted
|
104
|
+
metadataEditor.editInstance.deleteConfirmationModal.headerAriaLabel = 刪除中繼資料範本
|
103
105
|
# Description of Box AI features
|
104
106
|
metadataEditor.fileLevel.emptyState.boxAiEnabled.body = 使用 Box AI 的能力快速捕獲文件中繼資料,準確度不斷提高。
|
105
107
|
# Call to encourage user to use Box AI to autofill metadata fields
|
@@ -158,6 +160,8 @@ metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabe
|
|
158
160
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton = 儲存
|
159
161
|
# Button with "Autofill" text. Call to action to automatically fill in form fields based on AI information
|
160
162
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton = 自動填充
|
163
|
+
# Tooltip text explaining that by clicking button user can autofill template using Box AI
|
164
|
+
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip = 使用 Box AI 自動填充
|
161
165
|
# Header with Custom Metadata template name
|
162
166
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle = 自訂中繼資料
|
163
167
|
# Aria label used to indicate that the button is currently loading.
|
@@ -176,5 +180,13 @@ metadataEditor.unsavedChangesModal.saveAndContinueCTA = 儲存並繼續
|
|
176
180
|
metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA = 隱藏空值
|
177
181
|
# Call to action to show hidden empty values
|
178
182
|
metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA = 顯示空值
|
183
|
+
# Aria label for the autofill button
|
184
|
+
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel = 使用 Box AI 自動填充
|
185
|
+
# Tooltip text explaining that by clicking button user can autofill template using Box AI
|
186
|
+
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip = 使用 Box AI 自動填充
|
179
187
|
# Header with Custom Metadata template name
|
180
188
|
metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle = 自訂中繼資料
|
189
|
+
# Aria label for the edit button
|
190
|
+
metadataEditor.viewInstance.metadataInstanceHeader.editButtonAriaLabel = 編輯
|
191
|
+
# Tooltip text explaining that by clicking button user can edit template
|
192
|
+
metadataEditor.viewInstance.metadataInstanceHeader.editButtonTooltip = 編輯
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@box/metadata-editor",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.56.1",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@ariakit/react": "0.4.5",
|
6
6
|
"@box/blueprint-web": "^7.20.0",
|
@@ -52,5 +52,5 @@
|
|
52
52
|
"**/*.css"
|
53
53
|
],
|
54
54
|
"license": "SEE LICENSE IN LICENSE",
|
55
|
-
"gitHead": "
|
55
|
+
"gitHead": "a0c0a5947c5f64b38582f24481ec3db29f9d8f4e"
|
56
56
|
}
|