From cf72b34866e75677d854198a969f0263aed720c1 Mon Sep 17 00:00:00 2001 From: syeopite Date: Fri, 2 Apr 2021 16:17:31 -0700 Subject: [PATCH] Fix locale discrepancy for instance redirect btn --- locales/ar.json | 2 ++ locales/bn_BD.json | 2 ++ locales/cs.json | 2 ++ locales/da.json | 2 ++ locales/de.json | 2 ++ locales/el.json | 2 ++ locales/en-US.json | 2 +- locales/eo.json | 2 ++ locales/es.json | 2 ++ locales/eu.json | 2 ++ locales/fa.json | 2 ++ locales/fi.json | 2 ++ locales/fr.json | 2 ++ locales/he.json | 2 ++ locales/hr.json | 2 ++ locales/hu-HU.json | 2 ++ locales/id.json | 2 ++ locales/is.json | 2 ++ locales/it.json | 2 ++ locales/ja.json | 2 ++ locales/nb-NO.json | 2 ++ locales/nl.json | 2 ++ locales/pl.json | 2 ++ locales/pt-BR.json | 2 ++ locales/pt-PT.json | 2 ++ locales/ro.json | 2 ++ locales/ru.json | 2 ++ locales/si.json | 2 ++ locales/sk.json | 2 ++ locales/sr_Cyrl.json | 2 ++ locales/sv-SE.json | 2 ++ locales/tr.json | 2 ++ locales/uk.json | 2 ++ locales/zh-CN.json | 2 ++ locales/zh-TW.json | 2 ++ src/invidious/views/search.ecr | 2 +- 36 files changed, 70 insertions(+), 2 deletions(-) diff --git a/locales/ar.json b/locales/ar.json index 779ea61d..a14e4101 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -161,6 +161,8 @@ "Show more": "أظهر المزيد", "Show less": "عرض اقل", "Watch on YouTube": "مشاهدة الفيديو على اليوتيوب", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "إخفاء الملاحظات فى الفيديو", "Show annotations": "عرض الملاحظات فى الفيديو", "Genre: ": "النوع: ", diff --git a/locales/bn_BD.json b/locales/bn_BD.json index 2d3ace82..9b1df424 100644 --- a/locales/bn_BD.json +++ b/locales/bn_BD.json @@ -149,6 +149,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "", "Show annotations": "", "Genre: ": "", diff --git a/locales/cs.json b/locales/cs.json index 4cacf6b9..b85bcd10 100644 --- a/locales/cs.json +++ b/locales/cs.json @@ -161,6 +161,8 @@ "Show more": "Zobrazit více", "Show less": "Zobrazit méně", "Watch on YouTube": "Sledovat na YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Skrýt vysvětlivky", "Show annotations": "Zobrazit vysvětlivky", "Genre: ": "Žánr: ", diff --git a/locales/da.json b/locales/da.json index cf997bb9..525c9d0f 100644 --- a/locales/da.json +++ b/locales/da.json @@ -161,6 +161,8 @@ "Show more": "Vis mere", "Show less": "Vis mindre", "Watch on YouTube": "Se på YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Skjul annotationer", "Show annotations": "Vis annotationer", "Genre: ": "Genre: ", diff --git a/locales/de.json b/locales/de.json index 42e12815..2192fd97 100644 --- a/locales/de.json +++ b/locales/de.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Video auf YouTube ansehen", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Anmerkungen ausblenden", "Show annotations": "Anmerkungen anzeigen", "Genre: ": "Genre: ", diff --git a/locales/el.json b/locales/el.json index c55db8ef..9192edf3 100644 --- a/locales/el.json +++ b/locales/el.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Προβολή στο YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Απόκρυψη σημειώσεων", "Show annotations": "Προβολή σημειώσεων", "Genre: ": "Είδος: ", diff --git a/locales/en-US.json b/locales/en-US.json index 1f4cd8d6..6d6a88ea 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -162,7 +162,7 @@ "Show less": "Show less", "Watch on YouTube": "Watch on YouTube", "Switch Invidious Instance": "Switch Invidious Instance", - "Broken?": "Broken?", + "Broken? Try another Invidious Instance": "Broken? Try another Invidious Instance", "Hide annotations": "Hide annotations", "Show annotations": "Show annotations", "Genre: ": "Genre: ", diff --git a/locales/eo.json b/locales/eo.json index 23da15ab..5528845b 100644 --- a/locales/eo.json +++ b/locales/eo.json @@ -161,6 +161,8 @@ "Show more": "Montri pli", "Show less": "Montri malpli", "Watch on YouTube": "Vidi filmeton en JuTubo", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Kaŝi prinotojn", "Show annotations": "Montri prinotojn", "Genre: ": "Ĝenro: ", diff --git a/locales/es.json b/locales/es.json index 3727cb15..fa83d6dc 100644 --- a/locales/es.json +++ b/locales/es.json @@ -161,6 +161,8 @@ "Show more": "Mostrar más", "Show less": "Mostrar menos", "Watch on YouTube": "Ver el vídeo en Youtube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Ocultar anotaciones", "Show annotations": "Mostrar anotaciones", "Genre: ": "Género: ", diff --git a/locales/eu.json b/locales/eu.json index ff1c67b7..ec90b82e 100644 --- a/locales/eu.json +++ b/locales/eu.json @@ -143,6 +143,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "", "Show annotations": "", "Genre: ": "", diff --git a/locales/fa.json b/locales/fa.json index f8c33b8f..5bc99b60 100644 --- a/locales/fa.json +++ b/locales/fa.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "تماشا در یوتیوب", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "مخفی کردن حاشیه نویسی ها", "Show annotations": "نمایش حاشیه نویسی ها", "Genre: ": "ژانر: ", diff --git a/locales/fi.json b/locales/fi.json index 2092e994..f4aeae2b 100644 --- a/locales/fi.json +++ b/locales/fi.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Katso YouTubessa", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Piilota merkkaukset", "Show annotations": "Näytä merkkaukset", "Genre: ": "Genre: ", diff --git a/locales/fr.json b/locales/fr.json index e912f913..21dd2798 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Voir la vidéo sur Youtube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Masquer les annotations", "Show annotations": "Afficher les annotations", "Genre: ": "Genre : ", diff --git a/locales/he.json b/locales/he.json index d924e11b..1645bd93 100644 --- a/locales/he.json +++ b/locales/he.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "צפייה ב־YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "", "Show annotations": "", "Genre: ": "Genre: ", diff --git a/locales/hr.json b/locales/hr.json index bebd3859..6c313666 100644 --- a/locales/hr.json +++ b/locales/hr.json @@ -161,6 +161,8 @@ "Show more": "Pokaži više", "Show less": "Pokaži manje", "Watch on YouTube": "Gledaj na YouTubeu", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Sakrij napomene", "Show annotations": "Prikaži napomene", "Genre: ": "Žanr: ", diff --git a/locales/hu-HU.json b/locales/hu-HU.json index 859fdef2..a25597d5 100644 --- a/locales/hu-HU.json +++ b/locales/hu-HU.json @@ -145,6 +145,8 @@ "Watch on YouTube": "Megtekintés a YouTube-on", "Hide annotations": "Szövegmagyarázat elrejtése", "Show annotations": "Szövegmagyarázat mutatása", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Genre: ": "Műfaj: ", "License: ": "Licensz: ", "Family friendly? ": "Családbarát? ", diff --git a/locales/id.json b/locales/id.json index ce98f87b..5cf3e65c 100644 --- a/locales/id.json +++ b/locales/id.json @@ -161,6 +161,8 @@ "Show more": "Tampilkan lainnya", "Show less": "Tampilkan lebih sedikit", "Watch on YouTube": "Tonton di YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Sembunyikan anotasi", "Show annotations": "Tampilkan anotasi", "Genre: ": "Genre: ", diff --git a/locales/is.json b/locales/is.json index a847080a..d80e10e2 100644 --- a/locales/is.json +++ b/locales/is.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Horfa á YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Fela glósur", "Show annotations": "Sýna glósur", "Genre: ": "Tegund: ", diff --git a/locales/it.json b/locales/it.json index 09b5b447..e1446f8b 100644 --- a/locales/it.json +++ b/locales/it.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Guarda su YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Nascondi annotazioni", "Show annotations": "Mostra annotazioni", "Genre: ": "Genere: ", diff --git a/locales/ja.json b/locales/ja.json index 41d727db..80cbdd81 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -161,6 +161,8 @@ "Show more": "表示を増やす", "Show less": "表示を減らす", "Watch on YouTube": "YouTube で視聴", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "アノテーションを隠す", "Show annotations": "アノテーションを表示", "Genre: ": "ジャンル: ", diff --git a/locales/nb-NO.json b/locales/nb-NO.json index cb95c2dc..55e0da68 100644 --- a/locales/nb-NO.json +++ b/locales/nb-NO.json @@ -161,6 +161,8 @@ "Show more": "Vis mer", "Show less": "Vis mindre", "Watch on YouTube": "Vis video på YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Skjul merknader", "Show annotations": "Vis merknader", "Genre: ": "Sjanger: ", diff --git a/locales/nl.json b/locales/nl.json index c9da1875..c73952ee 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -161,6 +161,8 @@ "Show more": "Toon meer", "Show less": "Toon minder", "Watch on YouTube": "Video bekijken op YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Annotaties verbergen", "Show annotations": "Annotaties tonen", "Genre: ": "Genre: ", diff --git a/locales/pl.json b/locales/pl.json index f31293d3..ac170c0a 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -161,6 +161,8 @@ "Show more": "Pokaż więcej", "Show less": "Pokaż mniej", "Watch on YouTube": "Zobacz film na YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Ukryj adnotacje", "Show annotations": "Pokaż adnotacje", "Genre: ": "Gatunek: ", diff --git a/locales/pt-BR.json b/locales/pt-BR.json index 04971d6c..8a112a8a 100644 --- a/locales/pt-BR.json +++ b/locales/pt-BR.json @@ -161,6 +161,8 @@ "Show more": "Mostrar mais", "Show less": "Mostrar menos", "Watch on YouTube": "Assistir no YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Ocultar anotações", "Show annotations": "Mostrar anotações", "Genre: ": "Gênero: ", diff --git a/locales/pt-PT.json b/locales/pt-PT.json index 43ffc7d8..4555f870 100644 --- a/locales/pt-PT.json +++ b/locales/pt-PT.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Ver no YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Ocultar anotações", "Show annotations": "Mostrar anotações", "Genre: ": "Género: ", diff --git a/locales/ro.json b/locales/ro.json index 498104d8..e021a622 100644 --- a/locales/ro.json +++ b/locales/ro.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Urmăriți videoclipul pe YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Ascundeți adnotările", "Show annotations": "Afișați adnotările", "Genre: ": "Categorie: ", diff --git a/locales/ru.json b/locales/ru.json index 7d238cd0..db1be8ea 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Смотреть на YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Скрыть аннотации", "Show annotations": "Показать аннотации", "Genre: ": "Жанр: ", diff --git a/locales/si.json b/locales/si.json index 57ed22a3..3ff9b4ed 100644 --- a/locales/si.json +++ b/locales/si.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "", "Show annotations": "", "Genre: ": "", diff --git a/locales/sk.json b/locales/sk.json index 30495e9a..eb696e5b 100644 --- a/locales/sk.json +++ b/locales/sk.json @@ -149,6 +149,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "", "Show annotations": "", "Genre: ": "", diff --git a/locales/sr_Cyrl.json b/locales/sr_Cyrl.json index 6c72c9ed..2f5a5f60 100644 --- a/locales/sr_Cyrl.json +++ b/locales/sr_Cyrl.json @@ -143,6 +143,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Гледајте на YouTube-у", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Сакриј анотације", "Show annotations": "Прикажи анотације", "Genre: ": "Жанр: ", diff --git a/locales/sv-SE.json b/locales/sv-SE.json index 8b093e7d..8ecc5424 100644 --- a/locales/sv-SE.json +++ b/locales/sv-SE.json @@ -161,6 +161,8 @@ "Show more": "Visa mer", "Show less": "Visa mindre", "Watch on YouTube": "Titta på YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Dölj länkar-i-video", "Show annotations": "Visa länkar-i-video", "Genre: ": "Genre: ", diff --git a/locales/tr.json b/locales/tr.json index e16c1217..2314b4ab 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -161,6 +161,8 @@ "Show more": "Daha fazla göster", "Show less": "Daha az göster", "Watch on YouTube": "YouTube'da izle", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Ek açıklamaları gizle", "Show annotations": "Ek açıklamaları göster", "Genre: ": "Tür: ", diff --git a/locales/uk.json b/locales/uk.json index 371ecafa..ca44e3bb 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -161,6 +161,8 @@ "Show more": "", "Show less": "", "Watch on YouTube": "Дивитися на YouTube", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "Приховати анотації", "Show annotations": "Показати анотації", "Genre: ": "Жанр: ", diff --git a/locales/zh-CN.json b/locales/zh-CN.json index 050e3071..28935e4a 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -161,6 +161,8 @@ "Show more": "显示更多", "Show less": "显示较少", "Watch on YouTube": "在 YouTube 观看", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "隐藏注释", "Show annotations": "显示注释", "Genre: ": "风格: ", diff --git a/locales/zh-TW.json b/locales/zh-TW.json index 1affeb3f..bdae7678 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.json @@ -161,6 +161,8 @@ "Show more": "顯示更多", "Show less": "顯示較少", "Watch on YouTube": "在 YouTube 上觀看", + "Switch Invidious Instance": "", + "Broken? Try another Invidious Instance": "", "Hide annotations": "隱藏註釋", "Show annotations": "顯示註釋", "Genre: ": "風格: ", diff --git a/src/invidious/views/search.ecr b/src/invidious/views/search.ecr index db0a8d56..f5e3e39b 100644 --- a/src/invidious/views/search.ecr +++ b/src/invidious/views/search.ecr @@ -5,7 +5,7 @@ <% if count == 0 %>

- <%= translate(locale, "Broken?") %> "><%= translate(locale, "Switch Invidious Instance") %> + "><%= translate(locale, "Broken? Try another Invidious Instance!") %>

<% else %>