@gravitee/ui-components 3.25.3-typescript-4424877 → 3.25.3-typescript-6a73008

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-components",
3
- "version": "3.25.3-typescript-4424877",
3
+ "version": "3.25.3-typescript-6a73008",
4
4
  "description": "Gravitee.io UI Components library, based on Web Components",
5
5
  "repository": {
6
6
  "type": "git",
package/src/lib/i18n.d.ts CHANGED
@@ -19,9 +19,9 @@ export function getLanguage(): string;
19
19
  /**
20
20
  * @param {string} lang - Translation language code
21
21
  * @param {object} translations - Translation values by key
22
- * @param {object} label - Lang label
22
+ * @param {string} label - Lang label
23
23
  */
24
- export function addTranslations(lang: string, translations: object, label: object): void;
24
+ export function addTranslations(lang: string, translations: object, label: string): void;
25
25
  /**
26
26
  * @returns {object} - All defined languages (key: human name and value: code)
27
27
  */
package/src/lib/i18n.js CHANGED
@@ -61,7 +61,7 @@ export function getLanguage() {
61
61
  /**
62
62
  * @param {string} lang - Translation language code
63
63
  * @param {object} translations - Translation values by key
64
- * @param {object} label - Lang label
64
+ * @param {string} label - Lang label
65
65
  */
66
66
  export function addTranslations(lang, translations, label) {
67
67
  i18n._translations[lang] = { ...{ LANGUAGE: label }, ...translations };