From c56d42136ee9dd3f4df6366fb6a1d02d1fb3cd14 Mon Sep 17 00:00:00 2001 From: Hosted Weblate Date: Tue, 18 Jul 2023 17:11:35 +0000 Subject: [PATCH 1/4] Translated using Weblate (French (France) (fr_fr)) Currently translated at 100.0% (2 of 2 strings) Translated using Weblate (French (France) (fr_fr)) Currently translated at 100.0% (2 of 2 strings) Translated using Weblate (Italian (it_it)) Currently translated at 100.0% (2 of 2 strings) Co-authored-by: Hosted Weblate Co-authored-by: Massimo Pissarello Co-authored-by: Philippe Duveau Co-authored-by: skypichat Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-scripts/script-module-python-twitch/fr_fr/ Translate-URL: https://kodi.weblate.cloud/projects/kodi-add-ons-scripts/script-module-python-twitch/it_it/ Translation: Kodi add-ons: scripts/script.module.python.twitch --- .../language/resource.language.fr_fr/strings.po | 13 +++++++------ .../language/resource.language.it_it/strings.po | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/resources/language/resource.language.fr_fr/strings.po b/resources/language/resource.language.fr_fr/strings.po index e3b3c19..8ec67af 100644 --- a/resources/language/resource.language.fr_fr/strings.po +++ b/resources/language/resource.language.fr_fr/strings.po @@ -1,24 +1,25 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" +"Report-Msgid-Bugs-To: translations@kodi.tv\n" "POT-Creation-Date: 2016-09-18 00:54+0000\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" +"PO-Revision-Date: 2023-07-18 17:11+0000\n" +"Last-Translator: skypichat \n" +"Language-Team: French (France) \n" "Language: fr_fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.18.2\n" msgctxt "Addon Summary" msgid "Module for interaction with the Twitch.tv API" -msgstr "" +msgstr "Module pour interagir avec l'API de Twitch.tv" msgctxt "Addon Description" msgid "python-twitch for Kodi is module for interaction with the Twitch.tv API based on python-twitch by ingwinlu." -msgstr "" +msgstr "python-twitch pour Kodi est un module pour interagir avec l'API Twitch.tv basé sur python-twitch de ingwinlu." # msgctxt "#30000" # msgid "" diff --git a/resources/language/resource.language.it_it/strings.po b/resources/language/resource.language.it_it/strings.po index 6df4175..3d590cb 100644 --- a/resources/language/resource.language.it_it/strings.po +++ b/resources/language/resource.language.it_it/strings.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: translations@kodi.tv\n" "POT-Creation-Date: 2016-09-18 00:54+0000\n" -"PO-Revision-Date: 2022-08-15 22:34+0000\n" +"PO-Revision-Date: 2023-04-24 04:16+0000\n" "Last-Translator: Massimo Pissarello \n" "Language-Team: Italian \n" "Language: it_it\n" @@ -11,7 +11,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=n != 1;\n" -"X-Generator: Weblate 4.13\n" +"X-Generator: Weblate 4.15.2\n" msgctxt "Addon Summary" msgid "Module for interaction with the Twitch.tv API" From 0dcb2eb299d5f32422efe2e4c4106092ff26681c Mon Sep 17 00:00:00 2001 From: apo86 <57818762+apo86@users.noreply.github.com> Date: Sat, 9 Sep 2023 05:03:27 +0200 Subject: [PATCH 2/4] Update users.py Update get_follows for current helix endpoint --- resources/lib/twitch/api/helix/users.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/resources/lib/twitch/api/helix/users.py b/resources/lib/twitch/api/helix/users.py index 8ce14c7..4da035d 100644 --- a/resources/lib/twitch/api/helix/users.py +++ b/resources/lib/twitch/api/helix/users.py @@ -31,12 +31,10 @@ def get_users(user_id=list(), user_login=list(), use_app_token=False): # required scope: none @query -def get_follows(from_id='', to_id='', after='MA==', before='MA==', first=20, use_app_token=False): - q = Qry('users/follows', use_app_token=use_app_token) - q.add_param(keys.FROM_ID, from_id, '') - q.add_param(keys.TO_ID, to_id, '') +def get_follows(user_id='', after='MA==', first=20, use_app_token=False): + q = Qry('channels/followed', use_app_token=use_app_token) + q.add_param(keys.USER_ID, user_id, '') q.add_param(keys.AFTER, Cursor.validate(after), 'MA==') - q.add_param(keys.BEFORE, Cursor.validate(before), 'MA==') q.add_param(keys.FIRST, IntRange(1, 100).validate(first), 20) return q From be4d45e7228613d657ad505738569cfe67d2d6c3 Mon Sep 17 00:00:00 2001 From: apo86 <57818762+apo86@users.noreply.github.com> Date: Sat, 9 Sep 2023 13:42:57 +0200 Subject: [PATCH 3/4] Update addon.xml Version bump + news --- addon.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/addon.xml b/addon.xml index 70a7647..6933414 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -9,8 +9,7 @@ all -[fix] oauth queries -[lang] updated translations from Weblate +[fix] Following Channels resources/media/icon.png From 843f7e1b180be71cee3545981f94ac8b0a023c98 Mon Sep 17 00:00:00 2001 From: anxdpanic Date: Sat, 9 Sep 2023 12:11:35 +0000 Subject: [PATCH 4/4] Sync of addon metadata translations --- addon.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addon.xml b/addon.xml index 70a7647..4cb2b86 100644 --- a/addon.xml +++ b/addon.xml @@ -25,6 +25,7 @@ Module for interaction with the Twitch.tv API Módulo para interactuar con la API de Twitch.tv Moduuli Twitch.tv-rajapinnan käyttöön + Module pour interagir avec l'API de Twitch.tv Modul za interakciju s Twitch.tv API Modul a Twitch.tv API -val való interakcióhoz Modulo per l'interazione con l'API di Twitch.tv @@ -37,6 +38,7 @@ python-twitch for Kodi is module for interaction with the Twitch.tv API based on python-twitch by ingwinlu. python-twitch para Kodi es un módulo para interactuar con la API de Twitch.tv basado en python-twitch de ingwinlu. 'Python-twitch for Kodi' on Twitch.tv-palvelun rajapinnan hyödyntämisen mahdollistava moduuli, joka perustuu kehittäjän ingwinlu luomaan python-twitch-moduuliin. + python-twitch pour Kodi est un module pour interagir avec l'API Twitch.tv basé sur python-twitch de ingwinlu. python-twitch za Kodi je modul za interakciju s Twitch.tv API-jem temeljenom na python-twitch by ingwinlu. A python-twitch a Kodi számára a Twitch.tv API-val való interakció modulja, amely az ingwinlu python-twitch-jén alapul. python-twitch per Kodi è un modulo per l'interazione con l'API di Twitch.tv basato su python-twitch di ingwinlu.