Skip to content

Commit

Permalink
Enhancement bagisto#9966 done
Browse files Browse the repository at this point in the history
  • Loading branch information
shivendra-webkul committed Jul 8, 2024
1 parent 9f2c434 commit a6163bb
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/Webkul/Admin/src/DataGrids/Catalog/AttributeDataGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ public function prepareColumns()
'searchable' => true,
'filterable' => true,
'sortable' => true,
'closure' => function ($value) {
return trans('admin::app.catalog.attributes.index.datagrid.'.($value->is_required ? 'true' : 'false'));
},
]);

$this->addColumn([
Expand All @@ -134,6 +137,9 @@ public function prepareColumns()
'searchable' => true,
'filterable' => true,
'sortable' => true,
'closure' => function ($value) {
return trans('admin::app.catalog.attributes.index.datagrid.'.($value->is_unique ? 'true' : 'false'));
},
]);

$this->addColumn([
Expand All @@ -143,6 +149,9 @@ public function prepareColumns()
'searchable' => true,
'filterable' => true,
'sortable' => true,
'closure' => function ($value) {
return trans('admin::app.catalog.attributes.index.datagrid.'.($value->value_per_locale ? 'true' : 'false'));
},
]);

$this->addColumn([
Expand All @@ -152,6 +161,9 @@ public function prepareColumns()
'searchable' => true,
'filterable' => true,
'sortable' => true,
'closure' => function ($value) {
return trans('admin::app.catalog.attributes.index.datagrid.'.($value->value_per_channel ? 'true' : 'false'));
},
]);

$this->addColumn([
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/ar/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'التاريخ والوقت',
'delete' => 'حذف',
'edit' => 'تحرير',
'false' => 'خاطئ',
'file' => 'ملف',
'id' => 'معرف',
'image' => 'صورة',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'حدد',
'text' => 'نص',
'textarea' => 'منطقة النص',
'true' => 'صحيح',
'type' => 'نوع',
'unique' => 'فريد',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/bn/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'তারিখ সময়',
'delete' => 'মুছে ফেলা',
'edit' => 'সম্পাদনা',
'false' => 'মিথ্যা',
'file' => 'ফাইল',
'id' => 'আইডি',
'image' => 'চিত্র',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'নির্বাচন করুন',
'text' => 'টেক্সট',
'textarea' => 'টেক্সট এরিয়া',
'true' => 'সত্য',
'type' => 'ধরন',
'unique' => 'অনন্য',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/de/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Datum Zeit',
'delete' => 'Löschen',
'edit' => 'Bearbeiten',
'false' => 'Falsch',
'file' => 'Datei',
'id' => 'ID',
'image' => 'Bild',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Auswählen',
'text' => 'Text',
'textarea' => 'Textbereich',
'true' => 'Wahr',
'type' => 'Typ',
'unique' => 'Einzigartig',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/en/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Date Time',
'delete' => 'Delete',
'edit' => 'Edit',
'false' => 'False',
'file' => 'File',
'id' => 'ID',
'image' => 'Image',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Select',
'text' => 'Text',
'textarea' => 'Textarea',
'true' => 'True',
'type' => 'Type',
'unique' => 'Unique',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/es/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Fecha y hora',
'delete' => 'Eliminar',
'edit' => 'Editar',
'false' => 'Falso',
'file' => 'Archivo',
'id' => 'ID',
'image' => 'Imagen',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Seleccionar',
'text' => 'Texto',
'textarea' => 'Área de texto',
'true' => 'Verdadero',
'type' => 'Tipo',
'unique' => 'Único',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/fa/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'تاریخ و زمان',
'delete' => 'حذف',
'edit' => 'ویرایش',
'false' => 'نادرست',
'file' => 'فایل',
'id' => 'شناسه',
'image' => 'تصویر',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'انتخاب',
'text' => 'متن',
'textarea' => 'منطقه متن',
'true' => 'درست',
'type' => 'نوع',
'unique' => 'منحصر به فرد',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/fr/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Date et heure',
'delete' => 'Supprimer',
'edit' => 'Éditer',
'false' => 'Faux',
'file' => 'Fichier',
'id' => 'ID',
'image' => 'Image',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Sélectionner',
'text' => 'Texte',
'textarea' => 'Zone de texte',
'true' => 'Vrai',
'type' => 'Type',
'unique' => 'Unique',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/he/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'תאריך ושעה',
'delete' => 'מחק',
'edit' => 'ערוך',
'false' => 'שקר',
'file' => 'קובץ',
'id' => 'מזהה',
'image' => 'תמונה',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'בחר',
'text' => 'טקסט',
'textarea' => 'אזור טקסט',
'true' => 'נכון',
'type' => 'סוג',
'unique' => 'ייחודי',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/hi_IN/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'तारीख और समय',
'delete' => 'हटाएं',
'edit' => 'संपादित करें',
'false' => 'असत्य',
'file' => 'फ़ाइल',
'id' => 'आईडी',
'image' => 'छवि',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'चयन करें',
'text' => 'पाठ',
'textarea' => 'पाठ क्षेत्र',
'true' => 'सत्य',
'type' => 'प्रकार',
'unique' => 'अद्वितीय',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/it/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Data e ora',
'delete' => 'Elimina',
'edit' => 'Modifica',
'false' => 'Falso',
'file' => 'File',
'id' => 'ID',
'image' => 'Immagine',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Seleziona',
'text' => 'Testo',
'textarea' => 'Area di testo',
'true' => 'Vero',
'type' => 'Tipo',
'unique' => 'Unico',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/ja/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => '日付と時刻',
'delete' => '削除',
'edit' => '編集',
'false' => '偽',
'file' => 'ファイル',
'id' => 'ID',
'image' => '画像',
Expand All @@ -1072,6 +1073,7 @@
'select' => '選択',
'text' => 'テキスト',
'textarea' => 'テキストエリア',
'true' => '真実',
'type' => 'タイプ',
'unique' => 'ユニーク',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/nl/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Datum Tijd',
'delete' => 'Verwijderen',
'edit' => 'Bewerken',
'false' => 'Onwaar',
'file' => 'Bestand',
'id' => 'ID',
'image' => 'Afbeelding',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Selecteren',
'text' => 'Tekst',
'textarea' => 'Tekstgebied',
'true' => 'Waar',
'type' => 'Type',
'unique' => 'Uniek',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/pl/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Date Time',
'delete' => 'Delete',
'edit' => 'Edit',
'false' => 'Fałsz',
'file' => 'File',
'id' => 'ID',
'image' => 'Image',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Select',
'text' => 'Text',
'textarea' => 'Textarea',
'true' => 'Prawda',
'type' => 'Type',
'unique' => 'Unique',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Data Hora',
'delete' => 'Deletar',
'edit' => 'Editar',
'false' => 'Falso',
'file' => 'Arquivo',
'id' => 'ID',
'image' => 'Imagem',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Selecionar',
'text' => 'Texto',
'textarea' => 'Área de Texto',
'true' => 'Verdadeiro',
'type' => 'Tipo',
'unique' => 'Único',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/ru/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Дата Время',
'delete' => 'Удалить',
'edit' => 'Редактировать',
'false' => 'Ложь',
'file' => 'Файл',
'id' => 'ID',
'image' => 'Изображение',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Выбрать',
'text' => 'Текст',
'textarea' => 'Текстовая область',
'true' => 'Правда',
'type' => 'Тип',
'unique' => 'Уникальный',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/sin/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'දින-වේලාව',
'delete' => 'මකන්න',
'edit' => 'සංස්කරණය කරන්න',
'false' => 'අසත්‍ය',
'file' => 'ගොනුව',
'id' => 'අංකය',
'image' => 'රූපය',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'තෝරන්න',
'text' => 'පාඨය',
'textarea' => 'පාඨ ක්‍රියාව',
'true' => 'සත්‍ය',
'type' => 'වර්ගය',
'unique' => 'අනතුරු',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/tr/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Tarih Zaman',
'delete' => 'Sil',
'edit' => 'Düzenle',
'false' => 'Yanlış',
'file' => 'Dosya',
'id' => 'Kimlik',
'image' => 'Resim',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Seçiniz',
'text' => 'Metin',
'textarea' => 'Metin Alanı',
'true' => 'Doğru',
'type' => 'Tür',
'unique' => 'Benzersiz',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/uk/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => 'Дата Час',
'delete' => 'Видалити',
'edit' => 'Редагувати',
'false' => 'Неправда',
'file' => 'Файл',
'id' => 'Ідентифікатор',
'image' => 'Зображення',
Expand All @@ -1072,6 +1073,7 @@
'select' => 'Вибрати',
'text' => 'Текст',
'textarea' => 'Текстова область',
'true' => 'Правда',
'type' => 'Тип',
'unique' => 'Унікальний',
],
Expand Down
2 changes: 2 additions & 0 deletions packages/Webkul/Admin/src/Resources/lang/zh_CN/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -1060,6 +1060,7 @@
'date-time' => '日期时间',
'delete' => '删除',
'edit' => '编辑',
'false' => '假',
'file' => '文件',
'id' => '标识',
'image' => '图片',
Expand All @@ -1072,6 +1073,7 @@
'select' => '选择',
'text' => '文本',
'textarea' => '文本区域',
'true' => '真',
'type' => '类型',
'unique' => '唯一',
],
Expand Down

0 comments on commit a6163bb

Please sign in to comment.