From 54b372dad72016d6e2aa7d34f1dd04f3631f67f0 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Wed, 18 May 2022 22:47:32 -0300 Subject: [PATCH] Translate placeholders... --- js/script.js | 2 +- templates/fake.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 7588bed..d365b01 100644 --- a/js/script.js +++ b/js/script.js @@ -972,7 +972,7 @@ View.prototype = { ] }, placeholder: { - text: 'Create a note…', + text: t('quicknotes', 'Create a note…'), hideOnClick: false }, autoLink: true, diff --git a/templates/fake.php b/templates/fake.php index 73b15c4..540c3ae 100644 --- a/templates/fake.php +++ b/templates/fake.php @@ -2,6 +2,7 @@ /** * This is a fake script just to translate the strings inside handlebars. */ +p($l->t('Title')); p($l->t('Delete attachment')); p($l->t('Attach file')); p($l->t('Shared'));