From ac6a8f7fd34d2988d30ff988129afe4acefca183 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 10 Oct 2022 16:10:23 +0200 Subject: [PATCH] [Minor] localize demo environment too --- bower.json | 2 +- strolch-wc-component-behavior.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 64dd4b7..91affdf 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-util-behavior", "description": "Strolch Polymer Util Behaviors", - "version": "0.3.8", + "version": "0.3.9", "authors": [ "Robert von Burg" ], diff --git a/strolch-wc-component-behavior.html b/strolch-wc-component-behavior.html index fb35f07..5208518 100644 --- a/strolch-wc-component-behavior.html +++ b/strolch-wc-component-behavior.html @@ -96,6 +96,8 @@ this.environment = this.localize('staging'); } else if (environment.indexOf('dev') >= 0) { this.environment = this.localize('development'); + } else if (environment.indexOf('demo') >= 0) { + this.environment = this.localize('demo'); } else { this.environment = environment; }