Update VideoTooLargeError strings (#7923)

This commit is contained in:
surfdude29
2025-03-11 22:56:40 +00:00
committed by GitHub
parent e7212f9904
commit d16c80d928
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
export class VideoTooLargeError extends Error {
constructor() {
super('Videos cannot be larger than 50mb')
super('Videos cannot be larger than 100 MB')
this.name = 'VideoTooLargeError'
}
}
+1 -1
View File
@@ -392,7 +392,7 @@ function getCompressErrorMessage(e: unknown, _: I18n['_']): string | null {
return null
}
if (e instanceof VideoTooLargeError) {
return _(msg`The selected video is larger than 50MB.`)
return _(msg`The selected video is larger than 100 MB.`)
}
logger.error('Error compressing video', {safeMessage: e})
return _(msg`An error occurred while compressing the video.`)