Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions packages/admin/resources/lang/ar/discount.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Lunar\Models\Discount;

return [
'plural_label' => 'الخصومات',
'label' => 'خصم',
Expand Down Expand Up @@ -87,16 +89,16 @@
],
'status' => [
'label' => 'الحالة',
\Lunar\Models\Discount::ACTIVE => [
Discount::ACTIVE => [
'label' => 'نشط',
],
\Lunar\Models\Discount::PENDING => [
Discount::PENDING => [
'label' => 'قيد الانتظار',
],
\Lunar\Models\Discount::EXPIRED => [
Discount::EXPIRED => [
'label' => 'منتهي',
],
\Lunar\Models\Discount::SCHEDULED => [
Discount::SCHEDULED => [
'label' => 'مجدول',
],
],
Expand Down
10 changes: 6 additions & 4 deletions packages/admin/resources/lang/bg/discount.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Lunar\Models\Discount;

return [
'plural_label' => 'Отстъпки',
'label' => 'Отстъпка',
Expand Down Expand Up @@ -87,16 +89,16 @@
],
'status' => [
'label' => 'Статус',
\Lunar\Models\Discount::ACTIVE => [
Discount::ACTIVE => [
'label' => 'Активна',
],
\Lunar\Models\Discount::PENDING => [
Discount::PENDING => [
'label' => 'Очакваща',
],
\Lunar\Models\Discount::EXPIRED => [
Discount::EXPIRED => [
'label' => 'Изтекла',
],
\Lunar\Models\Discount::SCHEDULED => [
Discount::SCHEDULED => [
'label' => 'Планирана',
],
],
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/resources/lang/bg/order.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
'label' => 'Сума',

'hint' => [
'less_than_total' => "Ще каптурирате сума, по-малка от общата стойност на транзакцията",
'less_than_total' => 'Ще каптурирате сума, по-малка от общата стойност на транзакцията',
],
],

Expand Down
10 changes: 6 additions & 4 deletions packages/admin/resources/lang/fa/discount.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

use Lunar\Models\Discount;

return [
'plural_label' => 'Discounts',
'label' => 'Discount',
Expand Down Expand Up @@ -87,16 +89,16 @@
],
'status' => [
'label' => 'Status',
\Lunar\Models\Discount::ACTIVE => [
Discount::ACTIVE => [
'label' => 'Active',
],
\Lunar\Models\Discount::PENDING => [
Discount::PENDING => [
'label' => 'Pending',
],
\Lunar\Models\Discount::EXPIRED => [
Discount::EXPIRED => [
'label' => 'Expired',
],
\Lunar\Models\Discount::SCHEDULED => [
Discount::SCHEDULED => [
'label' => 'Scheduled',
],
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,11 @@ public static function getDefaultTable(Table $table): Table
->label(__('lunarpanel::productoption.table.name.label'))
->searchable(),
TranslatedTextColumn::make('label')
->label(__('lunarpanel::productoption.table.label.label')),
->label(__('lunarpanel::productoption.table.label.label'))
->searchable(),
TextColumn::make('handle')
->label(__('lunarpanel::productoption.table.handle.label')),
->label(__('lunarpanel::productoption.table.handle.label'))
->searchable(),
BooleanColumn::make('shared')
->label(__('lunarpanel::productoption.table.shared.label')),
])
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/Search/ProductOptionIndexer.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public function toSearchableArray(Model $model): array
}

// Loop for add option label
foreach ($model->name as $locale => $name) {
$data['label_'.$locale] = $name;
foreach ($model->label as $locale => $label) {
$data['label_'.$locale] = $label;
}

// Loop for add options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [
'shipping_methods' => [
'customer_groups' => [
'description' => "اربط مجموعات العملاء بطريقة الشحن هذه لتحديد توافرها.",
'description' => 'اربط مجموعات العملاء بطريقة الشحن هذه لتحديد توافرها.',
],
],
'shipping_rates' => [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [
'shipping_methods' => [
'customer_groups' => [
'description' => "Свържете клиентски групи с този метод за доставка, за да определите неговата наличност.",
'description' => 'Свържете клиентски групи с този метод за доставка, за да определите неговата наличност.',
],
],
'shipping_rates' => [
Expand Down