parent
723a5e488e
commit
436e30fded
|
@ -3,9 +3,9 @@ import {ImagePickerAsset} from 'expo-image-picker'
|
||||||
import {VideoTooLargeError} from 'lib/media/video/errors'
|
import {VideoTooLargeError} from 'lib/media/video/errors'
|
||||||
import {CompressedVideo} from './types'
|
import {CompressedVideo} from './types'
|
||||||
|
|
||||||
const MAX_VIDEO_SIZE = 1024 * 1024 * 100 // 100MB
|
const MAX_VIDEO_SIZE = 1024 * 1024 * 50 // 50mb
|
||||||
|
|
||||||
// doesn't actually compress, but throws if >100MB
|
// doesn't actually compress, converts to ArrayBuffer
|
||||||
export async function compressVideo(
|
export async function compressVideo(
|
||||||
asset: ImagePickerAsset,
|
asset: ImagePickerAsset,
|
||||||
_opts?: {
|
_opts?: {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export class VideoTooLargeError extends Error {
|
export class VideoTooLargeError extends Error {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('Videos cannot be larger than 100MB')
|
super('Videos cannot be larger than 50mb')
|
||||||
this.name = 'VideoTooLargeError'
|
this.name = 'VideoTooLargeError'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7664,8 +7664,8 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "La política de privacitat ha estat traslladada a <0/>"
|
msgstr "La política de privacitat ha estat traslladada a <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "El vídeo triat és més gran de 100MB."
|
msgstr "El vídeo triat és més gran de 50MB."
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
||||||
|
@ -8605,8 +8605,8 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr "Els vídeos no poder ser de més de 100MB"
|
#~ msgstr "Els vídeos no poder ser de més de 50MB"
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
msgid "View {0}'s avatar"
|
msgid "View {0}'s avatar"
|
||||||
|
|
|
@ -6965,7 +6965,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Die Datenschutzerklärung wurde nach <0/> verschoben"
|
msgstr "Die Datenschutzerklärung wurde nach <0/> verschoben"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7871,7 +7871,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -7039,7 +7039,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:227
|
#: src/state/queries/video/video.ts:227
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7917,7 +7917,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -6893,7 +6893,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "La Política de privacidad se ha trasladado a <0/>"
|
msgstr "La Política de privacidad se ha trasladado a <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7763,7 +7763,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -6989,7 +6989,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Tietosuojakäytäntö on siirretty kohtaan <0/>"
|
msgstr "Tietosuojakäytäntö on siirretty kohtaan <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7863,7 +7863,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -6486,7 +6486,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Notre politique de confidentialité a été déplacée vers <0/>"
|
msgstr "Notre politique de confidentialité a été déplacée vers <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7302,7 +7302,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr "Les vidéos ne peuvent pas dépasser 100 Mo"
|
#~ msgstr "Les vidéos ne peuvent pas dépasser 100 Mo"
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -7035,7 +7035,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Bogadh Polasaí na Príobháideachta go dtí <0/>"
|
msgstr "Bogadh Polasaí na Príobháideachta go dtí <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7912,7 +7912,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -7609,7 +7609,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "गोपनीयता नीति को <0/> पर स्थानांतरित किया गया है"
|
msgstr "गोपनीयता नीति को <0/> पर स्थानांतरित किया गया है"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -8535,7 +8535,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -7040,7 +7040,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Kebijakan Privasi telah dipindahkan ke <0/>"
|
msgstr "Kebijakan Privasi telah dipindahkan ke <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7914,8 +7914,8 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr "Video tidak boleh lebih besar dari 100MB"
|
#~ msgstr "Video tidak boleh lebih besar dari 50MB"
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
msgid "View {0}'s avatar"
|
msgid "View {0}'s avatar"
|
||||||
|
|
|
@ -7321,8 +7321,8 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "La politica sulla privacy è stata spostata a <0/><0/>"
|
msgstr "La politica sulla privacy è stata spostata a <0/><0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "Questo video è più grande di 100MB."
|
msgstr "Questo video è più grande di 50MB."
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
||||||
|
@ -8222,8 +8222,8 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr "I video non possono essere più grandi di 100MB"
|
#~ msgstr "I video non possono essere più grandi di 50MB"
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
msgid "View {0}'s avatar"
|
msgid "View {0}'s avatar"
|
||||||
|
|
|
@ -6272,8 +6272,8 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "プライバシーポリシーは<0/>に移動しました"
|
msgstr "プライバシーポリシーは<0/>に移動しました"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "選択したビデオのサイズが100MBを超えています。"
|
msgstr "選択したビデオのサイズが50MBを超えています。"
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
||||||
|
|
|
@ -6272,8 +6272,8 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "개인정보 처리방침을 <0/>(으)로 이동했습니다"
|
msgstr "개인정보 처리방침을 <0/>(으)로 이동했습니다"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "선택한 동영상이 100MB를 초과합니다."
|
msgstr "선택한 동영상이 50MB를 초과합니다."
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
||||||
|
|
|
@ -7039,7 +7039,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "A Política de Privacidade foi movida para <0/>"
|
msgstr "A Política de Privacidade foi movida para <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:227
|
#: src/state/queries/video/video.ts:227
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "Vídeo selecionado é maior que 100 MB."
|
msgstr "Vídeo selecionado é maior que 100 MB."
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7917,7 +7917,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr "Vídeos não podem ter mais de 100 MB"
|
#~ msgstr "Vídeos não podem ter mais de 100 MB"
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -6237,7 +6237,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Политика конфиденциальности была перемещена в <0/>"
|
msgstr "Политика конфиденциальности была перемещена в <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:188
|
#: src/state/queries/video/video.ts:188
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "Размер выбранного видео превышает 100МБ."
|
msgstr "Размер выбранного видео превышает 100МБ."
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
|
|
@ -7498,7 +7498,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Gizlilik Politikası <0/> konumuna taşındı"
|
msgstr "Gizlilik Politikası <0/> konumuna taşındı"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -8412,7 +8412,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -7040,7 +7040,7 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "Політика конфіденційності була переміщена до <0/>"
|
msgstr "Політика конфіденційності була переміщена до <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
|
@ -7914,7 +7914,7 @@ msgid "Video: {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/view/com/composer/videos/state.ts:27
|
#: src/view/com/composer/videos/state.ts:27
|
||||||
#~ msgid "Videos cannot be larger than 100MB"
|
#~ msgid "Videos cannot be larger than 50MB"
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
||||||
#: src/screens/Profile/Header/Shell.tsx:113
|
#: src/screens/Profile/Header/Shell.tsx:113
|
||||||
|
|
|
@ -6272,8 +6272,8 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "隐私政策已迁移至 <0/>"
|
msgstr "隐私政策已迁移至 <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "选择的视频大小超过 100MB。"
|
msgstr "选择的视频大小超过 50MB。"
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
||||||
|
|
|
@ -6272,8 +6272,8 @@ msgid "The Privacy Policy has been moved to <0/>"
|
||||||
msgstr "隱私政策已移動到 <0/>"
|
msgstr "隱私政策已移動到 <0/>"
|
||||||
|
|
||||||
#: src/state/queries/video/video.ts:222
|
#: src/state/queries/video/video.ts:222
|
||||||
msgid "The selected video is larger than 100MB."
|
msgid "The selected video is larger than 50MB."
|
||||||
msgstr "選擇的影片檔案大小超過 100MB。"
|
msgstr "選擇的影片檔案大小超過 50MB。"
|
||||||
|
|
||||||
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
#: src/screens/StarterPack/StarterPackScreen.tsx:713
|
||||||
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
msgid "The starter pack that you are trying to view is invalid. You may delete this starter pack instead."
|
||||||
|
|
|
@ -224,7 +224,7 @@ export function useUploadVideo({
|
||||||
} else if (e instanceof VideoTooLargeError) {
|
} else if (e instanceof VideoTooLargeError) {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: 'SetError',
|
type: 'SetError',
|
||||||
error: _(msg`The selected video is larger than 100MB.`),
|
error: _(msg`The selected video is larger than 50MB.`),
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
dispatch({
|
dispatch({
|
||||||
|
|
Loading…
Reference in New Issue