From 0052d00aa245ba0df0ac7887654f54cde9fafe48 Mon Sep 17 00:00:00 2001 From: Anton Soroko Date: Thu, 28 Dec 2023 17:15:58 +0300 Subject: [PATCH] Minor fixes (#957) * more clear translation for msgctxt "#30092" * fix E721 so linter is happy. * 30418 should be "Calculate number of unwatched episodes in Shows/Seasons" * fix ru translation for 30365 --- resources/language/Croatian/strings.po | 2 +- resources/language/Dutch/strings.po | 2 +- resources/language/English/strings.po | 2 +- resources/language/Finnish/strings.po | 2 +- resources/language/French/strings.po | 2 +- resources/language/German/strings.po | 2 +- resources/language/Greek/strings.po | 2 +- resources/language/Hebrew/strings.po | 2 +- resources/language/Hungarian/strings.po | 2 +- resources/language/Italian/strings.po | 2 +- resources/language/Portuguese (Brazil)/strings.po | 2 +- resources/language/Portuguese/strings.po | 2 +- resources/language/Romanian/strings.po | 2 +- resources/language/Russian/strings.po | 8 ++++---- resources/language/Slovak/strings.po | 2 +- resources/language/Spanish (Argentina)/strings.po | 2 +- resources/language/Spanish (Mexico)/strings.po | 2 +- resources/language/Spanish/strings.po | 2 +- resources/language/Swedish/strings.po | 2 +- resources/language/Ukrainian/strings.po | 2 +- resources/language/messages.pot | 2 +- resources/site-packages/elementum/navigation.py | 2 +- 22 files changed, 25 insertions(+), 25 deletions(-) diff --git a/resources/language/Croatian/strings.po b/resources/language/Croatian/strings.po index 14e73f693..a66e35060 100644 --- a/resources/language/Croatian/strings.po +++ b/resources/language/Croatian/strings.po @@ -1180,7 +1180,7 @@ msgid "Use name of production company as Studio for shows" msgstr "Koristi naziv producentske kuće za Studio TV serija" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "Prikaži broj neodgledanih epizoda u Serije/Sezone" msgctxt "#30421" diff --git a/resources/language/Dutch/strings.po b/resources/language/Dutch/strings.po index 01b7381f1..a93e43cb1 100644 --- a/resources/language/Dutch/strings.po +++ b/resources/language/Dutch/strings.po @@ -1163,7 +1163,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/English/strings.po b/resources/language/English/strings.po index f818844df..70615f5f6 100644 --- a/resources/language/English/strings.po +++ b/resources/language/English/strings.po @@ -1162,7 +1162,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Finnish/strings.po b/resources/language/Finnish/strings.po index 638d5b5b6..6f83b11c0 100644 --- a/resources/language/Finnish/strings.po +++ b/resources/language/Finnish/strings.po @@ -1162,7 +1162,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/French/strings.po b/resources/language/French/strings.po index 49b213df2..40cfd8502 100644 --- a/resources/language/French/strings.po +++ b/resources/language/French/strings.po @@ -1172,7 +1172,7 @@ msgid "Use name of production company as Studio for shows" msgstr "Utiliser le nom de la société de production comme Studio pour les séries" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "Montre le nombre d'épisodes non-vus dans Séries/Saisons" msgctxt "#30421" diff --git a/resources/language/German/strings.po b/resources/language/German/strings.po index aa448a494..cd7291db6 100644 --- a/resources/language/German/strings.po +++ b/resources/language/German/strings.po @@ -1166,7 +1166,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Greek/strings.po b/resources/language/Greek/strings.po index 75e0b74f5..f3dcc6250 100644 --- a/resources/language/Greek/strings.po +++ b/resources/language/Greek/strings.po @@ -1165,7 +1165,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Hebrew/strings.po b/resources/language/Hebrew/strings.po index 92fdab65b..f95c8f536 100644 --- a/resources/language/Hebrew/strings.po +++ b/resources/language/Hebrew/strings.po @@ -1167,7 +1167,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Hungarian/strings.po b/resources/language/Hungarian/strings.po index e77df8c63..bfa6711fc 100644 --- a/resources/language/Hungarian/strings.po +++ b/resources/language/Hungarian/strings.po @@ -1164,7 +1164,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Italian/strings.po b/resources/language/Italian/strings.po index 65de06a3c..5dfb2f0be 100644 --- a/resources/language/Italian/strings.po +++ b/resources/language/Italian/strings.po @@ -1163,7 +1163,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Portuguese (Brazil)/strings.po b/resources/language/Portuguese (Brazil)/strings.po index 3c9a424c1..bc2fceea0 100644 --- a/resources/language/Portuguese (Brazil)/strings.po +++ b/resources/language/Portuguese (Brazil)/strings.po @@ -1162,7 +1162,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Portuguese/strings.po b/resources/language/Portuguese/strings.po index 060d2a44f..d6d24c3d0 100644 --- a/resources/language/Portuguese/strings.po +++ b/resources/language/Portuguese/strings.po @@ -1162,7 +1162,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Romanian/strings.po b/resources/language/Romanian/strings.po index 3449077e8..c062a1a30 100644 --- a/resources/language/Romanian/strings.po +++ b/resources/language/Romanian/strings.po @@ -1166,7 +1166,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Russian/strings.po b/resources/language/Russian/strings.po index e6d5ee8af..756213033 100644 --- a/resources/language/Russian/strings.po +++ b/resources/language/Russian/strings.po @@ -342,7 +342,7 @@ msgstr "Исходящие интерфейсы" msgctxt "#30092" msgid "Use fallback fanart if fanart wasn't found" -msgstr "Использовать фанарт по умолчанию" +msgstr "Использовать резервный фанарт, если фанарт не был найден" msgctxt "#30093" msgid "Disable notification sound" @@ -976,7 +976,7 @@ msgstr "Синхронизировать Список просмотра из Tr msgctxt "#30365" msgid "Sync items from user lists into Kodi library" -msgstr "Синхронизировать Мой Список из Trakt в библиотеку" +msgstr "Синхронизировать Мои Списки из Trakt в библиотеку" msgctxt "#30366" msgid "Sync watched states from Trakt into Kodi library" @@ -1163,8 +1163,8 @@ msgid "Use name of production company as Studio for shows" msgstr "Использовать имя продюсерской компании как имя студии для шоу" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" -msgstr "Показывать количество непросмотренных серий в Сериале/Сезоне" +msgid "Calculate number of unwatched episodes in Shows/Seasons" +msgstr "Вычислять количество непросмотренных серий в Сериале/Сезоне" msgctxt "#30421" msgid "Load torrents from torrents folder on startup" diff --git a/resources/language/Slovak/strings.po b/resources/language/Slovak/strings.po index 845cd1b32..a21f86b0d 100644 --- a/resources/language/Slovak/strings.po +++ b/resources/language/Slovak/strings.po @@ -1163,7 +1163,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Spanish (Argentina)/strings.po b/resources/language/Spanish (Argentina)/strings.po index 4240f6069..eaa560707 100644 --- a/resources/language/Spanish (Argentina)/strings.po +++ b/resources/language/Spanish (Argentina)/strings.po @@ -1163,7 +1163,7 @@ msgid "Use name of production company as Studio for shows" msgstr "Usar nombre de compañía productora como Studio en shows" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "Mostrar cantidad episodios no vistos en Series/Temporadas" msgctxt "#30421" diff --git a/resources/language/Spanish (Mexico)/strings.po b/resources/language/Spanish (Mexico)/strings.po index ff2d4ca3f..89aefd250 100755 --- a/resources/language/Spanish (Mexico)/strings.po +++ b/resources/language/Spanish (Mexico)/strings.po @@ -1162,7 +1162,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/language/Spanish/strings.po b/resources/language/Spanish/strings.po index 316a59101..24038df42 100644 --- a/resources/language/Spanish/strings.po +++ b/resources/language/Spanish/strings.po @@ -1163,7 +1163,7 @@ msgid "Use name of production company as Studio for shows" msgstr "Usar nombre de la productora como estudio para series" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "Mostrar número de episodios no vistos en Series/Temporadas" msgctxt "#30421" diff --git a/resources/language/Swedish/strings.po b/resources/language/Swedish/strings.po index 74a7558b5..13b81b25f 100644 --- a/resources/language/Swedish/strings.po +++ b/resources/language/Swedish/strings.po @@ -1166,7 +1166,7 @@ msgid "Use name of production company as Studio for shows" msgstr "Använd namn på produktionsföretag som studio för serier" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "Visa antal osedda avsnitt i serier/säsonger" msgctxt "#30421" diff --git a/resources/language/Ukrainian/strings.po b/resources/language/Ukrainian/strings.po index efadadbdd..4f286e756 100644 --- a/resources/language/Ukrainian/strings.po +++ b/resources/language/Ukrainian/strings.po @@ -1163,7 +1163,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "Показувати скільки непереглянутих епізодів" msgctxt "#30421" diff --git a/resources/language/messages.pot b/resources/language/messages.pot index 4555eaf01..3e19de1b3 100644 --- a/resources/language/messages.pot +++ b/resources/language/messages.pot @@ -1174,7 +1174,7 @@ msgid "Use name of production company as Studio for shows" msgstr "" msgctxt "#30418" -msgid "Show number of unwatched episodes in Shows/Seasons" +msgid "Calculate number of unwatched episodes in Shows/Seasons" msgstr "" msgctxt "#30421" diff --git a/resources/site-packages/elementum/navigation.py b/resources/site-packages/elementum/navigation.py index eca8b02da..c4520894b 100644 --- a/resources/site-packages/elementum/navigation.py +++ b/resources/site-packages/elementum/navigation.py @@ -86,7 +86,7 @@ def delistLabel(labels, key): def normalizeLabels(labels): if PLATFORM['kodi'] <= 16: for i, item in enumerate(labels): - if type(labels[item]) is tuple or type(labels[item]) is list: + if isinstance(labels[item], tuple) or isinstance(labels[item], list): delistLabel(labels, item) elif PLATFORM['kodi'] == 17: