trypost/lang/tr/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
1.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
declare(strict_types=1);
return [
'back' => 'Geri',
'beta' => 'Beta',
'confirm_modal' => [
'cannot_be_undone' => 'Bu işlem geri alınamaz.',
'type' => 'Yazın:',
'to_confirm' => 'onaylamak için.',
'copy_to_clipboard' => 'Panoya kopyala',
'delete_keyword' => 'sil',
],
'photo_upload' => [
'upload' => 'Yükle',
'uploading' => 'Yükleniyor...',
'remove' => 'Fotoğrafı kaldır',
'hint' => 'Önerilen: kare görsel, en fazla 2 MB.',
'crop_title' => 'Görseli kırp',
'crop_description' => 'Çerçevelemek için sürükleyip yakınlaştırın.',
'crop_hint' => 'Yeniden konumlandırmak için sürükleyin',
'crop_save' => 'Kaydet',
'crop_cancel' => 'İptal',
'crop_error' => 'Bu görsel yüklenemedi. Başka bir dosya deneyin.',
],
'timezone' => [
'select' => 'Saat dilimi seç',
'search' => 'Saat dilimi ara...',
'empty' => 'Saat dilimi bulunamadı',
],
'date_picker' => [
'select' => 'Tarih seç',
],
'date_range_picker' => [
'placeholder' => 'Bir tarih aralığı seçin',
'today' => 'Bugün',
'yesterday' => 'Dün',
'last_7_days' => 'Son 7 gün',
'last_30_days' => 'Son 30 gün',
'last_3_months' => 'Son 3 ay',
'last_6_months' => 'Son 6 ay',
'last_12_months' => 'Son 12 ay',
'this_month' => 'Bu ay',
'last_month' => 'Geçen ay',
'year_to_date' => 'Yıl başından bugüne',
'last_year' => 'Geçen yıl',
],
'cancel' => 'İptal',
'clear' => 'Temizle',
'close' => 'Kapat',
'loading_more' => 'Daha fazla yükleniyor...',
'actions' => [
'copy' => 'Kopyala',
'copied' => 'Kopyalandı',
'copy_failed' => 'Panoya kopyalanamadı',
],
];