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:
jordi fita mas 2023-10-12 16:22:43 +02:00
parent f2b12bdedf
commit eeb1904b5e
1 changed files with 3 additions and 3 deletions

View File

@ -3,12 +3,12 @@
SPDX-License-Identifier: AGPL-3.0-only
-->
{{ 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 }}
{{- end }}
{{ 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 }}">
<h2>
{{printf (pgettext "Translate Carousel Slide to %s" "title") .Locale.Endonym }}
@ -22,7 +22,7 @@
<label>
{{( pgettext "Translation:" "input" )}}
<input type="text" name="{{ .Name }}" value="{{ .Val }}"
{{ template "error-attrs" . }}><br>
{{ template "error-attrs" . }}><br>
</label>
{{ template "error-message" . }}
</fieldset>