diff --git a/web/src/app/js/pages/meet.js b/web/src/app/js/pages/meet.js index c913eb7..a7d255a 100644 --- a/web/src/app/js/pages/meet.js +++ b/web/src/app/js/pages/meet.js @@ -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'); diff --git a/web/src/app/js/templates/meet/actions.html b/web/src/app/js/templates/meet/actions.html index b2cdf86..a5140a1 100644 --- a/web/src/app/js/templates/meet/actions.html +++ b/web/src/app/js/templates/meet/actions.html @@ -1,14 +1,14 @@
-
diff --git a/web/src/app/js/templates/meet/item.html b/web/src/app/js/templates/meet/item.html index ea5155c..d4ef9a3 100644 --- a/web/src/app/js/templates/meet/item.html +++ b/web/src/app/js/templates/meet/item.html @@ -30,7 +30,7 @@ {.account.name}
@{.account.acct}

- 25 {s:years_old} + 25 {s:app.years_old}
diff --git a/web/src/config/lang/en.php b/web/src/config/lang/en.php index 7a102ec..3c00489 100644 --- a/web/src/config/lang/en.php +++ b/web/src/config/lang/en.php @@ -1,9 +1,16 @@ [ + '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', + ], ]; diff --git a/web/src/config/lang/es.php b/web/src/config/lang/es.php index a99bc9e..cd44b1e 100644 --- a/web/src/config/lang/es.php +++ b/web/src/config/lang/es.php @@ -1,9 +1,16 @@ [ + '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', + ], ];