summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-09-23 12:49:07 -0400
committerOmar Roth <omarroth@protonmail.com>2019-09-24 13:38:50 -0400
commit466a5a932bcd38ebee0bfc75ca3a8f813252c562 (patch)
treedfa9ad2694879a85e706625a3c1eb5af7f2529a1
parent8a3c6382e947ec0002b3549598745e8b6cfa54fc (diff)
downloadinvidious-466a5a932bcd38ebee0bfc75ca3a8f813252c562.tar.gz
invidious-466a5a932bcd38ebee0bfc75ca3a8f813252c562.tar.bz2
invidious-466a5a932bcd38ebee0bfc75ca3a8f813252c562.zip
Add support for Turkish translation
-rw-r--r--locales/tr.json31
-rw-r--r--src/invidious.cr1
2 files changed, 9 insertions, 23 deletions
diff --git a/locales/tr.json b/locales/tr.json
index 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 file
diff --git a/src/invidious.cr b/src/invidious.cr
index 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"),
}