Make end time label translatable

This commit is contained in:
Rafał Dzięgiel
2021-09-06 20:21:18 +02:00
parent 5cc9c17632
commit e8c44dc400
2 changed files with 2 additions and 1 deletions

View File

@@ -6,4 +6,5 @@ ui/preferences-window.ui
src/buttons.js
src/dialogs.js
src/revealers.js
src/widget.js

View File

@@ -167,7 +167,7 @@ class ClapperRevealerTop extends CustomRevealer
? endTime.format(this.timeFormat)
: 'unknown';
this.endTime.label = `Ends at: ${end}`;
this.endTime.label = _('Ends at: %s').format(end);
/* Make sure that next timeout is always run after clock changes,
* by delaying it for additional few milliseconds */