summaryrefslogtreecommitdiffstats
path: root/js/lang
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-21 00:58:21 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-03-21 00:58:21 +0100
commita4e25ed95b896f39aadec6123543dae1bc80e8fd (patch)
treee1143b3e1e7ec390f5a655cb497ada5db1a0a0bd /js/lang
parentgsec.js fix (diff)
downloadbeziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.tar
beziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.tar.gz
beziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.tar.bz2
beziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.tar.lz
beziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.tar.xz
beziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.tar.zst
beziapp-a4e25ed95b896f39aadec6123543dae1bc80e8fd.zip
Diffstat (limited to 'js/lang')
-rw-r--r--js/lang/bundle.js23
1 files changed, 21 insertions, 2 deletions
diff --git a/js/lang/bundle.js b/js/lang/bundle.js
index c4c3a0b..8f540b9 100644
--- a/js/lang/bundle.js
+++ b/js/lang/bundle.js
@@ -8,6 +8,9 @@ var dateString = {
month: (mesl) => {
let mesecileta = [S("january"), S("february"), S("march"), S("april"), S("may"), S("june"), S("july"), S("august"), S("september"), S("october"), S("november"), S("december")];
return mesecileta[mesl];
+ },
+ longFormatted: (dateObject) => {
+ return dateString.day(dateObject.getDay())+", "+(dateObject.getDate())+". "+dateString.month(dateObject.getMonth())+" "+dateObject.getFullYear();
}
};
async function refreshLangDOM() {
@@ -172,6 +175,10 @@ var langstrings = {
ok: "ok",
noAbsences: "no absences in the chosen time period",
lesson: "lesson",
+ notProcessed: "not processed",
+ authorizedAbsence: "authorized",
+ unauthorizedAbsence: "unauthorized",
+ doesNotCount: "does not count",
// messaging
sendAMessage: "send a message",
recipient: "recipient",
@@ -261,7 +268,11 @@ var langstrings = {
privacyEffectiveAsOf: "this policy is effective as of",
// settings
language: "language",
- languageSet: "language set, open another page for the changes to take effect"
+ languageSet: "language set, open another page for the changes to take effect",
+ // gsec
+ gsecErrNet: "GimSIS connection error",
+ gsecErrLogin: "GimSIS login error (bad password?), try logging out",
+ gsecErrOther: "GimSIS unknown error, try logging out"
},
sl: {
miscTranslationLanguage: "slovenščina",
@@ -332,6 +343,10 @@ var langstrings = {
ok: "v redu",
noAbsences: "ni izostankov v izbranem časovnem obdobju",
lesson: "ura",
+ notProcessed: "ni obdelano",
+ authorizedAbsence: "opravičeno",
+ unauthorizedAbsence: "neopravičeno",
+ doesNotCount: "ne šteje",
// messaging
sendAMessage: "pošlji sporočilo",
recipient: "prejemnik",
@@ -420,6 +435,10 @@ var langstrings = {
privacyAcceptWithUse: "your continued use of our website will be regarded as acceptance of our practices around privacy and personal information. If you have any questions about how we handle user data and personal information, feel free to contact us.",
privacyEffectiveAsOf: "this policy is effective as of",
language: "jezik",
- languageSet: "jezik nastavljen, odprite neko drugo stran da se pokažejo spremembe"
+ languageSet: "jezik nastavljen, odprite neko drugo stran da se pokažejo spremembe",
+ // gsec
+ gsecErrNet: "napaka povezave na GimSIS",
+ gsecErrLogin: "napaka avtentikacije na GimSISu (napačno geslo?), poskusite se odjaviti",
+ gsecErrOther: "neznana napaka GimSISa, poskusite se odjaviti"
}
}