Skip to content

Commit 3564317

Browse files
committed
feat: localization fixes
1 parent cfbd518 commit 3564317

File tree

9 files changed

+32
-68
lines changed

9 files changed

+32
-68
lines changed

locale/en/auth.php

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
'login' => [
2929
'title' => 'Sign in to start your session',
3030
'forgot_password' => 'I forgot my password',
31-
'register_membership' => 'Register a new membership',
3231
],
3332

3433
'registration' => [
@@ -39,12 +38,12 @@
3938
],
4039

4140
'forgot_password' => [
42-
'title' => 'Enter Email to reset password',
41+
'title' => 'You forgot your password? Here you can easily retrieve a new password.',
4342
'send_pwd_reset' => 'Send Password Reset Link',
4443
],
4544

4645
'reset_password' => [
47-
'title' => 'Reset your password',
46+
'title' => 'You are only one step a way from your new password, recover your password now.',
4847
'reset_pwd_btn' => 'Reset Password',
4948
],
5049

@@ -65,19 +64,4 @@
6564
'reset_link' => 'Click here to reset your password',
6665
],
6766
],
68-
69-
'app' => [
70-
'member_since' => 'Member since',
71-
'messages' => 'Messages',
72-
'settings' => 'Settings',
73-
'lock_account' => 'Lock Account',
74-
'profile' => 'Profile',
75-
'online' => 'Online',
76-
'search' => 'Search',
77-
'create' => 'Create',
78-
'export' => 'Export',
79-
'print' => 'Print',
80-
'reset' => 'Reset',
81-
'reload' => 'Reload',
82-
],
8367
];

locale/en/crud.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
'add_new' => 'Add New',
66
'cancel' => 'Cancel',
7-
'save' => 'Save',
7+
'create' => 'Create',
88
'edit' => 'Edit',
9+
'save' => 'Save',
910
'detail' => 'Detail',
1011
'back' => 'Back',
12+
'search' => 'Search',
13+
'export' => 'Export',
14+
'print' => 'Print',
15+
'reset' => 'Reset',
16+
'reload' => 'Reload',
1117
'action' => 'Action',
1218
'id' => 'Id',
1319
'created_at' => 'Created At',

locale/es/auth.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,4 @@
6565
'reset_link' => 'Haga clic aquí para restablecer su contraseña',
6666
],
6767
],
68-
69-
'app' => [
70-
'member_since' => 'Miembro desde',
71-
'messages' => 'Mensajes',
72-
'settings' => 'Ajustes',
73-
'lock_account' => 'Bloquear cuenta',
74-
'profile' => 'Perfil',
75-
'online' => 'En Linea',
76-
'search' => 'Buscar',
77-
'create' => 'Crear',
78-
'export' => 'Exportar',
79-
'print' => 'Imprimir',
80-
'reset' => 'Reiniciar',
81-
'reload' => 'Recargar',
82-
],
8368
];

locale/es/crud.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
'add_new' => 'Añadir nuevo',
66
'cancel' => 'Cancelar',
7-
'save' => 'Guardar',
7+
'create' => 'Crear',
88
'edit' => 'Editar',
9+
'save' => 'Guardar',
910
'detail' => 'Detalle',
1011
'back' => 'Volver',
12+
'search' => 'Buscar',
13+
'export' => 'Exportar',
14+
'print' => 'Imprimir',
15+
'reset' => 'Reiniciar',
16+
'reload' => 'Recargar',
1117
'action' => 'Acción',
1218
'id' => 'Id',
1319
'created_at' => 'Creado en',

locale/fa/auth.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,4 @@
6565
'reset_link' => 'برای تغییر رمز عبور اینجا کلیک کنید',
6666
],
6767
],
68-
69-
'app' => [
70-
'member_since' => 'عضو از',
71-
'messages' => 'پیام ها',
72-
'settings' => 'تنظیمات',
73-
'lock_account' => 'قفل کردن حساب',
74-
'profile' => 'پروفایل',
75-
'online' => 'آنلاین',
76-
'search' => 'جستجو',
77-
'create' => 'ایجاد',
78-
'export' => 'استخراج',
79-
'print' => 'چاپ',
80-
'reset' => 'تنظیم مجدد',
81-
'reload' => 'بارگیری مجدد',
82-
],
8368
];

locale/fa/crud.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@
44

55
'add_new' => 'اضافه',
66
'cancel' => 'لغو',
7-
'save' => 'ذخیره',
7+
'create' => 'ایجاد',
88
'edit' => 'ویرایش',
9+
'save' => 'ذخیره',
910
'detail' => 'جزئیات',
1011
'back' => 'بازگشت',
12+
'search' => 'جستجو',
13+
'export' => 'استخراج',
14+
'print' => 'چاپ',
15+
'reset' => 'تنظیم مجدد',
16+
'reload' => 'بارگیری مجدد',
1117
'action' => 'عملیات',
1218
'id' => 'شناسه',
1319
'created_at' => 'ایجاد شده در',

locale/id/auth.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,4 @@
6565
'reset_link' => 'Klik di sini untuk mengatur ulang kata sandi Anda',
6666
],
6767
],
68-
69-
'app' => [
70-
'member_since' => 'Anggota Sejak',
71-
'messages' => 'Pesan',
72-
'settings' => 'Pengaturan',
73-
'lock_account' => 'Kunci Akun',
74-
'profile' => 'Profil',
75-
'online' => 'On line',
76-
'search' => 'Mencari',
77-
'create' => 'Membuat',
78-
'export' => 'Ekspor',
79-
'print' => 'Mencetak',
80-
'reset' => 'Mengatur ulang',
81-
'reload' => 'Muat ulang',
82-
],
8368
];

locale/id/crud.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
<?php
22

33
return [
4+
45
'add_new' => 'Tambah baru',
56
'cancel' => 'Membatalkan',
6-
'save' => 'Menyimpan',
7+
'create' => 'Membuat',
78
'edit' => 'Sunting',
9+
'save' => 'Menyimpan',
810
'detail' => 'Detail',
911
'back' => 'Kembali',
12+
'search' => 'Mencari',
13+
'export' => 'Ekspor',
14+
'print' => 'Mencetak',
15+
'reset' => 'Mengatur ulang',
16+
'reload' => 'Muat ulang',
1017
'action' => 'Tindakan',
1118
'id' => 'Indo',
1219
'created_at' => 'Dibuat di',

src/Commands/Publish/GeneratorPublishCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private function publishLocaleFiles()
132132
{
133133
$localesDir = __DIR__.'/../../../locale/';
134134

135-
$this->publishDirectory($localesDir, resource_path('lang'), 'lang', true);
135+
$this->publishDirectory($localesDir, lang_path(), 'lang', true);
136136

137137
$this->comment('Locale files published');
138138
}

0 commit comments

Comments
 (0)