diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 21:51:40 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-07-23 21:51:40 +0200 |
| commit | 4c776396115c8120c3e1cb8fda993449fcdcd326 (patch) | |
| tree | 0144fb325663dde063057a5ec568c59d4cbe79da /internal/web/templates/index.html | |
| parent | bfa8df7b36ccbd44703e0705d51a2ed553a23164 (diff) | |
| download | lectio-4c776396115c8120c3e1cb8fda993449fcdcd326.tar.gz lectio-4c776396115c8120c3e1cb8fda993449fcdcd326.zip | |
i18n: ui_language config (default en) for UI chrome across cli/tui/web; version labels localised
Diffstat (limited to 'internal/web/templates/index.html')
| -rw-r--r-- | internal/web/templates/index.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/internal/web/templates/index.html b/internal/web/templates/index.html index a1247e6..8c9fd86 100644 --- a/internal/web/templates/index.html +++ b/internal/web/templates/index.html @@ -32,10 +32,10 @@ hx-vals='{"date":"{{.NextDate}}"}'>→</button> </span> - <label>lekcjonarz + <label>{{.L.Lectionary}} <select name="lectionary"> - <option value="new" {{if eq .Lectionary "new"}}selected{{end}}>nowy</option> - <option value="traditional" {{if eq .Lectionary "traditional"}}selected{{end}}>tradycyjny</option> + <option value="new" {{if eq .Lectionary "new"}}selected{{end}}>{{.L.OptModern}}</option> + <option value="traditional" {{if eq .Lectionary "traditional"}}selected{{end}}>{{.L.OptTraditional}}</option> </select> </label> @@ -43,23 +43,23 @@ <label><input type="checkbox" name="v" value="{{.Code}}" {{if .Checked}}checked{{end}}> {{.Code}}</label> {{end}} - <label>zakres + <label>{{.L.Parts}} <select name="all"> - <option value="0" {{if not .All}}selected{{end}}>Ewangelia</option> - <option value="1" {{if .All}}selected{{end}}>wszystkie części</option> + <option value="0" {{if not .All}}selected{{end}}>{{.L.OptGospel}}</option> + <option value="1" {{if .All}}selected{{end}}>{{.L.OptAll}}</option> </select> </label> - <label>układ + <label>{{.L.Layout}} <select name="display"> - <option value="horizontal" {{if eq .Display "horizontal"}}selected{{end}}>poziomo</option> - <option value="vertical" {{if eq .Display "vertical"}}selected{{end}}>kolumny</option> - <option value="interlinear" {{if eq .Display "interlinear"}}selected{{end}}>interlinearnie</option> + <option value="horizontal" {{if eq .Display "horizontal"}}selected{{end}}>{{.L.OptHorizontal}}</option> + <option value="vertical" {{if eq .Display "vertical"}}selected{{end}}>{{.L.OptColumns}}</option> + <option value="interlinear" {{if eq .Display "interlinear"}}selected{{end}}>{{.L.OptInterlinear}}</option> </select> </label> </form> - <label class="theme-picker">motyw + <label class="theme-picker">{{.L.Theme}} <select id="theme-select" onchange="var o=document.getElementById('theme'),n=o.cloneNode(false);n.setAttribute('href','/theme.css?name='+encodeURIComponent(this.value));o.replaceWith(n);"> {{range .ThemeOpts}} @@ -69,7 +69,7 @@ </label> <label class="mono-toggle"><input type="checkbox" {{if .Mono}}checked{{end}} - onchange="document.body.classList.toggle('mono', this.checked)"> mono</label> + onchange="document.body.classList.toggle('mono', this.checked)"> {{.L.Mono}}</label> <div id="pane">{{.Reading}}</div> |
