From 19818deb93795378ffb36157d10ae58d3968e0bb Mon Sep 17 00:00:00 2001 From: Jan Hovancik Date: Thu, 1 Feb 2024 07:47:00 +0100 Subject: [PATCH] Fix menu options sometimes not being translated --- CHANGELOG.md | 2 +- app/preferences.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71e057e71..9d0ac574d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - transparency issues on Windows 10 -- Schedule options not being updated after change of language +- Schedule and Menu options not being updated after change of language - multiple RTL UI issues ## [1.15.1] - 2023-11-19 diff --git a/app/preferences.js b/app/preferences.js index f30b186b5..5ab14f205 100644 --- a/app/preferences.js +++ b/app/preferences.js @@ -194,6 +194,7 @@ window.onload = (e) => { document.querySelector('#longBreakEvery').closest('div').querySelector('output') .innerHTML = i18next.t('utils.minutes', { count: parseInt(realBreakInterval()) }) }) + htmlTranslate.translate() // sometimes few texts are not translated, so calling twice setWindowHeight() } }