@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
|
@@ -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;
|
|
@@ -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('ja', '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: '複数項目',
|
|
5
5
|
NO_OPTIONS: '該当する結果はありません。'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('ja', 'ef-combo-box', translations);
|
|
8
8
|
export default translations;
|
|
9
|
-
//# sourceMappingURL=combo-box.js.map
|
package/lib/locale/ja/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: 'ダイアログ'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('ja', '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: 'ページ {page}',
|
|
5
7
|
// page: current page #
|
|
6
8
|
// pageTotal: total number of pages
|
|
7
|
-
PAGE_OF: '{pageTotal} ページ中 {page} ページ目 '
|
|
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 {該当なし} other {{ totalCount, plural, other { {totalCount} {totalCount, plural, =1 { 件} other { 件}}中 {pageSize, plural, =1 {#} other {{from} - {to}}} 件目 } }} }'
|
|
9
|
+
PAGE_OF: '{pageTotal} ページ中 {page} ページ目 '
|
|
18
10
|
};
|
|
19
11
|
Phrasebook.define('ja', 'ef-pagination', translations);
|
|
20
12
|
export default translations;
|
|
21
|
-
//# sourceMappingURL=pagination.js.map
|
package/lib/locale/ja/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: 'キャンセル',
|
|
@@ -8,4 +8,3 @@ const translations = {
|
|
|
8
8
|
};
|
|
9
9
|
Phrasebook.define('ja', 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('ja', '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: '
|
|
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
|
|
11
|
-
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {1 件選択済み} other {# 件選択済み}}', MATCHES_NUM: '{numMatched, plural, =0 {
|
|
11
|
+
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {1 件選択済み} other {# 件選択済み}}', MATCHES_NUM: '{numMatched, plural, =0 {該当項目はありません} =1 {検索結果 – 1件} other {検索結果 – #件}}' });
|
|
12
12
|
Phrasebook.define('ja', '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: '前一个月',
|
|
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;
|
|
@@ -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('zh', '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: '多项',
|
|
5
5
|
NO_OPTIONS: '未找到结果。'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('zh', 'ef-combo-box', translations);
|
|
8
8
|
export default translations;
|
|
9
|
-
//# sourceMappingURL=combo-box.js.map
|
package/lib/locale/zh/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: '对话框'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('zh', '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: '第 {page} 页',
|
|
5
7
|
// page: current page #
|
|
6
8
|
// pageTotal: total number of pages
|
|
7
|
-
PAGE_OF: '第 {page}/{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 {无项目。} other {{ totalCount, plural, other { {pageSize, plural, =1 {#} other {{from} - {to}}} 项,共 {totalCount} {totalCount, plural, =1 {项} other {项}}} }} }'
|
|
9
|
+
PAGE_OF: '第 {page}/{pageTotal} 页'
|
|
18
10
|
};
|
|
19
11
|
Phrasebook.define('zh', 'ef-pagination', translations);
|
|
20
12
|
export default translations;
|
|
21
|
-
//# sourceMappingURL=pagination.js.map
|
package/lib/locale/zh/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: '取消',
|
|
@@ -8,4 +8,3 @@ const translations = {
|
|
|
8
8
|
};
|
|
9
9
|
Phrasebook.define('zh', 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('zh', '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: '全部列表', SELECTED: '已选项列表', EXPAND_COLLAPSE: '{expansion, select,
|
|
7
|
+
FULL_LIST: '全部列表', SELECTED: '已选项列表', EXPAND_COLLAPSE: '{expansion, select, true {全部收起} other {全部展开}}', SELECT_CONTROL: '{selected, select, true {取消全选} other {全选}}',
|
|
8
8
|
// button control
|
|
9
9
|
DONE: '完成',
|
|
10
10
|
// selection/filter feedback
|
|
11
|
-
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {已选 1 项。} other {已选 # 项。}}', MATCHES_NUM: '{numMatched, plural, =0 {
|
|
11
|
+
SELECTED_NUM: '{numSelected, plural, =0 {} =1 {已选 1 项。} other {已选 # 项。}}', MATCHES_NUM: '{numMatched, plural, =0 {未找到结果。} =1 {找到了 1 个结果。} other {找到了 # 个结果。}}' });
|
|
12
12
|
Phrasebook.define('zh', '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('zh-Hant', '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('zh-Hant', '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: '多項',
|
|
5
5
|
NO_OPTIONS: '未找到結果。'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('zh-Hant', 'ef-combo-box', translations);
|
|
8
8
|
export default translations;
|
|
9
|
-
//# sourceMappingURL=combo-box.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
|
// deliberately empty as covered by shared
|
|
4
4
|
const translations = {
|
|
5
5
|
HEADER: '對話框'
|
|
6
6
|
};
|
|
7
7
|
Phrasebook.define('zh-Hant', '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: '第 {page}頁',
|
|
5
7
|
// page: current page #
|
|
6
8
|
// pageTotal: total number of pages
|
|
7
|
-
PAGE_OF: '第 {page}頁/共{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 {無項目} other {{ totalCount, plural, other { {pageSize, plural, =1 {#} other {{from} - {to}}} 項,共 {totalCount} {totalCount, plural, =1 {項} other {項}}} }} }'
|
|
9
|
+
PAGE_OF: '第 {page}頁/共{pageTotal} 頁'
|
|
18
10
|
};
|
|
19
11
|
Phrasebook.define('zh-Hant', 'ef-pagination', translations);
|
|
20
12
|
export default translations;
|
|
21
|
-
//# sourceMappingURL=pagination.js.map
|