Skip to content
Snippets Groups Projects
Commit 59e55ef5 authored by Kocher, Manuel's avatar Kocher, Manuel
Browse files

Rename translation lang-file attribute to lang-files

parent 4d417482
No related branches found
No related tags found
No related merge requests found
......@@ -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'},
};
}
......
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment