diff options
-rw-r--r-- | addons/resource.language.en_gb/resources/strings.po | 10 | ||||
-rw-r--r-- | xbmc/filesystem/AddonsDirectory.cpp | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/addons/resource.language.en_gb/resources/strings.po b/addons/resource.language.en_gb/resources/strings.po index afa06431d4..189917262a 100644 --- a/addons/resource.language.en_gb/resources/strings.po +++ b/addons/resource.language.en_gb/resources/strings.po @@ -15745,7 +15745,15 @@ msgctxt "#24168" msgid "Deprecated: {0:s}" msgstr "" -#empty strings from id 24169 to 24990 +#empty string with id 24169 + +#. To declare addon as deprecated +#: xbmc/filesystem/AddonsDirectory.cpp +msgctxt "#24170" +msgid "Deprecated" +msgstr "" + +#empty strings from id 24171 to 24990 #. Used as error message in add-on browser when add-on repository data could not be downloaded #: xbmc/filesystem/AddonsDirectory.cpp diff --git a/xbmc/filesystem/AddonsDirectory.cpp b/xbmc/filesystem/AddonsDirectory.cpp index cf355f541e..afb172444b 100644 --- a/xbmc/filesystem/AddonsDirectory.cpp +++ b/xbmc/filesystem/AddonsDirectory.cpp @@ -855,6 +855,8 @@ void CAddonsDirectory::GenerateAddonListing(const CURL& path, pItem->SetProperty("Addon.Status", g_localizeStrings.Get(24068)); else if (addon->LifecycleState() == AddonLifecycleState::BROKEN) pItem->SetProperty("Addon.Status", g_localizeStrings.Get(24098)); + else if (addon->LifecycleState() == AddonLifecycleState::DEPRECATED) + pItem->SetProperty("Addon.Status", g_localizeStrings.Get(24170)); items.Add(pItem); } |