Skip to content
Snippets Groups Projects
Verified Commit 919580cb authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: update project

parent 679daa93
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ class LocalePicker extends CustomElement {
},
callbacks: {
"getTranslation": getTranslation,
getTranslation: getTranslation,
},
disabled: false,
......@@ -177,7 +177,10 @@ class LocalePicker extends CustomElement {
this[detectedLanguagesSymbol] = detectUserLanguagePreference();
if (!isObject(this[detectedLanguagesSymbol]?.preferred) && this.getOption("features.showAlways") !== true) {
if (
!isObject(this[detectedLanguagesSymbol]?.preferred) &&
this.getOption("features.showAlways") !== true
) {
this.hide();
if (this.getOption("features.removeOnSelected")) {
......@@ -191,7 +194,7 @@ class LocalePicker extends CustomElement {
fullLang: "en",
baseLang: "en",
label: "English",
}
};
}
const stored = localStorage.getItem(buildStorageKey.call(this));
......@@ -223,7 +226,10 @@ class LocalePicker extends CustomElement {
);
}
if (this[detectedLanguagesSymbol].offerable && this[detectedLanguagesSymbol].offerable.length > 0) {
if (
this[detectedLanguagesSymbol].offerable &&
this[detectedLanguagesSymbol].offerable.length > 0
) {
const getTranslationCallback = this.getOption("callbacks.getTranslation");
if (isFunction(getTranslationCallback)) {
const translations = getTranslationCallback(
......
......@@ -156,7 +156,7 @@ function getMonsterVersion() {
}
/** don't touch, replaced by make with package.json version */
monsterVersion = new Version("3.96.2");
monsterVersion = new Version("3.97.1");
return monsterVersion;
}
......@@ -7,7 +7,7 @@ describe('Monster', function () {
let monsterVersion
/** don´t touch, replaced by make with package.json version */
monsterVersion = new Version("3.96.2")
monsterVersion = new Version("3.97.1")
let m = getMonsterVersion();
......
......@@ -113,4 +113,5 @@ import "../cases/i18n/locale.mjs";
import "../cases/i18n/provider.mjs";
import "../cases/i18n/providers/fetch.mjs";
import "../cases/i18n/providers/embed.mjs";
import "../cases/i18n/util.mjs";
import "../cases/i18n/translations.mjs";
......@@ -9,8 +9,8 @@
</head>
<body>
<div id="headline" style="display: flex;align-items: center;justify-content: center;flex-direction: column;">
<h1 style='margin-bottom: 0.1em;'>Monster 3.96.2</h1>
<div id="lastupdate" style='font-size:0.7em'>last update Fr 3. Jan 15:17:06 CET 2025</div>
<h1 style='margin-bottom: 0.1em;'>Monster 3.97.1</h1>
<div id="lastupdate" style='font-size:0.7em'>last update So 5. Jan 14:38:20 CET 2025</div>
</div>
<div id="mocha-errors"
style="color: red;font-weight: bold;display: flex;align-items: center;justify-content: center;flex-direction: column;margin:20px;"></div>
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment