Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Better title for the date component

Chocobozzze6b455b4ea34
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 0c3949f115..c0060aba15 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 () {