Skip to content

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

Fix error message, again

Chocobozzz02487ab3ac5c
diff --git a/server/core/helpers/custom-validators/browse-videos.ts b/server/core/helpers/custom-validators/browse-videos.ts
index 100175f454..8de59ef0fa 100644
--- a/server/core/helpers/custom-validators/browse-videos.ts
+++ b/server/core/helpers/custom-validators/browse-videos.ts
@@ -24,7 +24,7 @@ export function getBrowseVideosDefaultSortError (value: string, enabledTrendingA
if (currentTrendingSortAlgorithm && enabledTrendingAlgorithms.includes(currentTrendingSortAlgorithm) === false) {
if (language) {
return t(
- `Trending videos algorithm '{currentTrendingSortAlgorithm}' should be enabled if browse videos default sort is '{value}'`,
+ `Trending videos algorithm {currentTrendingSortAlgorithm} should be enabled if browse videos default sort is {value}`,
language,
{ currentTrendingSortAlgorithm, value }
)
@@ -43,7 +43,7 @@ export function getBrowseVideosDefaultScopeError (value: string, language?: stri
const options = availableOptions.join('\' or \'')
if (language) {
- return t(`Browse videos default scope should be '{options}', instead of '{value}'`, language, { options, value })
+ return t(`Browse videos default scope should be {options}, instead of {value}`, language, { options, value })
}
return `Browse videos default scope should be '${options}', instead of '${value}'`