Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix error message

Chocobozzz64fa8f2dc857
diff --git a/server/core/helpers/custom-validators/browse-videos.ts b/server/core/helpers/custom-validators/browse-videos.ts
index f329372333..100175f454 100644
--- a/server/core/helpers/custom-validators/browse-videos.ts
+++ b/server/core/helpers/custom-validators/browse-videos.ts
@@ -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}'`