mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Minor revision to #1469
This commit is contained in:
parent
7543daa976
commit
5c12d99cc9
@ -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',
|
||||
|
@ -139,8 +139,8 @@ return [
|
||||
'delete_selected_empty' => 'Il n’y 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',
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user