diff --git a/locales/es/default.po b/locales/es/default.po index 83c8253..15fe35c 100644 --- a/locales/es/default.po +++ b/locales/es/default.po @@ -180,3 +180,33 @@ msgstr "No está permitido elegir un nombre de jugador." msgid "Player name" msgstr "Nombre de jugador" + +msgid "We need to verify that you own the %s account “%s” before you register its UUID." +msgstr "Necesitamos verificar que eres el propietario de la cuenta %s “%s” antes de registrar su UUID." + +msgid "Download this image and set it as your skin on your %s account, on this page." +msgstr "Descarga esta imagen y configúrala como tu skin en tu cuenta de %s, en esta página." + +msgid "Download this image and set it as your skin on your %s account." +msgstr "Descarga esta imagen y configúrala como tu skin en tu cuenta de %s." + +msgid "%s verification skin" +msgstr "Skin de verificación de %s" + +msgid "%s-verification-skin.png" +msgstr "%s-skin-de-verificación.png" + +msgid "Download skin" +msgstr "Descargar skin" + +msgid "When you are done, hit “Register”." +msgstr "Cuando termines, haz clic en “Registrarse”." + +msgid "When you are done, enter a password for your %s account and hit “Register”." +msgstr "Cuando termines, ingresa una contraseña para tu cuenta de %s y haz clic en “Registrarse”." + +msgid "When you are done, hit “Create player”." +msgstr "Cuando termines, haz clic en “Crear jugador”." + +msgid "Create player" +msgstr "Crear jugador" diff --git a/view/challenge.tmpl b/view/challenge.tmpl index 5e98bb4..e955b01 100644 --- a/view/challenge.tmpl +++ b/view/challenge.tmpl @@ -2,17 +2,21 @@ {{ define "content" }} {{ template "header" . }} -
- We need to verify that you own the - {{ .App.Config.ImportExistingPlayer.Nickname }} account - "{{ .PlayerName }}" before you register its UUID. -
+{{ call .T + "We need to verify that you own the %s account “%s” before you register its UUID." + .App.Config.ImportExistingPlayer.Nickname + .PlayerName + }}
- Download this image and set it as your skin on your - {{ .App.Config.ImportExistingPlayer.Nickname }} - account{{ if .App.Config.ImportExistingPlayer.SetSkinURL }}, here{{ end }}. -
+ {{ if .App.Config.ImportExistingPlayer.SetSkinURL }}{{ call .T + `Download this image and set it as your skin on your %s account, on this page.` + .App.Config.ImportExistingPlayer.Nickname + .App.Config.ImportExistingPlayer.SetSkinURL + }}{{ else }}{{ call .T + "Download this image and set it as your skin on your %s account." + .App.Config.ImportExistingPlayer.Nickname + }}{{ end }} {{ if eq .Action "register" }} {{ if .UseIDToken }} -- When you are done, hit "Register". -
+{{ call .T "When you are done, hit “Register”." }}
{{ else }} -- When you are done, enter a password for your {{ .App.Config.ApplicationName }} account and hit - "Register". -
+{{ call .T + "When you are done, enter a password for your %s account and hit “Register”." + .App.Config.ApplicationName + }}
{{ end }} {{ else if eq .Action "create-player" }} -- When you are done, hit "Create player". -
+{{ call .T "When you are done, hit “Create player”." }}
{{ end }} diff --git a/view/root.tmpl b/view/root.tmpl index 3abdd24..b8724e4 100644 --- a/view/root.tmpl +++ b/view/root.tmpl @@ -5,7 +5,7 @@ {{ define "content" }} {{ template "header" . }} - {{ $authlibInjectorA := render `{{ index . 1}}` .App.AuthlibInjectorURL .App.AuthlibInjectorURL }} + {{ $authlibInjectorLink := render `{{ index . 1}}` .App.AuthlibInjectorURL .App.AuthlibInjectorURL }}{{ call .T "Use the authlib-injector URL %s." $authlibInjectorA }}
+{{ call .T "Use the authlib-injector URL %s." $authlibInjectorLink }}
{{ call .T "Or, if your launcher supports custom API servers but not via authlib-injector, use the following URLs:" }}