forked from EmilioBravo/filament-workflow-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request heloufir#11 from alvleont/master
- Loading branch information
Showing
1 changed file
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
<?php | ||
|
||
return [ | ||
'resources' => [ | ||
'title' => 'Flujo de Trabajo', | ||
'workflow' => [ | ||
'table' => [ | ||
'name' => 'Nombre', | ||
'model' => 'Modelo' | ||
], | ||
'page' => [ | ||
'edit' => [ | ||
'workflow' => 'Administra Flujo de Trabajo' | ||
], | ||
'workflow' => [ | ||
'heading' => 'Transiciones de Estado', | ||
'actions' => [ | ||
'add_status' => 'Nuevo estado' | ||
], | ||
'modal' => [ | ||
'edit' => [ | ||
'title' => 'Editar transición', | ||
'form' => [ | ||
'status_name' => 'Nombre del Estado', | ||
'status_color' => 'Color', | ||
'is_end' => 'Fin del Flujo de Trabajo', | ||
'submit' => 'Editar', | ||
'cancel' => 'Cancelar', | ||
], | ||
'messages' => [ | ||
'submitted' => '¡Transition guardada!', | ||
'cannot_end_workflow' => 'No puede ser guardado como fin del flujo de trabajo si este estado comienza una transición.', | ||
], | ||
], | ||
'delete' => [ | ||
'title' => 'Eliminar transición', | ||
'buttons' => [ | ||
'submit' => 'Eliminar', | ||
'cancel' => 'Cancelar', | ||
], | ||
'messages' => [ | ||
'confirmation_title' => '¿Seguro que desea eliminar esta transición?', | ||
'deleted' => '¡Transition eliminada!' | ||
], | ||
], | ||
'add' => [ | ||
'title' => 'Agregar Transición', | ||
'form' => [ | ||
'status_from' => 'Del estado', | ||
'status_to' => 'Al estado', | ||
'status_from_color' => 'Color de procedencia', | ||
'status_to_color' => 'Color de destino', | ||
'submit' => 'Agregar', | ||
'cancel' => 'Cancelar', | ||
], | ||
'messages' => [ | ||
'duplicated' => '¡La transición ya existe!', | ||
'submitted' => '¡Transición creada!' | ||
], | ||
], | ||
'add_status' => [ | ||
'title' => 'Agregar Estado', | ||
'form' => [ | ||
'name' => 'Nombre', | ||
'color' => 'Color', | ||
'is_end' => 'Finalizar Flujo de Trabajo', | ||
'submit' => 'Agregar', | ||
'cancel' => 'Cancelar', | ||
], | ||
'messages' => [ | ||
'duplicated' => '¡El estado ya existe!', | ||
'submitted' => '¡Estado creado!' | ||
], | ||
], | ||
], | ||
], | ||
], | ||
], | ||
'permissions' => [ | ||
'title' => 'Permiso del flujo de trabajo', | ||
'model' => 'Permiso', | ||
'table' => [ | ||
'role' => 'Rol', | ||
'models' => 'Transición' | ||
], | ||
'form' => [ | ||
'transition' => 'De :status_from A :status_to' | ||
], | ||
'user-relation' => [ | ||
'title' => 'Permisos del flujo de trabajo', | ||
'label' => 'permiso', | ||
'table' => [ | ||
'workflow' => 'Flujo de Trabajo', | ||
'permission' => 'Permiso', | ||
'models' => 'Transiciones' | ||
], | ||
], | ||
], | ||
], | ||
'page' => [ | ||
'history' => [ | ||
'title' => 'Historial del flujo de trabajo', | ||
'table' => [ | ||
'old_status' => 'Estado anterior', | ||
'new_status' => 'Estado actual', | ||
'changed_by' => 'Cambiado por', | ||
'changed_at' => 'Cambiado en', | ||
'filter' => [ | ||
'statuses' => 'Estados' | ||
], | ||
], | ||
'data' => [ | ||
'date_format' => 'Y-m-d g:i a', | ||
], | ||
], | ||
], | ||
]; |