diff --git a/client/src/app/shared/shared-main/date/date-toggle.component.ts b/client/src/app/shared/shared-main/date/date-toggle.component.ts index 0c3949f11..c0060aba1 100644 --- a/client/src/app/shared/shared-main/date/date-toggle.component.ts +++ b/client/src/app/shared/shared-main/date/date-toggle.component.ts @@ -24,9 +24,11 @@ export class DateToggleComponent implements OnChanges { } getTitle () { - return this.toggled + const target = this.toggled ? this.dateRelative : this.dateAbsolute + + return $localize`Toggle this date format to "${target}"` } getContent () {