diff --git a/gulp/tasks/translations.js b/gulp/tasks/translations.js index b425d15593..c650148640 100755 --- a/gulp/tasks/translations.js +++ b/gulp/tasks/translations.js @@ -18,6 +18,8 @@ const outDir = workDir + '/output'; // should mirror the fragment definitions in polymer.json, so that we load // additional resources at equivalent points. const TRANSLATION_FRAGMENTS = [ + 'history', + 'logbook', 'shopping-list', ]; diff --git a/panels/history/ha-panel-history.html b/panels/history/ha-panel-history.html index fe690fd4ab..ea6a4703e6 100644 --- a/panels/history/ha-panel-history.html +++ b/panels/history/ha-panel-history.html @@ -14,6 +14,7 @@ + @@ -52,7 +53,7 @@ - History + [[localize('panel.history')]] @@ -61,22 +62,22 @@ - 1 day - 3 days - 1 week + [[localize('ui.duration.day', 'count', 1)]] + [[localize('ui.duration.day', 'count', 3)]] + [[localize('ui.duration.week', 'count', 1)]] @@ -91,7 +92,10 @@