mirror of
https://github.com/unmojang/drasl.git
synced 2025-09-07 14:14:46 -04:00
i18n complete-registration.tmpl
This commit is contained in:
parent
54f1b49b44
commit
1ab89cf63d
@ -153,3 +153,30 @@ msgstr "Continuar"
|
|||||||
|
|
||||||
msgid "Register"
|
msgid "Register"
|
||||||
msgstr "Registrarse"
|
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"
|
||||||
|
@ -14,20 +14,20 @@
|
|||||||
<div class="divider">or</div>
|
<div class="divider">or</div>
|
||||||
{{ $dividerNeeded = false }}
|
{{ $dividerNeeded = false }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<h3>Migrate an existing user</h3>
|
<h3>{{ call .T "Migrate an existing user" }}</h3>
|
||||||
|
|
||||||
<p>You can link this identity provider to an existing {{ .App.Config.ApplicationName }} account. <span class="warning-message">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.</span></p>
|
<p>{{ call .T "You can link this identity provider to an existing %s account." }} <span class="warning-message">{{ 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." }}</span></p>
|
||||||
|
|
||||||
<form action="{{ .App.FrontEndURL }}/web/oidc-migrate" method="post">
|
<form action="{{ .App.FrontEndURL }}/web/oidc-migrate" method="post">
|
||||||
<input type="text" name="username" placeholder="Username" required />
|
<input type="text" name="username" placeholder="{{ call .T "Username" }}" required />
|
||||||
<input hidden name="returnUrl" value="{{ .URL }}" />
|
<input hidden name="returnUrl" value="{{ .URL }}" />
|
||||||
<input
|
<input
|
||||||
type="password"
|
type="password"
|
||||||
name="password"
|
name="password"
|
||||||
placeholder="Password"
|
placeholder="{{ call .T "Password" }}"
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
<input type="submit" value="Link account" />
|
<input type="submit" value="{{ call .T "Link account" }}" />
|
||||||
</form>
|
</form>
|
||||||
{{ $dividerNeeded := true }}
|
{{ $dividerNeeded := true }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
@ -35,34 +35,28 @@
|
|||||||
<!-- CreateNewPlayer -->
|
<!-- CreateNewPlayer -->
|
||||||
{{ if .App.Config.CreateNewPlayer.Allow }}
|
{{ if .App.Config.CreateNewPlayer.Allow }}
|
||||||
{{ if $dividerNeeded }}
|
{{ if $dividerNeeded }}
|
||||||
<div class="divider">or</div>
|
<div class="divider">{{ call .T "or" }}</div>
|
||||||
{{ $dividerNeeded = false }}
|
{{ $dividerNeeded = false }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<h3>Create a player</h3>
|
<h3>{{ call .T "Create a player" }}</h3>
|
||||||
{{ if .App.Config.CreateNewPlayer.AllowChoosingUUID }}
|
{{ if .App.Config.CreateNewPlayer.AllowChoosingUUID }}
|
||||||
<p>Complete registration by creating a new player:</p>
|
<p>{{ call .T "Complete registration by creating a new player:" }}</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<p>Complete registration by creating a new player with a random UUID:</p>
|
<p>{{ call .T "Complete registration by creating a new player with a random UUID:" }}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<form action="{{ .App.FrontEndURL }}/web/register" method="post">
|
<form action="{{ .App.FrontEndURL }}/web/register" method="post">
|
||||||
<input
|
<input
|
||||||
required
|
required
|
||||||
type="text"
|
type="text"
|
||||||
name="playerName"
|
name="playerName"
|
||||||
placeholder="Player name"
|
placeholder="{{ call .T "Player name" }}"
|
||||||
maxlength="{{ .App.Constants.MaxUsernameLength }}"
|
maxlength="{{ .App.Constants.MaxUsernameLength }}"
|
||||||
value="{{ .PreferredPlayerName }}"
|
value="{{ .PreferredPlayerName }}"
|
||||||
{{ if not .AllowChoosingPlayerName }}
|
{{ if not .AllowChoosingPlayerName }}
|
||||||
title="Choosing a player name is not allowed."
|
title="{{ call .T "Choosing a player name is not allowed." }}"
|
||||||
disabled
|
disabled
|
||||||
{{ end }}
|
{{ end }}
|
||||||
/>
|
/>
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
name="email"
|
|
||||||
placeholder="Leave this blank"
|
|
||||||
class="honeypot"
|
|
||||||
/>
|
|
||||||
<input
|
<input
|
||||||
hidden
|
hidden
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
@ -75,7 +69,7 @@
|
|||||||
class="long"
|
class="long"
|
||||||
type="text"
|
type="text"
|
||||||
name="uuid"
|
name="uuid"
|
||||||
placeholder="Player UUID (leave blank for random)"
|
placeholder="{{ call .T "Player UUID (leave blank for random)" }}"
|
||||||
pattern="^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$"
|
pattern="^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$"
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
@ -83,10 +77,10 @@
|
|||||||
<input type="text" name="inviteCode" value="{{ .InviteCode }}" hidden />
|
<input type="text" name="inviteCode" value="{{ .InviteCode }}" hidden />
|
||||||
<input hidden name="returnUrl" value="{{ .URL }}" />
|
<input hidden name="returnUrl" value="{{ .URL }}" />
|
||||||
{{ if .InviteCode }}
|
{{ if .InviteCode }}
|
||||||
<p><em>Using invite code {{ .InviteCode }}</em></p>
|
<p><em>{{ call .T "Using invite code %s" .InviteCode }}</em></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<p>
|
<p>
|
||||||
<input type="submit" value="Register" />
|
<input type="submit" value="{{ call .T "Register" }}"/>
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
{{ $dividerNeeded = true }}
|
{{ $dividerNeeded = true }}
|
||||||
@ -95,34 +89,35 @@
|
|||||||
<!-- ImportExistingPlayer -->
|
<!-- ImportExistingPlayer -->
|
||||||
{{ if .App.Config.ImportExistingPlayer.Allow }}
|
{{ if .App.Config.ImportExistingPlayer.Allow }}
|
||||||
{{ if $dividerNeeded }}
|
{{ if $dividerNeeded }}
|
||||||
<div class="divider">or</div>
|
<div class="divider">{{ call .T "or" }}</div>
|
||||||
{{ $dividerNeeded = false }}
|
{{ $dividerNeeded = false }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<h3>Register from an existing Minecraft player</h3>
|
<h3>{{ call .T "Register from an existing Minecraft player" }}</h3>
|
||||||
{{ if and .App.Config.RegistrationExistingPlayer.RequireInvite (not
|
{{ if and .App.Config.RegistrationExistingPlayer.RequireInvite (not
|
||||||
.InviteCode)
|
.InviteCode)
|
||||||
}}
|
}}
|
||||||
<p>Registration as an existing player is invite-only.</p>
|
<p>{{ call .T "Registration as an existing player is invite-only." }}</p>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if .App.Config.ImportExistingPlayer.RequireSkinVerification }}
|
{{ if .App.Config.ImportExistingPlayer.RequireSkinVerification }}
|
||||||
<p>
|
<p>
|
||||||
Register a new account with the UUID of an existing
|
{{ call .T
|
||||||
{{ .App.Config.ImportExistingPlayer.Nickname }} account.
|
"Register a new account with the UUID of an existing %s account. Requires verification that you own the account."
|
||||||
Requires verification that you own the account.
|
.App.Config.ImportExistingPlayer.Nickname
|
||||||
|
}}
|
||||||
</p>
|
</p>
|
||||||
{{ if .InviteCode }}
|
{{ if .InviteCode }}
|
||||||
<p><em>Using invite code {{ .InviteCode }}</em></p>
|
<p><em>{{ call .T "Using invite code %s" .InviteCode }}</em></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<form action="{{ .App.FrontEndURL }}/web/register-challenge" method="get">
|
<form action="{{ .App.FrontEndURL }}/web/register-challenge" method="get">
|
||||||
<input
|
<input
|
||||||
required
|
required
|
||||||
type="text"
|
type="text"
|
||||||
name="playerName"
|
name="playerName"
|
||||||
placeholder="{{ .App.Config.ImportExistingPlayer.Nickname }} Player name"
|
placeholder="{{ call .T "%s player name" .App.Config.ImportExistingPlayer.Nickname }}"
|
||||||
maxlength="{{ .App.Constants.MaxUsernameLength }}"
|
maxlength="{{ .App.Constants.MaxUsernameLength }}"
|
||||||
{{ if not .AllowChoosingPlayerName }}
|
{{ if not .AllowChoosingPlayerName }}
|
||||||
value="{{ .PreferredPlayerName }}"
|
value="{{ .PreferredPlayerName }}"
|
||||||
title="Choosing a player name is not allowed."
|
title="{{ call .T "Choosing a player name is not allowed." }}"
|
||||||
disabled
|
disabled
|
||||||
{{ end }}
|
{{ end }}
|
||||||
/>
|
/>
|
||||||
@ -139,19 +134,21 @@
|
|||||||
value="{{ .InviteCode }}"
|
value="{{ .InviteCode }}"
|
||||||
/>
|
/>
|
||||||
<input hidden name="returnUrl" value="{{ .URL }}" />
|
<input hidden name="returnUrl" value="{{ .URL }}" />
|
||||||
<input type="submit" value="Continue" />
|
<input type="submit" value="{{ call .T "Continue" }}" />
|
||||||
</form>
|
</form>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<p>
|
<p>
|
||||||
Register a new account with the UUID of an existing
|
{{ call .T
|
||||||
{{ .App.Config.ImportExistingPlayer.Nickname }} account.
|
"Register a new account with the UUID of an existing %s account"
|
||||||
|
.App.Config.ImportExistingPlayer.Nickname
|
||||||
|
}}
|
||||||
</p>
|
</p>
|
||||||
<form action="{{ .App.FrontEndURL }}/web/register" method="post">
|
<form action="{{ .App.FrontEndURL }}/web/register" method="post">
|
||||||
<input
|
<input
|
||||||
required
|
required
|
||||||
type="text"
|
type="text"
|
||||||
name="playerName"
|
name="playerName"
|
||||||
placeholder="{{ .App.Config.ImportExistingPlayer.Nickname }} Player name"
|
placeholder="{{ call .T "%s player name" .App.Config.ImportExistingPlayer.Nickname }}"
|
||||||
maxlength="{{ .App.Constants.MaxUsernameLength }}"
|
maxlength="{{ .App.Constants.MaxUsernameLength }}"
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
@ -168,9 +165,9 @@
|
|||||||
value="{{ .InviteCode }}"
|
value="{{ .InviteCode }}"
|
||||||
/>
|
/>
|
||||||
{{ if .InviteCode }}
|
{{ if .InviteCode }}
|
||||||
<p><em>Using invite code {{ .InviteCode }}</em></p>
|
<p><em>{{ call .T "Using invite code %s" .InviteCode }}</em></p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<input type="submit" value="Register" />
|
<input type="submit" value="{{ call .T "Register" }}" />
|
||||||
</form>
|
</form>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user