@refinitiv-ui/phrasebook 5.3.1-alpha.0 → 5.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/package.json +15 -54
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -1
- package/lib/locale/de/calendar.d.ts +0 -18
- package/lib/locale/de/calendar.js +0 -20
- package/lib/locale/de/color-dialog.d.ts +0 -8
- package/lib/locale/de/color-dialog.js +0 -11
- package/lib/locale/de/combo-box.d.ts +0 -6
- package/lib/locale/de/combo-box.js +0 -8
- package/lib/locale/de/dialog.d.ts +0 -5
- package/lib/locale/de/dialog.js +0 -8
- package/lib/locale/de/pagination.d.ts +0 -6
- package/lib/locale/de/pagination.js +0 -20
- package/lib/locale/de/password-field.d.ts +0 -5
- package/lib/locale/de/password-field.js +0 -7
- package/lib/locale/de/search-field.d.ts +0 -4
- package/lib/locale/de/search-field.js +0 -6
- package/lib/locale/de/shared.d.ts +0 -7
- package/lib/locale/de/shared.js +0 -10
- package/lib/locale/de/time-picker.d.ts +0 -10
- package/lib/locale/de/time-picker.js +0 -12
- package/lib/locale/de/tree-select.d.ts +0 -13
- package/lib/locale/de/tree-select.js +0 -13
- package/lib/locale/en/calendar.d.ts +0 -18
- package/lib/locale/en/calendar.js +0 -20
- package/lib/locale/en/color-dialog.d.ts +0 -8
- package/lib/locale/en/color-dialog.js +0 -11
- package/lib/locale/en/combo-box.d.ts +0 -6
- package/lib/locale/en/combo-box.js +0 -8
- package/lib/locale/en/dialog.d.ts +0 -5
- package/lib/locale/en/dialog.js +0 -7
- package/lib/locale/en/pagination.d.ts +0 -6
- package/lib/locale/en/pagination.js +0 -20
- package/lib/locale/en/password-field.d.ts +0 -5
- package/lib/locale/en/password-field.js +0 -7
- package/lib/locale/en/search-field.d.ts +0 -4
- package/lib/locale/en/search-field.js +0 -6
- package/lib/locale/en/shared.d.ts +0 -7
- package/lib/locale/en/shared.js +0 -10
- package/lib/locale/en/time-picker.d.ts +0 -10
- package/lib/locale/en/time-picker.js +0 -12
- package/lib/locale/en/tree-select.d.ts +0 -13
- package/lib/locale/en/tree-select.js +0 -13
- package/lib/locale/ja/calendar.d.ts +0 -18
- package/lib/locale/ja/calendar.js +0 -20
- package/lib/locale/ja/color-dialog.d.ts +0 -8
- package/lib/locale/ja/color-dialog.js +0 -11
- package/lib/locale/ja/combo-box.d.ts +0 -6
- package/lib/locale/ja/combo-box.js +0 -8
- package/lib/locale/ja/dialog.d.ts +0 -5
- package/lib/locale/ja/dialog.js +0 -8
- package/lib/locale/ja/pagination.d.ts +0 -6
- package/lib/locale/ja/pagination.js +0 -20
- package/lib/locale/ja/password-field.d.ts +0 -5
- package/lib/locale/ja/password-field.js +0 -7
- package/lib/locale/ja/search-field.d.ts +0 -4
- package/lib/locale/ja/search-field.js +0 -6
- package/lib/locale/ja/shared.d.ts +0 -7
- package/lib/locale/ja/shared.js +0 -10
- package/lib/locale/ja/time-picker.d.ts +0 -10
- package/lib/locale/ja/time-picker.js +0 -12
- package/lib/locale/ja/tree-select.d.ts +0 -13
- package/lib/locale/ja/tree-select.js +0 -13
- package/lib/locale/zh/calendar.d.ts +0 -18
- package/lib/locale/zh/calendar.js +0 -20
- package/lib/locale/zh/color-dialog.d.ts +0 -8
- package/lib/locale/zh/color-dialog.js +0 -11
- package/lib/locale/zh/combo-box.d.ts +0 -6
- package/lib/locale/zh/combo-box.js +0 -8
- package/lib/locale/zh/dialog.d.ts +0 -5
- package/lib/locale/zh/dialog.js +0 -8
- package/lib/locale/zh/pagination.d.ts +0 -6
- package/lib/locale/zh/pagination.js +0 -20
- package/lib/locale/zh/password-field.d.ts +0 -5
- package/lib/locale/zh/password-field.js +0 -7
- package/lib/locale/zh/search-field.d.ts +0 -4
- package/lib/locale/zh/search-field.js +0 -6
- package/lib/locale/zh/shared.d.ts +0 -7
- package/lib/locale/zh/shared.js +0 -10
- package/lib/locale/zh/time-picker.d.ts +0 -10
- package/lib/locale/zh/time-picker.js +0 -12
- package/lib/locale/zh/tree-select.d.ts +0 -13
- package/lib/locale/zh/tree-select.js +0 -13
- package/lib/locale/zh-hant/calendar.d.ts +0 -18
- package/lib/locale/zh-hant/calendar.js +0 -20
- package/lib/locale/zh-hant/color-dialog.d.ts +0 -8
- package/lib/locale/zh-hant/color-dialog.js +0 -11
- package/lib/locale/zh-hant/combo-box.d.ts +0 -6
- package/lib/locale/zh-hant/combo-box.js +0 -8
- package/lib/locale/zh-hant/dialog.d.ts +0 -5
- package/lib/locale/zh-hant/dialog.js +0 -8
- package/lib/locale/zh-hant/pagination.d.ts +0 -6
- package/lib/locale/zh-hant/pagination.js +0 -20
- package/lib/locale/zh-hant/password-field.d.ts +0 -5
- package/lib/locale/zh-hant/password-field.js +0 -7
- package/lib/locale/zh-hant/search-field.d.ts +0 -4
- package/lib/locale/zh-hant/search-field.js +0 -6
- package/lib/locale/zh-hant/shared.d.ts +0 -7
- package/lib/locale/zh-hant/shared.js +0 -10
- package/lib/locale/zh-hant/time-picker.d.ts +0 -10
- package/lib/locale/zh-hant/time-picker.js +0 -12
- package/lib/locale/zh-hant/tree-select.d.ts +0 -13
- package/lib/locale/zh-hant/tree-select.js +0 -13
- package/lib/translation.d.ts +0 -52
- package/lib/translation.js +0 -84
- package/lib/types.d.ts +0 -4
- package/lib/types.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
## [5.
|
|
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
7
|
|
|
8
8
|
**Note:** Version bump only for package @refinitiv-ui/phrasebook
|
|
9
9
|
|
|
@@ -11,6 +11,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
11
11
|
|
|
12
12
|
|
|
13
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
|
+
|
|
14
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)
|
|
15
26
|
|
|
16
27
|
|
|
@@ -22,6 +33,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
22
33
|
|
|
23
34
|
|
|
24
35
|
|
|
36
|
+
|
|
25
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)
|
|
26
38
|
|
|
27
39
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refinitiv-ui/phrasebook",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0-alpha.1",
|
|
4
4
|
"description": "Collection of messages in EF components for translation",
|
|
5
5
|
"author": "Refinitiv",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,6 +12,16 @@
|
|
|
12
12
|
"url": "git@github.com:Refinitiv/refinitiv-ui.git",
|
|
13
13
|
"directory": "packages/phrasebook"
|
|
14
14
|
},
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
"*": {
|
|
17
|
+
"*": [
|
|
18
|
+
"lib/*"
|
|
19
|
+
],
|
|
20
|
+
"lib/*": [
|
|
21
|
+
"lib/*"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
15
25
|
"exports": {
|
|
16
26
|
".": "./lib/index.js",
|
|
17
27
|
"./locale/de/calendar.js": "./lib/locale/de/calendar.js",
|
|
@@ -63,61 +73,12 @@
|
|
|
63
73
|
"./locale/zh-hant/search-field.js": "./lib/locale/zh-hant/search-field.js",
|
|
64
74
|
"./locale/zh-hant/shared.js": "./lib/locale/zh-hant/shared.js",
|
|
65
75
|
"./locale/zh-hant/time-picker.js": "./lib/locale/zh-hant/time-picker.js",
|
|
66
|
-
"./locale/zh-hant/tree-select.js": "./lib/locale/zh-hant/tree-select.js"
|
|
67
|
-
"./lib/locale/de/calendar.js": "./lib/locale/de/calendar.js",
|
|
68
|
-
"./lib/locale/de/color-dialog.js": "./lib/locale/de/color-dialog.js",
|
|
69
|
-
"./lib/locale/de/combo-box.js": "./lib/locale/de/combo-box.js",
|
|
70
|
-
"./lib/locale/de/dialog.js": "./lib/locale/de/dialog.js",
|
|
71
|
-
"./lib/locale/de/pagination.js": "./lib/locale/de/pagination.js",
|
|
72
|
-
"./lib/locale/de/password-field.js": "./lib/locale/de/password-field.js",
|
|
73
|
-
"./lib/locale/de/search-field.js": "./lib/locale/de/search-field.js",
|
|
74
|
-
"./lib/locale/de/shared.js": "./lib/locale/de/shared.js",
|
|
75
|
-
"./lib/locale/de/time-picker.js": "./lib/locale/de/time-picker.js",
|
|
76
|
-
"./lib/locale/de/tree-select.js": "./lib/locale/de/tree-select.js",
|
|
77
|
-
"./lib/locale/en/calendar.js": "./lib/locale/en/calendar.js",
|
|
78
|
-
"./lib/locale/en/color-dialog.js": "./lib/locale/en/color-dialog.js",
|
|
79
|
-
"./lib/locale/en/combo-box.js": "./lib/locale/en/combo-box.js",
|
|
80
|
-
"./lib/locale/en/dialog.js": "./lib/locale/en/dialog.js",
|
|
81
|
-
"./lib/locale/en/pagination.js": "./lib/locale/en/pagination.js",
|
|
82
|
-
"./lib/locale/en/password-field.js": "./lib/locale/en/password-field.js",
|
|
83
|
-
"./lib/locale/en/search-field.js": "./lib/locale/en/search-field.js",
|
|
84
|
-
"./lib/locale/en/shared.js": "./lib/locale/en/shared.js",
|
|
85
|
-
"./lib/locale/en/time-picker.js": "./lib/locale/en/time-picker.js",
|
|
86
|
-
"./lib/locale/en/tree-select.js": "./lib/locale/en/tree-select.js",
|
|
87
|
-
"./lib/locale/ja/calendar.js": "./lib/locale/ja/calendar.js",
|
|
88
|
-
"./lib/locale/ja/color-dialog.js": "./lib/locale/ja/color-dialog.js",
|
|
89
|
-
"./lib/locale/ja/combo-box.js": "./lib/locale/ja/combo-box.js",
|
|
90
|
-
"./lib/locale/ja/dialog.js": "./lib/locale/ja/dialog.js",
|
|
91
|
-
"./lib/locale/ja/pagination.js": "./lib/locale/ja/pagination.js",
|
|
92
|
-
"./lib/locale/ja/password-field.js": "./lib/locale/ja/password-field.js",
|
|
93
|
-
"./lib/locale/ja/search-field.js": "./lib/locale/ja/search-field.js",
|
|
94
|
-
"./lib/locale/ja/shared.js": "./lib/locale/ja/shared.js",
|
|
95
|
-
"./lib/locale/ja/time-picker.js": "./lib/locale/ja/time-picker.js",
|
|
96
|
-
"./lib/locale/ja/tree-select.js": "./lib/locale/ja/tree-select.js",
|
|
97
|
-
"./lib/locale/zh/calendar.js": "./lib/locale/zh/calendar.js",
|
|
98
|
-
"./lib/locale/zh/color-dialog.js": "./lib/locale/zh/color-dialog.js",
|
|
99
|
-
"./lib/locale/zh/combo-box.js": "./lib/locale/zh/combo-box.js",
|
|
100
|
-
"./lib/locale/zh/dialog.js": "./lib/locale/zh/dialog.js",
|
|
101
|
-
"./lib/locale/zh/pagination.js": "./lib/locale/zh/pagination.js",
|
|
102
|
-
"./lib/locale/zh/password-field.js": "./lib/locale/zh/password-field.js",
|
|
103
|
-
"./lib/locale/zh/search-field.js": "./lib/locale/zh/search-field.js",
|
|
104
|
-
"./lib/locale/zh/shared.js": "./lib/locale/zh/shared.js",
|
|
105
|
-
"./lib/locale/zh/time-picker.js": "./lib/locale/zh/time-picker.js",
|
|
106
|
-
"./lib/locale/zh/tree-select.js": "./lib/locale/zh/tree-select.js",
|
|
107
|
-
"./lib/locale/zh-hant/calendar.js": "./lib/locale/zh-hant/calendar.js",
|
|
108
|
-
"./lib/locale/zh-hant/color-dialog.js": "./lib/locale/zh-hant/color-dialog.js",
|
|
109
|
-
"./lib/locale/zh-hant/combo-box.js": "./lib/locale/zh-hant/combo-box.js",
|
|
110
|
-
"./lib/locale/zh-hant/dialog.js": "./lib/locale/zh-hant/dialog.js",
|
|
111
|
-
"./lib/locale/zh-hant/pagination.js": "./lib/locale/zh-hant/pagination.js",
|
|
112
|
-
"./lib/locale/zh-hant/password-field.js": "./lib/locale/zh-hant/password-field.js",
|
|
113
|
-
"./lib/locale/zh-hant/search-field.js": "./lib/locale/zh-hant/search-field.js",
|
|
114
|
-
"./lib/locale/zh-hant/shared.js": "./lib/locale/zh-hant/shared.js",
|
|
115
|
-
"./lib/locale/zh-hant/time-picker.js": "./lib/locale/zh-hant/time-picker.js",
|
|
116
|
-
"./lib/locale/zh-hant/tree-select.js": "./lib/locale/zh-hant/tree-select.js"
|
|
76
|
+
"./locale/zh-hant/tree-select.js": "./lib/locale/zh-hant/tree-select.js"
|
|
117
77
|
},
|
|
118
78
|
"scripts": {
|
|
119
79
|
"build": "tsc --sourceMap --declarationMap",
|
|
120
|
-
"build:
|
|
80
|
+
"build:watch": "npm run build -- --watch --preserveWatchOutput",
|
|
81
|
+
"build:prod": "echo \"No build:prod command found\"",
|
|
121
82
|
"lint": "eslint .",
|
|
122
83
|
"lint:fix": "eslint . --fix",
|
|
123
84
|
"test": "npm run build && mocha __test__/**/*.js --require esm"
|
|
@@ -133,5 +94,5 @@
|
|
|
133
94
|
"dependencies": {
|
|
134
95
|
"tslib": "^2.3.1"
|
|
135
96
|
},
|
|
136
|
-
"gitHead": "
|
|
97
|
+
"gitHead": "de44f7c988b30eec26d37336eb9c6dc6ba54da64"
|
|
137
98
|
}
|
package/lib/index.d.ts
DELETED
package/lib/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Phrasebook, ObserverKey } from './translation.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
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,11 +0,0 @@
|
|
|
1
|
-
// Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
|
|
2
|
-
import { Phrasebook } from '../../translation.js';
|
|
3
|
-
import './shared.js';
|
|
4
|
-
import dialogTranslations from './dialog';
|
|
5
|
-
const translations = Object.assign(Object.assign({}, dialogTranslations), {
|
|
6
|
-
// Dialog title
|
|
7
|
-
HEADER: 'Farbauswahl',
|
|
8
|
-
// Color values for color mixer, has space for a single character
|
|
9
|
-
RED: 'R', GREEN: 'G', BLUE: 'B' });
|
|
10
|
-
Phrasebook.define('de', 'ef-color-dialog', translations);
|
|
11
|
-
export default translations;
|
package/lib/locale/de/dialog.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Component docs https://elf.int.refinitiv.com/elements/pagination.html
|
|
2
|
-
import { Phrasebook } from '../../translation.js';
|
|
3
|
-
import './shared.js';
|
|
4
|
-
const translations = {
|
|
5
|
-
// page: current page #
|
|
6
|
-
// 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}}} }} }'
|
|
18
|
-
};
|
|
19
|
-
Phrasebook.define('de', 'ef-pagination', translations);
|
|
20
|
-
export default translations;
|
package/lib/locale/de/shared.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Phrasebook } from '../../translation.js';
|
|
2
|
-
// these are used for buttons
|
|
3
|
-
const translations = {
|
|
4
|
-
CANCEL: 'Abbrechen',
|
|
5
|
-
OK: 'OK',
|
|
6
|
-
CLOSE: 'Schließen',
|
|
7
|
-
APPLY: 'Anwenden'
|
|
8
|
-
};
|
|
9
|
-
Phrasebook.define('de', translations);
|
|
10
|
-
export default translations;
|
|
@@ -1,12 +0,0 @@
|
|
|
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,13 +0,0 @@
|
|
|
1
|
-
import './shared.js';
|
|
2
|
-
declare const translations: {
|
|
3
|
-
FULL_LIST: string;
|
|
4
|
-
SELECTED: string;
|
|
5
|
-
EXPAND_COLLAPSE: string;
|
|
6
|
-
SELECT_CONTROL: string;
|
|
7
|
-
DONE: string;
|
|
8
|
-
SELECTED_NUM: string;
|
|
9
|
-
MATCHES_NUM: string;
|
|
10
|
-
MULTIPLE_ITEMS: string;
|
|
11
|
-
NO_OPTIONS: string;
|
|
12
|
-
};
|
|
13
|
-
export default translations;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Component docs https://elf.int.refinitiv.com/elements/tree-select.html
|
|
2
|
-
import { Phrasebook } from '../../translation.js';
|
|
3
|
-
import './shared.js';
|
|
4
|
-
import comboboxTranslations from './combo-box';
|
|
5
|
-
const translations = Object.assign(Object.assign({}, comboboxTranslations), {
|
|
6
|
-
// used as a toggle control
|
|
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
|
-
// button control
|
|
9
|
-
DONE: 'Fertig',
|
|
10
|
-
// selection/filter feedback
|
|
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
|
-
Phrasebook.define('de', 'ef-tree-select', translations);
|
|
13
|
-
export default translations;
|
|
@@ -1,18 +0,0 @@
|
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
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,11 +0,0 @@
|
|
|
1
|
-
// Component docs https://elf.int.refinitiv.com/elements/color-dialog.html
|
|
2
|
-
import { Phrasebook } from '../../translation.js';
|
|
3
|
-
import './shared.js';
|
|
4
|
-
import dialogTranslations from './dialog';
|
|
5
|
-
const translations = Object.assign(Object.assign({}, dialogTranslations), {
|
|
6
|
-
// Dialog title
|
|
7
|
-
HEADER: 'Color Picker',
|
|
8
|
-
// Color values for color mixer, has space for a single character
|
|
9
|
-
RED: 'R', GREEN: 'G', BLUE: 'B' });
|
|
10
|
-
Phrasebook.define('en', 'ef-color-dialog', translations);
|
|
11
|
-
export default translations;
|
package/lib/locale/en/dialog.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Component docs https://elf.int.refinitiv.com/elements/pagination.html
|
|
2
|
-
import { Phrasebook } from '../../translation.js';
|
|
3
|
-
import './shared.js';
|
|
4
|
-
const translations = {
|
|
5
|
-
// page: current page #
|
|
6
|
-
// 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}}} }} }'
|
|
18
|
-
};
|
|
19
|
-
Phrasebook.define('en', 'ef-pagination', translations);
|
|
20
|
-
export default translations;
|
package/lib/locale/en/shared.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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,13 +0,0 @@
|
|
|
1
|
-
import './shared.js';
|
|
2
|
-
declare const translations: {
|
|
3
|
-
FULL_LIST: string;
|
|
4
|
-
SELECTED: string;
|
|
5
|
-
EXPAND_COLLAPSE: string;
|
|
6
|
-
SELECT_CONTROL: string;
|
|
7
|
-
DONE: string;
|
|
8
|
-
SELECTED_NUM: string;
|
|
9
|
-
MATCHES_NUM: string;
|
|
10
|
-
MULTIPLE_ITEMS: string;
|
|
11
|
-
NO_OPTIONS: string;
|
|
12
|
-
};
|
|
13
|
-
export default translations;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Component docs https://elf.int.refinitiv.com/elements/tree-select.html
|
|
2
|
-
import { Phrasebook } from '../../translation.js';
|
|
3
|
-
import './shared.js';
|
|
4
|
-
import comboboxTranslations from './combo-box';
|
|
5
|
-
const translations = Object.assign(Object.assign({}, comboboxTranslations), {
|
|
6
|
-
// used as a toggle control
|
|
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
|
-
// button control
|
|
9
|
-
DONE: 'Done',
|
|
10
|
-
// selection/filter feedback
|
|
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
|
-
Phrasebook.define('en', 'ef-tree-select', translations);
|
|
13
|
-
export default translations;
|
|
@@ -1,18 +0,0 @@
|
|
|
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;
|