summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-07-12 21:07:40 -0500
committerOmar Roth <omarroth@protonmail.com>2019-07-12 21:07:40 -0500
commitfea20ea9130a26e02c6d9d7fc7bd5b90a89e441e (patch)
tree7ee892a4f1d2690a8f77ff323b6233c8b88bf9d2
parent5b2480fff251c24ea65d4e0c234572cacbbe5674 (diff)
downloadinvidious-fea20ea9130a26e02c6d9d7fc7bd5b90a89e441e.tar.gz
invidious-fea20ea9130a26e02c6d9d7fc7bd5b90a89e441e.tar.bz2
invidious-fea20ea9130a26e02c6d9d7fc7bd5b90a89e441e.zip
Add support for Icelandic translation
-rw-r--r--locales/is.json17
-rw-r--r--src/invidious.cr1
2 files changed, 2 insertions, 16 deletions
diff --git a/locales/is.json b/locales/is.json
index e381882c..d7eaa63a 100644
--- a/locales/is.json
+++ b/locales/is.json
@@ -1,7 +1,5 @@
{
- "`x` subscribers.(\\D|^)1(\\D|$)": "",
"`x` subscribers.": "`x` áskrifandar.",
- "`x` videos.(\\D|^)1(\\D|$)": "",
"`x` videos.": "`x` myndbönd.",
"LIVE": "BEINT",
"Shared `x` ago": "Deilt `x` síðan",
@@ -110,15 +108,12 @@
"Subscription manager": "",
"Token manager": "",
"Token": "",
- "`x` subscriptions.(\\D|^)1(\\D|$)": "",
"`x` subscriptions.": "",
- "`x` tokens.(\\D|^)1(\\D|$)": "",
"`x` tokens.": "",
"Import/export": "",
"unsubscribe": "",
"revoke": "",
"Subscriptions": "",
- "`x` unseen notifications.(\\D|^)1(\\D|$)": "",
"`x` unseen notifications.": "",
"search": "",
"Log out": "",
@@ -139,7 +134,6 @@
"Whitelisted regions: ": "",
"Blacklisted regions: ": "",
"Shared `x`": "",
- "`x` views.(\\D|^)1(\\D|$)": "",
"`x` views.": "",
"Premieres in `x`": "",
"Premieres `x`": "",
@@ -171,11 +165,9 @@
"This channel does not exist.": "",
"Could not get channel info.": "",
"Could not fetch comments": "",
- "View `x` replies.(\\D|^)1(\\D|$)": "",
"View `x` replies.": "",
"`x` ago": "",
"Load more": "",
- "`x` points.(\\D|^)1(\\D|$)": "",
"`x` points.": "",
"Could not create mix.": "",
"Empty playlist": "",
@@ -294,19 +286,12 @@
"Yiddish": "",
"Yoruba": "",
"Zulu": "",
- "`x` years.(\\D|^)1(\\D|$)": "",
"`x` years.": "",
- "`x` months.(\\D|^)1(\\D|$)": "",
"`x` months.": "",
- "`x` weeks.(\\D|^)1(\\D|$)": "",
"`x` weeks.": "",
- "`x` days.(\\D|^)1(\\D|$)": "",
"`x` days.": "",
- "`x` hours.(\\D|^)1(\\D|$)": "",
"`x` hours.": "",
- "`x` minutes.(\\D|^)1(\\D|$)": "",
"`x` minutes.": "",
- "`x` seconds.(\\D|^)1(\\D|$)": "",
"`x` seconds.": "",
"Fallback comments: ": "",
"Popular": "",
@@ -331,4 +316,4 @@
"Videos": "",
"Playlists": "",
"Current version: ": ""
-}
+} \ No newline at end of file
diff --git a/src/invidious.cr b/src/invidious.cr
index 1ecc9d83..80fc92b8 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -80,6 +80,7 @@ LOCALES = {
"es" => load_locale("es"),
"eu" => load_locale("eu"),
"fr" => load_locale("fr"),
+ "is" => load_locale("is"),
"it" => load_locale("it"),
"nb_NO" => load_locale("nb_NO"),
"nl" => load_locale("nl"),