Added locales for login flow + some css improvements on /web
This commit is contained in:
parent
697204fe7b
commit
ff59a48ee1
|
@ -81,9 +81,14 @@ header#web table div.profile > img {
|
|||
header#web table span.brand {
|
||||
color: #3e78a2;
|
||||
font-size: .9em;
|
||||
font-weight: bold;
|
||||
word-wrap: anywhere;
|
||||
line-height: 1.2em;
|
||||
top: .4em;
|
||||
}
|
||||
@media (max-width: 500px) {
|
||||
header#web table span.brand {
|
||||
font-size: .8em !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -64,7 +64,8 @@ if ($function === 'oauth') {
|
|||
<?php if ($function === 'view'): ?>
|
||||
<?php if ($login_method === null): ?>
|
||||
|
||||
<h4><?php l('login.login_with_fediverse', 'Use RealFan with your Fediverse account') ?></h4>
|
||||
<h4><?php l('login.login_with_fediverse', 'Use RealFan with the Fediverse') ?></h4>
|
||||
<br>
|
||||
<div class="center login-buttons">
|
||||
<div class="_">
|
||||
<a href="/login/mastodon" class="button button-primary bg-mastodon">
|
||||
|
@ -83,7 +84,7 @@ if ($function === 'oauth') {
|
|||
<h4><?php l('login.login_with_mastodon', 'Log In using Mastodon') ?></h4>
|
||||
<div class="columns">
|
||||
<label for="instanceURL"><?php l('login.select_instance', 'Select your instance') ?></label>
|
||||
<input class="u-full-width" type="text" placeholder="example.org" id="instanceURL"
|
||||
<input class="u-full-width" type="text" placeholder="<?php l('login.example_domain', 'example.org') ?>" id="instanceURL"
|
||||
onkeypress="if (event.keyCode == 13) API.mastodon.registerInstance(null)"/>
|
||||
<div class="right">
|
||||
<input onclick="API.mastodon.registerInstance(null)" class="button-primary u-full-width bg-mastodon"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"all": {
|
||||
"app_name": "RealFan",
|
||||
"continue": "Continuar",
|
||||
"_": ""
|
||||
},
|
||||
"home": {
|
||||
|
@ -10,5 +11,15 @@
|
|||
"hero": "Eres un <b>Real Fan</b> cuando deseas que tus creadores de contenido se lleven la mayor parte.",
|
||||
"_": ""
|
||||
},
|
||||
"login": {
|
||||
"login_with_fediverse": "Usa RealFan con el Fediverso",
|
||||
"login_mastodon": "Yo uso Mastodon",
|
||||
"dont_have_mastodon": "¿No tienes Mastodon?",
|
||||
"choose_community": "elige una comunidad",
|
||||
"login_with_mastodon": "Entrar con Mastodon",
|
||||
"select_instance": "Elige tu instancia",
|
||||
"example_domain": "ejemplo.org",
|
||||
"_": ""
|
||||
},
|
||||
"_": ""
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue