mirror of
https://github.com/unmojang/drasl.git
synced 2025-08-03 02:46:03 -04:00
i18n challenge.tmpl
This commit is contained in:
parent
ed3cf48a6b
commit
0117ad3c95
@ -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 <a target=\"_blank\" href=\"%s\">this page</a>."
|
||||
msgstr "Descarga esta imagen y configúrala como tu skin en tu cuenta de %s, en <a target=\"_blank\" href=\"%s\">esta página</a>."
|
||||
|
||||
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"
|
||||
|
@ -2,17 +2,21 @@
|
||||
{{ define "content" }}
|
||||
{{ template "header" . }}
|
||||
|
||||
<p>
|
||||
We need to verify that you own the
|
||||
{{ .App.Config.ImportExistingPlayer.Nickname }} account
|
||||
"{{ .PlayerName }}" before you register its UUID.
|
||||
</p>
|
||||
<p>{{ call .T
|
||||
"We need to verify that you own the %s account “%s” before you register its UUID."
|
||||
.App.Config.ImportExistingPlayer.Nickname
|
||||
.PlayerName
|
||||
}}</p>
|
||||
|
||||
<p>
|
||||
Download this image and set it as your skin on your
|
||||
{{ .App.Config.ImportExistingPlayer.Nickname }}
|
||||
account{{ if .App.Config.ImportExistingPlayer.SetSkinURL }}, <a target="_blank" href="{{ .App.Config.ImportExistingPlayer.SetSkinURL }}">here</a>{{ end }}.
|
||||
</p>
|
||||
{{ if .App.Config.ImportExistingPlayer.SetSkinURL }}{{ call .T
|
||||
`Download this image and set it as your skin on your %s account, on <a target="_blank" href="%s">this page</a>.`
|
||||
.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 }}</p>
|
||||
|
||||
<div style="text-align: center">
|
||||
<img
|
||||
@ -20,53 +24,45 @@
|
||||
width="256"
|
||||
height="256"
|
||||
style="image-rendering: pixelated; width: 256px;"
|
||||
alt="{{ .App.Config.ApplicationName }} verification skin"
|
||||
alt="{{ call .T "%s verification skin" .App.Config.ApplicationName }}"
|
||||
/>
|
||||
<p>
|
||||
<a
|
||||
download="{{ .SkinFilename }}"
|
||||
href="data:image/png;base64,{{ .SkinBase64 }}"
|
||||
>Download skin</a
|
||||
>
|
||||
<a download="{{ call .T "%s-verification-skin.png" .PlayerName }}" href="data:image/png;base64,{{ .SkinBase64 }}">{{ call .T "Download skin" }}</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
{{ if eq .Action "register" }}
|
||||
{{ if .UseIDToken }}
|
||||
<p>
|
||||
When you are done, hit "Register".
|
||||
</p>
|
||||
<p>{{ call .T "When you are done, hit “Register”." }}</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
When you are done, enter a password for your {{ .App.Config.ApplicationName }} account and hit
|
||||
"Register".
|
||||
</p>
|
||||
<p>{{ call .T
|
||||
"When you are done, enter a password for your %s account and hit “Register”."
|
||||
.App.Config.ApplicationName
|
||||
}}</p>
|
||||
{{ end }}
|
||||
<form action="{{ .App.FrontEndURL }}/web/register" method="post">
|
||||
<input hidden type="text" name="playerName" value="{{ .PlayerName }}"
|
||||
/>
|
||||
{{ if not .UseIDToken }}
|
||||
<input type="password" name="password" placeholder="Password" required />
|
||||
<input type="password" name="password" placeholder="{{ call .T "Password" }}" required />
|
||||
{{ end }}
|
||||
<input hidden type="checkbox" name="existingPlayer" checked />
|
||||
<input hidden type="checkbox" name="useIdToken" {{ if .UseIDToken }}checked{{ end }} />
|
||||
<input hidden name="challengeToken" value="{{ .ChallengeToken }}" />
|
||||
<input hidden name="inviteCode" value="{{ .InviteCode }}" />
|
||||
<input hidden name="returnUrl" value="{{ .URL }}" />
|
||||
<input type="submit" value="Register" />
|
||||
<input type="submit" value="{{ call .T "Register" }}" />
|
||||
</form>
|
||||
{{ else if eq .Action "create-player" }}
|
||||
<p>
|
||||
When you are done, hit "Create player".
|
||||
</p>
|
||||
<p>{{ call .T "When you are done, hit “Create player”." }}</p>
|
||||
<form action="{{ .App.FrontEndURL }}/web/create-player" method="post">
|
||||
<input hidden name="userUuid" value="{{ .UserUUID }}"/>
|
||||
<input hidden name="playerName" value="{{ .PlayerName }}"/>
|
||||
<input hidden type="checkbox" name="existingPlayer" checked />
|
||||
<input hidden name="challengeToken" value="{{ .ChallengeToken }}" />
|
||||
<input hidden name="returnUrl" value="{{ .URL }}" />
|
||||
<input type="submit" value="Create player" />
|
||||
<input type="submit" value="{{ call .T "Create player" }}" />
|
||||
</form>
|
||||
{{ end }}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
{{ define "content" }}
|
||||
{{ template "header" . }}
|
||||
|
||||
{{ $authlibInjectorA := render `<a href="{{ index . 0}}">{{ index . 1}}</a>` .App.AuthlibInjectorURL .App.AuthlibInjectorURL }}
|
||||
{{ $authlibInjectorLink := render `<a href="{{ index . 0}}">{{ index . 1}}</a>` .App.AuthlibInjectorURL .App.AuthlibInjectorURL }}
|
||||
|
||||
<h3>{{ call .T "Log in" }}</h3>
|
||||
|
||||
@ -61,7 +61,7 @@
|
||||
<li>{{ call .T
|
||||
"Enter your player name and your %s password or Minecraft Token, and use %s for the URL. Click “OK”."
|
||||
.App.Config.ApplicationName
|
||||
$authlibInjectorA
|
||||
$authlibInjectorLink
|
||||
}}</li>
|
||||
</ol>
|
||||
|
||||
@ -72,7 +72,7 @@
|
||||
<li>
|
||||
{{ call .T
|
||||
"At the bottom left, click “New Auth Server” and enter %s. Click “Next” and then “Finish”."
|
||||
$authlibInjectorA
|
||||
$authlibInjectorLink
|
||||
}}
|
||||
</li>
|
||||
<li>
|
||||
@ -86,7 +86,7 @@
|
||||
|
||||
<h4>{{ call .T "Other launchers" }}</h4>
|
||||
|
||||
<p>{{ call .T "Use the authlib-injector URL %s." $authlibInjectorA }}</p>
|
||||
<p>{{ call .T "Use the authlib-injector URL %s." $authlibInjectorLink }}</p>
|
||||
|
||||
<p>{{ call .T "Or, if your launcher supports custom API servers but not via authlib-injector, use the following URLs:" }}</p>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user