mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-12-05 01:10:36 +00:00
Fix error message
This commit is contained in:
@@ -8,7 +8,7 @@ export function getBrowseVideosDefaultSortError (value: string, enabledTrendingA
|
||||
|
||||
// Only use `t` if language is provided, because i18n might not be initialized yet and can return `undefined`
|
||||
if (language) {
|
||||
return t(`Browse videos default sort should be '{options}', instead of '{value}'`, language, { options, value })
|
||||
return t(`Browse videos default sort should be {options}, instead of {value}`, language, { options, value })
|
||||
}
|
||||
|
||||
return `Browse videos default sort should be '${options}', instead of '${value}'`
|
||||
|
||||
Reference in New Issue
Block a user