@brightspace-ui/core 2.12.0 → 2.13.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/dialog/README.md +3 -0
- package/components/dialog/demo/dialog.html +51 -0
- package/components/dialog/dialog-confirm.js +1 -0
- package/components/dialog/dialog-fullscreen.js +1 -0
- package/components/dialog/dialog-mixin.js +18 -0
- package/components/dialog/dialog.js +1 -0
- package/components/html-block/README.md +3 -2
- package/components/html-block/html-block.js +11 -1
- package/components/tag-list/tag-list.js +48 -34
- package/custom-elements.json +12 -0
- package/lang/ar.js +5 -4
- package/lang/cy.js +5 -4
- package/lang/da.js +5 -4
- package/lang/de.js +5 -4
- package/lang/en.js +5 -4
- package/lang/es-es.js +5 -4
- package/lang/es.js +5 -4
- package/lang/fr-fr.js +6 -5
- package/lang/fr.js +6 -5
- package/lang/hi.js +5 -4
- package/lang/ja.js +5 -4
- package/lang/ko.js +5 -4
- package/lang/nl.js +5 -4
- package/lang/pt.js +4 -3
- package/lang/sv.js +4 -3
- package/lang/tr.js +4 -3
- package/lang/zh-cn.js +4 -3
- package/lang/zh-tw.js +4 -3
- package/package.json +1 -1
|
@@ -81,6 +81,7 @@ The `d2l-dialog` element is a generic dialog that provides a slot for arbitrary
|
|
|
81
81
|
|
|
82
82
|
- `d2l-dialog-open`: dispatched when the dialog is opened
|
|
83
83
|
- `d2l-dialog-close`: dispatched with the action value when the dialog is closed for any reason
|
|
84
|
+
- `d2l-dialog-before-close`: dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
|
84
85
|
<!-- docs: end hidden content -->
|
|
85
86
|
|
|
86
87
|
### Accessibility Properties
|
|
@@ -192,6 +193,7 @@ The `d2l-dialog-confirm` element is a simple confirmation dialog for prompting t
|
|
|
192
193
|
|
|
193
194
|
- `d2l-dialog-open`: dispatched when the dialog is opened
|
|
194
195
|
- `d2l-dialog-close`: dispatched with the action value when the dialog is closed for any reason
|
|
196
|
+
- `d2l-dialog-before-close`: dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
|
195
197
|
<!-- docs: end hidden content -->
|
|
196
198
|
|
|
197
199
|
### Usage
|
|
@@ -249,6 +251,7 @@ The `d2l-dialog-fullscreen` element is a fullscreen variant of the generic `d2l-
|
|
|
249
251
|
|
|
250
252
|
- `d2l-dialog-open`: dispatched when the dialog is opened
|
|
251
253
|
- `d2l-dialog-close`: dispatched with the action value when the dialog is closed for any reason
|
|
254
|
+
- `d2l-dialog-before-close`: dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
|
252
255
|
<!-- docs: end hidden content -->
|
|
253
256
|
|
|
254
257
|
### Usage
|
|
@@ -131,6 +131,57 @@
|
|
|
131
131
|
</template>
|
|
132
132
|
</d2l-demo-snippet>
|
|
133
133
|
|
|
134
|
+
<h2>Dialog (intercept closing)</h2>
|
|
135
|
+
|
|
136
|
+
<d2l-demo-snippet>
|
|
137
|
+
<template>
|
|
138
|
+
<d2l-button id="openInterceptClosing">Show Dialog</d2l-button>
|
|
139
|
+
<d2l-dialog id="dialogInterceptClosing" title-text="Dialog Prevent Closing">
|
|
140
|
+
<div>
|
|
141
|
+
<p>This dialog is prevented from closing by listening "d2l-dialog-before-close" event.</p>
|
|
142
|
+
<d2l-dialog id="dialogConfirmClose" title-text="Comfirm close">
|
|
143
|
+
<div>
|
|
144
|
+
<p>Do you really want to close the previous dialog?</p>
|
|
145
|
+
</div>
|
|
146
|
+
<d2l-button slot="footer" primary data-dialog-action="confirm">Yes</d2l-button>
|
|
147
|
+
<d2l-button slot="footer" data-dialog-action="deny">No</d2l-button>
|
|
148
|
+
</d2l-dialog>
|
|
149
|
+
</div>
|
|
150
|
+
<d2l-button slot="footer" primary data-dialog-action="ok">Close Me!</d2l-button>
|
|
151
|
+
<d2l-button slot="footer" data-dialog-action="close">Close without confirmation</d2l-button>
|
|
152
|
+
<d2l-button slot="footer" data-dialog-action="cancel">Cancel</d2l-button>
|
|
153
|
+
</d2l-dialog>
|
|
154
|
+
<script>
|
|
155
|
+
let canBeClosed = false;
|
|
156
|
+
document.querySelector('#openInterceptClosing').addEventListener('click', () => {
|
|
157
|
+
document.querySelector('#dialogInterceptClosing').opened = true;
|
|
158
|
+
});
|
|
159
|
+
document.querySelector('#dialogInterceptClosing').addEventListener('d2l-dialog-open', () => {
|
|
160
|
+
canBeClosed = false;
|
|
161
|
+
});
|
|
162
|
+
document.querySelector('#dialogInterceptClosing').addEventListener('d2l-dialog-close', (e) => {
|
|
163
|
+
console.log('dialog action:', e.detail.action);
|
|
164
|
+
});
|
|
165
|
+
document.querySelector('#dialogConfirmClose').addEventListener('d2l-dialog-close', (e) => {
|
|
166
|
+
e.stopPropagation();
|
|
167
|
+
});
|
|
168
|
+
document.querySelector('#dialogInterceptClosing').addEventListener('d2l-dialog-before-close', async(e) => {
|
|
169
|
+
|
|
170
|
+
if (e.detail.action === 'close' || canBeClosed) return;
|
|
171
|
+
|
|
172
|
+
e.preventDefault();
|
|
173
|
+
const action = await document.querySelector('#dialogConfirmClose').open();
|
|
174
|
+
|
|
175
|
+
console.log('dialog action:', e.detail.action, ', confirm dialog action:', action);
|
|
176
|
+
if (action === 'confirm') {
|
|
177
|
+
canBeClosed = true;
|
|
178
|
+
e.detail.closeDialog();
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
</script>
|
|
182
|
+
</template>
|
|
183
|
+
</d2l-demo-snippet>
|
|
184
|
+
|
|
134
185
|
</d2l-demo-page>
|
|
135
186
|
</body>
|
|
136
187
|
</html>
|
|
@@ -7,6 +7,7 @@ import { heading3Styles } from '../typography/styles.js';
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A simple confirmation dialog for prompting the user. Apply the "data-dialog-action" attribute to workflow buttons to automatically close the confirm dialog with the action value.
|
|
10
|
+
* @fires d2l-dialog-before-close - Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
|
10
11
|
* @slot footer - Slot for footer content such as workflow buttons
|
|
11
12
|
*/
|
|
12
13
|
class DialogConfirm extends DialogMixin(LitElement) {
|
|
@@ -14,6 +14,7 @@ const mediaQueryList = window.matchMedia('(max-width: 615px), (max-height: 420px
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* A generic fullscreen dialog that provides a slot for arbitrary content and a "footer" slot for workflow buttons. Apply the "data-dialog-action" attribute to workflow buttons to automatically close the dialog with the action value.
|
|
17
|
+
* @fires d2l-dialog-before-close - Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
|
17
18
|
* @slot - Default slot for content inside dialog
|
|
18
19
|
* @slot footer - Slot for footer content such as workflow buttons
|
|
19
20
|
*/
|
|
@@ -144,6 +144,11 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
144
144
|
clearDismissible(this._dismissibleId);
|
|
145
145
|
this._dismissibleId = null;
|
|
146
146
|
|
|
147
|
+
if (this._isCloseAborted()) {
|
|
148
|
+
this._dismissibleId = setDismissible(() => this._close(abortAction));
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
|
|
147
152
|
if (!this.shadowRoot) return;
|
|
148
153
|
const dialog = this.shadowRoot.querySelector('.d2l-dialog-outer');
|
|
149
154
|
|
|
@@ -298,6 +303,19 @@ export const DialogMixin = superclass => class extends RtlMixin(superclass) {
|
|
|
298
303
|
this._useNative = false;
|
|
299
304
|
}
|
|
300
305
|
|
|
306
|
+
_isCloseAborted() {
|
|
307
|
+
const abortEvent = new CustomEvent('d2l-dialog-before-close', {
|
|
308
|
+
cancelable: true,
|
|
309
|
+
detail: {
|
|
310
|
+
action: this._action,
|
|
311
|
+
closeDialog: this._close.bind(this, this._action)
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
this.dispatchEvent(abortEvent);
|
|
315
|
+
|
|
316
|
+
return abortEvent.defaultPrevented;
|
|
317
|
+
}
|
|
318
|
+
|
|
301
319
|
_open() {
|
|
302
320
|
if (!this.opened) return;
|
|
303
321
|
|
|
@@ -16,6 +16,7 @@ const mediaQueryList = window.matchMedia('(max-width: 615px), (max-height: 420px
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* A generic dialog that provides a slot for arbitrary content and a "footer" slot for workflow buttons. Apply the "data-dialog-action" attribute to workflow buttons to automatically close the dialog with the action value.
|
|
19
|
+
* @fires d2l-dialog-before-close - Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing
|
|
19
20
|
* @slot - Default slot for content inside dialog
|
|
20
21
|
* @slot footer - Slot for footer content such as workflow buttons
|
|
21
22
|
*/
|
|
@@ -68,7 +68,7 @@ To use `d2l-html-block` within another Lit component, use the [unsafeHTML](https
|
|
|
68
68
|
|
|
69
69
|
### Rendering MathML and LaTeX
|
|
70
70
|
|
|
71
|
-
Examples are provided to display how user-authored math can be embedded within your webpage.
|
|
71
|
+
Examples are provided to display how user-authored math can be embedded within your webpage. Note that rendering math requires the `mathjax` context to be set correctly. For testing and/or demo pages **ONLY**, you can import `@brightspace-ui/core/tools/mathjax-test-context.js` to set this context for you.
|
|
72
72
|
|
|
73
73
|
**MathML:**
|
|
74
74
|
<!-- docs: demo code -->
|
|
@@ -76,6 +76,7 @@ Examples are provided to display how user-authored math can be embedded within y
|
|
|
76
76
|
<script type="module">
|
|
77
77
|
import '@brightspace-ui/core/components/html-block/html-block.js';
|
|
78
78
|
import '@brightspace-ui/core/components/icons/icon.js';
|
|
79
|
+
import '@brightspace-ui/core/tools/mathjax-test-context.js';
|
|
79
80
|
</script>
|
|
80
81
|
<d2l-html-block>
|
|
81
82
|
<div class="mathml-container">
|
|
@@ -100,7 +101,7 @@ Examples are provided to display how user-authored math can be embedded within y
|
|
|
100
101
|
</d2l-html-block>
|
|
101
102
|
```
|
|
102
103
|
|
|
103
|
-
**LaTeX:**
|
|
104
|
+
**LaTeX:**
|
|
104
105
|
|
|
105
106
|
<!-- docs: demo code -->
|
|
106
107
|
```html
|
|
@@ -11,6 +11,12 @@ export const htmlBlockContentStyles = css`
|
|
|
11
11
|
font-weight: 400;
|
|
12
12
|
line-height: 1.2rem;
|
|
13
13
|
}
|
|
14
|
+
.d2l-html-block-rendered > :first-child {
|
|
15
|
+
margin-top: 0;
|
|
16
|
+
}
|
|
17
|
+
.d2l-html-block-rendered > :last-child {
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
}
|
|
14
20
|
h1, h2, h3, h4, h5, h6, b, strong, b *, strong * {
|
|
15
21
|
font-weight: bold;
|
|
16
22
|
}
|
|
@@ -194,7 +200,11 @@ class HtmlBlock extends RtlMixin(LitElement) {
|
|
|
194
200
|
super.firstUpdated(changedProperties);
|
|
195
201
|
|
|
196
202
|
if (this._renderContainer) return;
|
|
197
|
-
this.shadowRoot.innerHTML +=
|
|
203
|
+
this.shadowRoot.innerHTML += '<div class="d2l-html-block-rendered'
|
|
204
|
+
+ `${this.compact ? ' d2l-html-block-compact' : ''}`
|
|
205
|
+
+ '"></div><slot'
|
|
206
|
+
+ `${!this.noDeferredRendering ? ' style="display: none"' : ''}`
|
|
207
|
+
+ '></slot>';
|
|
198
208
|
|
|
199
209
|
this.shadowRoot.querySelector('slot').addEventListener('slotchange', async e => await this._render(e.target));
|
|
200
210
|
this._renderContainer = this.shadowRoot.querySelector('.d2l-html-block-rendered');
|
|
@@ -41,6 +41,7 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
41
41
|
*/
|
|
42
42
|
description: { type: String },
|
|
43
43
|
_chompIndex: { type: Number },
|
|
44
|
+
_contentReady: { type: Boolean },
|
|
44
45
|
_lines: { type: Number },
|
|
45
46
|
_showHiddenTags: { type: Boolean }
|
|
46
47
|
};
|
|
@@ -57,13 +58,9 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
57
58
|
.tag-list-container {
|
|
58
59
|
display: flex;
|
|
59
60
|
flex-wrap: wrap;
|
|
60
|
-
|
|
61
|
+
gap: 6px;
|
|
61
62
|
padding: 0;
|
|
62
63
|
}
|
|
63
|
-
::slotted(*),
|
|
64
|
-
d2l-button-subtle {
|
|
65
|
-
margin: 6px 6px 0 0;
|
|
66
|
-
}
|
|
67
64
|
::slotted([data-is-chomped]) {
|
|
68
65
|
display: none !important;
|
|
69
66
|
}
|
|
@@ -72,11 +69,16 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
72
69
|
visibility: hidden;
|
|
73
70
|
}
|
|
74
71
|
.d2l-tag-list-clear-button {
|
|
72
|
+
position: absolute;
|
|
75
73
|
visibility: hidden;
|
|
76
74
|
}
|
|
77
75
|
.d2l-tag-list-clear-button.d2l-tag-list-clear-button-visible {
|
|
76
|
+
position: static;
|
|
78
77
|
visibility: visible;
|
|
79
78
|
}
|
|
79
|
+
.tag-list-hidden {
|
|
80
|
+
visibility: hidden;
|
|
81
|
+
}
|
|
80
82
|
`;
|
|
81
83
|
}
|
|
82
84
|
|
|
@@ -86,8 +88,11 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
86
88
|
this.arrowKeysDirection = 'leftrightupdown';
|
|
87
89
|
this.clearable = false;
|
|
88
90
|
this._chompIndex = 10000;
|
|
91
|
+
this._clearButtonHeight = 0;
|
|
89
92
|
this._clearButtonWidth = 0;
|
|
93
|
+
this._contentReady = false;
|
|
90
94
|
this._hasResized = false;
|
|
95
|
+
this._itemHeight = 0;
|
|
91
96
|
this._resizeObserver = null;
|
|
92
97
|
this._showHiddenTags = false;
|
|
93
98
|
}
|
|
@@ -115,6 +120,7 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
115
120
|
const clearButton = this.shadowRoot.querySelector('d2l-button-subtle.d2l-tag-list-clear-button');
|
|
116
121
|
this._clearButtonResizeObserver = new ResizeObserver(() => {
|
|
117
122
|
this._clearButtonWidth = Math.ceil(parseFloat(getComputedStyle(clearButton).getPropertyValue('width')));
|
|
123
|
+
this._clearButtonHeight = Math.ceil(parseFloat(getComputedStyle(clearButton).getPropertyValue('height')));
|
|
118
124
|
});
|
|
119
125
|
this._clearButtonResizeObserver.observe(clearButton);
|
|
120
126
|
}
|
|
@@ -145,8 +151,9 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
145
151
|
</d2l-button-subtle>
|
|
146
152
|
` : html`
|
|
147
153
|
<d2l-button-subtle
|
|
148
|
-
class="d2l-tag-list-button"
|
|
154
|
+
class="d2l-tag-list-button d2l-tag-list-button-show-more"
|
|
149
155
|
@click="${this._toggleHiddenTagVisibility}"
|
|
156
|
+
description="${this.localize('components.tag-list.show-more-description')}"
|
|
150
157
|
slim
|
|
151
158
|
text="${this.localize('components.tag-list.num-hidden', { count: hiddenCount })}">
|
|
152
159
|
</d2l-button-subtle>
|
|
@@ -157,8 +164,13 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
157
164
|
'd2l-tag-list-clear-button-visible': this.clearable && this._items && this._items.length > 0
|
|
158
165
|
};
|
|
159
166
|
|
|
167
|
+
const containerClasses = {
|
|
168
|
+
'tag-list-container': true,
|
|
169
|
+
'tag-list-hidden': !this._contentReady
|
|
170
|
+
};
|
|
171
|
+
|
|
160
172
|
const list = html`
|
|
161
|
-
<div role="list" class="
|
|
173
|
+
<div role="list" class="${classMap(containerClasses)}" aria-label="${this.description}" @d2l-tag-list-item-clear="${this._handleItemDeleted}">
|
|
162
174
|
<slot @slotchange="${this._handleSlotChange}"></slot>
|
|
163
175
|
${overflowButton}
|
|
164
176
|
<d2l-button-subtle
|
|
@@ -172,20 +184,20 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
172
184
|
`;
|
|
173
185
|
|
|
174
186
|
const outerContainerStyles = {
|
|
175
|
-
maxHeight: (this._showHiddenTags || !this._lines) ? undefined : `${(this._itemHeight + MARGIN_TOP_RIGHT) * this._lines}px
|
|
187
|
+
maxHeight: (this._showHiddenTags || !this._lines) ? undefined : `${(this._itemHeight + MARGIN_TOP_RIGHT) * this._lines}px`,
|
|
188
|
+
minHeight: `${Math.max(this._clearButtonHeight, this._itemHeight)}px`
|
|
176
189
|
};
|
|
177
190
|
|
|
178
191
|
return html`
|
|
179
192
|
<div role="application" class="tag-list-outer-container" style="${styleMap(outerContainerStyles)}">
|
|
180
193
|
<d2l-button-subtle aria-hidden="true" slim text="${this.localize('components.tag-list.num-hidden', { count: '##' })}" class="d2l-tag-list-hidden-button"></d2l-button-subtle>
|
|
181
194
|
${this.arrowKeysContainer(list)}
|
|
182
|
-
<div id="d2l-tag-list-description" hidden>${this.description}</div>
|
|
183
195
|
</div>
|
|
184
196
|
`;
|
|
185
197
|
}
|
|
186
198
|
|
|
187
199
|
async arrowKeysFocusablesProvider() {
|
|
188
|
-
return this.
|
|
200
|
+
return this._getVisibleEffectiveChildren();
|
|
189
201
|
}
|
|
190
202
|
|
|
191
203
|
focus() {
|
|
@@ -214,7 +226,7 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
214
226
|
|
|
215
227
|
for (let i = overflowingIndex; i < this._itemLayouts.length; i++) {
|
|
216
228
|
const itemLayout = this._itemLayouts[i];
|
|
217
|
-
const itemWidth = Math.min(itemLayout.width, this._availableWidth);
|
|
229
|
+
const itemWidth = Math.min(itemLayout.width + MARGIN_TOP_RIGHT, this._availableWidth);
|
|
218
230
|
|
|
219
231
|
if (!isOverflowing && ((showing.width + itemWidth) <= (this._availableWidth + MARGIN_TOP_RIGHT))) {
|
|
220
232
|
showing.width += itemWidth;
|
|
@@ -259,8 +271,6 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
259
271
|
return {
|
|
260
272
|
isHidden: computedStyles.display === 'none',
|
|
261
273
|
width: Math.ceil(parseFloat(computedStyles.width) || 0)
|
|
262
|
-
+ parseInt(computedStyles.marginRight) || 0
|
|
263
|
-
+ parseInt(computedStyles.marginLeft) || 0
|
|
264
274
|
};
|
|
265
275
|
});
|
|
266
276
|
|
|
@@ -292,8 +302,9 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
292
302
|
}
|
|
293
303
|
|
|
294
304
|
const showMoreButton = this.shadowRoot.querySelector('.d2l-tag-list-button') || [];
|
|
295
|
-
const clearButton = this.shadowRoot.querySelector('.d2l-tag-list-clear-button') || [];
|
|
296
|
-
|
|
305
|
+
const clearButton = !this.clearable ? [] : (this.shadowRoot.querySelector('.d2l-tag-list-clear-button') || []);
|
|
306
|
+
const items = this._showHiddenTags ? this._items : this._items.slice(0, this._chompIndex);
|
|
307
|
+
return items.concat(showMoreButton).concat(clearButton);
|
|
297
308
|
}
|
|
298
309
|
|
|
299
310
|
_handleClearAll(e) {
|
|
@@ -319,47 +330,50 @@ class TagList extends LocalizeCoreElement(ArrowKeysMixin(LitElement)) {
|
|
|
319
330
|
}
|
|
320
331
|
}
|
|
321
332
|
|
|
322
|
-
_handleResize(entries) {
|
|
333
|
+
async _handleResize(entries) {
|
|
323
334
|
this._availableWidth = Math.floor(entries[0].contentRect.width);
|
|
324
335
|
if (this._availableWidth >= PAGE_SIZE.large) this._lines = PAGE_SIZE_LINES.large;
|
|
325
336
|
else if (this._availableWidth < PAGE_SIZE.large && this._availableWidth >= PAGE_SIZE.medium) this._lines = PAGE_SIZE_LINES.medium;
|
|
326
337
|
else this._lines = PAGE_SIZE_LINES.small;
|
|
327
338
|
if (!this._hasResized) {
|
|
328
339
|
this._hasResized = true;
|
|
329
|
-
this._handleSlotChange();
|
|
340
|
+
await this._handleSlotChange();
|
|
330
341
|
} else {
|
|
331
342
|
this._chomp();
|
|
332
343
|
}
|
|
333
344
|
}
|
|
334
345
|
|
|
335
|
-
_handleSlotChange() {
|
|
346
|
+
async _handleSlotChange() {
|
|
336
347
|
if (!this._hasResized) return;
|
|
348
|
+
this._contentReady = false;
|
|
349
|
+
await this.updateComplete;
|
|
337
350
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
}
|
|
351
|
+
this._items = await this._getTagListItems();
|
|
352
|
+
if (!this._items || this._items.length === 0) {
|
|
353
|
+
this._chompIndex = 10000;
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
344
356
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
});
|
|
350
|
-
this._chomp();
|
|
351
|
-
this.requestUpdate();
|
|
357
|
+
this._itemLayouts = this._getItemLayouts(this._items);
|
|
358
|
+
this._itemHeight = this._items[0].offsetHeight;
|
|
359
|
+
this._items.forEach((item, index) => {
|
|
360
|
+
item.setAttribute('tabIndex', index === 0 ? 0 : -1);
|
|
352
361
|
});
|
|
362
|
+
this._chomp();
|
|
363
|
+
this._contentReady = true;
|
|
353
364
|
}
|
|
354
365
|
|
|
355
|
-
async _toggleHiddenTagVisibility() {
|
|
366
|
+
async _toggleHiddenTagVisibility(e) {
|
|
356
367
|
this._showHiddenTags = !this._showHiddenTags;
|
|
357
368
|
|
|
358
369
|
if (!this.shadowRoot) return;
|
|
359
370
|
|
|
360
371
|
await this.updateComplete;
|
|
361
|
-
|
|
362
|
-
|
|
372
|
+
if (e.target.classList.contains('d2l-tag-list-button-show-more')) this._items[this._chompIndex].focus();
|
|
373
|
+
else {
|
|
374
|
+
const button = this.shadowRoot.querySelector('.d2l-tag-list-button');
|
|
375
|
+
if (button) button.focus();
|
|
376
|
+
}
|
|
363
377
|
}
|
|
364
378
|
|
|
365
379
|
}
|
package/custom-elements.json
CHANGED
|
@@ -1521,6 +1521,10 @@
|
|
|
1521
1521
|
}
|
|
1522
1522
|
],
|
|
1523
1523
|
"events": [
|
|
1524
|
+
{
|
|
1525
|
+
"name": "d2l-dialog-before-close",
|
|
1526
|
+
"description": "Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing"
|
|
1527
|
+
},
|
|
1524
1528
|
{
|
|
1525
1529
|
"name": "d2l-dialog-close",
|
|
1526
1530
|
"description": "Dispatched with the action value when the dialog is closed for any reason"
|
|
@@ -1592,6 +1596,10 @@
|
|
|
1592
1596
|
}
|
|
1593
1597
|
],
|
|
1594
1598
|
"events": [
|
|
1599
|
+
{
|
|
1600
|
+
"name": "d2l-dialog-before-close",
|
|
1601
|
+
"description": "Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing"
|
|
1602
|
+
},
|
|
1595
1603
|
{
|
|
1596
1604
|
"name": "d2l-dialog-close",
|
|
1597
1605
|
"description": "Dispatched with the action value when the dialog is closed for any reason"
|
|
@@ -1693,6 +1701,10 @@
|
|
|
1693
1701
|
}
|
|
1694
1702
|
],
|
|
1695
1703
|
"events": [
|
|
1704
|
+
{
|
|
1705
|
+
"name": "d2l-dialog-before-close",
|
|
1706
|
+
"description": "Dispatched with the action value before the dialog is closed for any reason, providing an opportunity to prevent the dialog from closing"
|
|
1707
|
+
},
|
|
1696
1708
|
{
|
|
1697
1709
|
"name": "d2l-dialog-close",
|
|
1698
1710
|
"description": "Dispatched with the action value when the dialog is closed for any reason"
|
package/lang/ar.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} غير صالحة.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "الحقل",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "البريد الإلكتروني غير صالح",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Number must be less than {max}.} other {Number must be less than or equal to {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Number must be greater than {min}.} other {Number must be greater than or equal to {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "يجب أن تتألف التسمية {label} من {minlength} من الأحرف على الأقل",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "عنوان URL غير صالح",
|
|
34
34
|
"components.form-element.valueMissing": "{label} مطلوبة.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {There was 1 error found in the information you submitted} other {There were {count} errors found in the information you submitted}}",
|
|
36
36
|
"components.input-date-range.endDate": "تاريخ الانتهاء",
|
|
37
37
|
"components.input-date-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "تاريخ البدء",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "تقسيم العرض القابل للضبط",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "السهم المتّجه إلى اليسار أو إلى اليمين لضبط حجم لوحات العرض",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "السهم المتّجه إلى الأعلى أو إلى الأسفل لضبط حجم لوحات العرض"
|
package/lang/cy.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "Mae {label} yn annilys.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Maes",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "Nid yw'r e-bost yn ddilys",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "Rhaid i'r nifer fod
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "Rhaid i'r nifer fod
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Rhaid i'r nifer fod yn llai na {max}.} other {Rhaid i'r nifer fod yn llai na neu’n hafal i {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Rhaid i'r nifer fod yn fwy na {min}.} other {Rhaid i'r nifer fod yn fwy na neu'n hafal i {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "Rhaid i {label} fod o leiaf {minlength} nod",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "Nid yw'r URL yn ddilys.",
|
|
34
34
|
"components.form-element.valueMissing": "Mae angen {label}.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {Bu 1 gwall yn y wybodaeth a gyflwynwyd gennych} other {Bu {count} o wallau yn y wybodaeth a gyflwynwyd gennych}}",
|
|
36
36
|
"components.input-date-range.endDate": "Dyddiad Dod i Ben",
|
|
37
37
|
"components.input-date-range.errorBadInput": "Rhaid i {startLabel} fod cyn {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Dyddiad Dechrau",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Gwedd Hollt Addasadwy",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Saeth i'r chwith neu'r dde i addasu maint y paneli gweld",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Saeth i fyny neu i lawr i addasu maint y paneli gweld"
|
package/lang/da.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} er ugyldigt.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Felt",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "E-mail er ikke gyldig",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Tal skal være mindre end {max}.} other {Tal skal være mindre end eller lig med {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Tal skal være større end {min}.} other {Tal skal være større end eller lig med {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} skal være på mindst {minlength} tegn",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL-adresse er ikke gyldig",
|
|
34
34
|
"components.form-element.valueMissing": "{label} er påkrævet.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {There was 1 error found in the information you submitted} other {There were {count} errors found in the information you submitted}}",
|
|
36
36
|
"components.input-date-range.endDate": "Slutdato",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} skal være før {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Startdato",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Justerbar delt visning",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Pil til venstre eller højre for at justere størrelsen på visningspaneler",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Pil op eller ned for at justere størrelsen på visningspaneler"
|
package/lang/de.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} ist ungültig.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Feld",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "Die E-Mail-Adresse ist ungültig",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Die Zahl muss kleiner als {max} sein.} other {Die Zahl muss kleiner oder gleich {max} sein.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Die Zahl muss größer als {min} sein.} other {Die Zahl muss größer oder gleich {min} sein.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} muss mindestens {minlength} Zeichen enthalten",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL ist ungültig",
|
|
34
34
|
"components.form-element.valueMissing": "{label} ist erforderlich.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "In den von Ihnen übermittelten Informationen
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {In den von Ihnen übermittelten Informationen ist 1 Fehler enthalten} other {In den von Ihnen übermittelten Informationen sind {count} Fehler enthalten}}",
|
|
36
36
|
"components.input-date-range.endDate": "Enddatum",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} muss vor {endLabel} liegen",
|
|
38
38
|
"components.input-date-range.startDate": "Startdatum",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Anpassbare geteilte Ansicht",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Pfeil nach links oder rechts, um die Größe der Ansichtsbereiche anzupassen",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Pfeil nach oben oder unten, um die Größe der Ansichtsbereiche anzupassen"
|
package/lang/en.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} is invalid.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Field",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "Email is not valid",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Number must be less than {max}.} other {Number must be less than or equal to {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Number must be greater than {min}.} other {Number must be greater than or equal to {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} must be at least {minlength} characters",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL is not valid",
|
|
34
34
|
"components.form-element.valueMissing": "{label} is required.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {There was 1 error found in the information you submitted} other {There were {count} errors found in the information you submitted}}",
|
|
36
36
|
"components.input-date-range.endDate": "End Date",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} must be before {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Start Date",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Adjustable Split View",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Arrow left or right to adjust the size of the view panels",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Arrow up or down to adjust the size of the view panels"
|
package/lang/es-es.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} no es válido.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Campo",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "El correo electrónico no es válido",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {El número debe ser inferior a {max}.} other {El número debe ser inferior o igual a {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {El número debe ser superior a {min}.} other {El número debe ser superior o igual a {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} debe tener al menos {minlength} caracteres",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "La dirección URL no es válida",
|
|
34
34
|
"components.form-element.valueMissing": "{label} es obligatorio.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {Se ha encontrado 1 error en la información enviada} other {Se han encontrado {count} errores en la información enviada}}",
|
|
36
36
|
"components.input-date-range.endDate": "Fecha final",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} debe ser anterior a {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Fecha de inicio",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Vista dividida ajustable",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Flecha hacia la izquierda o la derecha para ajustar el tamaño de los paneles de visualización",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Flecha hacia arriba o abajo para ajustar el tamaño de los paneles de visualización"
|
package/lang/es.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} no es válida.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Campo",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "El correo electrónico no es válido",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {El número debe ser menor que {max}.} other {El número debe ser menor o igual que {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {El número debe ser mayor que {min}.} other {El número debe ser mayor o igual que {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} debe tener al menos {minlength} caracteres",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "La dirección URL no es válida",
|
|
34
34
|
"components.form-element.valueMissing": "{label} es obligatoria.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "{count, plural, one {
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {Hubo 1 error detectado en la información que envió} other {Hubo {count} errores detectados en la información que envió}}",
|
|
36
36
|
"components.input-date-range.endDate": "Fecha final",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} debe estar antes de {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Fecha de inicio",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.clear-all": "Clear All",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Pantalla dividida ajustable",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Utilice la flecha izquierda o derecha para ajustar el tamaño de los paneles de visualización",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Utilice la flecha hacia arriba o hacia abajo para ajustar el tamaño de los paneles de visualización"
|
package/lang/fr-fr.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} n'est pas valide.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Champ",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "L'adresse e-mail n'est pas valide.",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Le nombre doit être inférieur à {max}.} other {Le nombre doit être inférieur ou égal à {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Le nombre doit être supérieur à {min}.} other {Le nombre doit être supérieur ou égal à {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} doit contenir au moins {minlength} caractères.",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL non valide",
|
|
34
34
|
"components.form-element.valueMissing": "{label} est requis.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {Il y avait une erreur dans les informations que vous avez soumises.} other {Il y avait {count} erreurs dans les informations que vous avez soumises.}}",
|
|
36
36
|
"components.input-date-range.endDate": "Date de fin",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} doit être antérieur à {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Date de début",
|
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
"components.input-date-time-range.endDate": "Date de fin",
|
|
41
41
|
"components.input-date-time-range.errorBadInput": "{startLabel} doit être antérieur à {endLabel}",
|
|
42
42
|
"components.input-date-time-range.startDate": "Date de début",
|
|
43
|
-
"components.input-date-time.date": "Date",
|
|
43
|
+
"components.input-date-time.date": "Date", // mfv-translated
|
|
44
44
|
"components.input-date-time.errorMaxDateOnly": "La date doit être antérieure à {maxDate}",
|
|
45
45
|
"components.input-date-time.errorMinDateOnly": "La date doit être postérieure à {minDate}",
|
|
46
46
|
"components.input-date-time.errorOutsideRange": "La date doit être comprise entre {minDate} et {maxDate}",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Vue fractionnée réglable",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Flèche vers la gauche ou vers la droite pour régler la taille des panneaux d’affichage",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Flèche vers le haut ou vers le bas pour régler la taille des panneaux d’affichage"
|
package/lang/fr.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} n'est pas valide.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Champ",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "L'adresse courriel n'est pas valide",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Le nombre doit être plus petit que {max}.} other {Le nombre doit être plus petit que ou égal à {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Le nombre doit être plus grand que {min}.} other {Le nombre doit être plus grand que ou égal à {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} doit comprendre au moins {minlength} caractères",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "L'URL n'est pas valide",
|
|
34
34
|
"components.form-element.valueMissing": "{label} est requis.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {L'information soumise comportait 1 erreur } other {L'information soumise comportait {count} erreurs}}",
|
|
36
36
|
"components.input-date-range.endDate": "Date de fin",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} doit précéder {endLabel}",
|
|
38
38
|
"components.input-date-range.startDate": "Date du début",
|
|
@@ -40,7 +40,7 @@ export default {
|
|
|
40
40
|
"components.input-date-time-range.endDate": "Date de fin",
|
|
41
41
|
"components.input-date-time-range.errorBadInput": "{startLabel} doit précéder {endLabel}",
|
|
42
42
|
"components.input-date-time-range.startDate": "Date du début",
|
|
43
|
-
"components.input-date-time.date": "Date",
|
|
43
|
+
"components.input-date-time.date": "Date", // mfv-translated
|
|
44
44
|
"components.input-date-time.errorMaxDateOnly": "La date doit être antérieure à {maxDate}",
|
|
45
45
|
"components.input-date-time.errorMinDateOnly": "La date doit être postérieure à {minDate}",
|
|
46
46
|
"components.input-date-time.errorOutsideRange": "La date doit être comprise entre {minDate} et {maxDate}",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Vue partagée réglable",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Utiliser la flèche vers la gauche ou vers la droite pour régler la taille des volets d'affichage",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Flèche vers le haut ou vers le bas pour régler la taille des volets d'affichage"
|
package/lang/hi.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} अमान्य है।",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "फ़ील्ड",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "ईमेल मान्य नहीं है",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {संख्या को इससे कम {max} होना आवश्यक है।} other {संख्या को इससे कम या इसके बराबर {max} होना आवश्यक है।}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {संख्या को इससे बड़ा {min} होना आवश्यक है।} other {संख्या को इससे बड़ा है या इसके बराबर {min} होना आवश्यक है।}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} कम से कम {minlength} वर्णों का होना चाहिए",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL मान्य नहीं है",
|
|
34
34
|
"components.form-element.valueMissing": "{label} आवश्यक है।",
|
|
35
|
-
"components.form-error-summary.errorSummary": "आपके द्वारा सबमिट की गई जानकारी में
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, one {आपके द्वारा सबमिट की गई जानकारी में 1 त्रुटि मिली थी} other {आपके द्वारा सबमिट की गई जानकारी में {count} त्रुटियाँ मिली थी}}",
|
|
36
36
|
"components.input-date-range.endDate": "समाप्ति तारीख़",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} {endLabel} से पहले का होना चाहिए",
|
|
38
38
|
"components.input-date-range.startDate": "प्रारंभ तारीख़",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "समायोजन योग्य विभाजन दृश्य",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "दृश्य पैनल्स का आकार समायोजित करने के लिए तीर बाएँ या दाएँ करें",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "दृश्य पैनल्स का आकार समायोजित करने के लिए तीर ऊपर या नीचे करें"
|
package/lang/ja.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} は無効です。",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "フィールド",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "電子メールが無効です",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {数値は {max} より小さくなければなりません。} other {数値は {max} 以下でなければなりません。}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {数値は {min} より大きくなければなりません。} other {数値は {min} 以上でなければなりません。}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} は {minlength} 文字以上である必要があります",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL が有効ではありません",
|
|
34
34
|
"components.form-element.valueMissing": "{label} は必須です。",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, other {送信した情報に {count} 件のエラー が見つかりました}}",
|
|
36
36
|
"components.input-date-range.endDate": "終了日",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel} は {endLabel} より前にする必要があります",
|
|
38
38
|
"components.input-date-range.startDate": "開始日",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "調整可能な分割ビュー",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "左矢印または右矢印を使用して、ビューパネルのサイズを調整します",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "上矢印または下矢印を使用して、ビューパネルのサイズを調整します"
|
package/lang/ko.js
CHANGED
|
@@ -26,13 +26,13 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label}이(가) 잘못되었습니다.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "필드",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "이메일이 유효하지 않습니다.",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {숫자가 보다 작음 {max}여야 합니다.} other {숫자가 작거나 같음 {max}여야 합니다.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {숫자가 보다 큼 {min}여야 합니다.} other {숫자가 크거나 같음 {min}여야 합니다.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label}은(는) {minlength}자 이상이어야 합니다",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL이 유효하지 않습니다",
|
|
34
34
|
"components.form-element.valueMissing": "{label}이(가) 필요합니다.",
|
|
35
|
-
"components.form-error-summary.errorSummary": "
|
|
35
|
+
"components.form-error-summary.errorSummary": "{count, plural, other {제출하신 정보에서 {count}개의 오류가 발견되었습니다}}",
|
|
36
36
|
"components.input-date-range.endDate": "종료일",
|
|
37
37
|
"components.input-date-range.errorBadInput": "{startLabel}은(는) {endLabel} 앞에 있어야 합니다",
|
|
38
38
|
"components.input-date-range.startDate": "시작일",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "조정 가능한 분할 보기",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "왼쪽 또는 오른쪽 화살표로 보기 패널의 크기 조정",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "위 또는 아래 화살표로 보기 패널의 크기 조정"
|
package/lang/nl.js
CHANGED
|
@@ -19,16 +19,16 @@ export default {
|
|
|
19
19
|
"components.filter.clearDescriptionSingle": "Filters wissen",
|
|
20
20
|
"components.filter.loading": "Laden van filters",
|
|
21
21
|
"components.filter.filterCountDescription": "{number, plural, =0 {Geen filters toegepast.} one {1 filter toegepast.} other {{number} filters toegepast.}}",
|
|
22
|
-
"components.filter.filters": "Filters",
|
|
22
|
+
"components.filter.filters": "Filters", // mfv-translated
|
|
23
23
|
"components.filter.noFilters": "Geen beschikbare filters",
|
|
24
24
|
"components.filter.searchResults": "{number, plural, =0 {Geen zoekresultaten} one {1 zoekresultaat} other {{number} zoekresultaten}}",
|
|
25
25
|
"components.filter.singleDimensionDescription": "Filter op {filterName}",
|
|
26
26
|
"components.form-element.defaultError": "{label} is ongeldig.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Veld",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "E-mailadres is ongeldig",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Number must be less than {max}.} other {Number must be less than or equal to {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Number must be greater than {min}.} other {Number must be greater than or equal to {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} moet ten minste {minlength} tekens bevatten",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL is niet geldig",
|
|
34
34
|
"components.form-element.valueMissing": "{label} is vereist.",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Instelbare gesplitste weergave",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Pijl naar links of rechts om de grootte van de weergavevensters aan te passen",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Pijl omhoog of omlaag om de grootte van de weergavevensters aan te passen"
|
package/lang/pt.js
CHANGED
|
@@ -26,9 +26,9 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} é inválido.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Campo",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "E-mail inválido",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {O número deve ser menor que {max}.} other {O número deve ser menor ou igual a {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {O número deve ser maior que {min}.} other {O número deve ser maior ou igual a {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} precisa ter, pelo menos, {minlength} caracteres",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL inválido",
|
|
34
34
|
"components.form-element.valueMissing": "{label} é obrigatório.",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Exibição dividida ajustável",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Use a seta para a esquerda ou para a direita para ajustar o tamanho dos painéis de exibição",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Use a seta para cima ou para baixo para ajustar o tamanho dos painéis de exibição"
|
package/lang/sv.js
CHANGED
|
@@ -26,9 +26,9 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} är ogiltig.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Fält",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "E-postadressen är ogiltig",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Number must be less than {max}.} other {Number must be less than or equal to {max}.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Number must be greater than {min}.} other {Number must be greater than or equal to {min}.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} måste innehålla minst {minlength} tecken",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL är inte giltigt",
|
|
34
34
|
"components.form-element.valueMissing": "{label} krävs.",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Justerbar delad vy",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Pil vänster eller höger för att justera storleken på vypaneler",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Pil upp eller ned för att justera storleken på vypaneler"
|
package/lang/tr.js
CHANGED
|
@@ -26,9 +26,9 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} geçersiz.",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "Alan",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "E-posta geçerli değil",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {Sayı daha küçük {max} olmalıdır.} other {Sayı daha küçük veya eşit {max} olmalıdır.}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {Sayı daha büyük {min} olmalıdır.} other {Sayı daha büyük veya eşit {min} olmalıdır.}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} en az {minlength} karakter olmalıdır",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL geçerli değil",
|
|
34
34
|
"components.form-element.valueMissing": "{label} zorunludur.",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "Ayarlanabilir Bölünmüş Görüntü",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "Görüntü panellerinin boyutunu ayarlamak için sol veya sağ okları kullanın",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "Görüntü panellerinin boyutunu ayarlamak için yukarı veya aşağı okları kullanın"
|
package/lang/zh-cn.js
CHANGED
|
@@ -26,9 +26,9 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} 无效。",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "字段",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "电子邮件无效",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {数字必须小于 {max}。} other {数字必须小于等于 {max}。}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {数字必须大于 {min}。} other {数字必须大于等于 {min}。}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} 必须至少为 {minlength} 个字符",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL 无效",
|
|
34
34
|
"components.form-element.valueMissing": "{label} 为必填项。",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "可调分屏视图",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "向左或向右箭头可调整视图面板的大小",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "向上或向下箭头可调整视图面板的大小"
|
package/lang/zh-tw.js
CHANGED
|
@@ -26,9 +26,9 @@ export default {
|
|
|
26
26
|
"components.form-element.defaultError": "{label} 無效。",
|
|
27
27
|
"components.form-element.defaultFieldLabel": "欄位",
|
|
28
28
|
"components.form-element.input.email.typeMismatch": "電子郵件無效",
|
|
29
|
-
"components.form-element.input.number.rangeError": "
|
|
30
|
-
"components.form-element.input.number.rangeOverflow": "
|
|
31
|
-
"components.form-element.input.number.rangeUnderflow": "
|
|
29
|
+
"components.form-element.input.number.rangeError": "{minExclusive, select, true {{maxExclusive, select, true {Number must be greater than {min} and less than {max}.} other {Number must be greater than {min} and less than or equal to {max}.}}} other {{maxExclusive, select, true {Number must be greater than or equal to {min} and less than {max}.} other {Number must be greater than or equal to {min} and less than or equal to {max}.}}}}",
|
|
30
|
+
"components.form-element.input.number.rangeOverflow": "{maxExclusive, select, true {數字必須小於 {max}。} other {數字必須小於或等於 {max}。}}",
|
|
31
|
+
"components.form-element.input.number.rangeUnderflow": "{minExclusive, select, true {數字必須大於 {min}。} other {數字必須大於或等於 {min}。}}",
|
|
32
32
|
"components.form-element.input.text.tooShort": "{label} 必須至少為 {minlength} 個字元",
|
|
33
33
|
"components.form-element.input.url.typeMismatch": "URL 無效",
|
|
34
34
|
"components.form-element.valueMissing": "{label} 為必填。",
|
|
@@ -101,6 +101,7 @@ export default {
|
|
|
101
101
|
"components.tag-list.cleared-item": "Removed tag list item {value}",
|
|
102
102
|
"components.tag-list.num-hidden": "+ {count} more",
|
|
103
103
|
"components.tag-list.show-less": "Show Less",
|
|
104
|
+
"components.tag-list.show-more-description": "Select to show hidden tag list items",
|
|
104
105
|
"templates.primary-secondary.adjustableSplitView": "可調整的分割檢視",
|
|
105
106
|
"templates.primary-secondary.keyboardHorizontal": "向左或向右箭頭可調整檢視面板的大小",
|
|
106
107
|
"templates.primary-secondary.keyboardVertical": "向上或向下箭頭可調整檢視面板的大小"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.13.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",
|