From 10eedb91111155f005d20133efba2bbd4cf21fab Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Mon, 16 Mar 2020 12:04:03 +0100 Subject: [PATCH] [Minor] Added logger to know how initialized --- bower.json | 2 +- strolch-wc-localize-behavior.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 4c65268..d354cfd 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-localize-behavior", "description": "Strolch Polymer Localization Behavior extension", - "version": "1.1.5", + "version": "1.1.6", "authors": [ "Franz Nieschalk", "Robert von Burg" diff --git a/strolch-wc-localize-behavior.html b/strolch-wc-localize-behavior.html index 39faa6e..99db690 100644 --- a/strolch-wc-localize-behavior.html +++ b/strolch-wc-localize-behavior.html @@ -6,6 +6,7 @@ StrolchLocalizeBehaviorImpl = { attached: function () { var locale = Strolch.getUserLocale(); + console.log("Initializing for '" + this.localName + "' for locale " + locale + " and path " + this.localesPath); // load the language resource of the configured language this.language = locale;