Refactor SMS and Coupon resources to utilize localization for labels and messages, enhancing internationalization support. Update .env.example to change APP_LOCALE to 'tk'.

This commit is contained in:
Mekan1206
2026-06-03 22:10:17 +05:00
parent 96eefd70ba
commit 6f3069f619
75 changed files with 2830 additions and 47 deletions

34
lang/tk/validation.php Normal file
View File

@@ -0,0 +1,34 @@
<?php
return [
'accepted' => ':attribute kabul edilmeli.',
'array' => ':attribute massiw bolmaly.',
'boolean' => ':attribute dogry ýa-da ýalňyş bolmaly.',
'confirmed' => ':attribute tassyklamasy gabat gelenok.',
'email' => ':attribute dogry e-poçta salgysy bolmaly.',
'exists' => 'Saýlanan :attribute nädogry.',
'integer' => ':attribute san bolmaly.',
'max' => [
'array' => ':attribute iň köp :max elementden ybarat bolmaly.',
'numeric' => ':attribute iň köp :max bolmaly.',
'string' => ':attribute iň köp :max harp bolmaly.',
],
'min' => [
'array' => ':attribute iň az :min elementden ybarat bolmaly.',
'numeric' => ':attribute iň az :min bolmaly.',
'string' => ':attribute iň az :min harp bolmaly.',
],
'required' => ':attribute meýdany hökmany.',
'string' => ':attribute setir bolmaly.',
'attributes' => [
'email' => 'e-poçta salgysy',
'password' => 'parol',
'message' => 'SMS habary',
'send_to_all' => 'ähli kupon eýelerine ibermek',
'coupon_ids' => 'alyjylar',
'excluded_coupon_ids' => 'aýrylan alyjylar',
],
];