a0fce2e0fb
Should be refactored to make the Action logger into a base class and to use polymorphic relationships for the IDs, and migrate accessory_id into asset_id in the log table. This was quick and dirty.
38 lines
1.3 KiB
PHP
Executable File
38 lines
1.3 KiB
PHP
Executable File
<?php
|
|
|
|
return array(
|
|
|
|
'does_not_exist' => 'La catégorie n\'éxiste pas.',
|
|
'assoc_users' => 'This accessory currently has :count items checked out to users. Please check in the accessories and and try again. ',
|
|
|
|
'create' => array(
|
|
'error' => 'La catégorie n\'a pas été crée, veuillez essayer à nouveau.',
|
|
'success' => 'Catégorie créée avec succès.'
|
|
),
|
|
|
|
'update' => array(
|
|
'error' => 'Catégorie n\'a pas été actualisée, veuillez réessayer',
|
|
'success' => 'Category updated successfully.'
|
|
),
|
|
|
|
'delete' => array(
|
|
'confirm' => 'Êtes vous sûr de vouloir effacer cette catégorie?',
|
|
'error' => 'Problème lors de l\'effacement de cette catégorie. Veuillez réessayer.',
|
|
'success' => 'Catégorie effacée.'
|
|
),
|
|
|
|
'checkout' => array(
|
|
'error' => 'Accessory was not checked out, please try again',
|
|
'success' => 'Accessory checked out successfully.',
|
|
'user_does_not_exist' => 'That user is invalid. Please try again.'
|
|
),
|
|
|
|
'checkin' => array(
|
|
'error' => 'Accessory was not checked in, please try again',
|
|
'success' => 'Accessory checked in successfully.',
|
|
'user_does_not_exist' => 'That user is invalid. Please try again.'
|
|
)
|
|
|
|
|
|
);
|