@refinitiv-ui/phrasebook 5.3.1-alpha.0 → 5.4.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 CHANGED
@@ -3,9 +3,12 @@
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.1-alpha.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/phrasebook@5.3.0...@refinitiv-ui/phrasebook@5.3.1-alpha.0) (2021-12-17)
6
+ # [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)
7
7
 
8
- **Note:** Version bump only for package @refinitiv-ui/phrasebook
8
+
9
+ ### Features
10
+
11
+ * **pagination:** support max unknown ([d3997ce](https://github.com/Refinitiv/refinitiv-ui/commit/d3997ce16abb9c01ecc43bcf6a80386b02cd3c12))
9
12
 
10
13
 
11
14
 
@@ -22,6 +25,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
22
25
 
23
26
 
24
27
 
28
+
25
29
  ## [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
30
 
27
31
 
@@ -1,6 +1,6 @@
1
1
  import './shared.js';
2
2
  declare const translations: {
3
+ PAGE: string;
3
4
  PAGE_OF: string;
4
- ITEM_INFO: string;
5
5
  };
6
6
  export default translations;
@@ -2,19 +2,11 @@
2
2
  import { Phrasebook } from '../../translation.js';
3
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;
@@ -1,6 +1,6 @@
1
1
  import './shared.js';
2
2
  declare const translations: {
3
+ PAGE: string;
3
4
  PAGE_OF: string;
4
- ITEM_INFO: string;
5
5
  };
6
6
  export default translations;
@@ -2,19 +2,11 @@
2
2
  import { Phrasebook } from '../../translation.js';
3
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;
@@ -1,6 +1,6 @@
1
1
  import './shared.js';
2
2
  declare const translations: {
3
+ PAGE: string;
3
4
  PAGE_OF: string;
4
- ITEM_INFO: string;
5
5
  };
6
6
  export default translations;
@@ -2,19 +2,11 @@
2
2
  import { Phrasebook } from '../../translation.js';
3
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;
@@ -1,6 +1,6 @@
1
1
  import './shared.js';
2
2
  declare const translations: {
3
+ PAGE: string;
3
4
  PAGE_OF: string;
4
- ITEM_INFO: string;
5
5
  };
6
6
  export default translations;
@@ -2,19 +2,11 @@
2
2
  import { Phrasebook } from '../../translation.js';
3
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;
@@ -1,6 +1,6 @@
1
1
  import './shared.js';
2
2
  declare const translations: {
3
+ PAGE: string;
3
4
  PAGE_OF: string;
4
- ITEM_INFO: string;
5
5
  };
6
6
  export default translations;
@@ -2,19 +2,11 @@
2
2
  import { Phrasebook } from '../../translation.js';
3
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@refinitiv-ui/phrasebook",
3
- "version": "5.3.1-alpha.0",
3
+ "version": "5.4.0",
4
4
  "description": "Collection of messages in EF components for translation",
5
5
  "author": "Refinitiv",
6
6
  "license": "Apache-2.0",
@@ -133,5 +133,5 @@
133
133
  "dependencies": {
134
134
  "tslib": "^2.3.1"
135
135
  },
136
- "gitHead": "7653ee2fa1637e5b6dbe83ca558adde0ce0adaa5"
136
+ "gitHead": "ab885349431e89df4de68852371581f4cd64d9c1"
137
137
  }