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 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 }}