mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
fix(Discover): use correct translation func
This commit is contained in:
parent
4f9cd61286
commit
d27f92fb01
1 changed files with 2 additions and 2 deletions
|
|
@ -46,10 +46,10 @@ const mapSelectableInputs = (discover, t) => {
|
|||
}
|
||||
};
|
||||
const extraSelects = discover.selectable.extra.map(({ name, isRequired, options }) => ({
|
||||
title: t(name),
|
||||
title: t.string(name),
|
||||
isRequired: isRequired,
|
||||
options: options.map(({ value, deepLinks }) => ({
|
||||
label: typeof value === 'string' ? t(value) : t.string('NONE'),
|
||||
label: typeof value === 'string' ? t.string(value) : t.string('NONE'),
|
||||
value: JSON.stringify({
|
||||
href: deepLinks.discover,
|
||||
value
|
||||
|
|
|
|||
Loading…
Reference in a new issue