From 1be2cae92c5abcb1429b5805e504410594cbec87 Mon Sep 17 00:00:00 2001 From: Sarab Singh Date: Mon, 27 Apr 2020 19:42:04 +0530 Subject: [PATCH] translation for playlists and collections fix --- src/controllers/list.js | 2 +- src/strings/en-gb.json | 2 ++ src/strings/en-us.json | 2 ++ src/strings/ru.json | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/controllers/list.js b/src/controllers/list.js index bcc38f27cf..901f7d01a8 100644 --- a/src/controllers/list.js +++ b/src/controllers/list.js @@ -610,7 +610,7 @@ define(["globalize", "listView", "layoutManager", "userSettings", "focusManager" } if (item) { - return item.Name; + return globalize.translate(item.Name); } if ("Movie" === params.type) { diff --git a/src/strings/en-gb.json b/src/strings/en-gb.json index 3f6b5dc393..5e57536715 100644 --- a/src/strings/en-gb.json +++ b/src/strings/en-gb.json @@ -528,6 +528,8 @@ "Smart": "Smart", "SimultaneousConnectionLimitHelp": "The maximum number of allowed simultaneous streams. Enter 0 for no limit.", "Shuffle": "Shuffle", + "New": "New", + "Filter": "Filter", "ShowYear": "Show year", "ShowIndicatorsFor": "Show indicators for:", "ShowAdvancedSettings": "Show advanced settings", diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 08a871d122..b7dad7240a 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -1336,6 +1336,8 @@ "ShowYear": "Show year", "Shows": "Shows", "Shuffle": "Shuffle", + "New": "New", + "Filter": "Filter", "SimultaneousConnectionLimitHelp": "The maximum number of allowed simultaneous streams. Enter 0 for no limit.", "SkipEpisodesAlreadyInMyLibrary": "Don't record episodes that are already in my library", "SkipEpisodesAlreadyInMyLibraryHelp": "Episodes will be compared using season and episode numbers, when available.", diff --git a/src/strings/ru.json b/src/strings/ru.json index 7a6c508bd7..06b7e48aab 100644 --- a/src/strings/ru.json +++ b/src/strings/ru.json @@ -1221,6 +1221,8 @@ "ShowYear": "Отображать год", "Shows": "Передачи", "Shuffle": "Перемешать", + "New": "Новинка", + "Filter": "Фильтр", "SimultaneousConnectionLimitHelp": "Максимальное количество разрешённых одновременных потоков. Введите 0, чтобы снять ограничения.", "SkipEpisodesAlreadyInMyLibrary": "Не записывать эпизоды, которые уже находятся в моей медиатеке", "SkipEpisodesAlreadyInMyLibraryHelp": "Эпизоды будут сравниваться с помощью номеров сезонов и эпизодов, когда они имеются.",