diff options
Diffstat (limited to 'internal/web/templates')
| -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> |
