diff --git a/client/src/app/+page-not-found/page-not-found.component.html b/client/src/app/+page-not-found/page-not-found.component.html index efd3cc9f9..1e25e4495 100644 --- a/client/src/app/+page-not-found/page-not-found.component.html +++ b/client/src/app/+page-not-found/page-not-found.component.html @@ -3,8 +3,9 @@ {{ status }}. That's an error. -
- We couldn't find any {{ getRessourceName() }} tied to the URL {{ pathname }} you were looking for. +
+ We couldn't find any video tied to the URL {{ pathname }} you were looking for. + We couldn't find any resource tied to the URL {{ pathname }} you were looking for.
@@ -12,7 +13,10 @@
@@ -22,8 +26,9 @@ {{ status }}. You are not authorized here. -
- You might need to check your account is allowed by the {{ getRessourceName() }} or instance owner. +
+ You might need to check your account is allowed by the video or instance owner. + You might need to check your account is allowed by the resource or instance owner.
diff --git a/client/src/app/+page-not-found/page-not-found.component.ts b/client/src/app/+page-not-found/page-not-found.component.ts index 9302201ea..94b4c8d27 100644 --- a/client/src/app/+page-not-found/page-not-found.component.ts +++ b/client/src/app/+page-not-found/page-not-found.component.ts @@ -32,15 +32,6 @@ export class PageNotFoundComponent implements OnInit { return window.location.pathname } - getRessourceName () { - switch (this.type) { - case 'video': - return $localize`video` - default: - return $localize`ressource` - } - } - getMascotName () { switch (this.status) { case HttpStatusCode.I_AM_A_TEAPOT_418: