From a731486ab7ad8272e4c2eee4265b6e5527d8b941 Mon Sep 17 00:00:00 2001
From: Omar Roth <omarroth@protonmail.com>
Date: Mon, 21 Oct 2019 11:08:42 -0400
Subject: [PATCH] Fix typo in locale regex

---
 locales/el.json    | 30 +++++++++++++++---------------
 locales/en-US.json | 30 +++++++++++++++---------------
 locales/it.json    | 30 +++++++++++++++---------------
 locales/zh-TW.json | 30 +++++++++++++++---------------
 4 files changed, 60 insertions(+), 60 deletions(-)

diff --git a/locales/el.json b/locales/el.json
index 5985a71c..f4249ebc 100644
--- a/locales/el.json
+++ b/locales/el.json
@@ -1,10 +1,10 @@
 {
     "`x` subscribers": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` συνδρομητής",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` συνδρομητής",
         "": "`x` συνδρομητές"
     },
     "`x` videos": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` βίντεο",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` βίντεο",
         "": "`x` βίντεο"
     },
     "`x` playlists": "",
@@ -120,11 +120,11 @@
     "Token manager": "Διαχειριστής διασυνδέσεων",
     "Token": "Διασύνδεση",
     "`x` subscriptions": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` συνδρομή",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` συνδρομή",
         "": "`x` συνδρομές"
     },
     "`x` tokens": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` διασύνδεση",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` διασύνδεση",
         "": "`x` διασυνδέσεις"
     },
     "Import/export": "Εισαγωγή/εξαγωγή",
@@ -132,7 +132,7 @@
     "revoke": "ανάκληση",
     "Subscriptions": "Συνδρομές",
     "`x` unseen notifications": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` καινούρια ειδοποίηση",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` καινούρια ειδοποίηση",
         "": "`x` καινούριες ειδοποιήσεις"
     },
     "search": "αναζήτηση",
@@ -165,7 +165,7 @@
     "Blacklisted regions: ": "Μη-επιτρεπτές περιοχές: ",
     "Shared `x`": "Μοιράστηκε το `x`",
     "`x` views": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` προβολή",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` προβολή",
         "": "`x` προβολές"
     },
     "Premieres in `x`": "Πρώτη προβολή σε `x`",
@@ -199,13 +199,13 @@
     "Could not get channel info.": "Αδύναμια εύρεσης πληροφοριών καναλιού.",
     "Could not fetch comments": "Αδυναμία λήψης σχολίων",
     "View `x` replies": {
-        "([^0-9]|^)1([^,0-9]|$)": "Προβολή `x` απάντησης",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "Προβολή `x` απάντησης",
         "": "Προβολή `x` απαντήσεων"
     },
     "`x` ago": "Πριν `x`",
     "Load more": "Φόρτωση περισσότερων",
     "`x` points": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` βαθμός",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` βαθμός",
         "": "`x` βαθμοί"
     },
     "Could not create mix.": "Αδυναμία δημιουργίας μίξης.",
@@ -326,31 +326,31 @@
     "Yoruba": "Γιορούμπα",
     "Zulu": "Ζουλού",
     "`x` years": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` χρόνο",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` χρόνο",
         "": "`x` χρόνια"
     },
     "`x` months": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` μήνα",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` μήνα",
         "": "`x` μήνες"
     },
     "`x` weeks": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` εβδομάδα",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` εβδομάδα",
         "": "`x` εβδομάδες"
     },
     "`x` days": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` ημέρα",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` ημέρα",
         "": "`x` ημέρες"
     },
     "`x` hours": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` ώρα",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` ώρα",
         "": "`x` ώρες"
     },
     "`x` minutes": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` λεπτό",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` λεπτό",
         "": "`x` λεπτά"
     },
     "`x` seconds": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` δευτερόλεπτο",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` δευτερόλεπτο",
         "": "`x` δευτερόλεπτα"
     },
     "Fallback comments: ": "Εναλλακτικά σχόλια: ",
diff --git a/locales/en-US.json b/locales/en-US.json
index f9c7109e..b61515c9 100644
--- a/locales/en-US.json
+++ b/locales/en-US.json
@@ -1,10 +1,10 @@
 {
     "`x` subscribers": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` subscriber",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscriber",
         "": "`x` subscribers"
     },
     "`x` videos": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` video",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` video",
         "": "`x` videos"
     },
     "`x` playlists": {
@@ -123,11 +123,11 @@
     "Token manager": "Token manager",
     "Token": "Token",
     "`x` subscriptions": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` subscription",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscription",
         "": "`x` subscriptions"
     },
     "`x` tokens": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` token",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` token",
         "": "`x` tokens"
     },
     "Import/export": "Import/export",
@@ -135,7 +135,7 @@
     "revoke": "revoke",
     "Subscriptions": "Subscriptions",
     "`x` unseen notifications": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` unseen notification",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` unseen notification",
         "": "`x` unseen notifications"
     },
     "search": "search",
@@ -168,7 +168,7 @@
     "Blacklisted regions: ": "Blacklisted regions: ",
     "Shared `x`": "Shared `x`",
     "`x` views": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` view",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` view",
         "": "`x` views"
     },
     "Premieres in `x`": "Premieres in `x`",
@@ -205,13 +205,13 @@
     "Could not get channel info.": "Could not get channel info.",
     "Could not fetch comments": "Could not fetch comments",
     "View `x` replies": {
-        "([^0-9]|^)1([^,0-9]|$)": "View `x` reply",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "View `x` reply",
         "": "View `x` replies"
     },
     "`x` ago": "`x` ago",
     "Load more": "Load more",
     "`x` points": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` point",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` point",
         "": "`x` points"
     },
     "Could not create mix.": "Could not create mix.",
@@ -332,31 +332,31 @@
     "Yoruba": "Yoruba",
     "Zulu": "Zulu",
     "`x` years": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` year",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` year",
         "": "`x` years"
     },
     "`x` months": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` month",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` month",
         "": "`x` months"
     },
     "`x` weeks": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` week",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` week",
         "": "`x` weeks"
     },
     "`x` days": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` day",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` day",
         "": "`x` days"
     },
     "`x` hours": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` hour",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` hour",
         "": "`x` hours"
     },
     "`x` minutes": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` minute",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` minute",
         "": "`x` minutes"
     },
     "`x` seconds": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` second",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` second",
         "": "`x` seconds"
     },
     "Fallback comments: ": "Fallback comments: ",
diff --git a/locales/it.json b/locales/it.json
index 15d732a6..47510d3f 100644
--- a/locales/it.json
+++ b/locales/it.json
@@ -1,10 +1,10 @@
 {
     "`x` subscribers": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` iscritto",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` iscritto",
         "": "`x` iscritti"
     },
     "`x` videos": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` video",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` video",
         "": "`x` video"
     },
     "`x` playlists": "",
@@ -120,11 +120,11 @@
     "Token manager": "Gestione dei gettoni",
     "Token": "Gettone",
     "`x` subscriptions": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` iscrizione",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` iscrizione",
         "": "`x` iscrizioni"
     },
     "`x` tokens": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` gettone",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` gettone",
         "": "`x` gettoni"
     },
     "Import/export": "Importa/esporta",
@@ -132,7 +132,7 @@
     "revoke": "revoca",
     "Subscriptions": "Iscrizioni",
     "`x` unseen notifications": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` notifica non visualizzata",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` notifica non visualizzata",
         "": "`x` notifiche non visualizzate"
     },
     "search": "Cerca",
@@ -165,7 +165,7 @@
     "Blacklisted regions: ": "Regioni in lista nera: ",
     "Shared `x`": "Condiviso `x`",
     "`x` views": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` visualizzazione",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` visualizzazione",
         "": "`x` visualizzazioni"
     },
     "Premieres in `x`": "",
@@ -199,13 +199,13 @@
     "Could not get channel info.": "Impossibile ottenere le informazioni del canale.",
     "Could not fetch comments": "Impossibile recuperare i commenti",
     "View `x` replies": {
-        "([^0-9]|^)1([^,0-9]|$)": "Visualizza `x` risposta",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "Visualizza `x` risposta",
         "": "Visualizza `x` risposte"
     },
     "`x` ago": "`x` fa",
     "Load more": "Carica altro",
     "`x` points": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` punto",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` punto",
         "": "`x` punti"
     },
     "Could not create mix.": "Impossibile creare il mix.",
@@ -326,31 +326,31 @@
     "Yoruba": "Yoruba",
     "Zulu": "Zulu",
     "`x` years": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` anno",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` anno",
         "": "`x` anni"
     },
     "`x` months": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` mese",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` mese",
         "": "`x` mesi"
     },
     "`x` weeks": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` settimana",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` settimana",
         "": "`x` settimane"
     },
     "`x` days": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` giorno",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` giorno",
         "": "`x` giorni"
     },
     "`x` hours": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` ora",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` ora",
         "": "`x` ore"
     },
     "`x` minutes": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` minuto",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` minuto",
         "": "`x` minuti"
     },
     "`x` seconds": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` secondo",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` secondo",
         "": "`x` secondi"
     },
     "Fallback comments: ": "Commenti alternativi: ",
diff --git a/locales/zh-TW.json b/locales/zh-TW.json
index 0b0451bc..47d1f04a 100644
--- a/locales/zh-TW.json
+++ b/locales/zh-TW.json
@@ -1,10 +1,10 @@
 {
     "`x` subscribers": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 個訂閱者",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 個訂閱者",
         "": "`x` 個訂閱者"
     },
     "`x` videos": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 部影片",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 部影片",
         "": "`x` 部影片"
     },
     "`x` playlists": "",
@@ -120,11 +120,11 @@
     "Token manager": "Token 管理員",
     "Token": "Token",
     "`x` subscriptions": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 個訂閱",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 個訂閱",
         "": "`x` 個訂閱"
     },
     "`x` tokens": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` token",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` token",
         "": "`x` tokens"
     },
     "Import/export": "匯入/匯出",
@@ -132,7 +132,7 @@
     "revoke": "撤銷",
     "Subscriptions": "訂閱",
     "`x` unseen notifications": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 個未讀的通知",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 個未讀的通知",
         "": "`x` 個未讀的通知"
     },
     "search": "搜尋",
@@ -165,7 +165,7 @@
     "Blacklisted regions: ": "黑名單區域:",
     "Shared `x`": "`x` 發佈",
     "`x` views": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 次檢視",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 次檢視",
         "": "`x` 次檢視"
     },
     "Premieres in `x`": "首映於 `x`",
@@ -199,13 +199,13 @@
     "Could not get channel info.": "無法取得頻道資訊。",
     "Could not fetch comments": "無法擷取留言",
     "View `x` replies": {
-        "([^0-9]|^)1([^,0-9]|$)": "檢視 `x` 則回覆",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "檢視 `x` 則回覆",
         "": "檢視 `x` 則回覆"
     },
     "`x` ago": "`x` 以前",
     "Load more": "載入更多",
     "`x` points": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 點",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 點",
         "": "`x` 點"
     },
     "Could not create mix.": "無法建立混合。",
@@ -326,31 +326,31 @@
     "Yoruba": "約魯巴語",
     "Zulu": "祖魯語",
     "`x` years": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 年",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 年",
         "": "`x` 年"
     },
     "`x` months": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 月",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 月",
         "": "`x` 月"
     },
     "`x` weeks": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 週",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 週",
         "": "`x` 週"
     },
     "`x` days": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 天",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 天",
         "": "`x` 天"
     },
     "`x` hours": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 小時",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 小時",
         "": "`x` 小時"
     },
     "`x` minutes": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 天",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 天",
         "": "`x` 天"
     },
     "`x` seconds": {
-        "([^0-9]|^)1([^,0-9]|$)": "`x` 秒",
+        "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 秒",
         "": "`x` 秒"
     },
     "Fallback comments: ": "汰退留言:",