mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
Removed addon name from catalog title
This commit is contained in:
parent
6420b5e0c9
commit
fef0a57ac7
1 changed files with 1 additions and 2 deletions
|
|
@ -21,11 +21,10 @@ const useTranslate = () => {
|
|||
if (addon && id && name) {
|
||||
const partialKey = `${addon.manifest.id.split('.').join('_')}_${id}`;
|
||||
const translatedName = stringWithPrefix(partialKey, 'CATALOG_', name);
|
||||
const addonName = addon.manifest.name;
|
||||
|
||||
if (type && withType) {
|
||||
const translatedType = stringWithPrefix(type, 'TYPE_');
|
||||
return `${addonName}: ${translatedName} - ${translatedType}`;
|
||||
return `${translatedName} - ${translatedType}`;
|
||||
}
|
||||
|
||||
return translatedName;
|
||||
|
|
|
|||
Loading…
Reference in a new issue