Fixed both issues

This commit is contained in:
2026-05-18 01:01:25 +03:30
parent d9e49e124c
commit 762110dcec
8 changed files with 12 additions and 4 deletions

View File

@@ -33,6 +33,7 @@
"Authentication code": "رمز المصادقة", "Authentication code": "رمز المصادقة",
"Avatar": "الصورة الرمزية", "Avatar": "الصورة الرمزية",
"Back": "رجوع", "Back": "رجوع",
"Browse active channels by category or title.": "تصفح القنوات النشطة حسب الفئة أو العنوان.",
"Broadcast ended.": "انتهى البث.", "Broadcast ended.": "انتهى البث.",
"Broadcast is ready. Start streaming from OBS.": "البث جاهز. ابدأ البث من OBS.", "Broadcast is ready. Start streaming from OBS.": "البث جاهز. ابدأ البث من OBS.",
"Broadcast prep": "تحضير البث", "Broadcast prep": "تحضير البث",

View File

@@ -33,6 +33,7 @@
"Authentication code": "Authentication code", "Authentication code": "Authentication code",
"Avatar": "Avatar", "Avatar": "Avatar",
"Back": "Back", "Back": "Back",
"Browse active channels by category or title.": "Browse active channels by category or title.",
"Broadcast ended.": "Broadcast ended.", "Broadcast ended.": "Broadcast ended.",
"Broadcast is ready. Start streaming from OBS.": "Broadcast is ready. Start streaming from OBS.", "Broadcast is ready. Start streaming from OBS.": "Broadcast is ready. Start streaming from OBS.",
"Broadcast prep": "Broadcast prep", "Broadcast prep": "Broadcast prep",

View File

@@ -33,6 +33,7 @@
"Authentication code": "Código de autenticación", "Authentication code": "Código de autenticación",
"Avatar": "Avatar", "Avatar": "Avatar",
"Back": "Volver", "Back": "Volver",
"Browse active channels by category or title.": "Explora canales activos por categoría o título.",
"Broadcast ended.": "La transmisión terminó.", "Broadcast ended.": "La transmisión terminó.",
"Broadcast is ready. Start streaming from OBS.": "La transmisión está lista. Empieza a transmitir desde OBS.", "Broadcast is ready. Start streaming from OBS.": "La transmisión está lista. Empieza a transmitir desde OBS.",
"Broadcast prep": "Preparación de transmisión", "Broadcast prep": "Preparación de transmisión",

View File

@@ -33,6 +33,7 @@
"Authentication code": "کد احراز هویت", "Authentication code": "کد احراز هویت",
"Avatar": "آواتار", "Avatar": "آواتار",
"Back": "بازگشت", "Back": "بازگشت",
"Browse active channels by category or title.": "کانال‌های فعال را بر اساس دسته‌بندی یا عنوان مرور کنید.",
"Broadcast ended.": "پخش پایان یافت.", "Broadcast ended.": "پخش پایان یافت.",
"Broadcast is ready. Start streaming from OBS.": "پخش آماده است. از OBS شروع به پخش کنید.", "Broadcast is ready. Start streaming from OBS.": "پخش آماده است. از OBS شروع به پخش کنید.",
"Broadcast prep": "آماده‌سازی پخش", "Broadcast prep": "آماده‌سازی پخش",

View File

@@ -70,7 +70,7 @@ export function AppHeader({ breadcrumbs = [] }: Props) {
icon: LayoutGrid, icon: LayoutGrid,
}, },
{ {
title: 'Contact', title: 'Contact admin',
href: supportIndex(), href: supportIndex(),
icon: LifeBuoy, icon: LifeBuoy,
}, },

View File

@@ -32,7 +32,7 @@ export function AppSidebar() {
icon: LayoutGrid, icon: LayoutGrid,
}, },
{ {
title: 'Contact', title: 'Contact admin',
href: supportIndex(), href: supportIndex(),
icon: LifeBuoy, icon: LifeBuoy,
}, },

View File

@@ -90,7 +90,7 @@ export default function Welcome({
href={supportIndex()} href={supportIndex()}
className="rounded-md px-3 py-2 hover:bg-accent hover:text-accent-foreground" className="rounded-md px-3 py-2 hover:bg-accent hover:text-accent-foreground"
> >
{t('Contact')} {t('Contact admin')}
</Link> </Link>
</> </>
)} )}
@@ -108,7 +108,7 @@ export default function Welcome({
<Button asChild variant="outline" size="sm"> <Button asChild variant="outline" size="sm">
<Link href={supportIndex()}> <Link href={supportIndex()}>
<LifeBuoy className="size-4" /> <LifeBuoy className="size-4" />
{t('Contact')} {t('Contact admin')}
</Link> </Link>
</Button> </Button>
</> </>

View File

@@ -20,6 +20,7 @@ class LocalizationTest extends TestCase
->where('fallbackLocale', config('app.fallback_locale')) ->where('fallbackLocale', config('app.fallback_locale'))
->where('translations.Live', __('Live')) ->where('translations.Live', __('Live'))
->where('translations.Password', __('Password')) ->where('translations.Password', __('Password'))
->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === __('Browse active channels by category or title.'))
); );
} }
@@ -35,6 +36,7 @@ class LocalizationTest extends TestCase
->where('fallbackLocale', config('app.fallback_locale')) ->where('fallbackLocale', config('app.fallback_locale'))
->where('translations.Live', 'En vivo') ->where('translations.Live', 'En vivo')
->where('translations.Password', 'Contraseña') ->where('translations.Password', 'Contraseña')
->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === 'Explora canales activos por categoría o título.')
); );
} }
@@ -50,6 +52,7 @@ class LocalizationTest extends TestCase
->where('fallbackLocale', config('app.fallback_locale')) ->where('fallbackLocale', config('app.fallback_locale'))
->where('translations.Live', 'زنده') ->where('translations.Live', 'زنده')
->where('translations.Password', 'رمز عبور') ->where('translations.Password', 'رمز عبور')
->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === 'کانال‌های فعال را بر اساس دسته‌بندی یا عنوان مرور کنید.')
); );
} }
@@ -65,6 +68,7 @@ class LocalizationTest extends TestCase
->where('fallbackLocale', config('app.fallback_locale')) ->where('fallbackLocale', config('app.fallback_locale'))
->where('translations.Live', 'مباشر') ->where('translations.Live', 'مباشر')
->where('translations.Password', 'كلمة المرور') ->where('translations.Password', 'كلمة المرور')
->where('translations', fn ($translations) => $translations->get('Browse active channels by category or title.') === 'تصفح القنوات النشطة حسب الفئة أو العنوان.')
); );
} }