@refinitiv-ui/phrasebook 5.2.0 → 5.3.0
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 +24 -0
- package/lib/locale/de/calendar.d.ts +18 -0
- package/lib/locale/de/calendar.js +20 -0
- 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/time-picker.d.ts +10 -0
- package/lib/locale/de/time-picker.js +12 -0
- package/lib/locale/en/calendar.d.ts +18 -0
- package/lib/locale/en/calendar.js +20 -0
- 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/time-picker.d.ts +10 -0
- package/lib/locale/en/time-picker.js +12 -0
- package/lib/locale/ja/calendar.d.ts +18 -0
- package/lib/locale/ja/calendar.js +20 -0
- 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/time-picker.d.ts +10 -0
- package/lib/locale/ja/time-picker.js +12 -0
- package/lib/locale/ja/tree-select.js +1 -1
- package/lib/locale/zh/calendar.d.ts +18 -0
- package/lib/locale/zh/calendar.js +20 -0
- 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/time-picker.d.ts +10 -0
- package/lib/locale/zh/time-picker.js +12 -0
- package/lib/locale/zh-hant/calendar.d.ts +18 -0
- package/lib/locale/zh-hant/calendar.js +20 -0
- 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/time-picker.d.ts +10 -0
- package/lib/locale/zh-hant/time-picker.js +12 -0
- package/package.json +105 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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.3.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.2.1...@refinitiv-ui/phrasebook@5.3.0) (2021-12-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* 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))
|
|
12
|
+
* **calendar:** add accessibility ([#73](https://github.com/Refinitiv/refinitiv-ui/issues/73)) ([a2576cc](https://github.com/Refinitiv/refinitiv-ui/commit/a2576cc8a1f0229bb5988af0c9d0bbf8ce7f765c))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [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)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **phrasebook:** change ICU syntax on Japanese language ([9b235ab](https://github.com/Refinitiv/refinitiv-ui/commit/9b235ab61fa0dae5c6ce97b66acee52dfd4028d4))
|
|
24
|
+
* **phrasebook:** export path should go to lib folder ([681028f](https://github.com/Refinitiv/refinitiv-ui/commit/681028ff960a831cfa888d0fdea38ddd40de815f))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [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)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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: '前月',
|
|
4
|
+
NEXT_MONTH: '翌月',
|
|
5
|
+
PREVIOUS_YEAR: '前年',
|
|
6
|
+
NEXT_YEAR: '翌年',
|
|
7
|
+
PREVIOUS_DECADE: '前10年',
|
|
8
|
+
NEXT_DECADE: '翌10年',
|
|
9
|
+
YEAR_SELECTOR: 'クリックして年を選択',
|
|
10
|
+
DATE_SELECTOR: 'クリックして日付を選択',
|
|
11
|
+
CELL_LABEL: '{view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
|
|
12
|
+
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: '選択済み: {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: '選択された範囲は {from, date, full}{to, select, null {} other { to {to, date, full}}} からです',
|
|
17
|
+
SELECTED_NONE: '選択されていません。{range, select, true {date range} other {{multiple, select, true {dates} other {date}}}} を選択してください'
|
|
18
|
+
};
|
|
19
|
+
Phrasebook.define('ja', 'ef-calendar', translations);
|
|
20
|
+
export default translations;
|
|
@@ -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('ja', 'ef-time-picker', translations);
|
|
12
|
+
export default translations;
|
|
@@ -4,7 +4,7 @@ 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: 'すべて', SELECTED: '選択項目のみ', EXPAND_COLLAPSE: '{expansion, select, false {すべてを展開}
|
|
7
|
+
FULL_LIST: 'すべて', SELECTED: '選択項目のみ', EXPAND_COLLAPSE: '{expansion, select, false {すべてを展開} other {すべてを折りたたむ}}', SELECT_CONTROL: '{selected, select, false {すべて選択} other {選択をすべて解除}}',
|
|
8
8
|
// button control
|
|
9
9
|
DONE: '完了',
|
|
10
10
|
// selection/filter feedback
|
|
@@ -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: '前一个月',
|
|
4
|
+
NEXT_MONTH: '下一个月',
|
|
5
|
+
PREVIOUS_YEAR: '前一年',
|
|
6
|
+
NEXT_YEAR: '下一年',
|
|
7
|
+
PREVIOUS_DECADE: '前十年',
|
|
8
|
+
NEXT_DECADE: '下一个十年',
|
|
9
|
+
YEAR_SELECTOR: '点击来选择年份',
|
|
10
|
+
DATE_SELECTOR: '点击来选择日期',
|
|
11
|
+
CELL_LABEL: '{view, select, year {{value, date, ::yyyy}} month {{value, date, ::MMMM-yyyy}} other {{value, date, full}}}',
|
|
12
|
+
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: '已选: {view, select, year {current year, {value, date, ::yyyy}} month {current month, {value, date, ::MMMM-yyyy}} other {today, {value, date, full}}}',
|
|
15
|
+
SELECTED_DATE: '已选 {count, plural, =1 {date is {value, date, full}} other {# dates, {value, date, full} and others}}',
|
|
16
|
+
SELECTED_RANGE: '所选范围开始于 {from, date, full}{to, select, null {} other { to {to, date, full}}}',
|
|
17
|
+
SELECTED_NONE: '未选择。请选择 {range, select, true {date range} other {{multiple, select, true {dates} other {date}}}}'
|
|
18
|
+
};
|
|
19
|
+
Phrasebook.define('zh', 'ef-calendar', translations);
|
|
20
|
+
export default translations;
|
|
@@ -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('zh', 'ef-time-picker', translations);
|
|
12
|
+
export default translations;
|
|
@@ -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('zh-Hant', 'ef-calendar', translations);
|
|
20
|
+
export default translations;
|
|
@@ -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('zh-hant', 'ef-time-picker', translations);
|
|
12
|
+
export default translations;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refinitiv-ui/phrasebook",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"description": "Collection of messages in EF components for translation",
|
|
5
5
|
"author": "Refinitiv",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -12,6 +12,109 @@
|
|
|
12
12
|
"url": "git@github.com:Refinitiv/refinitiv-ui.git",
|
|
13
13
|
"directory": "packages/phrasebook"
|
|
14
14
|
},
|
|
15
|
+
"exports": {
|
|
16
|
+
".": "./lib/index.js",
|
|
17
|
+
"./locale/de/calendar.js": "./lib/locale/de/calendar.js",
|
|
18
|
+
"./locale/de/color-dialog.js": "./lib/locale/de/color-dialog.js",
|
|
19
|
+
"./locale/de/combo-box.js": "./lib/locale/de/combo-box.js",
|
|
20
|
+
"./locale/de/dialog.js": "./lib/locale/de/dialog.js",
|
|
21
|
+
"./locale/de/pagination.js": "./lib/locale/de/pagination.js",
|
|
22
|
+
"./locale/de/password-field.js": "./lib/locale/de/password-field.js",
|
|
23
|
+
"./locale/de/search-field.js": "./lib/locale/de/search-field.js",
|
|
24
|
+
"./locale/de/shared.js": "./lib/locale/de/shared.js",
|
|
25
|
+
"./locale/de/time-picker.js": "./lib/locale/de/time-picker.js",
|
|
26
|
+
"./locale/de/tree-select.js": "./lib/locale/de/tree-select.js",
|
|
27
|
+
"./locale/en/calendar.js": "./lib/locale/en/calendar.js",
|
|
28
|
+
"./locale/en/color-dialog.js": "./lib/locale/en/color-dialog.js",
|
|
29
|
+
"./locale/en/combo-box.js": "./lib/locale/en/combo-box.js",
|
|
30
|
+
"./locale/en/dialog.js": "./lib/locale/en/dialog.js",
|
|
31
|
+
"./locale/en/pagination.js": "./lib/locale/en/pagination.js",
|
|
32
|
+
"./locale/en/password-field.js": "./lib/locale/en/password-field.js",
|
|
33
|
+
"./locale/en/search-field.js": "./lib/locale/en/search-field.js",
|
|
34
|
+
"./locale/en/shared.js": "./lib/locale/en/shared.js",
|
|
35
|
+
"./locale/en/time-picker.js": "./lib/locale/en/time-picker.js",
|
|
36
|
+
"./locale/en/tree-select.js": "./lib/locale/en/tree-select.js",
|
|
37
|
+
"./locale/ja/calendar.js": "./lib/locale/ja/calendar.js",
|
|
38
|
+
"./locale/ja/color-dialog.js": "./lib/locale/ja/color-dialog.js",
|
|
39
|
+
"./locale/ja/combo-box.js": "./lib/locale/ja/combo-box.js",
|
|
40
|
+
"./locale/ja/dialog.js": "./lib/locale/ja/dialog.js",
|
|
41
|
+
"./locale/ja/pagination.js": "./lib/locale/ja/pagination.js",
|
|
42
|
+
"./locale/ja/password-field.js": "./lib/locale/ja/password-field.js",
|
|
43
|
+
"./locale/ja/search-field.js": "./lib/locale/ja/search-field.js",
|
|
44
|
+
"./locale/ja/shared.js": "./lib/locale/ja/shared.js",
|
|
45
|
+
"./locale/ja/time-picker.js": "./lib/locale/ja/time-picker.js",
|
|
46
|
+
"./locale/ja/tree-select.js": "./lib/locale/ja/tree-select.js",
|
|
47
|
+
"./locale/zh/calendar.js": "./lib/locale/zh/calendar.js",
|
|
48
|
+
"./locale/zh/color-dialog.js": "./lib/locale/zh/color-dialog.js",
|
|
49
|
+
"./locale/zh/combo-box.js": "./lib/locale/zh/combo-box.js",
|
|
50
|
+
"./locale/zh/dialog.js": "./lib/locale/zh/dialog.js",
|
|
51
|
+
"./locale/zh/pagination.js": "./lib/locale/zh/pagination.js",
|
|
52
|
+
"./locale/zh/password-field.js": "./lib/locale/zh/password-field.js",
|
|
53
|
+
"./locale/zh/search-field.js": "./lib/locale/zh/search-field.js",
|
|
54
|
+
"./locale/zh/shared.js": "./lib/locale/zh/shared.js",
|
|
55
|
+
"./locale/zh/time-picker.js": "./lib/locale/zh/time-picker.js",
|
|
56
|
+
"./locale/zh/tree-select.js": "./lib/locale/zh/tree-select.js",
|
|
57
|
+
"./locale/zh-hant/calendar.js": "./lib/locale/zh-hant/calendar.js",
|
|
58
|
+
"./locale/zh-hant/color-dialog.js": "./lib/locale/zh-hant/color-dialog.js",
|
|
59
|
+
"./locale/zh-hant/combo-box.js": "./lib/locale/zh-hant/combo-box.js",
|
|
60
|
+
"./locale/zh-hant/dialog.js": "./lib/locale/zh-hant/dialog.js",
|
|
61
|
+
"./locale/zh-hant/pagination.js": "./lib/locale/zh-hant/pagination.js",
|
|
62
|
+
"./locale/zh-hant/password-field.js": "./lib/locale/zh-hant/password-field.js",
|
|
63
|
+
"./locale/zh-hant/search-field.js": "./lib/locale/zh-hant/search-field.js",
|
|
64
|
+
"./locale/zh-hant/shared.js": "./lib/locale/zh-hant/shared.js",
|
|
65
|
+
"./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"
|
|
117
|
+
},
|
|
15
118
|
"scripts": {
|
|
16
119
|
"build": "tsc --sourceMap --declarationMap",
|
|
17
120
|
"build:prod": "tsc",
|
|
@@ -30,5 +133,5 @@
|
|
|
30
133
|
"dependencies": {
|
|
31
134
|
"tslib": "^2.3.1"
|
|
32
135
|
},
|
|
33
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "e629daeb0146ae3bce38767c63cfc6c7b965db8e"
|
|
34
137
|
}
|