From 6510fe9a9e753542aa239e9927027699d4bd15bf Mon Sep 17 00:00:00 2001 From: Niko Date: Wed, 16 Feb 2022 19:56:32 +0100 Subject: [PATCH] Added new strings on pages.meet --- web/src/app/js/pages/meet.js | 2 +- web/src/app/js/templates/meet/actions.html | 4 ++-- web/src/app/js/templates/meet/item.html | 2 +- web/src/config/lang/en.php | 7 +++++++ web/src/config/lang/es.php | 7 +++++++ 5 files changed, 18 insertions(+), 4 deletions(-) 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/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', + ], ];