Invidious is an alternative front-end to YouTube
Add support for Turkish translation
Omar Roth466a5a932bcd
diff --git a/locales/tr.json b/locales/tr.jsonindex 10634ec6..c47170b9 100644--- a/locales/tr.json+++ b/locales/tr.json@@ -1,7 +1,5 @@{- "`x` subscribers.([^0-9]|^)1([^,0-9]|$)": "`x` abone.([^0-9]|^)1([^,0-9]|$)","`x` subscribers.": "`x` abone.",- "`x` videos.([^0-9]|^)1([^,0-9]|$)": "`x` video.([^0-9]|^)1([^,0-9]|$)","`x` videos.": "`x` video.","LIVE": "CANLI","Shared `x` ago": "`x` önce paylaşıldı",@@ -114,15 +112,12 @@"Subscription manager": "Abonelik yöneticisi","Token manager": "Jeton yöneticisi","Token": "Jeton",- "`x` subscriptions.([^0-9]|^)1([^,0-9]|$)": "`x` abonelik.([^0-9]|^)1([^,0-9]|$)","`x` subscriptions.": "`x` abonelik.",- "`x` tokens.([^0-9]|^)1([^,0-9]|$)": "`x` jeton.([^0-9]|^)1([^,0-9]|$)","`x` tokens.": "`x` jeton.","Import/export": "İçe/dışa aktar","unsubscribe": "abonelikten çık","revoke": "geri al","Subscriptions": "Abonelikler",- "`x` unseen notifications.([^0-9]|^)1([^,0-9]|$)": "`x` okunmamış bildirim.([^0-9]|^)1([^,0-9]|$)","`x` unseen notifications.": "`x` okunmamış bildirim.","search": "ara","Log out": "Çıkış yap",@@ -143,7 +138,6 @@"Whitelisted regions: ": "Beyaz listeye alınan bölgeler: ","Blacklisted regions: ": "Kara listeye alınan bölgeler: ","Shared `x`": "`x` paylaşıldı",- "`x` views.([^0-9]|^)1([^,0-9]|$)": "`x` izlenme.([^0-9]|^)1([^,0-9]|$)","`x` views.": "`x` izlenme.","Premieres in `x`": "`x`içinde ilk gösterim","Premieres `x`": "`x` ilk gösterim",@@ -175,11 +169,9 @@"This channel does not exist.": "Bu kanal mevcut değil.","Could not get channel info.": "Kanal bilgisi alınamadı.","Could not fetch comments": "Yorumlar alınamadı",- "View `x` replies.([^0-9]|^)1([^,0-9]|$)": "`x` yanıtı görüntüle.([^0-9]|^)1([^,0-9]|$)","View `x` replies.": "`x` yanıtı görüntüle.","`x` ago": "`x` önce","Load more": "Daha fazla yükle",- "`x` points.([^0-9]|^)1([^,0-9]|$)": "`x` puan.([^0-9]|^)1([^,0-9]|$)","`x` points.": "`x` puan.","Could not create mix.": "Mix oluşturulamadı.","Empty playlist": "Boş oynatma listesi",@@ -298,20 +290,13 @@"Yiddish": "Yiddiş","Yoruba": "Yoruba dili","Zulu": "Zuluca",- "`x` years.([^0-9]|^)1([^,0-9]|$)": "`x` yıl.([^0-9]|^)1([^,0-9]|$)",- "`x` years.": "`x` yıl.",- "`x` months.([^0-9]|^)1([^,0-9]|$)": "`x` ay.([^0-9]|^)1([^,0-9]|$)",- "`x` months.": "`x` ay.",- "`x` weeks.([^0-9]|^)1([^,0-9]|$)": "`x` hafta.([^0-9]|^)1([^,0-9]|$)",- "`x` weeks.": "`x` hafta.",- "`x` days.([^0-9]|^)1([^,0-9]|$)": "`x` gün.([^0-9]|^)1([^,0-9]|$)",- "`x` days.": "`x` gün.",- "`x` hours.([^0-9]|^)1([^,0-9]|$)": "`x` saat.([^0-9]|^)1([^,0-9]|$)",- "`x` hours.": "`x` saat.",- "`x` minutes.([^0-9]|^)1([^,0-9]|$)": "`x` dakika.([^0-9]|^)1([^,0-9]|$)",- "`x` minutes.": "`x` dakika.",- "`x` seconds.([^0-9]|^)1([^,0-9]|$)": "`x` saniye.([^0-9]|^)1([^,0-9]|$)",- "`x` seconds.": "`x` saniye.",+ "`x` years": "`x` yıl",+ "`x` months": "`x` ay",+ "`x` weeks": "`x` hafta",+ "`x` days": "`x` gün",+ "`x` hours": "`x` saat",+ "`x` minutes": "`x` dakika",+ "`x` seconds": "`x` saniye","Fallback comments: ": "Yedek yorumlar: ","Popular": "Popüler","Top": "Enler",@@ -337,4 +322,4 @@"Playlists": "Oynatma listeleri","Community": "Topluluk","Current version: ": "Şu anki versiyon: "-}+}\ No newline at end of filediff --git a/src/invidious.cr b/src/invidious.crindex 167050fd..da1d9aa8 100644--- a/src/invidious.cr+++ b/src/invidious.cr@@ -85,6 +85,7 @@ LOCALES = {"nl" => load_locale("nl"),"pl" => load_locale("pl"),"ru" => load_locale("ru"),+ "tr" => load_locale("tr"),"uk" => load_locale("uk"),"zh-CN" => load_locale("zh-CN"),}