@brightspace-ui/core 3.142.0 → 3.142.2
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/components/button/button-add.js +8 -6
- package/components/list/list-item-mixin.js +7 -0
- package/components/list/list-item-nav-mixin.js +42 -0
- package/components/list/list.js +24 -3
- package/lang/ar.js +85 -12
- package/lang/cy.js +85 -12
- package/lang/da.js +85 -12
- package/lang/de.js +85 -12
- package/lang/en-gb.js +85 -12
- package/lang/en.js +85 -12
- package/lang/es-es.js +85 -12
- package/lang/es.js +85 -12
- package/lang/fr-fr.js +85 -12
- package/lang/fr.js +85 -12
- package/lang/haw.js +85 -12
- package/lang/hi.js +85 -12
- package/lang/ja.js +77 -12
- package/lang/ko.js +77 -12
- package/lang/mi.js +85 -12
- package/lang/nl.js +85 -12
- package/lang/pt.js +85 -12
- package/lang/sv.js +85 -12
- package/lang/tr.js +85 -12
- package/lang/zh-cn.js +77 -12
- package/lang/zh-tw.js +78 -12
- package/package.json +1 -1
package/lang/zh-cn.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
export default {
|
2
|
+
"__test__": "This will be removed in a follow-up PR (before translation)",
|
2
3
|
"components.alert.close": "关闭提醒",
|
3
4
|
"components.breadcrumbs.breadcrumb": "痕迹导航",
|
4
5
|
"components.button-add.addItem": "添加项目",
|
@@ -22,14 +23,29 @@ export default {
|
|
22
23
|
"components.filter.clearAnnounce": "正在清除筛选器:{filterName}",
|
23
24
|
"components.filter.clearDescription": "清除筛选条件:{filterName}",
|
24
25
|
"components.filter.loading": "正在加载筛选器",
|
25
|
-
"components.filter.filterCountDescription":
|
26
|
+
"components.filter.filterCountDescription":
|
27
|
+
`{number, plural,
|
28
|
+
=0 {未应用筛选器。}
|
29
|
+
other {已应用 {number} 个筛选器。}
|
30
|
+
}`,
|
26
31
|
"components.filter.filters": "个筛选条件",
|
27
32
|
"components.filter.noFilters": "无可用筛选器",
|
28
|
-
"components.filter.searchResults":
|
33
|
+
"components.filter.searchResults":
|
34
|
+
`{number, plural,
|
35
|
+
=0 {无搜索结果}
|
36
|
+
other {{number} 个搜索结果}
|
37
|
+
}`,
|
29
38
|
"components.filter.selectedFirstListLabel": "{headerText}。先显示所选筛选器。",
|
30
39
|
"components.filter.singleDimensionDescription": "筛选依据:{filterName}",
|
31
|
-
"components.filter-dimension-set-date-text-value.textHours":
|
32
|
-
|
40
|
+
"components.filter-dimension-set-date-text-value.textHours":
|
41
|
+
`{num, plural,
|
42
|
+
other {过去 {num} 小时}
|
43
|
+
}`,
|
44
|
+
"components.filter-dimension-set-date-text-value.textDays":
|
45
|
+
`{num, plural,
|
46
|
+
=0 {今天}
|
47
|
+
other {过去 {num} 天}
|
48
|
+
}`,
|
33
49
|
"components.filter-dimension-set-date-text-value.textMonths": "过去 {num} 个月",
|
34
50
|
"components.filter-dimension-set-date-time-range-value.label": "{text},扩展以选择日期",
|
35
51
|
"components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue} 至 {endValue}",
|
@@ -39,13 +55,34 @@ export default {
|
|
39
55
|
"components.form-element.defaultError": "{label} 无效",
|
40
56
|
"components.form-element.defaultFieldLabel": "字段",
|
41
57
|
"components.form-element.input.email.typeMismatch": "电子邮件无效",
|
42
|
-
"components.form-element.input.number.rangeError":
|
43
|
-
|
44
|
-
|
58
|
+
"components.form-element.input.number.rangeError":
|
59
|
+
`{minExclusive, select,
|
60
|
+
true {{maxExclusive, select,
|
61
|
+
true {数目必须大于 {min} 且小于 {max}。}
|
62
|
+
other {数目必须大于 {min} 且小于或等于 {max}。}
|
63
|
+
}}
|
64
|
+
other {{maxExclusive, select,
|
65
|
+
true {数目必须大于或等于 {min} 且小于 {max}。}
|
66
|
+
other {数目必须大于或等于 {min} 且小于或等于 {max}。}
|
67
|
+
}}
|
68
|
+
}`,
|
69
|
+
"components.form-element.input.number.rangeOverflow":
|
70
|
+
`{maxExclusive, select,
|
71
|
+
true {数字必须小于 {max}。}
|
72
|
+
other {数字必须小于等于 {max}。}
|
73
|
+
}`,
|
74
|
+
"components.form-element.input.number.rangeUnderflow":
|
75
|
+
`{minExclusive, select,
|
76
|
+
true {数字必须大于 {min}。}
|
77
|
+
other {数字必须大于等于 {min}。}
|
78
|
+
}`,
|
45
79
|
"components.form-element.input.text.tooShort": "{label} 必须至少为 {minlength} 个字符",
|
46
80
|
"components.form-element.input.url.typeMismatch": "URL 无效",
|
47
81
|
"components.form-element.valueMissing": "{label} 为必填项",
|
48
|
-
"components.form-error-summary.errorSummary":
|
82
|
+
"components.form-error-summary.errorSummary":
|
83
|
+
`{count, plural,
|
84
|
+
other {在您提交的信息中发现 {count} 个错误}
|
85
|
+
}`,
|
49
86
|
"components.form-error-summary.text": "切换错误详细信息",
|
50
87
|
"components.input-color.backgroundColor": "背景颜色",
|
51
88
|
"components.input-color.foregroundColor": "前景颜色",
|
@@ -109,10 +146,19 @@ export default {
|
|
109
146
|
"components.overflow-group.moreActions": "更多操作",
|
110
147
|
"components.pager-load-more.action": "加载更多",
|
111
148
|
"components.pager-load-more.action-with-page-size": "再加载 {count} 个",
|
112
|
-
"components.pageable.info":
|
113
|
-
|
149
|
+
"components.pageable.info":
|
150
|
+
`{count, plural,
|
151
|
+
other {{countFormatted} 项}
|
152
|
+
}`,
|
153
|
+
"components.pageable.info-with-total":
|
154
|
+
`{totalCount, plural,
|
155
|
+
other {{countFormatted}/{totalCountFormatted} 项}
|
156
|
+
}`,
|
114
157
|
"components.pager-load-more.status-loading": "加载更多项目",
|
115
|
-
"components.selection.action-max-hint":
|
158
|
+
"components.selection.action-max-hint":
|
159
|
+
`{count, plural,
|
160
|
+
other {选择的项目超过 {countFormatted} 个时禁用}
|
161
|
+
}`,
|
116
162
|
"components.selection.action-required-hint": "选择一个项目后才能执行此操作",
|
117
163
|
"components.selection.select-all": "全选",
|
118
164
|
"components.selection.select-all-items": "选择全部 {count} 个项目",
|
@@ -125,7 +171,26 @@ export default {
|
|
125
171
|
"components.switch.conditions": "必须符合条件",
|
126
172
|
"components.table-col-sort-button.addSortOrder": "选择添加排序顺序",
|
127
173
|
"components.table-col-sort-button.changeSortOrder": "选择更改排序顺序",
|
128
|
-
"components.table-col-sort-button.title":
|
174
|
+
"components.table-col-sort-button.title":
|
175
|
+
`{sourceType, select,
|
176
|
+
dates {{direction, select,
|
177
|
+
desc {从新到旧排序}
|
178
|
+
other {从旧到新排序}
|
179
|
+
}}
|
180
|
+
numbers {{direction, select,
|
181
|
+
desc {从高到低排序}
|
182
|
+
other {从低到高排序}
|
183
|
+
}}
|
184
|
+
words {{direction, select,
|
185
|
+
desc {从 Z 到 A 排序}
|
186
|
+
other {从 A 到 Z 排序}
|
187
|
+
}}
|
188
|
+
value {{selectedMenuItemText} 排序}
|
189
|
+
other {{direction, select,
|
190
|
+
desc {降序排序}
|
191
|
+
other {升序排序}
|
192
|
+
}}
|
193
|
+
}`,
|
129
194
|
"components.table-controls.label": "对表格的操作",
|
130
195
|
"components.tabs.next": "向前滚动",
|
131
196
|
"components.tabs.previous": "向后滚动",
|
package/lang/zh-tw.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
export default {
|
2
|
+
"__test__": "This will be removed in a follow-up PR (before translation)",
|
2
3
|
"components.alert.close": "關閉警示",
|
3
4
|
"components.breadcrumbs.breadcrumb": "導覽路徑",
|
4
5
|
"components.button-add.addItem": "新增項目",
|
@@ -22,14 +23,30 @@ export default {
|
|
22
23
|
"components.filter.clearAnnounce": "正在清除 {filterName} 的篩選器",
|
23
24
|
"components.filter.clearDescription": "清除 {filterName} 的篩選器",
|
24
25
|
"components.filter.loading": "正在載入篩選條件",
|
25
|
-
"components.filter.filterCountDescription":
|
26
|
+
"components.filter.filterCountDescription":
|
27
|
+
`{number, plural,
|
28
|
+
=0 {未套用篩選器。}
|
29
|
+
other {已套用 {number} 個篩選器。}
|
30
|
+
}`,
|
26
31
|
"components.filter.filters": "篩選器",
|
27
32
|
"components.filter.noFilters": "沒有可用的篩選條件",
|
28
|
-
"components.filter.searchResults":
|
33
|
+
"components.filter.searchResults":
|
34
|
+
`{number, plural,
|
35
|
+
=0 {無搜尋結果}
|
36
|
+
other {{number} 個搜尋結果}
|
37
|
+
}`,
|
29
38
|
"components.filter.selectedFirstListLabel": "{headerText}。所選篩選器會先顯示。",
|
30
39
|
"components.filter.singleDimensionDescription": "按此條件篩選:{filterName}",
|
31
|
-
"components.filter-dimension-set-date-text-value.textHours":
|
32
|
-
|
40
|
+
"components.filter-dimension-set-date-text-value.textHours":
|
41
|
+
`{num, plural,
|
42
|
+
=1 {過去一小時}
|
43
|
+
other {過去 {num} 小時}
|
44
|
+
}`,
|
45
|
+
"components.filter-dimension-set-date-text-value.textDays":
|
46
|
+
`{num, plural,
|
47
|
+
=0 {今天}
|
48
|
+
other {過去 {num} 天}
|
49
|
+
}`,
|
33
50
|
"components.filter-dimension-set-date-text-value.textMonths": "過去 {num} 個月",
|
34
51
|
"components.filter-dimension-set-date-time-range-value.label": "{text},展開以選擇日期",
|
35
52
|
"components.filter-dimension-set-date-time-range-value.valueTextRange": "{startValue} 到 {endValue}",
|
@@ -39,13 +56,34 @@ export default {
|
|
39
56
|
"components.form-element.defaultError": "{label} 無效",
|
40
57
|
"components.form-element.defaultFieldLabel": "欄位",
|
41
58
|
"components.form-element.input.email.typeMismatch": "電子郵件無效",
|
42
|
-
"components.form-element.input.number.rangeError":
|
43
|
-
|
44
|
-
|
59
|
+
"components.form-element.input.number.rangeError":
|
60
|
+
`{minExclusive, select,
|
61
|
+
true {{maxExclusive, select,
|
62
|
+
true {數字必須大於 {min} 且小於 {max}。}
|
63
|
+
other {數字必須大於 {min} 且小於或等於 {max}。}
|
64
|
+
}}
|
65
|
+
other {{maxExclusive, select,
|
66
|
+
true {數字必須大於或等於 {min} 且小於 {max}。}
|
67
|
+
other {數字必須大於或等於 {min} 且小於或等於 {max}。}
|
68
|
+
}}
|
69
|
+
}`,
|
70
|
+
"components.form-element.input.number.rangeOverflow":
|
71
|
+
`{maxExclusive, select,
|
72
|
+
true {數字必須小於 {max}。}
|
73
|
+
other {數字必須小於或等於 {max}。}
|
74
|
+
}`,
|
75
|
+
"components.form-element.input.number.rangeUnderflow":
|
76
|
+
`{minExclusive, select,
|
77
|
+
true {數字必須大於 {min}。}
|
78
|
+
other {數字必須大於或等於 {min}。}
|
79
|
+
}`,
|
45
80
|
"components.form-element.input.text.tooShort": "{label} 必須至少為 {minlength} 個字元",
|
46
81
|
"components.form-element.input.url.typeMismatch": "URL 無效",
|
47
82
|
"components.form-element.valueMissing": "{label} 為必填",
|
48
|
-
"components.form-error-summary.errorSummary":
|
83
|
+
"components.form-error-summary.errorSummary":
|
84
|
+
`{count, plural,
|
85
|
+
other {您提交的資訊中發現 {count} 個錯誤}
|
86
|
+
}`,
|
49
87
|
"components.form-error-summary.text": "切換錯誤詳細資料",
|
50
88
|
"components.input-color.backgroundColor": "背景顏色",
|
51
89
|
"components.input-color.foregroundColor": "前景顏色",
|
@@ -109,10 +147,19 @@ export default {
|
|
109
147
|
"components.overflow-group.moreActions": "其他動作",
|
110
148
|
"components.pager-load-more.action": "載入更多",
|
111
149
|
"components.pager-load-more.action-with-page-size": "再載入 {count} 個",
|
112
|
-
"components.pageable.info":
|
113
|
-
|
150
|
+
"components.pageable.info":
|
151
|
+
`{count, plural,
|
152
|
+
other {{countFormatted} 個項目}
|
153
|
+
}`,
|
154
|
+
"components.pageable.info-with-total":
|
155
|
+
`{totalCount, plural,
|
156
|
+
other {{countFormatted} 項,共 {totalCountFormatted} 項}
|
157
|
+
}`,
|
114
158
|
"components.pager-load-more.status-loading": "正在載入更多項目",
|
115
|
-
"components.selection.action-max-hint":
|
159
|
+
"components.selection.action-max-hint":
|
160
|
+
`{count, plural,
|
161
|
+
other {選取超過 {countFormatted} 個項目時即停用}
|
162
|
+
}`,
|
116
163
|
"components.selection.action-required-hint": "選取項目以執行此動作",
|
117
164
|
"components.selection.select-all": "全選",
|
118
165
|
"components.selection.select-all-items": "選取所有 {count} 個項目",
|
@@ -125,7 +172,26 @@ export default {
|
|
125
172
|
"components.switch.conditions": "必須符合條件",
|
126
173
|
"components.table-col-sort-button.addSortOrder": "選取以新增排序順序",
|
127
174
|
"components.table-col-sort-button.changeSortOrder": "選取以變更排序順序",
|
128
|
-
"components.table-col-sort-button.title":
|
175
|
+
"components.table-col-sort-button.title":
|
176
|
+
`{sourceType, select,
|
177
|
+
dates {{direction, select,
|
178
|
+
desc {已排序為新至舊}
|
179
|
+
other {已排序為舊至新}
|
180
|
+
}}
|
181
|
+
numbers {{direction, select,
|
182
|
+
desc {已排序為高到低}
|
183
|
+
other {已排序為低到高}
|
184
|
+
}}
|
185
|
+
words {{direction, select,
|
186
|
+
desc {已排序為 Z 到 A}
|
187
|
+
other {已排序為 A 到 Z}
|
188
|
+
}}
|
189
|
+
value {已排序 {selectedMenuItemText}}
|
190
|
+
other {{direction, select,
|
191
|
+
desc {已遞減排序}
|
192
|
+
other {已遞增排序}
|
193
|
+
}}
|
194
|
+
}`,
|
129
195
|
"components.table-controls.label": "表格動作",
|
130
196
|
"components.tabs.next": "向前捲動",
|
131
197
|
"components.tabs.previous": "向後捲動",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@brightspace-ui/core",
|
3
|
-
"version": "3.142.
|
3
|
+
"version": "3.142.2",
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|