From e4ee98339361e7663fe3075b74c00d2cb03dd567 Mon Sep 17 00:00:00 2001 From: Meghdad Date: Mon, 18 May 2026 01:04:52 +0330 Subject: [PATCH] Added translation --- lang/ar.json | 1 + lang/en.json | 1 + lang/es.json | 1 + lang/fa.json | 1 + tests/Feature/LocalizationTest.php | 4 ++++ 5 files changed, 8 insertions(+) diff --git a/lang/ar.json b/lang/ar.json index fa4b936..08b9cbf 100644 --- a/lang/ar.json +++ b/lang/ar.json @@ -66,6 +66,7 @@ "Clear search or switch categories.": "امسح البحث أو بدّل الفئات.", "Click here to resend the verification email.": "انقر هنا لإعادة إرسال بريد التحقق.", "Close": "إغلاق", + "Closed": "مغلق", "Confirm": "تأكيد", "Confirm password": "تأكيد كلمة المرور", "Confirm your password": "أكد كلمة المرور", diff --git a/lang/en.json b/lang/en.json index 21149c7..e6e5089 100644 --- a/lang/en.json +++ b/lang/en.json @@ -66,6 +66,7 @@ "Clear search or switch categories.": "Clear search or switch categories.", "Click here to resend the verification email.": "Click here to resend the verification email.", "Close": "Close", + "Closed": "Closed", "Confirm": "Confirm", "Confirm password": "Confirm password", "Confirm your password": "Confirm your password", diff --git a/lang/es.json b/lang/es.json index 4dabb7d..c4e44f9 100644 --- a/lang/es.json +++ b/lang/es.json @@ -66,6 +66,7 @@ "Clear search or switch categories.": "Borra la búsqueda o cambia de categoría.", "Click here to resend the verification email.": "Haz clic aquí para reenviar el correo de verificación.", "Close": "Cerrar", + "Closed": "Cerrado", "Confirm": "Confirmar", "Confirm password": "Confirmar contraseña", "Confirm your password": "Confirma tu contraseña", diff --git a/lang/fa.json b/lang/fa.json index 22a3472..7aec1e5 100644 --- a/lang/fa.json +++ b/lang/fa.json @@ -66,6 +66,7 @@ "Clear search or switch categories.": "جستجو را پاک کنید یا دسته‌بندی را تغییر دهید.", "Click here to resend the verification email.": "برای ارسال دوباره ایمیل تأیید اینجا کلیک کنید.", "Close": "بستن", + "Closed": "بسته", "Confirm": "تأیید", "Confirm password": "تأیید رمز عبور", "Confirm your password": "رمز عبور خود را تأیید کنید", diff --git a/tests/Feature/LocalizationTest.php b/tests/Feature/LocalizationTest.php index 07a14cd..2a4eaaa 100644 --- a/tests/Feature/LocalizationTest.php +++ b/tests/Feature/LocalizationTest.php @@ -20,6 +20,7 @@ class LocalizationTest extends TestCase ->where('fallbackLocale', config('app.fallback_locale')) ->where('translations.Live', __('Live')) ->where('translations.Password', __('Password')) + ->where('translations.Closed', __('Closed')) ->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === __('Browse active channels by category or title.')) ); } @@ -36,6 +37,7 @@ class LocalizationTest extends TestCase ->where('fallbackLocale', config('app.fallback_locale')) ->where('translations.Live', 'En vivo') ->where('translations.Password', 'Contraseña') + ->where('translations.Closed', 'Cerrado') ->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === 'Explora canales activos por categoría o título.') ); } @@ -52,6 +54,7 @@ class LocalizationTest extends TestCase ->where('fallbackLocale', config('app.fallback_locale')) ->where('translations.Live', 'زنده') ->where('translations.Password', 'رمز عبور') + ->where('translations.Closed', 'بسته') ->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === 'کانال‌های فعال را بر اساس دسته‌بندی یا عنوان مرور کنید.') ); } @@ -68,6 +71,7 @@ class LocalizationTest extends TestCase ->where('fallbackLocale', config('app.fallback_locale')) ->where('translations.Live', 'مباشر') ->where('translations.Password', 'كلمة المرور') + ->where('translations.Closed', 'مغلق') ->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === 'تصفح القنوات النشطة حسب الفئة أو العنوان.') ); }