From 1ab89cf63d2e2e14916b84df84870be638cbf1be Mon Sep 17 00:00:00 2001
From: Evan Goode
Date: Tue, 8 Jul 2025 21:19:32 -0400
Subject: [PATCH] i18n complete-registration.tmpl
---
locales/es/default.po | 27 +++++++++++++
view/complete-registration.tmpl | 67 ++++++++++++++++-----------------
2 files changed, 59 insertions(+), 35 deletions(-)
diff --git a/locales/es/default.po b/locales/es/default.po
index 4f8ba0a..83c8253 100644
--- a/locales/es/default.po
+++ b/locales/es/default.po
@@ -153,3 +153,30 @@ msgstr "Continuar"
msgid "Register"
msgstr "Registrarse"
+
+msgid "Migrate an existing user"
+msgstr "Migrar un usuario existente"
+
+msgid "You can link this identity provider to an existing %s account."
+msgstr "Puedes vincular este proveedor de identidad a una cuenta existente de %s."
+
+msgid "If you do so, you will no longer be able to log in using your %s password. You'll need to use your Minecraft Token to log in to Minecraft launchers."
+msgstr "Si lo haces, ya no podrás iniciar sesión usando tu contraseña de %s. Necesitarás usar tu Token de Minecraft para iniciar sesión en los lanzadores de Minecraft."
+
+msgid "Link account"
+msgstr "Vincular cuenta"
+
+msgid "Create a player"
+msgstr "Crear un jugador"
+
+msgid "Complete registration by creating a new player:"
+msgstr "Completa el registro creando un nuevo jugador:"
+
+msgid "Complete registration by creating a new player with a random UUID:"
+msgstr "Completa el registro creando un nuevo jugador con un UUID aleatorio:"
+
+msgid "Choosing a player name is not allowed."
+msgstr "No está permitido elegir un nombre de jugador."
+
+msgid "Player name"
+msgstr "Nombre de jugador"
diff --git a/view/complete-registration.tmpl b/view/complete-registration.tmpl
index 6b7c410..bfad22e 100644
--- a/view/complete-registration.tmpl
+++ b/view/complete-registration.tmpl
@@ -14,20 +14,20 @@
or
{{ $dividerNeeded = false }}
{{ end }}
-
Migrate an existing user
+
{{ call .T "Migrate an existing user" }}
-
You can link this identity provider to an existing {{ .App.Config.ApplicationName }} account. If you do so, you will no longer be able to log in using your {{ .App.Config.ApplicationName }} password. You'll need to use your Minecraft Token to log in to Minecraft launchers.
+
{{ call .T "You can link this identity provider to an existing %s account." }} {{ call .T "If you do so, you will no longer be able to log in using your %s password. You'll need to use your Minecraft Token to log in to Minecraft launchers." }}
{{ $dividerNeeded := true }}
{{ end }}
@@ -35,34 +35,28 @@
{{ if .App.Config.CreateNewPlayer.Allow }}
{{ if $dividerNeeded }}
-
or
+
{{ call .T "or" }}
{{ $dividerNeeded = false }}
{{ end }}
-
Create a player
+
{{ call .T "Create a player" }}
{{ if .App.Config.CreateNewPlayer.AllowChoosingUUID }}
-
Complete registration by creating a new player:
+
{{ call .T "Complete registration by creating a new player:" }}
{{ else }}
-
Complete registration by creating a new player with a random UUID:
+
{{ call .T "Complete registration by creating a new player with a random UUID:" }}
{{ end }}
@@ -83,10 +77,10 @@
{{ if .InviteCode }}
-
Using invite code {{ .InviteCode }}
+
{{ call .T "Using invite code %s" .InviteCode }}
{{ end }}
-
+
{{ $dividerNeeded = true }}
@@ -95,34 +89,35 @@
{{ if .App.Config.ImportExistingPlayer.Allow }}
{{ if $dividerNeeded }}
-
or
+
{{ call .T "or" }}
{{ $dividerNeeded = false }}
{{ end }}
-
Register from an existing Minecraft player
+
{{ call .T "Register from an existing Minecraft player" }}
{{ if and .App.Config.RegistrationExistingPlayer.RequireInvite (not
.InviteCode)
}}
-
Registration as an existing player is invite-only.
+
{{ call .T "Registration as an existing player is invite-only." }}
{{ else }}
{{ if .App.Config.ImportExistingPlayer.RequireSkinVerification }}
- Register a new account with the UUID of an existing
- {{ .App.Config.ImportExistingPlayer.Nickname }} account.
- Requires verification that you own the account.
+ {{ call .T
+ "Register a new account with the UUID of an existing %s account. Requires verification that you own the account."
+ .App.Config.ImportExistingPlayer.Nickname
+ }}
{{ if .InviteCode }}
-
Using invite code {{ .InviteCode }}
+
{{ call .T "Using invite code %s" .InviteCode }}
{{ end }}
{{ else }}
- Register a new account with the UUID of an existing
- {{ .App.Config.ImportExistingPlayer.Nickname }} account.
+ {{ call .T
+ "Register a new account with the UUID of an existing %s account"
+ .App.Config.ImportExistingPlayer.Nickname
+ }}