summaryrefslogtreecommitdiffstats
path: root/js/meals.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-17dist should work, TODO: minify and bundlesijanec1-393/+0
2020-05-16Handlers moved from HTML to JSrstular1-0/+14
2020-05-16Lintingrstular1-337/+338
2020-05-14Styling fixes, documentationrstular1-24/+44
2020-05-14Styling changes, first round of bug fixesrstular1-11/+39
There are (probably) more changes incoming, but we need to discuss them first
2020-03-06meals.js fix - still timing issuesAnton Luka Šijanec1-3/+2
2020-03-06all js files updated with i18n, not tested yetAnton Luka Šijanec1-8/+0
2020-03-06neki i18n jsAnton Luka Šijanec1-19/+19
2020-03-05added i18n, converted HTML files, TODO: js UI responses, TODO: translationsAnton Luka Šijanec1-1/+1
So basically, multilanguage support from an JavaScript object. - only slovenian and english - no change language UI yet - only HTML strings are actually translated \- all text is translated, but javascript M.toast and other similar stuff does not pass trough s(), d(), S() and D() functions yet - how to i18n: - add a string to js/lang/bundle.js TO ALL LANGUAGES (translation mgmt sys will have to be created) - HTML: create <x-??></x-??> tags, where 1st ? tells wether to just output the string (s) without dot suffix or (d) to try and append a . (for sentences and paragraphs) if it is not there yet. second ? tells wether to leave lowercase strings (l) or (u) to force the first character of the string be uppercase (capitalize()). - put the key of your string as the innerHTML of the x-?? element. - JS: S("key") and D("key") return capitalized, s() and d() do not change case.
2020-03-05med slovenscinoAnton Luka Šijanec1-5/+7
2020-03-04idkAnton Luka Šijanec1-0/+11
2020-03-04rewrite of meals.jsAnton Luka Šijanec1-306/+247
2020-03-01meals submission fix (now sends all meals)Anton Luka Šijanec1-31/+75
2020-03-01meals fix and 1.0.11 version bumpAnton Luka Šijanec1-1/+1
2020-02-26typoAnton Luka Šijanec1-0/+1
2020-02-251.0.10-beta, hrana ~dela, netestirano, ker nimam menijev za izbratAnton Luka Šijanec1-35/+10
2020-02-25small fix 32Anton Luka Šijanec1-1/+1
2020-02-25small fixAnton Luka Šijanec1-1/+1
2020-02-24fancy toast error messagesAnton Luka Šijanec1-3/+3
2020-02-24meals almost doneAnton Luka Šijanec1-106/+208
2020-02-11neki sm delu, sam ne do koncaAnton Luka Šijanec1-38/+25
2020-01-30Temporary inclusion/exclusion option, fixed zoomrstular1-5/+16