about summary refs log tree commit diff
path: root/src/state/queries
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-09 12:44:41 -0700
committerGitHub <noreply@github.com>2024-09-09 12:44:41 -0700
commit723a5e488eab40eac63a1983fc8cbbfa3992b3e7 (patch)
tree10c44610a0f445d2b6d8f3ed31bdf9b29f8a42fc /src/state/queries
parent9e1eb1f9f17cc4077e3f4c2f5f935f7aadffeffd (diff)
downloadvoidsky-723a5e488eab40eac63a1983fc8cbbfa3992b3e7.tar.zst
[Video] Add a string for localization (#5240)
Diffstat (limited to 'src/state/queries')
-rw-r--r--src/state/queries/video/video.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/state/queries/video/video.ts b/src/state/queries/video/video.ts
index 95fc0b68b..b0485cca3 100644
--- a/src/state/queries/video/video.ts
+++ b/src/state/queries/video/video.ts
@@ -180,6 +180,11 @@ export function useUploadVideo({
               msg`You've reached your daily limit for video uploads (too many videos)`,
             )
             break
+          case 'Account is not old enough to upload videos':
+            message = _(
+              msg`Your account is not yet old enough to upload videos. Please try again later.`,
+            )
+            break
           default:
             message = e.message
             break