From 97eb01a28d007cac7af86779f26c92397b68b4c8 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 20 Apr 2020 16:40:03 -0500 Subject: [PATCH] Merge weblate --- locales/ar.json | 2 +- locales/de.json | 2 +- locales/en-US.json | 4 +- locales/eo.json | 2 +- locales/es.json | 2 +- locales/eu.json | 2 +- locales/fr.json | 2 +- locales/hu-HU.json | 2 +- locales/it.json | 92 ++++++++++++++++--------- locales/ja.json | 6 +- locales/nb-NO.json | 2 +- locales/nl.json | 2 +- locales/pl.json | 2 +- locales/pt-BR.json | 2 +- locales/{pt_PT.json => pt-PT.json} | 104 +++++++++++++++++++---------- locales/ro.json | 2 +- locales/ru.json | 2 +- locales/sr_Cyrl.json | 19 +----- locales/sv-SE.json | 2 +- locales/tr.json | 2 +- locales/uk.json | 2 +- locales/zh-CN.json | 2 +- src/invidious.cr | 2 + 23 files changed, 155 insertions(+), 106 deletions(-) rename locales/{pt_PT.json => pt-PT.json} (86%) diff --git a/locales/ar.json b/locales/ar.json index c580a2d5..12bcc199 100644 --- a/locales/ar.json +++ b/locales/ar.json @@ -333,4 +333,4 @@ "Playlists": "قوائم التشغيل", "Community": "المجتمع", "Current version: ": "الإصدار الحالي: " -} +} \ No newline at end of file diff --git a/locales/de.json b/locales/de.json index acf82e8b..b685a842 100644 --- a/locales/de.json +++ b/locales/de.json @@ -333,4 +333,4 @@ "Playlists": "Wiedergabelisten", "Community": "Gemeinschaft", "Current version: ": "Aktuelle Version: " -} +} \ No newline at end of file diff --git a/locales/en-US.json b/locales/en-US.json index b61515c9..acd2b667 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -8,7 +8,7 @@ "": "`x` videos" }, "`x` playlists": { - "(\\D|^)1(\\D|$)": "`x` playlist", + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` playlist", "": "`x` playlists" }, "LIVE": "LIVE", @@ -177,7 +177,7 @@ "View YouTube comments": "View YouTube comments", "View more comments on Reddit": "View more comments on Reddit", "View `x` comments": { - "(\\D|^)1(\\D|$)": "View `x` comment", + "([^.,0-9]|^)1([^.,0-9]|$)": "View `x` comment", "": "View `x` comments" }, "View Reddit comments": "View Reddit comments", diff --git a/locales/eo.json b/locales/eo.json index a42f0330..ae640e37 100644 --- a/locales/eo.json +++ b/locales/eo.json @@ -333,4 +333,4 @@ "Playlists": "Ludlistoj", "Community": "Komunumo", "Current version: ": "Nuna versio: " -} +} \ No newline at end of file diff --git a/locales/es.json b/locales/es.json index 08acba92..7fc75003 100644 --- a/locales/es.json +++ b/locales/es.json @@ -333,4 +333,4 @@ "Playlists": "Listas de reproducción", "Community": "Comunidad", "Current version: ": "Versión actual: " -} +} \ No newline at end of file diff --git a/locales/eu.json b/locales/eu.json index eb6e877c..61299c72 100644 --- a/locales/eu.json +++ b/locales/eu.json @@ -333,4 +333,4 @@ "Playlists": "", "Community": "", "Current version: ": "" -} +} \ No newline at end of file diff --git a/locales/fr.json b/locales/fr.json index fa82c4c5..24cabdea 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -333,4 +333,4 @@ "Playlists": "Listes de lecture", "Community": "Communauté", "Current version: ": "Version actuelle : " -} +} \ No newline at end of file diff --git a/locales/hu-HU.json b/locales/hu-HU.json index 29a35da8..b21ae93a 100644 --- a/locales/hu-HU.json +++ b/locales/hu-HU.json @@ -332,4 +332,4 @@ "Playlists": "Playlistek", "Community": "Közösség", "Current version: ": "Jelenlegi verzió: " -} +} \ No newline at end of file diff --git a/locales/it.json b/locales/it.json index 2d02d7a5..2e993c81 100644 --- a/locales/it.json +++ b/locales/it.json @@ -1,8 +1,12 @@ { - "`x` subscribers.([^.,0-9]|^)1([^.,0-9]|$)": "`x` iscritto", - "`x` subscribers.": "`x` iscritti.", - "`x` videos.([^.,0-9]|^)1([^.,0-9]|$)": "`x` video", - "`x` videos.": "`x` video.", + "`x` subscribers.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` iscritto", + "": "`x` iscritti." + }, + "`x` videos.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` video", + "": "`x` video." + }, "`x` playlists": "`x` playlist", "LIVE": "IN DIRETTA", "Shared `x` ago": "Condiviso `x` fa", @@ -115,16 +119,22 @@ "Subscription manager": "Gestione delle iscrizioni", "Token manager": "Gestione dei gettoni", "Token": "Gettone", - "`x` subscriptions.([^.,0-9]|^)1([^.,0-9]|$)": "`x` iscrizione", - "`x` subscriptions.": "`x` iscrizioni.", - "`x` tokens.([^.,0-9]|^)1([^.,0-9]|$)": "`x` gettone", - "`x` tokens.": "`x` gettoni.", + "`x` subscriptions.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` iscrizione", + "": "`x` iscrizioni." + }, + "`x` tokens.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` gettone", + "": "`x` gettoni." + }, "Import/export": "Importa/esporta", "unsubscribe": "disiscriviti", "revoke": "revoca", "Subscriptions": "Iscrizioni", - "`x` unseen notifications.([^.,0-9]|^)1([^.,0-9]|$)": "`x` notifica non visualizzata", - "`x` unseen notifications.": "`x` notifiche non visualizzate.", + "`x` unseen notifications.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` notifica non visualizzata", + "": "`x` notifiche non visualizzate." + }, "search": "Cerca", "Log out": "Esci", "Released under the AGPLv3 by Omar Roth.": "Pubblicato con licenza AGPLv3 da Omar Roth.", @@ -154,8 +164,10 @@ "Whitelisted regions: ": "Regioni in lista bianca: ", "Blacklisted regions: ": "Regioni in lista nera: ", "Shared `x`": "Condiviso `x`", - "`x` views.([^.,0-9]|^)1([^.,0-9]|$)": "`x` visualizzazione", - "`x` views.": "`x` visualizzazioni.", + "`x` views.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` visualizzazione", + "": "`x` visualizzazioni." + }, "Premieres in `x`": "In anteprima in `x`", "Premieres `x`": "In anteprima `x`", "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Ciao! Sembra che tu abbia disattivato JavaScript. Clicca qui per visualizzare i commenti. Considera che potrebbe volerci più tempo.", @@ -186,12 +198,16 @@ "This channel does not exist.": "Questo canale non esiste.", "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", - "View `x` replies.": "Visualizza `x` risposte.", + "View `x` replies.": { + "([^.,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", - "`x` points.": "`x` punti.", + "`x` points.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` punto", + "": "`x` punti." + }, "Could not create mix.": "Impossibile creare il mix.", "Empty playlist": "Playlist vuota", "Not a playlist.": "Non è una playlist.", @@ -309,20 +325,34 @@ "Yiddish": "Yiddish", "Yoruba": "Yoruba", "Zulu": "Zulu", - "`x` years.([^.,0-9]|^)1([^.,0-9]|$)": "`x` anno", - "`x` years.": "`x` anni.", - "`x` months.([^.,0-9]|^)1([^.,0-9]|$)": "`x` mese", - "`x` months.": "`x` mesi.", - "`x` weeks.([^.,0-9]|^)1([^.,0-9]|$)": "`x` settimana", - "`x` weeks.": "`x` settimane.", - "`x` days.([^.,0-9]|^)1([^.,0-9]|$)": "`x` giorno", - "`x` days.": "`x` giorni.", - "`x` hours.([^.,0-9]|^)1([^.,0-9]|$)": "`x` ora", - "`x` hours.": "`x` ore.", - "`x` minutes.([^.,0-9]|^)1([^.,0-9]|$)": "`x` minuto", - "`x` minutes.": "`x` minuti.", - "`x` seconds.([^.,0-9]|^)1([^.,0-9]|$)": "`x` secondo", - "`x` seconds.": "`x` secondi.", + "`x` years.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` anno", + "": "`x` anni." + }, + "`x` months.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` mese", + "": "`x` mesi." + }, + "`x` weeks.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` settimana", + "": "`x` settimane." + }, + "`x` days.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` giorno", + "": "`x` giorni." + }, + "`x` hours.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` ora", + "": "`x` ore." + }, + "`x` minutes.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` minuto", + "": "`x` minuti." + }, + "`x` seconds.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` secondo", + "": "`x` secondi." + }, "Fallback comments: ": "Commenti alternativi: ", "Popular": "Popolare", "Top": "Top", @@ -348,4 +378,4 @@ "Playlists": "Playlist", "Community": "Comunità", "Current version: ": "Versione attuale: " -} +} \ No newline at end of file diff --git a/locales/ja.json b/locales/ja.json index e2aabd0b..e9ca0e62 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -8,7 +8,7 @@ "": "`x` 個の動画" }, "`x` playlists": { - "(\\D|^)1(\\D|$)": "`x` 個の再生リスト", + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 個の再生リスト", "": "`x` 個の再生リスト" }, "LIVE": "ライブ", @@ -177,7 +177,7 @@ "View YouTube comments": "YouTube のコメントを見る", "View more comments on Reddit": "Reddit でコメントをもっと見る", "View `x` comments": { - "(\\D|^)1(\\D|$)": "`x` 件のコメントを見る", + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` 件のコメントを見る", "": "`x` 件のコメントを見る" }, "View Reddit comments": "Reddit のコメントを見る", @@ -384,4 +384,4 @@ "Playlists": "プレイリスト", "Community": "コミュニティ", "Current version: ": "現在のバージョン: " -} +} \ No newline at end of file diff --git a/locales/nb-NO.json b/locales/nb-NO.json index cda55a1d..ff40e27b 100644 --- a/locales/nb-NO.json +++ b/locales/nb-NO.json @@ -333,4 +333,4 @@ "Playlists": "Spillelister", "Community": "Gemenskap", "Current version: ": "Nåværende versjon: " -} +} \ No newline at end of file diff --git a/locales/nl.json b/locales/nl.json index b2221efb..29af954a 100644 --- a/locales/nl.json +++ b/locales/nl.json @@ -334,4 +334,4 @@ "Community": "Gemeenschap", "Current version: ": "Huidige versie: ", "Download is disabled.": "Downloaden is uitgeschakeld." -} +} \ No newline at end of file diff --git a/locales/pl.json b/locales/pl.json index 1ba6f942..32ff0530 100644 --- a/locales/pl.json +++ b/locales/pl.json @@ -333,4 +333,4 @@ "Playlists": "Playlisty", "Community": "Społeczność", "Current version: ": "Aktualna wersja: " -} +} \ No newline at end of file diff --git a/locales/pt-BR.json b/locales/pt-BR.json index c3fa5a1e..9dd237c6 100644 --- a/locales/pt-BR.json +++ b/locales/pt-BR.json @@ -333,4 +333,4 @@ "Playlists": "Listas de reprodução", "Community": "Comunidade", "Current version: ": "Versão atual: " -} +} \ No newline at end of file diff --git a/locales/pt_PT.json b/locales/pt-PT.json similarity index 86% rename from locales/pt_PT.json rename to locales/pt-PT.json index 6e144551..ab7d3468 100644 --- a/locales/pt_PT.json +++ b/locales/pt-PT.json @@ -1,10 +1,16 @@ { - "`x` subscribers.([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscritores.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` subscribers.": "`x` subscritores.", - "`x` videos.([^.,0-9]|^)1([^.,0-9]|$)": "`x` vídeos.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` videos.": "`x` vídeos.", - "`x` playlists.(\\D|^)1(\\D|$)": "`x` listas de reprodução.(\\D|^)1(\\D|$)", - "`x` playlists.": "`x` listas de reprodução.", + "`x` subscribers.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscritores.", + "": "`x` subscritores." + }, + "`x` videos.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` vídeos.", + "": "`x` vídeos." + }, + "`x` playlists.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` listas de reprodução.", + "": "`x` listas de reprodução." + }, "LIVE": "Em direto", "Shared `x` ago": "Partilhado `x` atrás", "Unsubscribe": "Anular subscrição", @@ -116,16 +122,22 @@ "Subscription manager": "Gerir subscrições", "Token manager": "Gerir tokens", "Token": "Token", - "`x` subscriptions.([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscrições.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` subscriptions.": "`x` subscrições.", - "`x` tokens.([^.,0-9]|^)1([^.,0-9]|$)": "`x` tokens.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` tokens.": "`x` tokens.", + "`x` subscriptions.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` subscrições.", + "": "`x` subscrições." + }, + "`x` tokens.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` tokens.", + "": "`x` tokens." + }, "Import/export": "Importar/Exportar", "unsubscribe": "Anular subscrição", "revoke": "revogar", "Subscriptions": "Subscrições", - "`x` unseen notifications.([^.,0-9]|^)1([^.,0-9]|$)": "`x` notificações não vistas.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` unseen notifications.": "\"x\" notificações não vistas.", + "`x` unseen notifications.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` notificações não vistas.", + "": "`x` notificações não vistas." + }, "search": "Pesquisar", "Log out": "Terminar sessão", "Released under the AGPLv3 by Omar Roth.": "Publicado sob a licença AGPLv3, por Omar Roth.", @@ -155,15 +167,19 @@ "Whitelisted regions: ": "Regiões permitidas: ", "Blacklisted regions: ": "Regiões bloqueadas: ", "Shared `x`": "Partilhado `x`", - "`x` views.([^.,0-9]|^)1([^.,0-9]|$)": "`x` visualizações.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` views.": "`x` visualizações.", + "`x` views.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` visualizações.", + "": "`x` visualizações." + }, "Premieres in `x`": "Estreias em 'x'", "Premieres `x`": "Estreias 'x'", "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "Oi! Parece que JavaScript está desativado. Clique aqui para ver os comentários, entretanto eles podem levar mais tempo para carregar.", "View YouTube comments": "Ver comentários do YouTube", "View more comments on Reddit": "Ver mais comentários no Reddit", - "View `x` comments.(\\D|^)1(\\D|$)": "Ver `x` comentários.(\\D|^)1(\\D|$)", - "View `x` comments.": "Ver `x` comentários.", + "View `x` comments.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "Ver `x` comentários.", + "": "Ver `x` comentários." + }, "View Reddit comments": "Ver comentários do Reddit", "Hide replies": "Ocultar respostas", "Show replies": "Mostrar respostas", @@ -188,12 +204,16 @@ "This channel does not exist.": "Este canal não existe.", "Could not get channel info.": "Não foi possível obter as informações do canal.", "Could not fetch comments": "Não foi possível obter os comentários", - "View `x` replies.([^.,0-9]|^)1([^.,0-9]|$)": "Ver `x` respostas.([^.,0-9]|^)1([^.,0-9]|$)", - "View `x` replies.": "Ver `x` respostas.", + "View `x` replies.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "Ver `x` respostas.", + "": "Ver `x` respostas." + }, "`x` ago": "`x` atrás", "Load more": "Carregar mais", - "`x` points.([^.,0-9]|^)1([^.,0-9]|$)": "'x' pontos. ([^.,0-9]^)1(^.0-9][[$]", - "`x` points.": "'x' pontos.", + "`x` points.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "'x' pontos.", + "": "'x' pontos." + }, "Could not create mix.": "Não foi possível criar mistura.", "Empty playlist": "Lista de reprodução vazia", "Not a playlist.": "Não é uma lista de reprodução.", @@ -311,20 +331,34 @@ "Yiddish": "Iídiche", "Yoruba": "Ioruba", "Zulu": "Zulu", - "`x` years.([^.,0-9]|^)1([^.,0-9]|$)": "`x` anos.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` years.": "`x` anos.", - "`x` months.([^.,0-9]|^)1([^.,0-9]|$)": "`x` meses.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` months.": "`x` meses.", - "`x` weeks.([^.,0-9]|^)1([^.,0-9]|$)": "`x` semanas.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` weeks.": "`x` semanas.", - "`x` days.([^.,0-9]|^)1([^.,0-9]|$)": "`x` dias.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` days.": "`x` dias.", - "`x` hours.([^.,0-9]|^)1([^.,0-9]|$)": "`x` horas.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` hours.": "`x` horas.", - "`x` minutes.([^.,0-9]|^)1([^.,0-9]|$)": "`x` minutos.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` minutes.": "`x` minutos.", - "`x` seconds.([^.,0-9]|^)1([^.,0-9]|$)": "`x` segundos.([^.,0-9]|^)1([^.,0-9]|$)", - "`x` seconds.": "`x` segundos.", + "`x` years.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` anos.", + "": "`x` anos." + }, + "`x` months.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` meses.", + "": "`x` meses." + }, + "`x` weeks.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` semanas.", + "": "`x` semanas." + }, + "`x` days.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` dias.", + "": "`x` dias." + }, + "`x` hours.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` horas.", + "": "`x` horas." + }, + "`x` minutes.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` minutos.", + "": "`x` minutos." + }, + "`x` seconds.": { + "([^.,0-9]|^)1([^.,0-9]|$)": "`x` segundos.", + "": "`x` segundos." + }, "Fallback comments: ": "Comentários alternativos: ", "Popular": "Popular", "Top": "Top", @@ -350,4 +384,4 @@ "Playlists": "Listas de reprodução", "Community": "Comunidade", "Current version: ": "Versão atual: " -} +} \ No newline at end of file diff --git a/locales/ro.json b/locales/ro.json index 9539ff35..08d2c386 100644 --- a/locales/ro.json +++ b/locales/ro.json @@ -333,4 +333,4 @@ "Playlists": "Liste de redare", "Community": "Comunitate", "Current version: ": "Versiunea actuală: " -} +} \ No newline at end of file diff --git a/locales/ru.json b/locales/ru.json index 9cea15e0..e69b32e5 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -333,4 +333,4 @@ "Playlists": "Плейлисты", "Community": "Сообщество", "Current version: ": "Текущая версия: " -} +} \ No newline at end of file diff --git a/locales/sr_Cyrl.json b/locales/sr_Cyrl.json index 452ec266..786532df 100644 --- a/locales/sr_Cyrl.json +++ b/locales/sr_Cyrl.json @@ -1,9 +1,6 @@ { - "`x` subscribers.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` subscribers.": "", - "`x` videos.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` videos.": "", - "`x` playlists.(\\D|^)1(\\D|$)": "", "`x` playlists.": "", "LIVE": "", "Shared `x` ago": "", @@ -116,15 +113,12 @@ "Subscription manager": "", "Token manager": "", "Token": "", - "`x` subscriptions.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` subscriptions.": "", - "`x` tokens.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` tokens.": "", "Import/export": "", "unsubscribe": "", "revoke": "", "Subscriptions": "", - "`x` unseen notifications.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` unseen notifications.": "", "search": "", "Log out": "", @@ -155,14 +149,12 @@ "Whitelisted regions: ": "", "Blacklisted regions: ": "", "Shared `x`": "", - "`x` views.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` views.": "", "Premieres in `x`": "", "Premieres `x`": "", "Hi! Looks like you have JavaScript turned off. Click here to view comments, keep in mind they may take a bit longer to load.": "", "View YouTube comments": "", "View more comments on Reddit": "", - "View `x` comments.(\\D|^)1(\\D|$)": "", "View `x` comments.": "", "View Reddit comments": "", "Hide replies": "", @@ -188,11 +180,9 @@ "This channel does not exist.": "", "Could not get channel info.": "", "Could not fetch comments": "", - "View `x` replies.([^.,0-9]|^)1([^.,0-9]|$)": "", "View `x` replies.": "", "`x` ago": "", "Load more": "", - "`x` points.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` points.": "", "Could not create mix.": "", "Empty playlist": "", @@ -311,19 +301,12 @@ "Yiddish": "", "Yoruba": "", "Zulu": "", - "`x` years.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` years.": "", - "`x` months.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` months.": "", - "`x` weeks.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` weeks.": "", - "`x` days.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` days.": "", - "`x` hours.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` hours.": "", - "`x` minutes.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` minutes.": "", - "`x` seconds.([^.,0-9]|^)1([^.,0-9]|$)": "", "`x` seconds.": "", "Fallback comments: ": "", "Popular": "", @@ -350,4 +333,4 @@ "Playlists": "", "Community": "", "Current version: ": "Тренутна верзија: " -} +} \ No newline at end of file diff --git a/locales/sv-SE.json b/locales/sv-SE.json index 55e87869..14e7d53e 100644 --- a/locales/sv-SE.json +++ b/locales/sv-SE.json @@ -333,4 +333,4 @@ "Playlists": "Spellistor", "Community": "Gemenskap", "Current version: ": "Nuvarande version: " -} +} \ No newline at end of file diff --git a/locales/tr.json b/locales/tr.json index b2794f65..652dff6d 100644 --- a/locales/tr.json +++ b/locales/tr.json @@ -341,4 +341,4 @@ "Playlists": "Oynatma listeleri", "Community": "Topluluk", "Current version: ": "Şu anki sürüm: " -} +} \ No newline at end of file diff --git a/locales/uk.json b/locales/uk.json index e2e4a63c..b04e0b2d 100644 --- a/locales/uk.json +++ b/locales/uk.json @@ -333,4 +333,4 @@ "Playlists": "Плейлисти", "Community": "Спільнота", "Current version: ": "Поточна версія: " -} +} \ No newline at end of file diff --git a/locales/zh-CN.json b/locales/zh-CN.json index fe12c65e..288f127d 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -333,4 +333,4 @@ "Playlists": "播放列表", "Community": "社区", "Current version: ": "当前版本:" -} +} \ No newline at end of file diff --git a/src/invidious.cr b/src/invidious.cr index 2d72f49f..2a493a46 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -83,6 +83,7 @@ LOCALES = { "es" => load_locale("es"), "eu" => load_locale("eu"), "fr" => load_locale("fr"), + "hu" => load_locale("hu-HU"), "is" => load_locale("is"), "it" => load_locale("it"), "ja" => load_locale("ja"), @@ -90,6 +91,7 @@ LOCALES = { "nl" => load_locale("nl"), "pl" => load_locale("pl"), "pt-BR" => load_locale("pt-BR"), + "pt-PT" => load_locale("pt-PT"), "ro" => load_locale("ro"), "ru" => load_locale("ru"), "sv" => load_locale("sv-SE"),