From b2c1b20b7c90ea481082c82ca2dba0e0e907566b Mon Sep 17 00:00:00 2001 From: sijanec Date: Sun, 17 May 2020 17:37:09 +0200 Subject: missing loginError added to l18n --- assets/js/lang/bundle.js | 2 ++ assets/js/settings.js | 2 +- bin/jsbundle | Bin 0 -> 13296 bytes bin/jsmin | Bin 0 -> 13664 bytes configure | 2 ++ 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 bin/jsbundle create mode 100755 bin/jsmin diff --git a/assets/js/lang/bundle.js b/assets/js/lang/bundle.js index 8d0d6b9..b5844d6 100644 --- a/assets/js/lang/bundle.js +++ b/assets/js/lang/bundle.js @@ -225,6 +225,7 @@ var langstrings = { recipientNotInDirectory: "recipient is not in directory.", chatExternalInfo: "you have just received a chat. Chats are not supported by GimSIS, so you must reply by changing the subject to something else. Chat body: ", // meals + loginError: "login error", loginToLopolis: "login to Lopolis", loginToLopolisNote: "it seems like you're not currently logged in to eRestavracija, so this form has been presented to you. You have a different username and password combination used for applying and opting out of of menus. In order to use this feature, you have to log in with your Lopolis account.", logInToLopolis: "log in to Lopolis", @@ -414,6 +415,7 @@ var langstrings = { recipientNotInDirectory: "izbrane osebe ni v imeniku", chatExternalInfo: "dobili ste kratko sporočilo v standardu, ki ga GimSIS ne podpira. Pri odgovarjanju spremenite zadevo. Vsebina sporočila: ", // meals + loginError: "napaka pri prijavi", loginToLopolis: "prijava v Lopolis", loginToLopolisNote: "izgleda, da niste prijavljeni v eRestavracijo, zato se vam je prikazal prijavni obrazec. Za uporavljanje s prehrano se uporablja druga kombinacija uporabniškega imena in gesla, zato se prijavite s svojimi Lopolis prijavnimi podatki za nadaljevanje.", logInToLopolis: "prijava v Lopolis", diff --git a/assets/js/settings.js b/assets/js/settings.js index 411a38e..9a76ea5 100644 --- a/assets/js/settings.js +++ b/assets/js/settings.js @@ -32,7 +32,7 @@ document.addEventListener("DOMContentLoaded", async () => { }).catch(() => {}); localforage.getItem("theme").then((value) => { - let selectedTheme = value ?? "sl"; + let selectedTheme = value ?? "themeLight"; $(`#option-${selectedTheme}`).attr("selected", true); }).catch(() => {}); diff --git a/bin/jsbundle b/bin/jsbundle new file mode 100755 index 0000000..d1bc0dc Binary files /dev/null and b/bin/jsbundle differ diff --git a/bin/jsmin b/bin/jsmin new file mode 100755 index 0000000..34d72a2 Binary files /dev/null and b/bin/jsmin differ diff --git a/configure b/configure index c067913..13d7a7f 100755 --- a/configure +++ b/configure @@ -6,6 +6,8 @@ git clone https://github.com/sijanec/bverbose cd bverbose gcc test/tape-test.c -I lib -I src -o ../../bin/compose-single gcc test/compose-all-in-dir.c -I lib -I src -o ../../bin/compose-html +gcc test/jsbundle-test.c -I lib -I src -o ../../bin/jsbundle +gcc test/jsmin-test.c -I lib -I src -o ../../bin/jsmin cd .. rm -rf bverbose cd .. -- cgit v1.2.3