From 30254c96e099706786ad0934d01b547d667ddf6f Mon Sep 17 00:00:00 2001 From: Rob Date: Wed, 1 Nov 2023 14:58:41 +0000 Subject: [PATCH] [plugin.video.ytchannels] 0.5.1 --- plugin.video.ytchannels/addon.xml | 2 +- plugin.video.ytchannels/changelog.txt | 5 + .../resource.language.cs_cz/strings.po | 190 ++++++++++++++++++ .../resources/lib/ytchannels.py | 9 +- 4 files changed, 201 insertions(+), 5 deletions(-) create mode 100644 plugin.video.ytchannels/resources/language/resource.language.cs_cz/strings.po diff --git a/plugin.video.ytchannels/addon.xml b/plugin.video.ytchannels/addon.xml index 8072972e3..3296efc51 100644 --- a/plugin.video.ytchannels/addon.xml +++ b/plugin.video.ytchannels/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/plugin.video.ytchannels/changelog.txt b/plugin.video.ytchannels/changelog.txt index 889a77899..a63f1da62 100644 --- a/plugin.video.ytchannels/changelog.txt +++ b/plugin.video.ytchannels/changelog.txt @@ -1,6 +1,11 @@ =============================== Youtube Channels addon by yeahme49/mintsoft/natko1412 =============================== + +v0.5.1 [01-Nov-2023] +-Added Czech translation (thanks @jirkoun) +-Fixed: The setting parameter "Show 'add folder/channels'" doesn't work correctly in Folder list #41 (thanks @jirkoun) + v0.5.0 [23-Oct-2023] -Fixed non-refresh of the list when adding channels or folders (#32) -Added the ability to sort a folder A-Z diff --git a/plugin.video.ytchannels/resources/language/resource.language.cs_cz/strings.po b/plugin.video.ytchannels/resources/language/resource.language.cs_cz/strings.po new file mode 100644 index 000000000..21e3d903b --- /dev/null +++ b/plugin.video.ytchannels/resources/language/resource.language.cs_cz/strings.po @@ -0,0 +1,190 @@ +# XBMC Media Center language file +# Addon Name: YouTube Channels +# Addon id: plugin.video.ytchannels +# Addon version: 0.5.0+matrix.1 +# Addon Provider: bromix +msgid "" +msgstr "" +"Project-Id-Version: Kodi Addons\n" +"Report-Msgid-Bugs-To: jirka.roubal@gmail.com\n" +"POT-Creation-Date: 2023-10-31\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: JiRo jirka.roubal@gmail.com\n" +"Language-Team: JiRo jirka.roubal@gmail.com\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: cs_cz\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2\n" + +msgctxt "#30000" +msgid "Remove folder" +msgstr "Odstranit složku" + +msgctxt "#30001" +msgid "Add folder" +msgstr "Přidat složku" + +msgctxt "#30002" +msgid "Add channel to root" +msgstr "Přidat kanál do hlavní složky" + +msgctxt "#30003" +msgid "Remove channel" +msgstr "Odstranit kanál" + +msgctxt "#30004" +msgid "Playlists" +msgstr "Playlisty" + +msgctxt "#30005" +msgid "Next page" +msgstr "Další strana" + +msgctxt "#30006" +msgid "Search for channel" +msgstr "Vyhledat kanál" + +msgctxt "#30007" +msgid "Add by username" +msgstr "Přidat podle uživatele" + +msgctxt "#30008" +msgid "Choose option" +msgstr "Vybrat možnosti" + +msgctxt "#30009" +msgid "Add channel to" +msgstr "Přidat kanál do" + +msgctxt "#30010" +msgid "root" +msgstr "hlavní složky" + +msgctxt "#30011" +msgid "Folder name" +msgstr "Název složky" + +msgctxt "#30012" +msgid "Search channel" +msgstr "Hledat kanál" + +msgctxt "#30013" +msgid "Choose channel" +msgstr "Vybrat kanál" + +msgctxt "#30014" +msgid "Enter username" +msgstr "Zadat uživatele" + +msgctxt "#30015" +msgid "Erase database" +msgstr "Vymazat databázi" + +msgctxt "#30016" +msgid "Do you wish to erase your Youtube Channels database?" +msgstr "Přejete si vymazat databázi kanálů Youtube?" + +msgctxt "#30017" +msgid "Successfully erased folder database!" +msgstr "Databáze složek byla úspěšně vymazána!" + +msgctxt "#30018" +msgid "Channel with username" +msgstr "Kanál se jménem uživatele" + +msgctxt "#30019" +msgid "does not exist." +msgstr "neexistuje." + +msgctxt "#30020" +msgid "API Key Error" +msgstr "Chyba API Key" + +msgctxt "#30021" +msgid "You must enter a YouTube API Key to continue. Please use the addon settings to set the API key." +msgstr "Chcete-li pokračovat, musíte zadat YouTube API Key. K nastavení API Key použijte nastavení doplňku." + +msgctxt "#30022" +msgid "A YouTube API Key is required for this addon to work, please enter your API key now." +msgstr "Pro správnou funkci doplńku, je vyžadován YouTube API Key. Zadejte prosím API Key." + +msgctxt "#30023" +msgid "Move up" +msgstr "Přesun nahoru" + +msgctxt "#30024" +msgid "Move down" +msgstr "Přesun dolů" + +msgctxt "#30025" +msgid "Change folder" +msgstr "Změna složky" + +msgctxt "#30026" +msgid "Choose image" +msgstr "Vyberte obrázek" + +msgctxt "#30027" +msgid "Set thumbnail" +msgstr "Nastavte thumbnail" + +msgctxt "#30028" +msgid "Remove playlist" +msgstr "Odstraňte playlist" + +msgctxt "#30029" +msgid "Live" +msgstr "Živě (Live)" + +msgctxt "#30031" +msgid "Playing using YouTube" +msgstr "Přehrávání s použitím Yutube" + +msgctxt "#30032" +msgid "Sort Channels A-Z" +msgstr "Seřadit kanály A-Z" + +msgctxt "#30099" +msgid "Youtube channels" +msgstr "Youtube kanály" + +msgctxt "#30200" +msgid "General" +msgstr "Všeobecný" + +msgctxt "#30201" +msgid "Enable playlists" +msgstr "Povolit playlisty" + +msgctxt "#30202" +msgid "Show 'add folder/channel' options" +msgstr "Zobrazit volbu 'Přidat složku/kanál'" + +msgctxt "#30203" +msgid "Number of videos per page" +msgstr "Počet položek na stranu" + +msgctxt "#30204" +msgid "Number of channel search results" +msgstr "Počet vyhledaných kanálů" + +msgctxt "#30205" +msgid "Erase database" +msgstr "Vymazat databázi" + +msgctxt "#30206" +msgid "API Key" +msgstr "API Key" + +msgctxt "#30207" +msgid "YouTube API Key" +msgstr "YouTube API Key" + +msgctxt "#30208" +msgid "Enable live streams" +msgstr "Povolit živá vysílání (Live streamy)" + +msgctxt "#30209" +msgid "Filter out shorts" +msgstr "Filtrovat krátká videa (< 1 minutu)" diff --git a/plugin.video.ytchannels/resources/lib/ytchannels.py b/plugin.video.ytchannels/resources/lib/ytchannels.py index e161d845b..e57f1aab7 100644 --- a/plugin.video.ytchannels/resources/lib/ytchannels.py +++ b/plugin.video.ytchannels/resources/lib/ytchannels.py @@ -206,10 +206,11 @@ def ytchannels_main(): li.addContextMenuItems(items) xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li,isFolder=True) - url = build_url({'mode': 'add_channel', 'foldername': '%s'%foldername}) - li = xbmcgui.ListItem('[COLOR green]%s[/COLOR] [COLOR blue]%s[/COLOR]'%(local_string(30009),foldername)) - li.setArt({'icon':plus_img}) - xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li,isFolder=True) + if show_adds !='false': + url = build_url({'mode': 'add_channel', 'foldername': '%s'%foldername}) + li = xbmcgui.ListItem('[COLOR green]%s[/COLOR] [COLOR blue]%s[/COLOR]'%(local_string(30009),foldername)) + li.setArt({'icon':plus_img}) + xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li,isFolder=True) xbmcplugin.endOfDirectory(addon_handle)