trypost/lang/ar/common.php
Paulo Castellano 2549a82e9b Address review: cropper mime/zoom/error fixes, harden browser test
- Output a canvas-encodable mime (jpeg/png/webp, else png) and keep the File's
  name/extension in sync, so non-encodable input (gif/svg/heic) no longer ships
  PNG bytes mislabeled as the original type.
- Clamp zoom to a maximum (8x cover) so scrolling in can't collapse the crop to
  a sub-pixel region.
- Handle undecodable/zero-dimension images (@error + naturalWidth guard) with a
  crop_error message instead of a permanently-disabled Save.
- Replace the str_contains(static::class) Vite heuristic with a dedicated
  BrowserTestCase ($fakesVite = false).
- The browser test now decodes the dispatched blob and asserts a 512x512 image,
  and uses route(..., absolute: false) instead of a hardcoded path.
- Remove tests/Browser/ProbeTest.php (committed debug scratch).
2026-07-03 22:07:23 -03:00

67 lines
2.2 KiB
PHP

<?php
declare(strict_types=1);
return [
'back' => 'رجوع',
'beta' => 'تجريبي',
'confirm_modal' => [
'cannot_be_undone' => 'لا يمكن التراجع عن هذا الإجراء.',
'type' => 'اكتب',
'to_confirm' => 'للتأكيد.',
'copy_to_clipboard' => 'نسخ إلى الحافظة',
'delete_keyword' => 'حذف',
],
'photo_upload' => [
'upload' => 'رفع',
'uploading' => 'جارٍ الرفع...',
'remove' => 'إزالة الصورة',
'hint' => 'موصى به: صورة مربعة، بحد أقصى 2 ميغابايت.',
'crop_title' => 'قص الصورة',
'crop_description' => 'اسحب وكبّر لتأطيرها.',
'crop_hint' => 'اسحب لإعادة التموضع',
'crop_save' => 'حفظ',
'crop_cancel' => 'إلغاء',
'crop_error' => 'تعذّر تحميل هذه الصورة. جرّب ملفًا آخر.',
],
'timezone' => [
'select' => 'اختر المنطقة الزمنية',
'search' => 'البحث عن منطقة زمنية...',
'empty' => 'لم يتم العثور على منطقة زمنية',
],
'date_picker' => [
'select' => 'اختر التاريخ',
],
'date_range_picker' => [
'placeholder' => 'اختر نطاقًا زمنيًا',
'today' => 'اليوم',
'yesterday' => 'أمس',
'last_7_days' => 'آخر 7 أيام',
'last_30_days' => 'آخر 30 يومًا',
'last_3_months' => 'آخر 3 أشهر',
'last_6_months' => 'آخر 6 أشهر',
'last_12_months' => 'آخر 12 شهرًا',
'this_month' => 'هذا الشهر',
'last_month' => 'الشهر الماضي',
'year_to_date' => 'منذ بداية العام',
'last_year' => 'العام الماضي',
],
'cancel' => 'إلغاء',
'clear' => 'مسح',
'close' => 'إغلاق',
'loading_more' => 'جارٍ تحميل المزيد...',
'actions' => [
'copy' => 'نسخ',
'copied' => 'تم النسخ',
'copy_failed' => 'فشل النسخ إلى الحافظة',
],
];