From 2a2fd331f9c4c2caed07b038f36ca02f351f0463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Fri, 6 Mar 2020 22:47:10 +0100 Subject: za narediti jezike --- img/flags/en.svg | 16 +++++++ img/flags/sl.svg | 19 ++++++++ index.html | 6 +-- js/lang/bundle.js | 9 +++- login.html | 4 +- logout.html | 6 +-- pages/about.html | 37 ++++++--------- pages/absences.html | 42 ++++++----------- pages/changelog.html | 1 + pages/grades.html | 41 ++++++----------- pages/gradings.html | 41 ++++++----------- pages/meals.html | 38 ++++++---------- pages/messaging.html | 39 ++++++---------- pages/privacypolicy.html | 1 + pages/settings.html | 114 +++++++++++++++++++++++++++++++++++++++++++++++ pages/teachers.html | 41 ++++++----------- pages/timetable.html | 41 ++++++----------- pages/tos.html | 1 + 18 files changed, 275 insertions(+), 222 deletions(-) create mode 100644 img/flags/en.svg create mode 100644 img/flags/sl.svg create mode 100644 pages/settings.html diff --git a/img/flags/en.svg b/img/flags/en.svg new file mode 100644 index 0000000..cd7d8a0 --- /dev/null +++ b/img/flags/en.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/img/flags/sl.svg b/img/flags/sl.svg new file mode 100644 index 0000000..e56ea1d --- /dev/null +++ b/img/flags/sl.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/index.html b/index.html index 8b10888..95d57dc 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - - + + @@ -23,4 +23,4 @@ - \ No newline at end of file + diff --git a/js/lang/bundle.js b/js/lang/bundle.js index 1cd8f95..84698bc 100644 --- a/js/lang/bundle.js +++ b/js/lang/bundle.js @@ -147,6 +147,7 @@ var langstrings = { meals: "meals", about: "about", logout: "logout", + settings: "settings", // timetable noPeriods: "no periods in selected week", // gradings @@ -257,7 +258,9 @@ var langstrings = { privacyExternalSites: "our app may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies.", privacyRefuse: "you are free to refuse our request for your personal information, with the understanding that we may be unable to provide you with some of your desired services.", 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" + privacyEffectiveAsOf: "this policy is effective as of", + // settings + language: "language" }, sl: { miscTranslationLanguage: "slovenščina", @@ -305,6 +308,7 @@ var langstrings = { meals: "obroki", about: "o", logout: "odjava", + settings: "nastavitve", // gradings requestFailed: "zahteva spodletela", noInternetConnection: "ni povezave s spletom", @@ -413,6 +417,7 @@ var langstrings = { privacyExternalSites: "our app may link to external sites that are not operated by us. Please be aware that we have no control over the content and practices of these sites, and cannot accept responsibility or liability for their respective privacy policies.", privacyRefuse: "you are free to refuse our request for your personal information, with the understanding that we may be unable to provide you with some of your desired services.", 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" + privacyEffectiveAsOf: "this policy is effective as of", + language: "jezik" }, } diff --git a/login.html b/login.html index 840856d..2d7b133 100644 --- a/login.html +++ b/login.html @@ -1,5 +1,5 @@ - - + + diff --git a/logout.html b/logout.html index e94f331..c3f9b41 100644 --- a/logout.html +++ b/logout.html @@ -1,5 +1,5 @@ - - + + @@ -23,4 +23,4 @@ - \ No newline at end of file + diff --git a/pages/about.html b/pages/about.html index 73826a0..e709de0 100644 --- a/pages/about.html +++ b/pages/about.html @@ -1,3 +1,4 @@ + @@ -43,30 +44,18 @@
diff --git a/pages/absences.html b/pages/absences.html index 477ce88..e893cbc 100644 --- a/pages/absences.html +++ b/pages/absences.html @@ -1,5 +1,5 @@ - - + + @@ -46,33 +46,19 @@ -
diff --git a/pages/changelog.html b/pages/changelog.html index e77e0ed..ee1c3d7 100644 --- a/pages/changelog.html +++ b/pages/changelog.html @@ -1,3 +1,4 @@ + diff --git a/pages/grades.html b/pages/grades.html index 6541f5b..03215fd 100644 --- a/pages/grades.html +++ b/pages/grades.html @@ -1,5 +1,5 @@ - - + + @@ -46,32 +46,19 @@ -