diff --git a/lang/ar/posts.php b/lang/ar/posts.php index f3e316bdd..03d07a145 100644 --- a/lang/ar/posts.php +++ b/lang/ar/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'مقطع قصير', - 'description' => 'فيديو عمودي حتى 60 ثانية', + 'description' => 'فيديو عمودي حتى 3 دقائق', ], 'x_post' => [ 'label' => 'منشور', diff --git a/lang/de/posts.php b/lang/de/posts.php index 21bfbfae8..f876ef0e3 100644 --- a/lang/de/posts.php +++ b/lang/de/posts.php @@ -502,7 +502,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Vertikales Video bis zu 60 Sekunden', + 'description' => 'Vertikales Video bis zu 3 Minuten', ], 'x_post' => [ 'label' => 'Beitrag', diff --git a/lang/el/posts.php b/lang/el/posts.php index a4d6dce2a..975fbdaed 100644 --- a/lang/el/posts.php +++ b/lang/el/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Κατακόρυφο βίντεο έως 60 δευτερόλεπτα', + 'description' => 'Κατακόρυφο βίντεο έως 3 λεπτά', ], 'x_post' => [ 'label' => 'Δημοσίευση', diff --git a/lang/en/posts.php b/lang/en/posts.php index b0a647e5d..dde760132 100644 --- a/lang/en/posts.php +++ b/lang/en/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Vertical video up to 60 seconds', + 'description' => 'Vertical video up to 3 minutes', ], 'x_post' => [ 'label' => 'Post', diff --git a/lang/es/posts.php b/lang/es/posts.php index 0570a629c..6f53b10f4 100644 --- a/lang/es/posts.php +++ b/lang/es/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Video vertical de hasta 60 segundos', + 'description' => 'Video vertical de hasta 3 minutos', ], 'x_post' => [ 'label' => 'Post', diff --git a/lang/fr/posts.php b/lang/fr/posts.php index ae94b65ae..2887da406 100644 --- a/lang/fr/posts.php +++ b/lang/fr/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Vidéo verticale jusqu\'à 60 secondes', + 'description' => 'Vidéo verticale jusqu\'à 3 minutes', ], 'x_post' => [ 'label' => 'Publication', diff --git a/lang/it/posts.php b/lang/it/posts.php index 8e9d46706..6baf99966 100644 --- a/lang/it/posts.php +++ b/lang/it/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Video verticale fino a 60 secondi', + 'description' => 'Video verticale fino a 3 minuti', ], 'x_post' => [ 'label' => 'Post', diff --git a/lang/ja/posts.php b/lang/ja/posts.php index 01423419e..352e6ddd5 100644 --- a/lang/ja/posts.php +++ b/lang/ja/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'ショート', - 'description' => '最大 60 秒の縦型動画', + 'description' => '最大 3 分の縦型動画', ], 'x_post' => [ 'label' => '投稿', diff --git a/lang/ko/posts.php b/lang/ko/posts.php index cccdc7fb1..86f1f1ab5 100644 --- a/lang/ko/posts.php +++ b/lang/ko/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => '최대 60초 세로 동영상', + 'description' => '최대 3분 세로 동영상', ], 'x_post' => [ 'label' => '게시물', diff --git a/lang/nl/posts.php b/lang/nl/posts.php index ef6f2228c..75a6af89a 100644 --- a/lang/nl/posts.php +++ b/lang/nl/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Verticale video tot 60 seconden', + 'description' => 'Verticale video tot 3 minuten', ], 'x_post' => [ 'label' => 'Post', diff --git a/lang/pl/posts.php b/lang/pl/posts.php index 694d521a4..c30419ecc 100644 --- a/lang/pl/posts.php +++ b/lang/pl/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Pionowy film do 60 sekund', + 'description' => 'Pionowy film do 3 minut', ], 'x_post' => [ 'label' => 'Post', diff --git a/lang/pt-BR/posts.php b/lang/pt-BR/posts.php index 588a674e8..513599545 100644 --- a/lang/pt-BR/posts.php +++ b/lang/pt-BR/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Vídeo vertical de até 60 segundos', + 'description' => 'Vídeo vertical de até 3 minutos', ], 'x_post' => [ 'label' => 'Post', diff --git a/lang/ru/posts.php b/lang/ru/posts.php index 7c346dd70..c97df56c6 100644 --- a/lang/ru/posts.php +++ b/lang/ru/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => 'Вертикальное видео до 60 секунд', + 'description' => 'Вертикальное видео до 3 минут', ], 'x_post' => [ 'label' => 'Пост', diff --git a/lang/tr/posts.php b/lang/tr/posts.php index 89a217d20..59007cc6d 100644 --- a/lang/tr/posts.php +++ b/lang/tr/posts.php @@ -502,7 +502,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => '60 saniyeye kadar dikey video', + 'description' => '3 dakikaya kadar dikey video', ], 'x_post' => [ 'label' => 'Gönderi', diff --git a/lang/zh/posts.php b/lang/zh/posts.php index 066eba912..fc5d3cb3d 100644 --- a/lang/zh/posts.php +++ b/lang/zh/posts.php @@ -500,7 +500,7 @@ ], 'youtube_short' => [ 'label' => 'Short', - 'description' => '最长 60 秒的竖版视频', + 'description' => '最长 3 分钟的竖版视频', ], 'x_post' => [ 'label' => '帖子', diff --git a/resources/js/composables/useMediaRules.ts b/resources/js/composables/useMediaRules.ts index e073b6d2a..e8782d1e4 100644 --- a/resources/js/composables/useMediaRules.ts +++ b/resources/js/composables/useMediaRules.ts @@ -92,7 +92,7 @@ const CONTENT_TYPE_RULES: Record = { youtube_short: { maxFiles: 1, acceptImages: false, acceptVideos: true, requiresMedia: true, acceptsGif: false, - maxVideoBytes: 256 * GB, maxVideoDurationSec: 60, + maxVideoBytes: 256 * GB, maxVideoDurationSec: 3 * 60, aspectRatioMin: 0.5, aspectRatioMax: 0.6, }, diff --git a/tests/Unit/Enums/ContentTypeTest.php b/tests/Unit/Enums/ContentTypeTest.php index 4dc7b328a..6dd1ba83d 100644 --- a/tests/Unit/Enums/ContentTypeTest.php +++ b/tests/Unit/Enums/ContentTypeTest.php @@ -23,7 +23,7 @@ expect(ContentType::InstagramFeed->description())->toContain('feed'); expect(ContentType::InstagramReel->description())->toContain('90 seconds'); expect(ContentType::InstagramStory->description())->toContain('24 hours'); - expect(ContentType::YouTubeShort->description())->toContain('60 seconds'); + expect(ContentType::YouTubeShort->description())->toContain('3 minutes'); }); test('content type maps to correct platform', function () {