From c3ff578fac6eb5544cbc3b645ca1beb2afb516ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Sat, 21 Mar 2020 20:46:14 +0100 Subject: [PATCH] Fix correct naming of channels to uppercase --- addon.xml | 2 +- resources/language/resource.language.en_gb/strings.po | 2 +- resources/language/resource.language.nl_nl/strings.po | 4 ++-- resources/lib/modules/catalog.py | 6 +++--- resources/lib/viervijfzes/auth.py | 2 +- resources/lib/viervijfzes/content.py | 2 +- resources/lib/viervijfzes/epg.py | 2 +- resources/lib/viervijfzes/search.py | 2 +- resources/settings.xml | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/addon.xml b/addon.xml index b1450b8..c11a84b 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index aa07791..ec23f97 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -127,7 +127,7 @@ msgid "Credentials" msgstr "" msgctxt "#30801" -msgid "Vier/Vijf/Zes credentials" +msgid "Credentials" msgstr "" msgctxt "#30803" diff --git a/resources/language/resource.language.nl_nl/strings.po b/resources/language/resource.language.nl_nl/strings.po index 07ae5a4..71e919e 100644 --- a/resources/language/resource.language.nl_nl/strings.po +++ b/resources/language/resource.language.nl_nl/strings.po @@ -128,8 +128,8 @@ msgid "Credentials" msgstr "Inloggegevens" msgctxt "#30801" -msgid "Vier/Vijf/Zes credentials" -msgstr "Vier/Vijf/Zes inloggegevens" +msgid "Credentials" +msgstr "Inloggegevens" msgctxt "#30803" msgid "Email address" diff --git a/resources/lib/modules/catalog.py b/resources/lib/modules/catalog.py index 393ad37..97be895 100644 --- a/resources/lib/modules/catalog.py +++ b/resources/lib/modules/catalog.py @@ -66,12 +66,12 @@ class Catalog: try: program = self._api.get_program(channel, program_id) except UnavailableException: - kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the Vier/Vijf/Zes catalogue. + kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the catalogue. kodiutils.end_of_directory() return if not program.episodes: - kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the Vier/Vijf/Zes catalogue. + kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the catalogue. kodiutils.end_of_directory() return @@ -136,7 +136,7 @@ class Catalog: try: program = self._api.get_program(channel, program_id) except UnavailableException: - kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the Vier/Vijf/Zes catalogue. + kodiutils.ok_dialog(message=kodiutils.localize(30717)) # This program is not available in the catalogue. kodiutils.end_of_directory() return diff --git a/resources/lib/viervijfzes/auth.py b/resources/lib/viervijfzes/auth.py index fba5cfe..bf2e714 100644 --- a/resources/lib/viervijfzes/auth.py +++ b/resources/lib/viervijfzes/auth.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger('auth-api') class AuthApi: - """ Vier/Vijf/Zes Authentication API """ + """ VIER/VIJF/ZES Authentication API """ COGNITO_REGION = 'eu-west-1' COGNITO_POOL_ID = 'eu-west-1_dViSsKM5Y' COGNITO_CLIENT_ID = '6s1h851s8uplco5h6mqh1jac8m' diff --git a/resources/lib/viervijfzes/content.py b/resources/lib/viervijfzes/content.py index dd95e13..c501f40 100644 --- a/resources/lib/viervijfzes/content.py +++ b/resources/lib/viervijfzes/content.py @@ -127,7 +127,7 @@ class Episode: class ContentApi: - """ Vier/Vijf/Zes Content API""" + """ VIER/VIJF/ZES Content API""" API_ENDPOINT = 'https://api.viervijfzes.be' def __init__(self, token=None): diff --git a/resources/lib/viervijfzes/epg.py b/resources/lib/viervijfzes/epg.py index 06e7cb6..9f23115 100644 --- a/resources/lib/viervijfzes/epg.py +++ b/resources/lib/viervijfzes/epg.py @@ -41,7 +41,7 @@ class EpgProgram: class EpgApi: - """ Vier/Vijf/Zes EPG API """ + """ VIER/VIJF/ZES EPG API """ EPG_ENDPOINTS = { 'vier': 'https://www.vier.be/api/epg/{date}', diff --git a/resources/lib/viervijfzes/search.py b/resources/lib/viervijfzes/search.py index 40ef731..4886be1 100644 --- a/resources/lib/viervijfzes/search.py +++ b/resources/lib/viervijfzes/search.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger('search-api') class SearchApi: - """ Vier/Vijf/Zes Search API """ + """ VIER/VIJF/ZES Search API """ API_ENDPOINT = 'https://api.viervijfzes.be/search' def __init__(self): diff --git a/resources/settings.xml b/resources/settings.xml index 167f539..ed67830 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -1,7 +1,7 @@ - +