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

Rename leftover lang-file to lang-dir

parent a517e7b8
No related branches found
No related tags found
No related merge requests found
Pipeline #181735 passed
...@@ -23,7 +23,7 @@ export class DbpCommonDemo extends ScopedElementsMixin(LitElement) { ...@@ -23,7 +23,7 @@ export class DbpCommonDemo extends ScopedElementsMixin(LitElement) {
this._i18n = createInstance(); this._i18n = createInstance();
this.lang = this._i18n.language; this.lang = this._i18n.language;
this.noAuth = false; this.noAuth = false;
this.langFile = ''; this.langDir = '';
} }
static get scopedElements() { static get scopedElements() {
...@@ -49,7 +49,7 @@ export class DbpCommonDemo extends ScopedElementsMixin(LitElement) { ...@@ -49,7 +49,7 @@ export class DbpCommonDemo extends ScopedElementsMixin(LitElement) {
return { return {
lang: {type: String}, lang: {type: String},
noAuth: {type: Boolean, attribute: 'no-auth'}, noAuth: {type: Boolean, attribute: 'no-auth'},
langFile: {type: String, attribute: 'lang-file'}, langDir: {type: String, attribute: 'lang-dir'},
}; };
} }
......
...@@ -14,5 +14,5 @@ ...@@ -14,5 +14,5 @@
"de": "Gemeinsame Web Components", "de": "Gemeinsame Web Components",
"en": "Common web components" "en": "Common web components"
}, },
"subscribe": "lang,entry-point-url,lang-file" "subscribe": "lang,entry-point-url,lang-dir"
} }
...@@ -13,7 +13,7 @@ class DbpCommonDemoActivity extends ScopedElementsMixin(AdapterLitElement) { ...@@ -13,7 +13,7 @@ class DbpCommonDemoActivity extends ScopedElementsMixin(AdapterLitElement) {
super(); super();
this.lang = 'en'; this.lang = 'en';
this.entryPointUrl = ''; this.entryPointUrl = '';
this.langFile = ''; this.langDir = '';
} }
static get scopedElements() { static get scopedElements() {
...@@ -26,7 +26,7 @@ class DbpCommonDemoActivity extends ScopedElementsMixin(AdapterLitElement) { ...@@ -26,7 +26,7 @@ class DbpCommonDemoActivity extends ScopedElementsMixin(AdapterLitElement) {
return { return {
...super.properties, ...super.properties,
lang: {type: String}, lang: {type: String},
langFile: {type: String, attribute: 'lang-file'}, langDir: {type: String, attribute: 'lang-dir'},
entryPointUrl: {type: String, attribute: 'entry-point-url'}, entryPointUrl: {type: String, attribute: 'entry-point-url'},
}; };
} }
...@@ -65,7 +65,7 @@ class DbpCommonDemoActivity extends ScopedElementsMixin(AdapterLitElement) { ...@@ -65,7 +65,7 @@ class DbpCommonDemoActivity extends ScopedElementsMixin(AdapterLitElement) {
<dbp-common-demo <dbp-common-demo
id="demo" id="demo"
lang="${this.lang}" lang="${this.lang}"
lang-file="${this.langFile}" lang-dir="${this.langDir}"
entry-point-url="${this.entryPointUrl}"></dbp-common-demo> entry-point-url="${this.entryPointUrl}"></dbp-common-demo>
`; `;
} }
......
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