summaryrefslogtreecommitdiffstats
path: root/pages/meals.html (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added i18n, converted HTML files, TODO: js UI responses, TODO: translationsAnton Luka Šijanec2020-03-051-79/+29
| | | | | | | | | | | | | | 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.
* idkAnton Luka Šijanec2020-03-041-1/+50
|
* rewrite of meals.jsAnton Luka Šijanec2020-03-041-0/+1
|
* MIT baje ne potrebuje attributionaAnton Luka Šijanec2020-03-011-1/+0
|
* typoAnton Luka Šijanec2020-02-261-1/+1
|
* 1.0.10-beta, hrana ~dela, netestirano, ker nimam menijev za izbratAnton Luka Šijanec2020-02-251-1/+1
|
* meals almost doneAnton Luka Šijanec2020-02-241-9/+7
|
* neki sm delu, sam ne do koncaAnton Luka Šijanec2020-02-111-0/+143