From bf65c76ff9ce38f65a9e5feb872734e8d8e35eb6 Mon Sep 17 00:00:00 2001 From: sephrat <34862846+sephrat@users.noreply.github.com> Date: Thu, 11 Aug 2022 16:30:20 +0200 Subject: [PATCH] fix: Localize recently requested on discover page (#4729) [skip ci] --- .../components/detailed-card/detailed-card.component.html | 8 ++++---- src/Ombi/wwwroot/translations/en.json | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Ombi/ClientApp/src/app/components/detailed-card/detailed-card.component.html b/src/Ombi/ClientApp/src/app/components/detailed-card/detailed-card.component.html index 110edd02e..9cbfb09a8 100644 --- a/src/Ombi/ClientApp/src/app/components/detailed-card/detailed-card.component.html +++ b/src/Ombi/ClientApp/src/app/components/detailed-card/detailed-card.component.html @@ -11,15 +11,15 @@

{{request.title}}

-

Requested By: {{request.username}}

+

{{'MediaDetails.RequestedBy' | translate}} {{request.username}}

-

On: {{request.requestDate | amFromUtc | amLocal | amUserLocale | amDateFormat: 'l LT'}}

+

{{'MediaDetails.OnDate' | translate}} {{request.requestDate | amFromUtc | amLocal | amUserLocale | amDateFormat: 'l LT'}}

-

Status: {{getStatus(request) | translate}}

+

{{'MediaDetails.Status' | translate}} {{getStatus(request) | translate}}

- \ No newline at end of file + diff --git a/src/Ombi/wwwroot/translations/en.json b/src/Ombi/wwwroot/translations/en.json index de38effd3..e63c524d0 100644 --- a/src/Ombi/wwwroot/translations/en.json +++ b/src/Ombi/wwwroot/translations/en.json @@ -377,6 +377,7 @@ "PleaseSelectUser": "Please select a user", "StreamingOn": "Streaming On:", "RequestedBy": "Requested By:", + "OnDate": "On:", "RequestedByOn": "Requested By {{user}} on {{date}}", "RequestDate": "Request Date:", "DeniedReason": "Denied Reason:",