Skip to content

Commit

Permalink
Title of grid actions (Edit) is translated.
Browse files Browse the repository at this point in the history
  • Loading branch information
alenoosh committed Aug 19, 2015
1 parent 6f79c61 commit 2d5d691
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/CrudController.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function setEntity($entity){
public function addStylesToGrid($orderByColumn = 'id',$paginateCount = 10)
{

$this->grid->edit('edit', 'Edit', 'show|modify|delete');
$this->grid->edit('edit', trans('panel::fields.edit'), 'show|modify|delete');

$this->grid->orderBy($orderByColumn, 'desc');
$this->grid->paginate($paginateCount);
Expand Down
1 change: 1 addition & 0 deletions src/lang/en/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
'ProfileEdit' => 'Profile Edit',
'ResetPassword' => 'Reset Password',
'Add' => 'ADD',
'edit' => 'Edit',
'search' => 'Search',
'reset' => 'Reset',
'enterEmail' => 'Please Enter Email Address',
Expand Down
1 change: 1 addition & 0 deletions src/lang/es/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
'ProfileEdit' => 'Editar Perfil',
'ResetPassword' => 'Cambiar Contraseña',
'Add' => 'Agregar',
'edit' => 'Editar',
'search' => 'Buscar',
'reset' => 'Limpiar',
'enterEmail' => 'Por Favor Ingrese Una Dirección de Email',
Expand Down
1 change: 1 addition & 0 deletions src/lang/fr/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
'ProfileEdit' => 'Modifier mon profil',
'ResetPassword' => 'Réinitialiser le mot de passe',
'Add' => 'AJOUTER',
'edit' => 'Modifier',
'search' => 'Rechercher',
'reset' => 'Réinitialiser',
'enterEmail' => 'Saisissez vos identifiants',
Expand Down
1 change: 1 addition & 0 deletions src/lang/hy/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
'ProfileEdit' => 'Խմբագրել Անձնագիրը',
'ResetPassword' => 'Վերականգնել Գաղտնաբառը',
'Add' => 'Ավելացնել',
'edit' => 'Խմբագրել',
'search' => 'Փնտրել',
'reset' => 'Վերականգնել',
'enterEmail' => 'Խնդրում ենք մուտքագրել Ձեր էլեկտրոնային փոստի հասցեն',
Expand Down
1 change: 1 addition & 0 deletions src/lang/it/fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
'ProfileEdit' => 'Modifica il profilo',
'ResetPassword' => 'Resetta la Password',
'Add' => 'Aggiungi',
'edit' => 'Modifica',
'search' => 'Ricerca',
'reset' => 'Inizializza',
'enterEmail' => 'Inserire l\'indirizzo Email',
Expand Down

0 comments on commit 2d5d691

Please sign in to comment.