From 0b7daa495992c65c1df89805b39fc51401b714ed Mon Sep 17 00:00:00 2001 From: DJ Sweder <34901401+DJSweder@users.noreply.github.com> Date: Fri, 22 Aug 2025 15:33:58 +0200 Subject: [PATCH] Added translation for Czech language (#803) * Create base.po Added czech language * added *.mo file for czech language * Update constants.py Added "cz" to SUPPORTED_LANGUAGES * Update constants.py * Create LC_MESSAGES for language "cs" * Delete ytmusicapi/locales/cs/LC_MESSAGES * Create base.po * Update base.po * Add files via upload * Delete ytmusicapi/locales/cz/LC_MESSAGES directory --- ytmusicapi/constants.py | 2 +- ytmusicapi/locales/cs/LC_MESSAGES/base.mo | Bin 0 -> 1010 bytes ytmusicapi/locales/cs/LC_MESSAGES/base.po | 94 ++++++++++++++++++++++ 3 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 ytmusicapi/locales/cs/LC_MESSAGES/base.mo create mode 100644 ytmusicapi/locales/cs/LC_MESSAGES/base.po diff --git a/ytmusicapi/constants.py b/ytmusicapi/constants.py index d002b54..36af95a 100644 --- a/ytmusicapi/constants.py +++ b/ytmusicapi/constants.py @@ -5,7 +5,7 @@ YTM_PARAMS_KEY = "&key=AIzaSyC9XL3ZjWddXya6X74dJoCTL-WEYFDNX30" USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0" # fmt: off SUPPORTED_LANGUAGES = { - "ar", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pt", "ru", "tr", "ur", "zh_CN", + "ar", "cs", "de", "en", "es", "fr", "hi", "it", "ja", "ko", "nl", "pt", "ru", "tr", "ur", "zh_CN", "zh_TW" } SUPPORTED_LOCATIONS = { diff --git a/ytmusicapi/locales/cs/LC_MESSAGES/base.mo b/ytmusicapi/locales/cs/LC_MESSAGES/base.mo new file mode 100644 index 0000000000000000000000000000000000000000..c1ffa2b0230de924c83db69b7a59400e534f9d3a GIT binary patch literal 1010 zcmY+BJ#Q2-5Qa?%UrYE3DT%ZVG{|A^0?M(7h7cf9PMo3(LIerF*7G??eY^lE?xnZC_V%|R<$niKAMd?? z8>IRlz~kU2Z~y8!@ctj3zd$?zn}kw4^+H0qNzOn|L#YSq=PY!;1US(DQ%$5|r=av7 z)Dz8WC=w?!Trwkb z;bh9}nto!LRYeA41sh%nWeKA$GG?7{N*8QXrBYX`Wi6xEW#af^%I`^I;g7>$S(e&3 z-n5xY`Hfy?d0WHWy33d4rlKHz6D8xY9@Ve#sKM*Cuy!@RJa;jwM^UhZHhJ5K!lE&4 zaC1o%Sx;n=x24$FcaFovKAL|JG#8r-qx!X(D45rUlLgZBOVn}lsk?-yP{p+{Srf)e zcYUROi#JAbRIV!xUnmlt;tk@k(NQkA&u_~@nyQbMmZ@^#?95y+nuK5qrA%q$a1_sU zDrgj7e{TSL8<_r|1Pr^Az$^FgI&ytyE7{pX)WMcNTGkU}ML I-#`TW2fOvz4FCWD literal 0 HcmV?d00001 diff --git a/ytmusicapi/locales/cs/LC_MESSAGES/base.po b/ytmusicapi/locales/cs/LC_MESSAGES/base.po new file mode 100644 index 0000000..3500fbd --- /dev/null +++ b/ytmusicapi/locales/cs/LC_MESSAGES/base.po @@ -0,0 +1,94 @@ +# Translations for ytmusicapi +# Copyright (C) 2023 sigma67 +# This file is distributed under the same license as ytmusicapi +# sigma67 +# +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-03-13 20:07+0100\n" +"PO-Revision-Date: 2025-08-21 19:47+0200\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: cs_CZ\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.7\n" + +#: parsers/i18n.py:32 +msgid "album" +msgstr "album" + +#: parsers/i18n.py:33 +msgid "artist" +msgstr "interpret" + +#: parsers/i18n.py:34 +msgid "playlist" +msgstr "playlist" + +#: parsers/i18n.py:35 +msgid "song" +msgstr "skladba" + +#: parsers/i18n.py:36 +msgid "video" +msgstr "video" + +#: parsers/i18n.py:37 +msgid "station" +msgstr "stanice" + +#: parsers/i18n.py:38 +msgid "profile" +msgstr "profil" + +#: parsers/i18n.py:39 +msgid "podcast" +msgstr "podcast" + +#: parsers/i18n.py:40 +msgid "episode" +msgstr "epizoda" + +#: parsers/i18n.py:46 +msgid "single" +msgstr "singl" + +#: parsers/i18n.py:47 +msgid "ep" +msgstr "ep" + +#: parsers/i18n.py:55 +msgid "albums" +msgstr "alba" + +#: parsers/i18n.py:56 +msgid "singles & eps" +msgstr "singly a ep" + +#: parsers/i18n.py:57 +msgid "shows" +msgstr "pořady" + +#: parsers/i18n.py:58 +msgid "videos" +msgstr "videa" + +#: parsers/i18n.py:59 +msgid "playlists" +msgstr "playlisty" + +#: parsers/i18n.py:60 +msgid "related" +msgstr "související" + +#: parsers/i18n.py:61 +msgid "episodes" +msgstr "epizody" + +#: parsers/i18n.py:62 +msgid "podcasts" +msgstr "podcasty"