Minor revision to #1469

This commit is contained in:
Samuel Georges 2015-10-17 08:41:10 +11:00
parent 7543daa976
commit 5c12d99cc9
3 changed files with 7 additions and 7 deletions

View File

@ -139,8 +139,8 @@ return [
'delete_selected_empty' => 'There are no selected records to delete.',
'delete_selected_confirm' => 'Delete the selected records?',
'delete_selected_success' => 'Successfully deleted the selected records.',
'widget_switch_true' => 'Yes',
'widget_switch_false' => 'No'
'column_switch_true' => 'Yes',
'column_switch_false' => 'No'
],
'fileupload' => [
'attachment' => 'Attachment',

View File

@ -139,8 +139,8 @@ return [
'delete_selected_empty' => 'Il ny a aucun enregistrement à supprimer',
'delete_selected_confirm' => 'Confirmer la suppression des enregistrements sélectionnés ?',
'delete_selected_success' => 'Les enregistrements ont bien été supprimés.',
'widget_switch_true' => 'Oui',
'widget_switch_false' => 'Non'
'column_switch_true' => 'Oui',
'column_switch_false' => 'Non'
],
'fileupload' => [
'attachment' => 'Pièce jointe',

View File

@ -880,11 +880,11 @@ class Lists extends WidgetBase
{
$contents = '';
if($value) {
$contents = trans('backend::lang.list.widget_switch_true');
if ($value) {
$contents = Lang::get('backend::lang.list.column_switch_true');
}
else {
$contents = trans('backend::lang.list.widget_switch_false');
$contents = Lang::get('backend::lang.list.column_switch_false');
}
return $contents;