aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/src/js/app.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-10-28 15:16:19 +0200
committerArmand Philippot <git@armandphilippot.com>2021-10-28 15:16:19 +0200
commit5e6a81af7948dbd742e349dbb43f435de944f4e4 (patch)
tree4375fe4658e85d08d1924f348db05d90f909305c /htdocs/src/js/app.js
parentf6b4748685dc000d1dd8d244ddf11def38410940 (diff)
chore(i18n): translate the instructions on homepage
Diffstat (limited to 'htdocs/src/js/app.js')
-rw-r--r--htdocs/src/js/app.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/htdocs/src/js/app.js b/htdocs/src/js/app.js
index 13d63ef..efb4c33 100644
--- a/htdocs/src/js/app.js
+++ b/htdocs/src/js/app.js
@@ -331,9 +331,11 @@ function translateHTMLContent() {
const brandingDesc = document.querySelector('.branding__description');
const navLabel = document.querySelector('.nav__label');
const license = document.querySelector('.copyright__license');
+ const instructions = document.querySelector('.instructions');
brandingDesc.textContent = translate('branding.description');
navLabel.textContent = translate('nav.title');
license.title = translate('footer.license');
+ instructions.textContent = translate('main.instructions');
}
/**