mirror of
https://github.com/siderolabs/image-factory.git
synced 2026-05-05 12:26:17 +02:00
Adds localization support with go-i18n module. Adds Russian language support in the frontend interface Signed-off-by: Aleksandr Gamzin <gamzin@altlinux.org> Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
17 lines
651 B
HTML
17 lines
651 B
HTML
{{ define "wizard-cloud" }}
|
|
{{ template "hidden-inputs" . }}
|
|
{{ template "header" (t .Localizer "cloud.title") }}
|
|
<div class="mb-6">
|
|
{{ range .Platforms }}
|
|
{{ template "radio-with-description" dict "name" "platform" "value" .Name "current" $.SelectedPlatform "label" .Label "description" (dynamic_template "platform-description" (dict "Platform" . "Version" $.Version "Localizer" $.Localizer)) }}
|
|
{{ end }}
|
|
|
|
<div class="flex gap-4">
|
|
{{ template "back-button" (dict "Params" "target,selected-version" "Localizer" .Localizer) }}
|
|
{{ template "next-button" . }}
|
|
</div>
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ template "wizard-cloud" . }}
|