[Minor] localize demo environment too

This commit is contained in:
Robert von Burg 2022-10-10 16:10:23 +02:00
parent ab470e12d0
commit ac6a8f7fd3
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "strolch-wc-util-behavior", "name": "strolch-wc-util-behavior",
"description": "Strolch Polymer Util Behaviors", "description": "Strolch Polymer Util Behaviors",
"version": "0.3.8", "version": "0.3.9",
"authors": [ "authors": [
"Robert von Burg" "Robert von Burg"
], ],

View File

@ -96,6 +96,8 @@
this.environment = this.localize('staging'); this.environment = this.localize('staging');
} else if (environment.indexOf('dev') >= 0) { } else if (environment.indexOf('dev') >= 0) {
this.environment = this.localize('development'); this.environment = this.localize('development');
} else if (environment.indexOf('demo') >= 0) {
this.environment = this.localize('demo');
} else { } else {
this.environment = environment; this.environment = environment;
} }