Fix type comment for carousel/l10n.gohtml template
It was using the home package, where it belonged before, instead of carousel.
This commit is contained in:
parent
f2b12bdedf
commit
eeb1904b5e
|
@ -3,12 +3,12 @@
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
SPDX-License-Identifier: AGPL-3.0-only
|
||||||
-->
|
-->
|
||||||
{{ define "title" -}}
|
{{ define "title" -}}
|
||||||
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/home.slideL10nForm*/ -}}
|
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/carousel.slideL10nForm*/ -}}
|
||||||
{{printf (pgettext "Translate Carousel Slide to %s" "title") .Locale.Endonym }}
|
{{printf (pgettext "Translate Carousel Slide to %s" "title") .Locale.Endonym }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ define "content" -}}
|
{{ define "content" -}}
|
||||||
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/home.slideL10nForm*/ -}}
|
{{- /*gotype: dev.tandem.ws/tandem/camper/pkg/carousel.slideL10nForm*/ -}}
|
||||||
<form data-hx-put="/admin/home/slides/{{ .ID }}/{{ .Locale.Language }}">
|
<form data-hx-put="/admin/home/slides/{{ .ID }}/{{ .Locale.Language }}">
|
||||||
<h2>
|
<h2>
|
||||||
{{printf (pgettext "Translate Carousel Slide to %s" "title") .Locale.Endonym }}
|
{{printf (pgettext "Translate Carousel Slide to %s" "title") .Locale.Endonym }}
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<label>
|
<label>
|
||||||
{{( pgettext "Translation:" "input" )}}
|
{{( pgettext "Translation:" "input" )}}
|
||||||
<input type="text" name="{{ .Name }}" value="{{ .Val }}"
|
<input type="text" name="{{ .Name }}" value="{{ .Val }}"
|
||||||
{{ template "error-attrs" . }}><br>
|
{{ template "error-attrs" . }}><br>
|
||||||
</label>
|
</label>
|
||||||
{{ template "error-message" . }}
|
{{ template "error-message" . }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
Loading…
Reference in New Issue