Versionsstring hinzugefügt
This commit is contained in:
@@ -5,5 +5,6 @@ SystemSettings.setBasePath("/");
|
||||
Translator.supportedLanguages = ["de"];
|
||||
Translator.markTranslations = false;
|
||||
Translator.markUntranslatedTranslations = false;
|
||||
window["version"] = "1-beta";
|
||||
|
||||
Matomo.SIDE_ID = 1;
|
||||
@@ -5,5 +5,6 @@ SystemSettings.setBasePath("/");
|
||||
Translator.supportedLanguages = ["de"];
|
||||
Translator.markTranslations = false;
|
||||
Translator.markUntranslatedTranslations = false;
|
||||
window["version"] = "1.1";
|
||||
|
||||
Matomo.SIDE_ID = 3;
|
||||
@@ -10,5 +10,7 @@ if (window.location.pathname.indexOf("publicTest/") >= 0)
|
||||
SystemSettings.setBasePath(basePath);
|
||||
Translator.supportedLanguages = ["de"];
|
||||
Translator.markTranslations = false;
|
||||
window["version"] = "1-local";
|
||||
|
||||
|
||||
Matomo.SIDE_ID = "2";
|
||||
|
||||
@@ -69,6 +69,7 @@ export class WordRotatorSettingFragment extends LocalStorageSettingsFragment {
|
||||
this.findBy("#impressum-button").addEventListener("click", () => {
|
||||
this.getSite().startSite(ImpressumSite);
|
||||
});
|
||||
this.findBy("#version-info").innerText = window["version"];
|
||||
|
||||
InstallManager.setCanInstallListener(() => {
|
||||
let installButton = this.findBy("#install-button");
|
||||
|
||||
@@ -56,6 +56,11 @@
|
||||
<span class='columns small-2 text-right' data-translation=">"></span>
|
||||
</div>
|
||||
|
||||
<div class='row setting-row' >
|
||||
<span class = "column small-6" data-translation="version-label"></span>
|
||||
<span class = "column small-6 text-right" id='version-info'></span>
|
||||
</div>
|
||||
|
||||
<!--<iframe-->
|
||||
<!--style="border: 0; height: 200px; width: 600px;"-->
|
||||
<!--src="https://matomo.silas.link/index.php?module=CoreAdminHome&action=optOut&language=de&backgroundColor=&fontColor=&fontSize=&fontFamily="-->
|
||||
|
||||
@@ -35,5 +35,6 @@
|
||||
"already-persisted-dialog-message":"Damit die Daten dauerhaft gespeichert werden, muss eins von drei Kriterien erfüllt sein:<br/>1) Die Seite muss als Lesezeichen gespeichert werden (und maximal 5 Lesezeichen ingsesamt).<br/>2) Die Seite muss mit die meistbenutzte Seite sein. <br/>3) Benachrichtigungen müssen erlaubt werden.<br/> Du erfüllst schon ein Kriterium und daher wird dein Fortschritt dauerhaft gespeichert (außer du löscht sie)",
|
||||
"already-persisted-dialog-title":"Daten werden dauerhaft gespeichert!",
|
||||
"persist-storage-dialog-message-firefox":"Damit dein Fortschritt dauerhaft gespeichert wird, musst du zulassen, dass Daten dauerhaft gespeichert werden.",
|
||||
"warning-data-not-persistent":"Achtung! Dein Fortschritt kann verloren gehen! Gehe die Einstellungen für mehr Infos."
|
||||
"warning-data-not-persistent":"Achtung! Dein Fortschritt kann verloren gehen! Gehe die Einstellungen für mehr Infos.",
|
||||
"version-label": "Version:"
|
||||
}
|
||||
Reference in New Issue
Block a user