Added new strings on pages.meet

This commit is contained in:
Niko 2022-02-16 19:56:32 +01:00
parent 1a1ff39df0
commit 6510fe9a9e
5 changed files with 18 additions and 4 deletions

View File

@ -28,7 +28,7 @@ app.pages.meet = {
const dom = document.querySelector('#page-meet #actions');
dom.innerHTML = '';
dom.style.height = '6em';
var tpl = app.template.get('meet.actions');
var tpl = app.template.fill({}, app.template.get('meet.actions'));
dom.innerHTML += tpl;
}; _();
var index = app.storage.get('status_meet_index');

View File

@ -1,14 +1,14 @@
<div id="meet-actions" class="height-max flex">
<div class="flex center">
<a class="component icon button light round"
title="{s:alt_nav-close}"
title="{s:alt.nav_close}"
href="javascript:app.pages.meet.exit()"
style="position: absolute; left: 0; margin-left: .5em;">
<div class="ic-container flex">
<i class="center fa fa-close fa-fw"></i>
</div>
</a>
<a class="component icon button light round" title="{s:alt_nav-crush}"
<a class="component icon button light round" title="{s:alt.nav_crush}"
href="javascript:app.pages.meet.crush()">
<div class="ic-container flex">
<i class="center fa fa-heart fa-fw"></i>

View File

@ -30,7 +30,7 @@
<span class="bigname">{.account.name}</span><br>
<span class="acct">@{.account.acct}</span><br>
<br>
<span>25 {s:years_old}</span>
<span>25 {s:app.years_old}</span>
</div>
</div>
</div>

View File

@ -1,9 +1,16 @@
<?php
$strings = [
'alt' => [
'nav_crush' => 'Mark this person as your new crush!',
'nav_close' => 'Close this window',
],
'form' => [
'login' => 'Log in',
'email' => 'E-mail',
'password' => 'Password',
],
'app' => [
'years_old' => 'y/o',
],
];

View File

@ -1,9 +1,16 @@
<?php
$strings = [
'alt' => [
'nav_crush' => '¡Marcar a esta persona como tu nuevo crush!',
'nav_close' => 'Cerrar esta ventana',
],
'form' => [
'login' => 'Iniciar sesión',
'email' => 'E-mail',
'password' => 'Contraseña',
],
'app' => [
'years_old' => 'Años',
],
];