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

9
lang/tk/auth.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
return [
'failed' => 'Bu maglumatlar biziň ýazgylarymyza gabat gelenok.',
'password' => 'Berlen parol nädogry.',
'throttle' => 'Giriş synanyşyklary köp. :seconds sekuntdan soň gaýtadan synanyşyň.',
];

83
lang/tk/filament.php Normal file
View File

@@ -0,0 +1,83 @@
<?php
return [
'coupons' => [
'navigation' => 'Kuponlar',
],
'phone_verifications' => [
'navigation' => 'OTP tassyklamalary',
'model' => 'OTP tassyklama',
'plural' => 'OTP tassyklamalary',
],
'send_sms' => [
'navigation' => 'SMS ibermek',
'title' => 'SMS ibermek',
'sections' => [
'message' => 'Hat',
'message_description' => 'SMS-ni alýanlar görmeli bolşy ýaly takyk ýazyň.',
'recipients' => 'Alyjylar',
'recipients_description' => 'Hemmä ibermek, belli kupon eýelerini saýlamak ýa-da sanlary aýyrmak.',
],
'fields' => [
'message' => 'SMS habary',
'send_to_all' => 'Ähli kupon eýelerine ibermek',
'send_to_all_helper' => 'Açyk bolsa, ähli kupon eýeleri girýär. El bilen saýlaw öçürilýär.',
'coupon_ids' => 'Alyjylary saýlaň',
'coupon_ids_helper' => 'Telefon, kupon kody ýa-da ID boýunça gözleg.',
'excluded_coupon_ids' => 'Alyjylary aýyrmak',
'excluded_coupon_ids_helper' => 'Aýrylan sanlar bu habary almaz, hatda ähläne iberilende hem.',
],
'actions' => [
'send' => 'SMS ibermek',
'send_confirm_heading' => 'SMS häzir ibermeli?',
'send_confirm_submit' => 'Iber',
],
'progress' => [
'sending' => 'Habarlar iberilýär…',
'processed' => ':processed / :total işlendi · :sent iberildi',
],
'notifications' => [
'campaign_still_sending' => 'Kampaniýa entek iberilýär',
'no_valid_recipients' => 'Dogry alyjy ýok',
'no_valid_recipients_body' => 'Saýlawy ýa-da aýyrmalary üýtgediň — dogry telefon belgili kupon eýesi bu habary almaz.',
'queued' => 'SMS kampaniýasy nobata goýuldy',
'queued_body' => 'Arka fonda :count alyja iberilýär.',
'failed' => 'SMS kampaniýasy şowsuz',
'failed_body' => ':count habar iberilmedi.',
'finished_with_errors' => 'SMS kampaniýasy ýalňyşlyklar bilen tamamlandy',
'finished_with_errors_body' => 'Iberildi :sent, şowsuz :failed, geçildi :skipped.',
'completed' => 'SMS kampaniýasy tamamlandy',
'completed_body' => ':count habar üstünlikli iberildi.',
],
'confirmation' => ':count alyja ibermeli? :summary',
],
'filters' => [
'date' => 'Sene',
'from' => 'Başlanýan',
'until' => 'Gutarýan',
'from_indicator' => 'Başlanýan :date',
'until_indicator' => 'Gutarýan :date',
],
'sms_analyzer' => [
'zero_characters' => '0 harp',
'characters_sms' => ':characters harp · :sms',
'one_sms' => '1 SMS',
'multiple_sms' => ':count SMS',
],
'fields' => [
'id' => 'ID',
'phone' => 'Telefon',
'code' => 'Kupon kody',
'created_at' => 'Döredilen',
'updated_at' => 'Üýtgedilen',
'expires_at' => 'Gutarýan wagty',
'verified' => 'Tassyklanan',
],
];

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',
],
];