diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index 53397c4e4edd3ae6a8c8d12aaa31d53ecf9276f0..65892521d9ad18fcdd8b3a7a8be0b5dae4aa7d63 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -74,7 +74,7 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) { this.initateOpenMenu = false; this.auth = {}; - this.langFile = ''; + this.langFiles = ''; } static get scopedElements() { @@ -272,7 +272,7 @@ export class AppShell extends ScopedElementsMixin(DBPLitElement) { buildTime: {type: String, attribute: 'build-time'}, env: {type: String}, auth: {type: Object}, - langFile: {type: String, attribute: 'lang-file'}, + langFiles: {type: String, attribute: 'lang-files'}, }; } diff --git a/packages/common/src/translation.js b/packages/common/src/translation.js index fe003e65e594fe2585862913910c16e1849abf42..9712ac62101f34a316339fd6f00acb4767921673 100644 --- a/packages/common/src/translation.js +++ b/packages/common/src/translation.js @@ -8,7 +8,7 @@ export class Translation extends DBPLitElement { super(); this.key = ''; this.lang = ''; - this.langFile = ''; + this.langFiles = ''; this.interpolation = ''; } @@ -17,7 +17,7 @@ export class Translation extends DBPLitElement { ...super.properties, key: {type: String}, lang: {type: String}, - langFile: {type: String, attribute: 'lang-file'}, + langFiles: {type: String, attribute: 'lang-files'}, interpolation: {type: Object, attribute: 'var'}, }; } @@ -33,7 +33,7 @@ export class Translation extends DBPLitElement { connectedCallback() { super.connectedCallback(); - this._i18n = createInstanceAsync(this.langFile); + this._i18n = createInstanceAsync(this.langFiles); } update(changedProperties) {