aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found/page-not-found.component.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-04-11 11:30:00 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-04-12 09:02:01 +0200
commit86598013a3ebef47bf1c94fb3559fbf1c6e1a510 (patch)
treedc64b9bc55fee5dbadfabef68bbd847bd3d2291e /client/src/app/+page-not-found/page-not-found.component.ts
parenta44be3bf8b7d15198b23b2d502bfd719c1d89a53 (diff)
downloadPeerTube-86598013a3ebef47bf1c94fb3559fbf1c6e1a510.tar.gz
PeerTube-86598013a3ebef47bf1c94fb3559fbf1c6e1a510.tar.zst
PeerTube-86598013a3ebef47bf1c94fb3559fbf1c6e1a510.zip
fix localization on page not found
Diffstat (limited to 'client/src/app/+page-not-found/page-not-found.component.ts')
-rw-r--r--client/src/app/+page-not-found/page-not-found.component.ts9
1 files changed, 0 insertions, 9 deletions
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 {
32 return window.location.pathname 32 return window.location.pathname
33 } 33 }
34 34
35 getRessourceName () {
36 switch (this.type) {
37 case 'video':
38 return $localize`video`
39 default:
40 return $localize`ressource`
41 }
42 }
43
44 getMascotName () { 35 getMascotName () {
45 switch (this.status) { 36 switch (this.status) {
46 case HttpStatusCode.I_AM_A_TEAPOT_418: 37 case HttpStatusCode.I_AM_A_TEAPOT_418: