@refinitiv-ui/phrasebook 5.0.0-beta.3 → 5.0.0-dev.204
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/CHANGELOG.md +93 -5
- package/lib/index.d.ts +2 -2
- package/lib/index.js +1 -2
- package/lib/locale/de/calendar.d.ts +18 -0
- package/lib/locale/de/calendar.js +20 -0
- package/lib/locale/de/color-dialog.d.ts +1 -1
- package/lib/locale/de/color-dialog.js +2 -3
- package/lib/locale/de/combo-box.d.ts +1 -1
- package/lib/locale/de/combo-box.js +3 -4
- package/lib/locale/de/dialog.d.ts +1 -1
- package/lib/locale/de/dialog.js +2 -3
- package/lib/locale/de/pagination.d.ts +2 -2
- package/lib/locale/de/pagination.js +5 -14
- package/lib/locale/de/password-field.d.ts +5 -0
- package/lib/locale/de/password-field.js +7 -0
- package/lib/locale/de/search-field.d.ts +4 -0
- package/lib/locale/de/search-field.js +6 -0
- package/lib/locale/de/shared.js +1 -2
- package/lib/locale/de/time-picker.d.ts +10 -0
- package/lib/locale/de/time-picker.js +12 -0
- package/lib/locale/de/tree-select.d.ts +1 -1
- package/lib/locale/de/tree-select.js +4 -5
- package/lib/locale/en/calendar.d.ts +18 -0
- package/lib/locale/en/calendar.js +20 -0
- package/lib/locale/en/color-dialog.d.ts +1 -1
- package/lib/locale/en/color-dialog.js +2 -3
- package/lib/locale/en/combo-box.d.ts +1 -1
- package/lib/locale/en/combo-box.js +2 -3
- package/lib/locale/en/dialog.d.ts +1 -1
- package/lib/locale/en/dialog.js +2 -3
- package/lib/locale/en/pagination.d.ts +2 -2
- package/lib/locale/en/pagination.js +5 -14
- package/lib/locale/en/password-field.d.ts +5 -0
- package/lib/locale/en/password-field.js +7 -0
- package/lib/locale/en/search-field.d.ts +4 -0
- package/lib/locale/en/search-field.js +6 -0
- package/lib/locale/en/shared.js +1 -2
- package/lib/locale/en/time-picker.d.ts +10 -0
- package/lib/locale/en/time-picker.js +12 -0
- package/lib/locale/en/tree-select.d.ts +1 -1
- package/lib/locale/en/tree-select.js +4 -5
- package/lib/locale/ja/calendar.d.ts +18 -0
- package/lib/locale/ja/calendar.js +20 -0
- package/lib/locale/ja/color-dialog.d.ts +1 -1
- package/lib/locale/ja/color-dialog.js +2 -3
- package/lib/locale/ja/combo-box.d.ts +1 -1
- package/lib/locale/ja/combo-box.js +2 -3
- package/lib/locale/ja/dialog.d.ts +1 -1
- package/lib/locale/ja/dialog.js +2 -3
- package/lib/locale/ja/pagination.d.ts +2 -2
- package/lib/locale/ja/pagination.js +5 -14
- package/lib/locale/ja/password-field.d.ts +5 -0
- package/lib/locale/ja/password-field.js +7 -0
- package/lib/locale/ja/search-field.d.ts +4 -0
- package/lib/locale/ja/search-field.js +6 -0
- package/lib/locale/ja/shared.js +1 -2
- package/lib/locale/ja/time-picker.d.ts +10 -0
- package/lib/locale/ja/time-picker.js +12 -0
- package/lib/locale/ja/tree-select.d.ts +1 -1
- package/lib/locale/ja/tree-select.js +4 -5
- package/lib/locale/zh/calendar.d.ts +18 -0
- package/lib/locale/zh/calendar.js +20 -0
- package/lib/locale/zh/color-dialog.d.ts +1 -1
- package/lib/locale/zh/color-dialog.js +2 -3
- package/lib/locale/zh/combo-box.d.ts +1 -1
- package/lib/locale/zh/combo-box.js +2 -3
- package/lib/locale/zh/dialog.d.ts +1 -1
- package/lib/locale/zh/dialog.js +2 -3
- package/lib/locale/zh/pagination.d.ts +2 -2
- package/lib/locale/zh/pagination.js +5 -14
- package/lib/locale/zh/password-field.d.ts +5 -0
- package/lib/locale/zh/password-field.js +7 -0
- package/lib/locale/zh/search-field.d.ts +4 -0
- package/lib/locale/zh/search-field.js +6 -0
- package/lib/locale/zh/shared.js +1 -2
- package/lib/locale/zh/time-picker.d.ts +10 -0
- package/lib/locale/zh/time-picker.js +12 -0
- package/lib/locale/zh/tree-select.d.ts +1 -1
- package/lib/locale/zh/tree-select.js +4 -5
- package/lib/locale/zh-hant/calendar.d.ts +18 -0
- package/lib/locale/zh-hant/calendar.js +20 -0
- package/lib/locale/zh-hant/color-dialog.d.ts +1 -1
- package/lib/locale/zh-hant/color-dialog.js +2 -3
- package/lib/locale/zh-hant/combo-box.d.ts +1 -1
- package/lib/locale/zh-hant/combo-box.js +2 -3
- package/lib/locale/zh-hant/dialog.d.ts +1 -1
- package/lib/locale/zh-hant/dialog.js +2 -3
- package/lib/locale/zh-hant/pagination.d.ts +2 -2
- package/lib/locale/zh-hant/pagination.js +5 -14
- package/lib/locale/zh-hant/password-field.d.ts +5 -0
- package/lib/locale/zh-hant/password-field.js +7 -0
- package/lib/locale/zh-hant/search-field.d.ts +4 -0
- package/lib/locale/zh-hant/search-field.js +6 -0
- package/lib/locale/zh-hant/shared.js +1 -2
- package/lib/locale/zh-hant/time-picker.d.ts +10 -0
- package/lib/locale/zh-hant/time-picker.js +12 -0
- package/lib/locale/zh-hant/tree-select.d.ts +1 -1
- package/lib/locale/zh-hant/tree-select.js +4 -5
- package/lib/translation.d.ts +1 -1
- package/lib/translation.js +0 -1
- package/lib/types.js +0 -1
- package/package.json +117 -6
- package/tsconfig.tsbuildinfo +1 -0
- package/lib/index.js.map +0 -1
- package/lib/locale/de/color-dialog.js.map +0 -1
- package/lib/locale/de/combo-box.js.map +0 -1
- package/lib/locale/de/dialog.js.map +0 -1
- package/lib/locale/de/pagination.js.map +0 -1
- package/lib/locale/de/shared.js.map +0 -1
- package/lib/locale/de/tree-select.js.map +0 -1
- package/lib/locale/en/color-dialog.js.map +0 -1
- package/lib/locale/en/combo-box.js.map +0 -1
- package/lib/locale/en/dialog.js.map +0 -1
- package/lib/locale/en/pagination.js.map +0 -1
- package/lib/locale/en/shared.js.map +0 -1
- package/lib/locale/en/tree-select.js.map +0 -1
- package/lib/locale/ja/color-dialog.js.map +0 -1
- package/lib/locale/ja/combo-box.js.map +0 -1
- package/lib/locale/ja/dialog.js.map +0 -1
- package/lib/locale/ja/pagination.js.map +0 -1
- package/lib/locale/ja/shared.js.map +0 -1
- package/lib/locale/ja/tree-select.js.map +0 -1
- package/lib/locale/zh/color-dialog.js.map +0 -1
- package/lib/locale/zh/combo-box.js.map +0 -1
- package/lib/locale/zh/dialog.js.map +0 -1
- package/lib/locale/zh/pagination.js.map +0 -1
- package/lib/locale/zh/shared.js.map +0 -1
- package/lib/locale/zh/tree-select.js.map +0 -1
- package/lib/locale/zh-hant/color-dialog.js.map +0 -1
- package/lib/locale/zh-hant/combo-box.js.map +0 -1
- package/lib/locale/zh-hant/dialog.js.map +0 -1
- package/lib/locale/zh-hant/pagination.js.map +0 -1
- package/lib/locale/zh-hant/shared.js.map +0 -1
- package/lib/locale/zh-hant/tree-select.js.map +0 -1
- package/lib/translation.js.map +0 -1
- package/lib/types.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,29 +3,88 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
## [5.4.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.4.0...@refinitiv-ui/phrasebook@5.4.1) (2022-01-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [5.4.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.3.0...@refinitiv-ui/phrasebook@5.4.0) (2021-12-21)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **pagination:** support max unknown ([d3997ce](https://github.com/Refinitiv/refinitiv-ui/commit/d3997ce16abb9c01ecc43bcf6a80386b02cd3c12))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [5.3.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.2.1...@refinitiv-ui/phrasebook@5.3.0) (2021-12-15)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* add named exports to elements, themes and locales to support full backward compatibility ([#114](https://github.com/Refinitiv/refinitiv-ui/issues/114)) ([7d25d50](https://github.com/Refinitiv/refinitiv-ui/commit/7d25d50c649308fc5a17d086e9e01467a0dabfb9))
|
|
31
|
+
* **calendar:** add accessibility ([#73](https://github.com/Refinitiv/refinitiv-ui/issues/73)) ([a2576cc](https://github.com/Refinitiv/refinitiv-ui/commit/a2576cc8a1f0229bb5988af0c9d0bbf8ce7f765c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [5.2.1](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.2.0...@refinitiv-ui/phrasebook@5.2.1) (2021-12-03)
|
|
7
38
|
|
|
8
39
|
|
|
9
40
|
### Bug Fixes
|
|
10
41
|
|
|
11
|
-
* **phrasebook:** change
|
|
42
|
+
* **phrasebook:** change ICU syntax on Japanese language ([9b235ab](https://github.com/Refinitiv/refinitiv-ui/commit/9b235ab61fa0dae5c6ce97b66acee52dfd4028d4))
|
|
43
|
+
* **phrasebook:** export path should go to lib folder ([681028f](https://github.com/Refinitiv/refinitiv-ui/commit/681028ff960a831cfa888d0fdea38ddd40de815f))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
12
47
|
|
|
13
48
|
|
|
49
|
+
# [5.2.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.6...@refinitiv-ui/phrasebook@5.2.0) (2021-11-08)
|
|
14
50
|
|
|
15
51
|
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* Lit@2 upgrade ([dbda63b](https://github.com/Refinitiv/refinitiv-ui/commit/dbda63be97257f891cb1f2c5ff46b638c70e0b15))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## [5.1.6](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.3...@refinitiv-ui/phrasebook@5.1.6) (2021-10-25)
|
|
61
|
+
|
|
62
|
+
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
63
|
+
|
|
16
64
|
|
|
17
|
-
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## [5.1.3](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.2...@refinitiv-ui/phrasebook@5.1.3) (2021-10-11)
|
|
18
69
|
|
|
19
70
|
|
|
20
71
|
### Bug Fixes
|
|
21
72
|
|
|
22
|
-
*
|
|
73
|
+
* remove source maps reference from the production build ([655d0bb](https://github.com/Refinitiv/refinitiv-ui/commit/655d0bb57290e5fe1276bf1a99bd7a0190d7a2f8))
|
|
23
74
|
|
|
24
75
|
|
|
25
76
|
|
|
26
77
|
|
|
27
78
|
|
|
28
|
-
|
|
79
|
+
## [5.1.2](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.1...@refinitiv-ui/phrasebook@5.1.2) (2021-09-10)
|
|
80
|
+
|
|
81
|
+
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## [5.1.1](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.1.0...@refinitiv-ui/phrasebook@5.1.1) (2021-08-27)
|
|
29
88
|
|
|
30
89
|
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
31
90
|
|
|
@@ -33,6 +92,35 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
33
92
|
|
|
34
93
|
|
|
35
94
|
|
|
95
|
+
# [5.1.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.0.0...@refinitiv-ui/phrasebook@5.1.0) (2021-07-30)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Features
|
|
99
|
+
|
|
100
|
+
* use latest FormatJS polyfills and ICU parser ([b7855e4](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/commits/b7855e409d10d9c8b9f31a34953470549295a8ab))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# [5.0.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.0.0-beta.3...@refinitiv-ui/phrasebook@5.0.0) (2021-07-16)
|
|
107
|
+
|
|
108
|
+
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# [5.0.0-beta.3](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.0.0-beta.1...@refinitiv-ui/phrasebook@5.0.0-beta.3) (2021-07-02)
|
|
115
|
+
|
|
116
|
+
### Bug Fixes
|
|
117
|
+
|
|
118
|
+
- change search result wording of combo-box ([93eec43](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/commits/93eec43eeae82e4e2605a774a5411f0d224cd6d7))
|
|
119
|
+
|
|
120
|
+
# [5.0.0-beta.1](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.0.0-beta.0...@refinitiv-ui/phrasebook@5.0.0-beta.1) (2021-06-22)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
123
|
+
|
|
36
124
|
# [5.0.0-beta.0](https://git.sami.int.thomsonreuters.com/elf/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.0.0-alpha.5...@refinitiv-ui/phrasebook@5.0.0-beta.0) (2021-06-22)
|
|
37
125
|
|
|
38
126
|
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Translations } from './types';
|
|
2
|
-
export { Phrasebook, ObserverCallback, ObserverKey } from './translation';
|
|
1
|
+
export type { Translations } from './types';
|
|
2
|
+
export { Phrasebook, ObserverCallback, ObserverKey } from './translation.js';
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { Phrasebook, ObserverKey } from './translation';
|
|
2
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
export { Phrasebook, ObserverKey } from './translation.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const translations: {
|
|
2
|
+
PREVIOUS_MONTH: string;
|
|
3
|
+
NEXT_MONTH: string;
|
|
4
|
+
PREVIOUS_YEAR: string;
|
|
5
|
+
NEXT_YEAR: string;
|
|
6
|
+
PREVIOUS_DECADE: string;
|
|
7
|
+
NEXT_DECADE: string;
|
|
8
|
+
YEAR_SELECTOR: string;
|
|
9
|
+
DATE_SELECTOR: string;
|
|
10
|
+
CELL_LABEL: string;
|
|
11
|
+
SELECTED: string;
|
|
12
|
+
NOW: string;
|
|
13
|
+
SELECTED_NOW: string;
|
|
14
|
+
SELECTED_DATE: string;
|
|
15
|
+
SELECTED_RANGE: string;
|
|
16
|
+
SELECTED_NONE: string;
|
|
17
|
+
};
|
|
18
|
+
export default translations;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
const translations = {
|
|
3
|
+
PREVIOUS_MONTH: 'Previous month',
|
|
4
|
+
NEXT_MONTH: 'Next month',
|
|
5
|
+
PREVIOUS_YEAR: 'Previous year',
|
|
6
|
+
NEXT_YEAR: 'Next year',
|
|
7
|
+
PREVIOUS_DECADE: 'Previous decade',
|
|
8
|
+
NEXT_DECADE: 'Next decade',
|
|
9
|
+
YEAR_SELECTOR: 'Click to select year',
|
|
10
|
+
DATE_SELECTOR: 'Click to select date',
|
|
11
|
+
CELL_LABEL: '{view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
|
|
12
|
+
SELECTED: 'Selected: {view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
|
|
13
|
+
NOW: '{view, select, year {Current year, {value, date, ::yyyy}} month {Current month, {value, date, ::MMMM-yyyy}} other {Today, {value, date, full}}}',
|
|
14
|
+
SELECTED_NOW: 'Selected: {view, select, year {current year, {value, date, ::yyyy}} month {current month, {value, date, ::MMMM-yyyy}} other {today, {value, date, full}}}',
|
|
15
|
+
SELECTED_DATE: 'Selected {count, plural, =1 {date is {value, date, full}} other {# dates, {value, date, full} and others}}',
|
|
16
|
+
SELECTED_RANGE: 'Selected range is from {from, date, full}{to, select, null {} other { to {to, date, full}}}',
|
|
17
|
+
SELECTED_NONE: 'Selected none. Choose {range, select, true {date range} other {{multiple, select, true {dates} other {date}}}}'
|
|
18
|
+
};
|
|
19
|
+
Phrasebook.define('de', 'ef-calendar', translations);
|
|
20
|
+
export default translations;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
|
|
2
|
-
import { Phrasebook } from '../../';
|
|
3
|
-
import './shared';
|
|
2
|
+
import { Phrasebook } from '../../translation.js';
|
|
3
|
+
import './shared.js';
|
|
4
4
|
import dialogTranslations from './dialog';
|
|
5
5
|
const translations = Object.assign(Object.assign({}, dialogTranslations), {
|
|
6
6
|
// Dialog title
|
|
@@ -9,4 +9,3 @@ const translations = Object.assign(Object.assign({}, dialogTranslations), {
|
|
|
9
9
|
RED: 'R', GREEN: 'G', BLUE: 'B' });
|
|
10
10
|
Phrasebook.define('de', 'ef-color-dialog', translations);
|
|
11
11
|
export default translations;
|
|
12
|
-
//# sourceMappingURL=color-dialog.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Phrasebook } from '../../';
|
|
2
|
-
import './shared';
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
import './shared.js';
|
|
3
3
|
const translations = {
|
|
4
4
|
MULTIPLE_ITEMS: 'Mehrere Objekte',
|
|
5
|
-
NO_OPTIONS: 'Keine Ergebnisse
|
|
5
|
+
NO_OPTIONS: 'Keine Ergebnisse'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('de', 'ef-combo-box', translations);
|
|
8
8
|
export default translations;
|
|
9
|
-
//# sourceMappingURL=combo-box.js.map
|
package/lib/locale/de/dialog.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Phrasebook } from '../../';
|
|
2
|
-
import './shared';
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
import './shared.js';
|
|
3
3
|
// deliberately empty as covered by shared
|
|
4
4
|
const translations = {
|
|
5
5
|
HEADER: 'Dialog'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('de', 'ef-dialog', translations);
|
|
8
8
|
export default translations;
|
|
9
|
-
//# sourceMappingURL=dialog.js.map
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
// Component docs https://elf.int.refinitiv.com/elements/pagination.html
|
|
2
|
-
import { Phrasebook } from '../../';
|
|
3
|
-
import './shared';
|
|
2
|
+
import { Phrasebook } from '../../translation.js';
|
|
3
|
+
import './shared.js';
|
|
4
4
|
const translations = {
|
|
5
|
+
// page: current page #
|
|
6
|
+
PAGE: 'Seite {page}',
|
|
5
7
|
// page: current page #
|
|
6
8
|
// pageTotal: total number of pages
|
|
7
|
-
PAGE_OF: 'Seite {page} von {pageTotal}'
|
|
8
|
-
/*
|
|
9
|
-
* totalCount: total number of items
|
|
10
|
-
* pageSize: Number of items per page
|
|
11
|
-
* ** To translate
|
|
12
|
-
* No items
|
|
13
|
-
* of = eg page 1 of 2
|
|
14
|
-
* item
|
|
15
|
-
* items
|
|
16
|
-
*/
|
|
17
|
-
ITEM_INFO: '{totalCount, plural, =0 {Keine Elemente} other {{ totalCount, plural, other { {pageSize, plural, =1 {#} other {{from} - {to}}} von {totalCount} {totalCount, plural, =1 {item} other {items}}} }} }'
|
|
9
|
+
PAGE_OF: 'Seite {page} von {pageTotal}'
|
|
18
10
|
};
|
|
19
11
|
Phrasebook.define('de', 'ef-pagination', translations);
|
|
20
12
|
export default translations;
|
|
21
|
-
//# sourceMappingURL=pagination.js.map
|
package/lib/locale/de/shared.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Phrasebook } from '../../';
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
2
|
// these are used for buttons
|
|
3
3
|
const translations = {
|
|
4
4
|
CANCEL: 'Abbrechen',
|
|
@@ -8,4 +8,3 @@ const translations = {
|
|
|
8
8
|
};
|
|
9
9
|
Phrasebook.define('de', translations);
|
|
10
10
|
export default translations;
|
|
11
|
-
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
const translations = {
|
|
3
|
+
BEFORE_MIDDAY: 'Before Midday',
|
|
4
|
+
AFTER_MIDDAY: 'After Midday',
|
|
5
|
+
TOGGLE_TIME_PERIOD: 'Toggle Time Period',
|
|
6
|
+
SELECT_HOURS: '{value, select, null {Select hours} other {{value, plural, =1 {# hour} other {# hours}}}}',
|
|
7
|
+
SELECT_MINUTES: '{value, select, null {Select minutes} other {{value, plural, =1 {# minute} other {# minutes}}}}',
|
|
8
|
+
SELECT_SECONDS: '{value, select, null {Select seconds} other {{value, plural, =1 {# second} other {# seconds}}}}',
|
|
9
|
+
SELECTED: '{value, select, null {Selected none. Choose time} other {Selected time is: {showSeconds, select, true {{amPm, select, true {{value, time, ::hmsa}} other {{value, time, ::Hms}}}} other {{amPm, select, true {{value, time, ::hma}} other {{value, time, ::Hm}}}}}}}'
|
|
10
|
+
};
|
|
11
|
+
Phrasebook.define('de', 'ef-time-picker', translations);
|
|
12
|
+
export default translations;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
// Component docs https://elf.int.refinitiv.com/elements/tree-select.html
|
|
2
|
-
import { Phrasebook } from '../../';
|
|
3
|
-
import './shared';
|
|
2
|
+
import { Phrasebook } from '../../translation.js';
|
|
3
|
+
import './shared.js';
|
|
4
4
|
import comboboxTranslations from './combo-box';
|
|
5
5
|
const translations = Object.assign(Object.assign({}, comboboxTranslations), {
|
|
6
6
|
// used as a toggle control
|
|
7
|
-
FULL_LIST: 'Vollständige Liste', SELECTED: 'Ausgewählt', EXPAND_COLLAPSE: '{expansion, select,
|
|
7
|
+
FULL_LIST: 'Vollständige Liste', SELECTED: 'Ausgewählt', EXPAND_COLLAPSE: '{expansion, select, true {Alle einklappen} other {Alle ausklappen}}', SELECT_CONTROL: '{selected, select, true {Auswahl aufheben} other {Alle auswählen}}',
|
|
8
8
|
// button control
|
|
9
9
|
DONE: 'Fertig',
|
|
10
10
|
// selection/filter feedback
|
|
11
|
-
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {Eine Auswahl.} other {# ausgewählt.}}', MATCHES_NUM: '{numMatched, plural, =0 {Keine
|
|
11
|
+
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {Eine Auswahl.} other {# ausgewählt.}}', MATCHES_NUM: '{numMatched, plural, =0 {Keine Ergebnisse} =1 {1 Ergebnis} other {# Ergebnisse}}' });
|
|
12
12
|
Phrasebook.define('de', 'ef-tree-select', translations);
|
|
13
13
|
export default translations;
|
|
14
|
-
//# sourceMappingURL=tree-select.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const translations: {
|
|
2
|
+
PREVIOUS_MONTH: string;
|
|
3
|
+
NEXT_MONTH: string;
|
|
4
|
+
PREVIOUS_YEAR: string;
|
|
5
|
+
NEXT_YEAR: string;
|
|
6
|
+
PREVIOUS_DECADE: string;
|
|
7
|
+
NEXT_DECADE: string;
|
|
8
|
+
YEAR_SELECTOR: string;
|
|
9
|
+
DATE_SELECTOR: string;
|
|
10
|
+
CELL_LABEL: string;
|
|
11
|
+
SELECTED: string;
|
|
12
|
+
NOW: string;
|
|
13
|
+
SELECTED_NOW: string;
|
|
14
|
+
SELECTED_DATE: string;
|
|
15
|
+
SELECTED_RANGE: string;
|
|
16
|
+
SELECTED_NONE: string;
|
|
17
|
+
};
|
|
18
|
+
export default translations;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
const translations = {
|
|
3
|
+
PREVIOUS_MONTH: 'Previous month',
|
|
4
|
+
NEXT_MONTH: 'Next month',
|
|
5
|
+
PREVIOUS_YEAR: 'Previous year',
|
|
6
|
+
NEXT_YEAR: 'Next year',
|
|
7
|
+
PREVIOUS_DECADE: 'Previous decade',
|
|
8
|
+
NEXT_DECADE: 'Next decade',
|
|
9
|
+
YEAR_SELECTOR: 'Click to select year',
|
|
10
|
+
DATE_SELECTOR: 'Click to select date',
|
|
11
|
+
CELL_LABEL: '{view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
|
|
12
|
+
SELECTED: 'Selected: {view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
|
|
13
|
+
NOW: '{view, select, year {Current year, {value, date, ::yyyy}} month {Current month, {value, date, ::MMMM-yyyy}} other {Today, {value, date, full}}}',
|
|
14
|
+
SELECTED_NOW: 'Selected: {view, select, year {current year, {value, date, ::yyyy}} month {current month, {value, date, ::MMMM-yyyy}} other {today, {value, date, full}}}',
|
|
15
|
+
SELECTED_DATE: 'Selected {count, plural, =1 {date is {value, date, full}} other {# dates, {value, date, full} and others}}',
|
|
16
|
+
SELECTED_RANGE: 'Selected range is from {from, date, full}{to, select, null {} other { to {to, date, full}}}',
|
|
17
|
+
SELECTED_NONE: 'Selected none. Choose {range, select, true {date range} other {{multiple, select, true {dates} other {date}}}}'
|
|
18
|
+
};
|
|
19
|
+
Phrasebook.define('en', 'ef-calendar', translations);
|
|
20
|
+
export default translations;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
|
|
2
|
-
import { Phrasebook } from '../../';
|
|
3
|
-
import './shared';
|
|
2
|
+
import { Phrasebook } from '../../translation.js';
|
|
3
|
+
import './shared.js';
|
|
4
4
|
import dialogTranslations from './dialog';
|
|
5
5
|
const translations = Object.assign(Object.assign({}, dialogTranslations), {
|
|
6
6
|
// Dialog title
|
|
@@ -9,4 +9,3 @@ const translations = Object.assign(Object.assign({}, dialogTranslations), {
|
|
|
9
9
|
RED: 'R', GREEN: 'G', BLUE: 'B' });
|
|
10
10
|
Phrasebook.define('en', 'ef-color-dialog', translations);
|
|
11
11
|
export default translations;
|
|
12
|
-
//# sourceMappingURL=color-dialog.js.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { Phrasebook } from '../../';
|
|
2
|
-
import './shared';
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
import './shared.js';
|
|
3
3
|
const translations = {
|
|
4
4
|
MULTIPLE_ITEMS: 'Multiple items',
|
|
5
5
|
NO_OPTIONS: 'No results found.'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('en', 'ef-combo-box', translations);
|
|
8
8
|
export default translations;
|
|
9
|
-
//# sourceMappingURL=combo-box.js.map
|
package/lib/locale/en/dialog.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Phrasebook } from '../../';
|
|
2
|
-
import './shared';
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
import './shared.js';
|
|
3
3
|
const translations = {
|
|
4
4
|
HEADER: 'Dialog'
|
|
5
5
|
};
|
|
6
6
|
Phrasebook.define('en', 'ef-dialog', translations);
|
|
7
7
|
export default translations;
|
|
8
|
-
//# sourceMappingURL=dialog.js.map
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
// Component docs https://elf.int.refinitiv.com/elements/pagination.html
|
|
2
|
-
import { Phrasebook } from '../../';
|
|
3
|
-
import './shared';
|
|
2
|
+
import { Phrasebook } from '../../translation.js';
|
|
3
|
+
import './shared.js';
|
|
4
4
|
const translations = {
|
|
5
|
+
// page: current page #
|
|
6
|
+
PAGE: 'Page {page}',
|
|
5
7
|
// page: current page #
|
|
6
8
|
// pageTotal: total number of pages
|
|
7
|
-
PAGE_OF: 'Page {page} of {pageTotal}'
|
|
8
|
-
/*
|
|
9
|
-
* totalCount: total number of items
|
|
10
|
-
* pageSize: Number of items per page
|
|
11
|
-
* ** To translate
|
|
12
|
-
* No items
|
|
13
|
-
* of = eg page 1 of 2
|
|
14
|
-
* item
|
|
15
|
-
* items
|
|
16
|
-
*/
|
|
17
|
-
ITEM_INFO: '{totalCount, plural, =0 {No Items} other {{ totalCount, plural, other { {pageSize, plural, =1 {#} other {{from} - {to}}} of {totalCount} {totalCount, plural, =1 {item} other {items}}} }} }'
|
|
9
|
+
PAGE_OF: 'Page {page} of {pageTotal}'
|
|
18
10
|
};
|
|
19
11
|
Phrasebook.define('en', 'ef-pagination', translations);
|
|
20
12
|
export default translations;
|
|
21
|
-
//# sourceMappingURL=pagination.js.map
|
package/lib/locale/en/shared.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Phrasebook } from '../../';
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
2
|
// these are used for buttons
|
|
3
3
|
const translations = {
|
|
4
4
|
CANCEL: 'Cancel',
|
|
@@ -8,4 +8,3 @@ const translations = {
|
|
|
8
8
|
};
|
|
9
9
|
Phrasebook.define('en', translations);
|
|
10
10
|
export default translations;
|
|
11
|
-
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Phrasebook } from '../../translation.js';
|
|
2
|
+
const translations = {
|
|
3
|
+
BEFORE_MIDDAY: 'Before Midday',
|
|
4
|
+
AFTER_MIDDAY: 'After Midday',
|
|
5
|
+
TOGGLE_TIME_PERIOD: 'Toggle Time Period',
|
|
6
|
+
SELECT_HOURS: '{value, select, null {Select hours} other {{value, plural, =1 {# hour} other {# hours}}}}',
|
|
7
|
+
SELECT_MINUTES: '{value, select, null {Select minutes} other {{value, plural, =1 {# minute} other {# minutes}}}}',
|
|
8
|
+
SELECT_SECONDS: '{value, select, null {Select seconds} other {{value, plural, =1 {# second} other {# seconds}}}}',
|
|
9
|
+
SELECTED: '{value, select, null {Selected none. Choose time} other {Selected time is: {showSeconds, select, true {{amPm, select, true {{value, time, ::hmsa}} other {{value, time, ::Hms}}}} other {{amPm, select, true {{value, time, ::hma}} other {{value, time, ::Hm}}}}}}}'
|
|
10
|
+
};
|
|
11
|
+
Phrasebook.define('en', 'ef-time-picker', translations);
|
|
12
|
+
export default translations;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
// Component docs https://elf.int.refinitiv.com/elements/tree-select.html
|
|
2
|
-
import { Phrasebook } from '../../';
|
|
3
|
-
import './shared';
|
|
2
|
+
import { Phrasebook } from '../../translation.js';
|
|
3
|
+
import './shared.js';
|
|
4
4
|
import comboboxTranslations from './combo-box';
|
|
5
5
|
const translations = Object.assign(Object.assign({}, comboboxTranslations), {
|
|
6
6
|
// used as a toggle control
|
|
7
|
-
FULL_LIST: 'Full List', SELECTED: 'Selected', EXPAND_COLLAPSE: '{expansion, select,
|
|
7
|
+
FULL_LIST: 'Full List', SELECTED: 'Selected', EXPAND_COLLAPSE: '{expansion, select, true {Collapse All} other {Expand All}}', SELECT_CONTROL: '{selected, select, true {Deselect All} other {Select All}}',
|
|
8
8
|
// button control
|
|
9
9
|
DONE: 'Done',
|
|
10
10
|
// selection/filter feedback
|
|
11
|
-
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {One Selected.} other {# Selected.}}', MATCHES_NUM: '{numMatched, plural, =0 {No
|
|
11
|
+
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {One Selected.} other {# Selected.}}', MATCHES_NUM: '{numMatched, plural, =0 {No results found.} =1 {1 result found.} other {# results found.}}' });
|
|
12
12
|
Phrasebook.define('en', 'ef-tree-select', translations);
|
|
13
13
|
export default translations;
|
|
14
|
-
//# sourceMappingURL=tree-select.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const translations: {
|
|
2
|
+
PREVIOUS_MONTH: string;
|
|
3
|
+
NEXT_MONTH: string;
|
|
4
|
+
PREVIOUS_YEAR: string;
|
|
5
|
+
NEXT_YEAR: string;
|
|
6
|
+
PREVIOUS_DECADE: string;
|
|
7
|
+
NEXT_DECADE: string;
|
|
8
|
+
YEAR_SELECTOR: string;
|
|
9
|
+
DATE_SELECTOR: string;
|
|
10
|
+
CELL_LABEL: string;
|
|
11
|
+
SELECTED: string;
|
|
12
|
+
NOW: string;
|
|
13
|
+
SELECTED_NOW: string;
|
|
14
|
+
SELECTED_DATE: string;
|
|
15
|
+
SELECTED_RANGE: string;
|
|
16
|
+
SELECTED_NONE: string;
|
|
17
|
+
};
|
|
18
|
+
export default translations;
|