@brightspace-ui/core 1.222.2 → 1.223.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.
@@ -90,7 +90,7 @@ class ListDemoDragAndDrop extends LitElement {
90
90
  render() {
91
91
  const renderList = (items, nested) => {
92
92
  return html`
93
- <d2l-list grid slot="${ifDefined(nested ? 'nested' : undefined)}">
93
+ <d2l-list grid drag-multiple slot="${ifDefined(nested ? 'nested' : undefined)}">
94
94
  ${repeat(items, item => item.key, item => html`
95
95
  <d2l-list-item
96
96
  action-href="http://www.d2l.com"
@@ -1,3 +1,4 @@
1
+ import './list-item-drag-image.js';
1
2
  import { css, html } from 'lit-element/lit-element.js';
2
3
  import { findComposedAncestor, isComposedAncestor } from '../../helpers/dom.js';
3
4
  import { announce } from '../../helpers/announce.js';
@@ -332,7 +333,7 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
332
333
  opacity: 1;
333
334
  }
334
335
  }
335
- ` ];
336
+ `];
336
337
 
337
338
  super.styles && styles.unshift(super.styles);
338
339
  return styles;
@@ -550,15 +551,26 @@ export const ListItemDragDropMixin = superclass => class extends superclass {
550
551
  e.dataTransfer.setData('text/plain', `${this.dropText}`);
551
552
  }
552
553
 
553
- if (this.shadowRoot) {
554
- const nodeImage = this.shadowRoot.querySelector('.d2l-list-item-drag-image') || this;
555
- e.dataTransfer.setDragImage(nodeImage, 50, 50);
556
- }
557
-
558
554
  const rootList = this._getRootList(this);
555
+ const selectionInfo = rootList.getSelectionInfo(rootList.dragMultiple);
556
+
557
+ if (rootList.dragMultiple && selectionInfo.keys.length > 1) {
558
+ let dragImage = this.shadowRoot.querySelector('d2l-list-item-drag-image');
559
+ if (!dragImage) {
560
+ dragImage = document.createElement('d2l-list-item-drag-image');
561
+ this.shadowRoot.appendChild(dragImage);
562
+ }
563
+ dragImage.count = selectionInfo.keys.length;
564
+ e.dataTransfer.setDragImage(dragImage, 24, 26);
565
+ } else {
566
+ if (this.shadowRoot) {
567
+ const nodeImage = this.shadowRoot.querySelector('.d2l-list-item-drag-image') || this;
568
+ e.dataTransfer.setDragImage(nodeImage, 50, 50);
569
+ }
570
+ }
559
571
 
560
572
  // getSelectionInfo(false) is fast so we can quickly check the state
561
- if (!rootList.dragMultiple || rootList.getSelectionInfo(false).state === SelectionInfo.states.none) {
573
+ if (!rootList.dragMultiple || selectionInfo.state === SelectionInfo.states.none) {
562
574
  createDragState([this]);
563
575
  } else {
564
576
 
@@ -0,0 +1,123 @@
1
+ import '../colors/colors.js';
2
+ import '../inputs/input-checkbox.js';
3
+ import { css, html, LitElement } from 'lit-element/lit-element.js';
4
+ import { bodySmallStyles } from '../typography/styles.js';
5
+ import { formatNumber } from '@brightspace-ui/intl/lib/number.js';
6
+ import { RtlMixin } from '../../mixins/rtl-mixin.js';
7
+ import { SkeletonMixin } from '../skeleton/skeleton-mixin.js';
8
+
9
+ class ListItemDragImage extends SkeletonMixin(RtlMixin(LitElement)) {
10
+
11
+ static get properties() {
12
+ return {
13
+ /**
14
+ * @ignore
15
+ */
16
+ count: { type: Number }
17
+ };
18
+ }
19
+
20
+ static get styles() {
21
+ return [ super.styles, bodySmallStyles, css`
22
+ :host {
23
+ display: block;
24
+ height: 70px;
25
+ left: -10000px;
26
+ position: absolute;
27
+ width: 340px;
28
+ z-index: 0;
29
+ }
30
+ :host([hidden]) {
31
+ display: none;
32
+ }
33
+ :host([dir="rtl"]) {
34
+ left: 0;
35
+ right: -10000px;
36
+ }
37
+ .first, .second, .third {
38
+ background-color: white;
39
+ border: 1px solid var(--d2l-color-mica);
40
+ border-radius: 4px;
41
+ box-sizing: border-box;
42
+ height: 100%;
43
+ position: absolute;
44
+ width: 100%;
45
+ }
46
+ .first {
47
+ align-items: start;
48
+ display: flex;
49
+ padding: 16px 8px;
50
+ }
51
+ .second {
52
+ margin-inline-start: 6px;
53
+ margin-top: 6px;
54
+ z-index: -1;
55
+ }
56
+ .third {
57
+ margin-inline-start: 12px;
58
+ margin-top: 12px;
59
+ z-index: -2;
60
+ }
61
+ .text {
62
+ width: 100%;
63
+ }
64
+ .line-1 {
65
+ height: 24px;
66
+ margin-bottom: 4px;
67
+ width: 100%;
68
+ }
69
+ .line-2 {
70
+ height: 16px;
71
+ width: 25%;
72
+ }
73
+ d2l-input-checkbox {
74
+ line-height: 0;
75
+ margin: 0;
76
+ margin-inline-start: 16px;
77
+ }
78
+ .count {
79
+ background-color: var(--d2l-color-celestine);
80
+ border-radius: 0.7rem;
81
+ box-sizing: border-box;
82
+ color: white;
83
+ left: 26px;
84
+ min-width: 1.4rem;
85
+ padding: 0.2rem 0.4rem;
86
+ position: absolute;
87
+ text-align: center;
88
+ top: 30px;
89
+ z-index: 1000; /* must be higher than the skeleton z-index (999) */
90
+ }
91
+ :host([dir="rtl"]) .count {
92
+ left: 14px;
93
+ }
94
+ `];
95
+ }
96
+
97
+ constructor() {
98
+ super();
99
+ this.count = 0;
100
+ this.skeleton = true;
101
+ }
102
+
103
+ render() {
104
+ return html`
105
+ <div class="first">
106
+ <div class="count d2l-body-small">${formatNumber(this.count)}</div>
107
+ <svg width="18" height="18" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18">
108
+ <path fill="#494c4e" d="M8 16v1c0 .5-.4 1-1 1H6c-.6 0-1-.5-1-1v-1c0-.6.4-1 1-1h1c.6 0 1 .4 1 1M13 16v1c0 .5-.4 1-1 1h-1c-.6 0-1-.5-1-1v-1c0-.6.4-1 1-1h1c.6 0 1 .4 1 1M8 11v1c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1v-1c0-.6.4-1 1-1h1c.6 0 1 .4 1 1M13 11v1c0 .6-.4 1-1 1h-1c-.6 0-1-.4-1-1v-1c0-.6.4-1 1-1h1c.6 0 1 .4 1 1M8 6v1c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1V6c0-.6.4-1 1-1h1c.6 0 1 .4 1 1M13 6v1c0 .6-.4 1-1 1h-1c-.6 0-1-.4-1-1V6c0-.6.4-1 1-1h1c.6 0 1 .4 1 1M8 1v1c0 .6-.4 1-1 1H6c-.6 0-1-.4-1-1V1c0-.5.4-1 1-1h1c.6 0 1 .5 1 1M13 1v1c0 .6-.4 1-1 1h-1c-.6 0-1-.4-1-1V1c0-.5.4-1 1-1h1c.6 0 1 .5 1 1"/>
109
+ </svg>
110
+ <d2l-input-checkbox disabled skeleton></d2l-input-checkbox>
111
+ <div class="text">
112
+ <div class="line-1 d2l-skeletize"></div>
113
+ <div class="line-2 d2l-skeletize"></div>
114
+ </div>
115
+ </div>
116
+ <div class="second"></div>
117
+ <div class="third"></div>
118
+ `;
119
+ }
120
+
121
+ }
122
+
123
+ customElements.define('d2l-list-item-drag-image', ListItemDragImage);
@@ -19,9 +19,8 @@ class List extends SelectionMixin(LitElement) {
19
19
  static get properties() {
20
20
  return {
21
21
  /**
22
- * Not publicly available yet. Whether the user can drag multiple items
22
+ * Whether the user can drag multiple items
23
23
  * @type {boolean}
24
- * @ignore
25
24
  */
26
25
  dragMultiple: { type: Boolean, reflect: true, attribute: 'drag-multiple' },
27
26
  /**
@@ -1,6 +1,4 @@
1
-
2
- import { FocusVisiblePolyfillMixin } from '../../mixins/focus-visible-polyfill-mixin.js';
3
- export const MenuItemMixin = superclass => class extends FocusVisiblePolyfillMixin(superclass) {
1
+ export const MenuItemMixin = superclass => class extends superclass {
4
2
 
5
3
  static get properties() {
6
4
  return {
@@ -17,8 +17,8 @@ export const menuItemStyles = css`
17
17
  }
18
18
 
19
19
  :host(:hover),
20
- :host(.focus-visible),
21
- :host(.focus-visible[first]),
20
+ :host(:focus-visible),
21
+ :host(:focus-visible[first]),
22
22
  :host([first]:hover) {
23
23
  background-color: var(--d2l-menu-background-color-hover);
24
24
  border-bottom: 1px solid var(--d2l-menu-border-color-hover);
@@ -27,7 +27,7 @@ export const menuItemStyles = css`
27
27
  z-index: 2;
28
28
  }
29
29
 
30
- :host([disabled]), :host([disabled]:hover), :host([disabled].focus-visible) {
30
+ :host([disabled]), :host([disabled]:hover), :host([disabled]:focus-visible) {
31
31
  cursor: default;
32
32
  opacity: 0.75;
33
33
  }
@@ -40,7 +40,7 @@ export const menuItemStyles = css`
40
40
  border-top-color: transparent;
41
41
  }
42
42
 
43
- :host([last].focus-visible),
43
+ :host([last]:focus-visible),
44
44
  :host([last]:hover) {
45
45
  border-bottom-color: var(--d2l-menu-border-color-hover);
46
46
  }
@@ -2,7 +2,6 @@ import '../colors/colors.js';
2
2
  import '../icons/icon.js';
3
3
  import './menu-item-return.js';
4
4
  import { css, html, LitElement } from 'lit-element/lit-element.js';
5
- import { FocusVisiblePolyfillMixin } from '../../mixins/focus-visible-polyfill-mixin.js';
6
5
  import { HierarchicalViewMixin } from '../hierarchical-view/hierarchical-view-mixin.js';
7
6
  import { ThemeMixin } from '../../mixins/theme-mixin.js';
8
7
 
@@ -21,7 +20,7 @@ const keyCodes = {
21
20
  * @slot - Menu items
22
21
  * @fires d2l-menu-resize - Dispatched when size of menu changes (e.g., when nested menu of a different size is opened)
23
22
  */
24
- class Menu extends ThemeMixin(HierarchicalViewMixin(FocusVisiblePolyfillMixin(LitElement))) {
23
+ class Menu extends ThemeMixin(HierarchicalViewMixin(LitElement)) {
25
24
 
26
25
  static get properties() {
27
26
  return {
@@ -6943,6 +6943,32 @@
6943
6943
  }
6944
6944
  ]
6945
6945
  },
6946
+ {
6947
+ "name": "d2l-list-item-drag-image",
6948
+ "path": "./components/list/list-item-drag-image.js",
6949
+ "attributes": [
6950
+ {
6951
+ "name": "skeleton",
6952
+ "description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
6953
+ "type": "boolean",
6954
+ "default": "true"
6955
+ }
6956
+ ],
6957
+ "properties": [
6958
+ {
6959
+ "name": "count",
6960
+ "type": "number",
6961
+ "default": "0"
6962
+ },
6963
+ {
6964
+ "name": "skeleton",
6965
+ "attribute": "skeleton",
6966
+ "description": "Renders the input as a [skeleton loader](https://github.com/BrightspaceUI/core/tree/main/components/skeleton)",
6967
+ "type": "boolean",
6968
+ "default": "true"
6969
+ }
6970
+ ]
6971
+ },
6946
6972
  {
6947
6973
  "name": "d2l-list-item-generic-layout",
6948
6974
  "path": "./components/list/list-item-generic-layout.js",
@@ -7242,6 +7268,12 @@
7242
7268
  "type": "'all'|'between'|'none'",
7243
7269
  "default": "\"\\\"all\\\"\""
7244
7270
  },
7271
+ {
7272
+ "name": "drag-multiple",
7273
+ "description": "Whether the user can drag multiple items",
7274
+ "type": "boolean",
7275
+ "default": "false"
7276
+ },
7245
7277
  {
7246
7278
  "name": "extend-separators",
7247
7279
  "description": "Whether to extend the separators beyond the content's edge",
@@ -7271,6 +7303,8 @@
7271
7303
  },
7272
7304
  {
7273
7305
  "name": "dragMultiple",
7306
+ "attribute": "drag-multiple",
7307
+ "description": "Whether the user can drag multiple items",
7274
7308
  "type": "boolean",
7275
7309
  "default": "false"
7276
7310
  },
package/lang/ar.js CHANGED
@@ -1,11 +1,12 @@
1
1
  /* eslint quotes: 0 */
2
+
2
3
  export default {
3
4
  "components.alert.close": "إغلاق التنبيه",
4
5
  "components.breadcrumbs.breadcrumb": "شريط التنقل",
5
6
  "components.calendar.notSelected": "لم يتم التحديد.",
6
7
  "components.calendar.selected": "تم التحديد.",
7
8
  "components.calendar.show": "إظهار {month}",
8
- "components.count-badge.plus": "{number}+",
9
+ "components.count-badge.plus" : "{number}+",
9
10
  "components.dialog.close": "إغلاق مربع الحوار هذا",
10
11
  "components.dropdown.close": "إغلاق",
11
12
  "components.filter.clear": "مسح",
@@ -16,9 +17,9 @@ export default {
16
17
  "components.filter.clearAnnounceSingle": "جارٍ مسح عوامل التصفية",
17
18
  "components.filter.clearDescription": "مسح عوامل التصفية لـ: {filterName}",
18
19
  "components.filter.clearDescriptionSingle": "مسح عوامل التصفية",
20
+ "components.filter.loading": "يتم تحميل عوامل التصفية",
19
21
  "components.filter.filterCountDescription": "{number, plural, zero {لم يتم تطبيق عوامل تصفية.} one {تم تطبيق عامل تصفية واحد.} other {{number} من عوامل التصفية التي تم تطبيقها.}}",
20
22
  "components.filter.filters": "عوامل التصفية",
21
- "components.filter.loading": "يتم تحميل عوامل التصفية",
22
23
  "components.filter.noFilters": "ما من عوامل تصفية متوفرة",
23
24
  "components.filter.searchResults": "{number, plural, zero {ما من نتائج بحث} one {نتيجة بحث واحدة} other {{number} من نتائج البحث}}",
24
25
  "components.filter.singleDimensionDescription": "التصفية حسب: {filterName}",
@@ -48,37 +49,37 @@ export default {
48
49
  "components.input-date.errorMaxDateOnly": "يجب أن يكون التاريخ قبل {maxDate}",
49
50
  "components.input-date.errorMinDateOnly": "يجب أن يكون التاريخ بعد {minDate}",
50
51
  "components.input-date.errorOutsideRange": "يجب أن يكون التاريخ بين {minDate} و{maxDate}",
51
- "components.input-date.now": "الآن",
52
52
  "components.input-date.openInstructions": "استخدم تنسيق التاريخ {format}. انتقل إلى الأسفل أو اضغط على Enter للوصول إلى التقويم المصغّر.",
53
+ "components.input-date.now": "الآن",
53
54
  "components.input-date.today": "اليوم",
55
+ "components.input-number.hintInteger": "يقبل هذا الحقل قيم الأعداد الصحيحة فقط (بدون أعداد عشرية)",
54
56
  "components.input-number.hintDecimalDuplicate": "يوجد عدد عشري في هذا الرقم",
55
57
  "components.input-number.hintDecimalIncorrectComma": "لإضافة عدد عشري، استخدم حرف الفاصلة \",\"",
56
58
  "components.input-number.hintDecimalIncorrectPeriod": "لإضافة عدد عشري، استخدم حرف النقطة \".\"",
57
- "components.input-number.hintInteger": "يقبل هذا الحقل قيم الأعداد الصحيحة فقط (بدون أعداد عشرية)",
58
59
  "components.input-search.clear": "مسح البحث",
59
60
  "components.input-search.defaultPlaceholder": "البحث...",
60
61
  "components.input-search.search": "بحث",
61
62
  "components.input-time-range.endTime": "وقت النهاية",
62
63
  "components.input-time-range.errorBadInput": "يجب أن يكون تاريخ {startLabel} قبل {endLabel}",
63
64
  "components.input-time-range.startTime": "وقت البدء",
64
- "components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
65
- "components.list-item-drag-handle-tooltip.enter-key": "Enter",
66
- "components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
67
- "components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
68
- "components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
69
- "components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
70
- "components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
71
65
  "components.list-item-drag-handle.default": "إعادة ترتيب إجراء المادة لـ {name}",
72
66
  "components.list-item-drag-handle.keyboard": "إعادة ترتيب المواد، الموضع الحالي {currentPosition} من أصل {size}. لنقل هذه المادة، اضغط على السهم المتجه إلى أعلى أو السهم المتجه إلى أسفل.",
73
- "components.list-item-tooltip.enter-desc": "Activate the focused option.",
74
- "components.list-item-tooltip.enter-key": "Enter",
75
- "components.list-item-tooltip.left-right-desc": "Move focus within current item.",
76
- "components.list-item-tooltip.left-right-key": "Left/Right",
77
- "components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
78
- "components.list-item-tooltip.page-up-down-key": "Page Up/Down",
79
- "components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
80
- "components.list-item-tooltip.up-down-desc": "Move focus between list items.",
81
- "components.list-item-tooltip.up-down-key": "Up/Down",
67
+ "components.list-item-tooltip.title": "التنقل عبر لوحة المفاتيح للقوائم:",
68
+ "components.list-item-tooltip.enter-key": "إدخال",
69
+ "components.list-item-tooltip.enter-desc": "تنشيط خيار التركيز.",
70
+ "components.list-item-tooltip.up-down-key": "أعلى/أسفل",
71
+ "components.list-item-tooltip.up-down-desc": "نقل التركيز بين مواد القائمة.",
72
+ "components.list-item-tooltip.left-right-key": "يسار/يمين",
73
+ "components.list-item-tooltip.left-right-desc": "نقل التركيز ضمن المادة الحالية.",
74
+ "components.list-item-tooltip.page-up-down-key": "صفحة إلى الأعلى/الأسفل",
75
+ "components.list-item-tooltip.page-up-down-desc": "نقل التركيز لـ 5 مواد في كل مرة.",
76
+ "components.list-item-drag-handle-tooltip.title": "عناصر التحكم بلوحة المفاتيح لإعادة الترتيب:",
77
+ "components.list-item-drag-handle-tooltip.enter-key": "إدخال",
78
+ "components.list-item-drag-handle-tooltip.enter-desc": "تبديل وضع إعادة ترتيب لوحة المفاتيح.",
79
+ "components.list-item-drag-handle-tooltip.up-down-key": "أعلى/أسفل",
80
+ "components.list-item-drag-handle-tooltip.up-down-desc": "نقل المادة إلى الأعلى أو الأسفل في القائمة.",
81
+ "components.list-item-drag-handle-tooltip.left-right-key": "يسار/يمين",
82
+ "components.list-item-drag-handle-tooltip.left-right-desc": "غيِّر مستوى التداخل.",
82
83
  "components.menu-item-return.return": "العودة إلى القائمة السابقة.",
83
84
  "components.menu-item-return.returnCurrentlyShowing": "العودة إلى القائمة السابقة. يتم عرض {menuTitle}.",
84
85
  "components.meter-mixin.commaSeperatedAria": "{term1}، ‏{term2}",
package/lang/cy.js CHANGED
@@ -1,11 +1,12 @@
1
1
  /* eslint quotes: 0 */
2
+
2
3
  export default {
3
4
  "components.alert.close": "Cau Hysbysiad",
4
5
  "components.breadcrumbs.breadcrumb": "Briwsionyn Bara",
5
6
  "components.calendar.notSelected": "Heb ei Ddewis.",
6
7
  "components.calendar.selected": "Wedi'i Ddewis.",
7
8
  "components.calendar.show": "Dangos {month}",
8
- "components.count-badge.plus": "{number}+",
9
+ "components.count-badge.plus" : "{number}+",
9
10
  "components.dialog.close": "Cau'r dialog hwn",
10
11
  "components.dropdown.close": "Cau",
11
12
  "components.filter.clear": "Clirio",
@@ -16,9 +17,9 @@ export default {
16
17
  "components.filter.clearAnnounceSingle": "Wrthi'n clirio hidlwyr",
17
18
  "components.filter.clearDescription": "Wrthi’n clirio hidlwyd ar gyfer: {filterName}",
18
19
  "components.filter.clearDescriptionSingle": "Clirio Hidlwyr",
20
+ "components.filter.loading": "Wrthi’n llwytho hidlyddion",
19
21
  "components.filter.filterCountDescription": "{number, plural, zero {Ni chymhwyswyd hidlwyr.} one {1 hidlydd wedi'i gymhwyso.} other {{number} hidlydd wedi'u cymhwyso.}}",
20
22
  "components.filter.filters": "Hidlyddion",
21
- "components.filter.loading": "Wrthi’n llwytho hidlyddion",
22
23
  "components.filter.noFilters": "Dim hidlyddion ar gael",
23
24
  "components.filter.searchResults": "{number, plural, zero {Dim canlyniadau chwilio} one {1 canlyniad chwilio} other {{number} o ganlyniadau chwilio}}",
24
25
  "components.filter.singleDimensionDescription": "Hidlo yn ôl: {filterName}",
@@ -48,37 +49,37 @@ export default {
48
49
  "components.input-date.errorMaxDateOnly": "Rhaid i'r dyddiad fod cyn {maxDate}",
49
50
  "components.input-date.errorMinDateOnly": "Rhaid i'r dyddiad fod ar ôl {minDate}",
50
51
  "components.input-date.errorOutsideRange": "Rhaid i'r dyddiad fod rhwng {minDate} a {maxDate}",
51
- "components.input-date.now": "Nawr",
52
52
  "components.input-date.openInstructions": "Defnyddio fformat dyddiad {format}. Pwyswch saeth i lawr neu Enter i gael mynediad at galendr bach.",
53
+ "components.input-date.now": "Nawr",
53
54
  "components.input-date.today": "Heddiw",
55
+ "components.input-number.hintInteger": "Mae'r maes hwn yn derbyn gwerthoedd cyfanrif yn unig (dim degolion)",
54
56
  "components.input-number.hintDecimalDuplicate": "Mae degol eisoes yn y nifer hwn",
55
57
  "components.input-number.hintDecimalIncorrectComma": "I ychwanegu degol defnyddiwch y nod coma \",”",
56
58
  "components.input-number.hintDecimalIncorrectPeriod": "I ychwanegu degol defnyddiwch y nod atalnod llawn \".\"",
57
- "components.input-number.hintInteger": "Mae'r maes hwn yn derbyn gwerthoedd cyfanrif yn unig (dim degolion)",
58
59
  "components.input-search.clear": "Clirio'r Chwilio",
59
60
  "components.input-search.defaultPlaceholder": "Chwilio...",
60
61
  "components.input-search.search": "Chwilio",
61
62
  "components.input-time-range.endTime": "Amser Gorffen",
62
63
  "components.input-time-range.errorBadInput": "Rhaid i {startLabel} fod cyn {endLabel}",
63
64
  "components.input-time-range.startTime": "Amser Dechrau",
64
- "components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
65
- "components.list-item-drag-handle-tooltip.enter-key": "Enter",
66
- "components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
67
- "components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
68
- "components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
69
- "components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
70
- "components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
71
65
  "components.list-item-drag-handle.default": "Aildrefnu gweithred eitem ar gyfer {name}",
72
66
  "components.list-item-drag-handle.keyboard": "Aildrefnu eitemau, safle presennol {currentPosition} allan o {size}. I symud yr eitem hon, pwyswch y saeth i fyny neu'r saeth i lawr.",
73
- "components.list-item-tooltip.enter-desc": "Activate the focused option.",
74
- "components.list-item-tooltip.enter-key": "Enter",
75
- "components.list-item-tooltip.left-right-desc": "Move focus within current item.",
76
- "components.list-item-tooltip.left-right-key": "Left/Right",
77
- "components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
78
- "components.list-item-tooltip.page-up-down-key": "Page Up/Down",
79
- "components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
80
- "components.list-item-tooltip.up-down-desc": "Move focus between list items.",
81
- "components.list-item-tooltip.up-down-key": "Up/Down",
67
+ "components.list-item-tooltip.title": "Llywio Bysellfwrdd ar gyfer Rhestrau:",
68
+ "components.list-item-tooltip.enter-key": "Nodi",
69
+ "components.list-item-tooltip.enter-desc": "Gweithredu'r opsiwn ffocysu.",
70
+ "components.list-item-tooltip.up-down-key": "I Fyny/I Lawr",
71
+ "components.list-item-tooltip.up-down-desc": "Symud y ffocws rhwng eitemau rhestr.",
72
+ "components.list-item-tooltip.left-right-key": "Chwith/De",
73
+ "components.list-item-tooltip.left-right-desc": "Symud y ffocws o fewn yr eitem bresennol.",
74
+ "components.list-item-tooltip.page-up-down-key": "Tudalen I Fyny/I Lawr",
75
+ "components.list-item-tooltip.page-up-down-desc": "Symud y ffocws 5 eitem ar y tro.",
76
+ "components.list-item-drag-handle-tooltip.title": "Rheolaethau bysellfwrdd ar gyfer aildrefnu:",
77
+ "components.list-item-drag-handle-tooltip.enter-key": "Nodi",
78
+ "components.list-item-drag-handle-tooltip.enter-desc": "Toglo'r modd aildrefnu bysellfwrdd.",
79
+ "components.list-item-drag-handle-tooltip.up-down-key": "I Fyny/I Lawr",
80
+ "components.list-item-drag-handle-tooltip.up-down-desc": "Symud yr eitem i fyny neu i lawr yn y rhestr.",
81
+ "components.list-item-drag-handle-tooltip.left-right-key": "Chwith/De",
82
+ "components.list-item-drag-handle-tooltip.left-right-desc": "Newid y lefel nythu.",
82
83
  "components.menu-item-return.return": "Dychwelyd i'r ddewislen flaenorol.",
83
84
  "components.menu-item-return.returnCurrentlyShowing": "Dychwelyd i'r ddewislen flaenorol. Rydych chi'n edrych ar {menuTitle}.",
84
85
  "components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
package/lang/da.js CHANGED
@@ -1,11 +1,12 @@
1
1
  /* eslint quotes: 0 */
2
+
2
3
  export default {
3
4
  "components.alert.close": "Luk besked",
4
5
  "components.breadcrumbs.breadcrumb": "Brødkrumme",
5
6
  "components.calendar.notSelected": "Ikke valgt.",
6
7
  "components.calendar.selected": "Valgt.",
7
8
  "components.calendar.show": "Vis {month}",
8
- "components.count-badge.plus": "{number}+",
9
+ "components.count-badge.plus" : "{number}+",
9
10
  "components.dialog.close": "Luk denne dialogboks",
10
11
  "components.dropdown.close": "Luk",
11
12
  "components.filter.clear": "Ryd",
@@ -16,9 +17,9 @@ export default {
16
17
  "components.filter.clearAnnounceSingle": "Rydder filtre",
17
18
  "components.filter.clearDescription": "Ryd filtre for: {filterName}",
18
19
  "components.filter.clearDescriptionSingle": "Ryd filtre",
20
+ "components.filter.loading": "Indlæser filtre",
19
21
  "components.filter.filterCountDescription": "{number, plural, zero {Ingen filtre anvendt.} one {1 filter anvendt.} other {{number} filtre anvendt.}}",
20
22
  "components.filter.filters": "Filtre",
21
- "components.filter.loading": "Indlæser filtre",
22
23
  "components.filter.noFilters": "Ingen tilgængelige filtre",
23
24
  "components.filter.searchResults": "{number, plural, zero {No search results} one {1 search result} other {{number} search results}}",
24
25
  "components.filter.singleDimensionDescription": "Filtrer efter: {filterName}",
@@ -48,37 +49,37 @@ export default {
48
49
  "components.input-date.errorMaxDateOnly": "Datoen skal være før {maxDate}",
49
50
  "components.input-date.errorMinDateOnly": "Datoen skal være efter {minDate}",
50
51
  "components.input-date.errorOutsideRange": "Datoen skal være mellem {minDate} og {maxDate}",
51
- "components.input-date.now": "Nu",
52
52
  "components.input-date.openInstructions": "Brug datoformatet {format}. Tryk på Pil ned eller Enter for at få adgang til minikalender.",
53
+ "components.input-date.now": "Nu",
53
54
  "components.input-date.today": "I dag",
55
+ "components.input-number.hintInteger": "Dette felt accepterer kun heltalsværdier (ingen decimaler)",
54
56
  "components.input-number.hintDecimalDuplicate": "Der er allerede en decimal i dette tal",
55
57
  "components.input-number.hintDecimalIncorrectComma": "Hvis du vil tilføje en decimal, skal du bruge komma-tegnet \",\"",
56
58
  "components.input-number.hintDecimalIncorrectPeriod": "Hvis du vil tilføje en decimal, skal du bruge tegnet \".\"",
57
- "components.input-number.hintInteger": "Dette felt accepterer kun heltalsværdier (ingen decimaler)",
58
59
  "components.input-search.clear": "Ryd søgning",
59
60
  "components.input-search.defaultPlaceholder": "Søg ...",
60
61
  "components.input-search.search": "Søg",
61
62
  "components.input-time-range.endTime": "Sluttidspunkt",
62
63
  "components.input-time-range.errorBadInput": "{startLabel} skal være før {endLabel}",
63
64
  "components.input-time-range.startTime": "Starttidspunkt",
64
- "components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
65
- "components.list-item-drag-handle-tooltip.enter-key": "Enter",
66
- "components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
67
- "components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
68
- "components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
69
- "components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
70
- "components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
71
65
  "components.list-item-drag-handle.default": "Omarranger elementhandling for {name}",
72
66
  "components.list-item-drag-handle.keyboard": "Omarranger element, aktuel position {currentPosition} ud af {size}. For at flytte dette element skal du trykke på pil op eller pil ned.",
73
- "components.list-item-tooltip.enter-desc": "Activate the focused option.",
74
- "components.list-item-tooltip.enter-key": "Enter",
75
- "components.list-item-tooltip.left-right-desc": "Move focus within current item.",
76
- "components.list-item-tooltip.left-right-key": "Left/Right",
77
- "components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
78
- "components.list-item-tooltip.page-up-down-key": "Page Up/Down",
79
- "components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
80
- "components.list-item-tooltip.up-down-desc": "Move focus between list items.",
81
- "components.list-item-tooltip.up-down-key": "Up/Down",
67
+ "components.list-item-tooltip.title": "Tastaturnavigering for lister:",
68
+ "components.list-item-tooltip.enter-key": "Indtast",
69
+ "components.list-item-tooltip.enter-desc": "Aktivér den fokuserede indstilling.",
70
+ "components.list-item-tooltip.up-down-key": "Op/ned",
71
+ "components.list-item-tooltip.up-down-desc": "Flyt fokus mellem listeelementer.",
72
+ "components.list-item-tooltip.left-right-key": "Venstre/højre",
73
+ "components.list-item-tooltip.left-right-desc": "Flyt fokus inden for det aktuelle element.",
74
+ "components.list-item-tooltip.page-up-down-key": "Side op/ned",
75
+ "components.list-item-tooltip.page-up-down-desc": "Flyt fokus 5 elementer ad gangen.",
76
+ "components.list-item-drag-handle-tooltip.title": "Tastaturkontrolelementer for omorganisering:",
77
+ "components.list-item-drag-handle-tooltip.enter-key": "Indtast",
78
+ "components.list-item-drag-handle-tooltip.enter-desc": "Skift tilstand for omorganisering af tastatur.",
79
+ "components.list-item-drag-handle-tooltip.up-down-key": "Op/ned",
80
+ "components.list-item-drag-handle-tooltip.up-down-desc": "Flyt element op eller ned på listen.",
81
+ "components.list-item-drag-handle-tooltip.left-right-key": "Venstre/højre",
82
+ "components.list-item-drag-handle-tooltip.left-right-desc": "Skift indlejringsniveauet.",
82
83
  "components.menu-item-return.return": "Gå tilbage til forrige menu.",
83
84
  "components.menu-item-return.returnCurrentlyShowing": "Gå tilbage til forrige menu. Du ser på {menuTitle}.",
84
85
  "components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",
package/lang/de.js CHANGED
@@ -1,11 +1,12 @@
1
1
  /* eslint quotes: 0 */
2
+
2
3
  export default {
3
4
  "components.alert.close": "Benachrichtigung schließen",
4
5
  "components.breadcrumbs.breadcrumb": "Breadcrumb",
5
6
  "components.calendar.notSelected": "Nicht ausgewählt.",
6
7
  "components.calendar.selected": "Ausgewählt.",
7
8
  "components.calendar.show": "{month} anzeigen",
8
- "components.count-badge.plus": "{number}+",
9
+ "components.count-badge.plus" : "{number}+",
9
10
  "components.dialog.close": "Dieses Dialogfeld schließen",
10
11
  "components.dropdown.close": "Schließen",
11
12
  "components.filter.clear": "Löschen",
@@ -16,9 +17,9 @@ export default {
16
17
  "components.filter.clearAnnounceSingle": "Filter werden gelöscht",
17
18
  "components.filter.clearDescription": "Filter für {filterName} löschen",
18
19
  "components.filter.clearDescriptionSingle": "Filter löschen",
20
+ "components.filter.loading": "Filter werden geladen",
19
21
  "components.filter.filterCountDescription": "{number, plural, zero {Keine Filter angewendet.} one {1 Filter angewendet.} other {{number} Filter angewendet.}}",
20
22
  "components.filter.filters": "Filter",
21
- "components.filter.loading": "Filter werden geladen",
22
23
  "components.filter.noFilters": "Keine verfügbaren Filter",
23
24
  "components.filter.searchResults": "{number, plural, zero {Keine Suchergebnisse} one {1 Suchergebnis} other {{number} Suchergebnisse}}",
24
25
  "components.filter.singleDimensionDescription": "Filtern nach: {filterName}",
@@ -48,37 +49,37 @@ export default {
48
49
  "components.input-date.errorMaxDateOnly": "Datum muss vor {maxDate} liegen",
49
50
  "components.input-date.errorMinDateOnly": "Datum muss nach {minDate} liegen",
50
51
  "components.input-date.errorOutsideRange": "Datum muss zwischen {minDate} und {maxDate} liegen",
51
- "components.input-date.now": "Jetzt",
52
52
  "components.input-date.openInstructions": "Das Datumsformat {format} verwenden. Minikalender durch Abwärtspfeil oder durch Drücken der Eingabetaste aufrufen.",
53
+ "components.input-date.now": "Jetzt",
53
54
  "components.input-date.today": "Heute",
55
+ "components.input-number.hintInteger": "Dieses Feld akzeptiert nur Ganzzahlen (keine Dezimalstellen)",
54
56
  "components.input-number.hintDecimalDuplicate": "Diese Zahl enthält bereits eine Dezimale",
55
57
  "components.input-number.hintDecimalIncorrectComma": "Verwenden Sie zum Hinzufügen einer Dezimalstelle das Komma \",“",
56
58
  "components.input-number.hintDecimalIncorrectPeriod": "Verwenden Sie zum Hinzufügen einer Dezimalstelle das Zeichen \".“",
57
- "components.input-number.hintInteger": "Dieses Feld akzeptiert nur Ganzzahlen (keine Dezimalstellen)",
58
59
  "components.input-search.clear": "Suche löschen",
59
60
  "components.input-search.defaultPlaceholder": "Suchen...",
60
61
  "components.input-search.search": "Suchen",
61
62
  "components.input-time-range.endTime": "Endzeit",
62
63
  "components.input-time-range.errorBadInput": "{startLabel} muss vor {endLabel} liegen",
63
64
  "components.input-time-range.startTime": "Startzeit",
64
- "components.list-item-drag-handle-tooltip.enter-desc": "Toggle keyboard reorder mode.",
65
- "components.list-item-drag-handle-tooltip.enter-key": "Enter",
66
- "components.list-item-drag-handle-tooltip.left-right-desc": "Change the nesting level.",
67
- "components.list-item-drag-handle-tooltip.left-right-key": "Left/Right",
68
- "components.list-item-drag-handle-tooltip.title": "Keyboard Controls for Reordering:",
69
- "components.list-item-drag-handle-tooltip.up-down-desc": "Move item up or down in the list.",
70
- "components.list-item-drag-handle-tooltip.up-down-key": "Up/Down",
71
65
  "components.list-item-drag-handle.default": "Elementaktion für {name} neu anordnen",
72
66
  "components.list-item-drag-handle.keyboard": "Elemente neu anordnen; aktuelle Position: {currentPosition} von {size}. Drücken Sie zum Bewegen dieses Elements auf den Pfeil nach oben oder den Pfeil nach unten.",
73
- "components.list-item-tooltip.enter-desc": "Activate the focused option.",
74
- "components.list-item-tooltip.enter-key": "Enter",
75
- "components.list-item-tooltip.left-right-desc": "Move focus within current item.",
76
- "components.list-item-tooltip.left-right-key": "Left/Right",
77
- "components.list-item-tooltip.page-up-down-desc": "Move focus 5 items at a time.",
78
- "components.list-item-tooltip.page-up-down-key": "Page Up/Down",
79
- "components.list-item-tooltip.title": "Keyboard Navigation for Lists:",
80
- "components.list-item-tooltip.up-down-desc": "Move focus between list items.",
81
- "components.list-item-tooltip.up-down-key": "Up/Down",
67
+ "components.list-item-tooltip.title": "Tastaturnavigation für Listen:",
68
+ "components.list-item-tooltip.enter-key": "Eingabe",
69
+ "components.list-item-tooltip.enter-desc": "Die fokussierte Option aktivieren.",
70
+ "components.list-item-tooltip.up-down-key": "Nach oben/unten",
71
+ "components.list-item-tooltip.up-down-desc": "Fokus zwischen Listeneinträgen verschieben.",
72
+ "components.list-item-tooltip.left-right-key": "Links/Rechts",
73
+ "components.list-item-tooltip.left-right-desc": "Fokus innerhalb des aktuellen Elements verschieben.",
74
+ "components.list-item-tooltip.page-up-down-key": "Bild Auf/Ab",
75
+ "components.list-item-tooltip.page-up-down-desc": "Fokus um jeweils 5 Elemente verschieben.",
76
+ "components.list-item-drag-handle-tooltip.title": "Tastatursteuerelemente für Neuanordnung:",
77
+ "components.list-item-drag-handle-tooltip.enter-key": "Eingabe",
78
+ "components.list-item-drag-handle-tooltip.enter-desc": "Tastatur-Neuanordnungsmodus ändern.",
79
+ "components.list-item-drag-handle-tooltip.up-down-key": "Nach oben/unten",
80
+ "components.list-item-drag-handle-tooltip.up-down-desc": "Element in der Liste nach oben oder unten verschieben.",
81
+ "components.list-item-drag-handle-tooltip.left-right-key": "Links/Rechts",
82
+ "components.list-item-drag-handle-tooltip.left-right-desc": "Verschachtelungsebene ändern.",
82
83
  "components.menu-item-return.return": "Zum vorherigen Menü zurückkehren.",
83
84
  "components.menu-item-return.returnCurrentlyShowing": "Zum vorherigen Menü zurückkehren. Sie betrachten gerade {menuTitle}.",
84
85
  "components.meter-mixin.commaSeperatedAria": "{term1}, {term2}",