diff --git a/README.md b/README.md
index e2ed4be47..90cc4be5c 100644
--- a/README.md
+++ b/README.md
@@ -27,11 +27,11 @@ It packs with lots of demanding features that allows your business to scale in n
### 2. Requirements:
-* **Bagisto**: v2.1.2
+* **Bagisto**: v2.2.2
* **Bagisto Rest API**: v2.1
### 3. Installation:
-* Note: Make sure Bagisto Rest API v2.1 installed and configured. If not then install and confiure using the following link.
+* Note: Make sure Bagisto Rest API v2.1 installed and configured. If not then install and configure using the following link.
```
https://github.com/bagisto/rest-api
diff --git a/src/Config/acl.php b/src/Config/acl.php
index 9eb5d1933..190cac393 100644
--- a/src/Config/acl.php
+++ b/src/Config/acl.php
@@ -2,9 +2,9 @@
return [
[
- 'key' => 'ViewPushNotification',
- 'name' => 'pwa::app.admin.system.pushnotification',
- 'route' => 'admin.pwa.pushnotification.index',
+ 'key' => 'viewPushNotification',
+ 'name' => 'pwa::app.admin.layouts.push-notification',
+ 'route' => 'admin.pwa.push-notification.index',
'sort' => 3,
],
-];
+];
\ No newline at end of file
diff --git a/src/Config/admin-menu.php b/src/Config/admin-menu.php
index 783b45e81..8e5019905 100644
--- a/src/Config/admin-menu.php
+++ b/src/Config/admin-menu.php
@@ -2,20 +2,22 @@
return [
[
- 'key' => 'PWA',
+ 'key' => 'pwa',
'name' => 'pwa::app.admin.system.pwa_full_name',
- 'route' => 'admin.pwa.pushnotification.index',
+ 'route' => 'admin.pwa.push-notification.index',
'sort' => 8,
'icon' => 'pwa-icon',
], [
- 'key' => 'PWA.index',
- 'route' => 'admin.pwa.pushnotification.index',
+ 'key' => 'pwa.index',
'name' => 'pwa::app.admin.layouts.push-notification',
+ 'route' => 'admin.pwa.push-notification.index',
+ 'icon' => '',
'sort' => 1,
], [
- 'key' => 'PWA.layout',
- 'route' => 'admin.pwa.layout',
+ 'key' => 'pwa.layout',
'name' => 'pwa::app.admin.layouts.title',
- 'sort' => 1,
+ 'route' => 'admin.pwa.layout',
+ 'icon' => '',
+ 'sort' => 2,
],
];
diff --git a/src/Config/system.php b/src/Config/system.php
index d0014433f..f7f3d5416 100644
--- a/src/Config/system.php
+++ b/src/Config/system.php
@@ -4,11 +4,12 @@
[
'key' => 'pwa',
'name' => 'pwa::app.admin.system.pwa',
- 'info' => 'pwa::app.admin.system.sytem-info',
+ 'info' => 'pwa::app.admin.system.system-info',
'sort' => 1,
], [
'key' => 'pwa.settings',
'name' => 'pwa::app.admin.system.settings',
+ 'info' => 'pwa::app.admin.system.settings',
'icon' => 'settings/settings.svg',
'sort' => 1,
], [
@@ -23,7 +24,8 @@
'type' => '',
],
],
- ], [
+ ],
+ [
'key' => 'pwa.settings.general',
'name' => 'pwa::app.admin.system.general',
'info' => 'pwa::app.admin.system.pwa',
@@ -33,7 +35,9 @@
'name' => 'status',
'title' => 'pwa::app.admin.system.status',
'type' => 'boolean',
- ], [
+ 'channel_based' => true,
+ 'locale_based' => false,
+ ], [
'name' => 'name',
'title' => 'pwa::app.admin.system.name',
'type' => 'text',
@@ -98,6 +102,7 @@
], [
'key' => 'pwa.settings.seo',
'name' => 'pwa::app.admin.system.seo.title',
+ 'info' => 'pwa::app.admin.system.seo.title',
'sort' => 1,
'fields' => [
[
@@ -129,6 +134,7 @@
], [
'key' => 'pwa.settings.media',
'name' => 'pwa::app.admin.system.media',
+ 'info' => 'pwa::app.admin.system.media',
'sort' => 1,
'fields' => [
[
@@ -164,6 +170,7 @@
], [
'key' => 'pwa.settings.push-notification',
'name' => 'pwa::app.admin.system.push-notification',
+ 'info' => 'pwa::app.admin.system.push-notification',
'sort' => 1,
'fields' => [
[
@@ -226,4 +233,4 @@
],
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Contracts/PWALayout.php b/src/Contracts/PWALayout.php
index 3527600c9..0625eced6 100644
--- a/src/Contracts/PWALayout.php
+++ b/src/Contracts/PWALayout.php
@@ -3,5 +3,4 @@
namespace Webkul\PWA\Contracts;
interface PWALayout
-{
-}
+{}
\ No newline at end of file
diff --git a/src/Contracts/PushNotification.php b/src/Contracts/PushNotification.php
index 96121459c..f873eccbf 100644
--- a/src/Contracts/PushNotification.php
+++ b/src/Contracts/PushNotification.php
@@ -3,5 +3,4 @@
namespace Webkul\PWA\Contracts;
interface PushNotification
-{
-}
+{}
\ No newline at end of file
diff --git a/src/DataGrids/PushNotificationDataGrid.php b/src/DataGrids/PushNotificationDataGrid.php
index 5a0539a7d..d6286337f 100644
--- a/src/DataGrids/PushNotificationDataGrid.php
+++ b/src/DataGrids/PushNotificationDataGrid.php
@@ -8,18 +8,9 @@
/**
* Push notification datagrid.
- *
- * @author Webkul Software Pvt. Ltd.
*/
class PushNotificationDataGrid extends DataGrid
{
- /**
- * Index.
- *
- * @var string
- */
- protected $primaryColumn = 'id';
-
/**
* Prepare query builder.
*
@@ -33,7 +24,7 @@ public function prepareQueryBuilder()
'title',
'description',
'targeturl',
- 'imageurl'
+ 'imageurl',
);
return $queryBuilder;
@@ -49,7 +40,7 @@ public function prepareColumns()
$this->addColumn([
'index' => 'id',
'label' => trans('pwa::app.admin.datagrid.id'),
- 'type' => 'number',
+ 'type' => 'string',
'searchable' => true,
'sortable' => true,
'filterable' => true,
@@ -65,13 +56,13 @@ public function prepareColumns()
]);
$this->addColumn([
- 'index' => 'imageurl',
- 'label' => trans('pwa::app.admin.datagrid.icon'),
- 'type' => 'string',
- 'searchable' => false,
- 'sortable' => false,
- 'filterable' => false,
- 'closure' => function ($row) {
+ 'index' => 'imageurl',
+ 'label' => trans('pwa::app.admin.datagrid.icon'),
+ 'type' => 'string',
+ 'searchable' => false,
+ 'sortable' => false,
+ 'filterable' => false,
+ 'closure' => function ($row) {
if ($row->imageurl) {
return '
';
}
@@ -100,7 +91,7 @@ public function prepareActions()
'icon' => 'icon-edit',
'method' => 'GET',
'url' => function ($row) {
- return route('admin.pwa.pushnotification.edit', $row->id);
+ return route('admin.pwa.push-notification.edit', $row->id);
},
]);
@@ -109,7 +100,7 @@ public function prepareActions()
'icon' => 'icon-delete',
'method' => 'GET',
'url' => function ($row) {
- return route('admin.pwa.pushnotification.delete', $row->id);
+ return route('admin.pwa.push-notification.delete', $row->id);
},
]);
@@ -118,7 +109,7 @@ public function prepareActions()
'icon' => 'icon-notification',
'method' => 'GET',
'url' => function ($row) {
- return route('pwa.pushnotification.pushtofirebase', $row->id);
+ return route('pwa.push-notification.push-to-firebase', $row->id);
},
]);
}
diff --git a/src/Helpers/AdminHelper.php b/src/Helpers/AdminHelper.php
index 719319413..1a0b6e967 100644
--- a/src/Helpers/AdminHelper.php
+++ b/src/Helpers/AdminHelper.php
@@ -6,27 +6,18 @@
class AdminHelper
{
- /**
- * CategoryRepository object
- *
- * @var \Webkul\Category\Repositories\CategoryRepository
- */
- protected $categoryRepository;
-
/**
* Create a new helper instance.
*
* @return void
*/
public function __construct(
- CategoryRepository $categoryRepository
+ protected CategoryRepository $categoryRepository,
) {
- $this->categoryRepository = $categoryRepository;
}
/**
- * @param \Webkul\Category\Contracts\Category $category
- * @return \Webkul\Category\Contracts\Category
+ * Create a new helper instance
*/
public function storePwaStatusInCategory($category)
{
diff --git a/src/Helpers/Price.php b/src/Helpers/Price.php
index 45eec2792..2bdeeb563 100644
--- a/src/Helpers/Price.php
+++ b/src/Helpers/Price.php
@@ -11,34 +11,16 @@
class Price
{
- /**
- * CustomerGroupRepository object
- */
- protected $customerGroupRepository;
-
- /**
- * CatalogRuleProductPrice object
- */
- protected $catalogRuleProductPriceHelper;
-
/**
* Create a new helper instance.
*
- * @param Webkul\Customer\Repositories\CustomerGroupRepository $customerGroupRepository
- * @param Webkul\CatalogRule\Repositories\CatalogRuleProductPriceRepository $catalogRuleProductPriceRepository
- * @param Webkul\CatalogRule\Repositories\CatalogRuleProductPrice $catalogRuleProductPriceHelper
* @return void
*/
public function __construct(
- CustomerGroupRepository $customerGroupRepository,
- CatalogRuleProductPriceRepository $catalogRuleProductPriceRepository,
- CatalogRuleProductPrice $catalogRuleProductPriceHelper
+ protected CatalogRuleProductPrice $catalogRuleProductPriceHelper,
+ protected CatalogRuleProductPriceRepository $catalogRuleProductPriceRepository,
+ protected CustomerGroupRepository $customerGroupRepository,
) {
- $this->customerGroupRepository = $customerGroupRepository;
-
- $this->catalogRuleProductPriceRepository = $catalogRuleProductPriceRepository;
-
- $this->catalogRuleProductPriceHelper = $catalogRuleProductPriceHelper;
}
/**
diff --git a/src/Helpers/PwaConfigurableOption.php b/src/Helpers/PwaConfigurableOption.php
index 9ff68fdc8..2f4203576 100644
--- a/src/Helpers/PwaConfigurableOption.php
+++ b/src/Helpers/PwaConfigurableOption.php
@@ -2,52 +2,19 @@
namespace Webkul\PWA\Helpers;
-use Webkul\Attribute\Repositories\AttributeOptionRepository as AttributeOption;
use Webkul\Product\Helpers\ConfigurableOption;
use Webkul\Product\Models\Product;
-use Webkul\Product\Models\ProductImage;
class PwaConfigurableOption extends ConfigurableOption
{
- /**
- * AttributeOptionRepository object
- *
- * @var array
- */
- protected $attributeOption;
-
- /**
- * ProductImage object
- *
- * @var array
- */
- protected $productImage;
-
- /**
- * Price object
- *
- * @var array
- */
- protected $price;
-
/**
* Create a new controller instance.
*
- * @param Webkul\Attribute\Repositories\AttributeOptionRepository $attributeOption
- * @param Webkul\Product\Models $productImage
- * @param Webkul\Product\Helpers\Price $price
* @return void
*/
public function __construct(
- AttributeOption $attributeOption,
- ProductImage $productImage,
- Price $price
+ protected Price $price,
) {
- $this->attributeOption = $attributeOption;
-
- $this->productImage = $productImage;
-
- $this->price = $price;
}
/**
@@ -58,7 +25,7 @@ public function __construct(
*/
public function getConfigurationConfig($product)
{
- $options = $this->getOptions($product, $this->getAllowedProducts($product));
+ $options = $this->getOptions($product, $this->getAllowedVariants($product));
$config = [
'attributes' => $this->getAttributesData($product, $options),
@@ -85,7 +52,7 @@ protected function getVariantPrices($product)
{
$prices = [];
- foreach ($this->getAllowedProducts($product) as $variant) {
+ foreach ($this->getAllowedVariants($product) as $variant) {
if ($variant instanceof \Webkul\Product\Models\ProductFlat) {
$variantId = $variant->product_id;
} else {
diff --git a/src/Http/Controllers/Admin/LayoutController.php b/src/Http/Controllers/Admin/LayoutController.php
index 9a401408e..25f2c3281 100644
--- a/src/Http/Controllers/Admin/LayoutController.php
+++ b/src/Http/Controllers/Admin/LayoutController.php
@@ -38,10 +38,6 @@ public function index()
*/
public function store()
{
- // $this->validate(request(), [
- // 'home_page_content' => 'required',
- // ]);
-
$existing = $this->pwaLayoutRepository->first();
if ($existing) {
diff --git a/src/Http/Controllers/Admin/PushNotificationController.php b/src/Http/Controllers/Admin/PushNotificationController.php
index acee5d724..ced57c367 100644
--- a/src/Http/Controllers/Admin/PushNotificationController.php
+++ b/src/Http/Controllers/Admin/PushNotificationController.php
@@ -8,12 +8,6 @@
use Webkul\PWA\Http\Controllers\Controller;
use Webkul\PWA\Repositories\PushNotificationRepository as PushNotificationRepository;
-/**
- * Push Notification controller
- *
- * @author Webkul Software Pvt. Ltd.
- * @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
- */
class PushNotificationController extends Controller
{
/**
@@ -22,8 +16,7 @@ class PushNotificationController extends Controller
* @return void
*/
public function __construct(protected PushNotificationRepository $pushNotificationRepository)
- {
- }
+ {}
/**
* Display a listing of the resource.
@@ -67,7 +60,7 @@ public function store(Request $request)
session()->flash('success', trans('pwa::app.admin.push-notification.create-success'));
- return redirect()->route('admin.pwa.pushnotification.index');
+ return redirect()->route('admin.pwa.push-notification.index');
}
/**
@@ -103,7 +96,7 @@ public function update(Request $request, $id)
session()->flash('success', trans('pwa::app.admin.notification.update-success', ['name' => trans('pwa::app.admin.layouts.push-notification')]));
- return redirect()->route('admin.pwa.pushnotification.index');
+ return redirect()->route('admin.pwa.push-notification.index');
} catch (\Exception $e) {
session()->flash('error', trans($e->getMessage()));
@@ -126,15 +119,23 @@ public function destroy($id)
return redirect()->back();
}
+ /**
+ * Push notification to firebase.
+ *
+ * @param int $id
+ * @return \Illuminate\Http\Response
+ */
public function pushToFirebase($id)
{
$topic = core()->getConfigData('pwa.settings.push-notification.topic');
+
$serverKey = core()->getConfigData('pwa.settings.push-notification.api-key');
if ($topic && $serverKey) {
$pushNotification = $this->pushNotificationRepository->findOrFail($id);
$fcmUrl = 'https://fcm.googleapis.com/v1/messages:send';
+
$headers = [
'Content-Type' => 'application/json',
'Authorization' => "Bearer {$serverKey}",
@@ -144,19 +145,19 @@ public function pushToFirebase($id)
'message' => [
'notification' => [
'title' => $pushNotification->title,
- 'body' => $pushNotification->description,
- 'icon' => asset('/storage/' . $pushNotification->imageurl),
+ 'body' => $pushNotification->description,
+ 'icon' => asset('/storage/' . $pushNotification->imageurl),
],
+
'data' => [
'click_action' => $pushNotification->targeturl,
],
],
];
- $response = Http::withHeaders($headers)
- ->post($fcmUrl, json_encode($data));
+ $response = Http::withHeaders($headers)->post($fcmUrl, json_encode($data));
- if (!$response->successful()) {
+ if (! $response->successful()) {
session()->flash('error', trans('pwa::app.admin.push-to-firebase.invalid-credentials'));
} else {
session()->flash('success', trans('pwa::app.admin.push-notification.success-notification'));
diff --git a/src/Http/Controllers/Shop/CheckoutController.php b/src/Http/Controllers/Shop/CheckoutController.php
index 58c7b94d3..33a977f5a 100644
--- a/src/Http/Controllers/Shop/CheckoutController.php
+++ b/src/Http/Controllers/Shop/CheckoutController.php
@@ -38,18 +38,19 @@ public function saveAddress()
'rates' => CartShippingRateResource::collection(collect($shippingMethod['rates'])),
];
}
+
$cart = Cart::getCart();
Cart::collectTotals();
if ($cart->haveStockableItems()) {
return response()->json([
- 'data' => [
+ 'data' => [
'rates' => $rates,
'cart' => new CartResource(Cart::getCart()),
],
- 'nextStep' => "shipping",
- 'message' => trans('rest-api::app.shop.checkout.billing-address-saved'),
+ 'nextStep' => "shipping",
+ 'message' => trans('rest-api::app.shop.checkout.billing-address-saved'),
]);
}
diff --git a/src/Http/Controllers/Shop/ComparisonController.php b/src/Http/Controllers/Shop/ComparisonController.php
index eafc34881..f78fab4a0 100644
--- a/src/Http/Controllers/Shop/ComparisonController.php
+++ b/src/Http/Controllers/Shop/ComparisonController.php
@@ -12,13 +12,12 @@ class ComparisonController extends Controller
{
/**
* Create a new controller instance.
- *
- * @param Webkul\Product\Repositories\ProductRepository $productRepository
+ *
* @return void
*/
public function __construct(
- protected ProductRepository $productRepository,
protected CompareItemRepository $compareItemRepository,
+ protected ProductRepository $productRepository,
) {
}
@@ -28,6 +27,7 @@ public function __construct(
public function index()
{
$productIds = request()->input('product_ids') ?? [];
+
$customerId = request()->input('customer_id') ?? null;
/**
@@ -62,12 +62,14 @@ public function store(Request $request)
'product_id' => 'required|integer',
'customer_id' => 'required|integer',
]);
+
$customerId = $request->input('customer_id');
+
$productId = $request->input('product_id');
$compareProduct = $this->compareItemRepository->findOneByField([
- 'customer_id' => $customerId,
- 'product_id' => $productId,
+ 'customer_id' => $customerId,
+ 'product_id' => $productId,
]);
if ($compareProduct) {
@@ -78,8 +80,8 @@ public function store(Request $request)
}
$this->compareItemRepository->create([
- 'customer_id' => $customerId,
- 'product_id' => $productId,
+ 'customer_id' => $customerId,
+ 'product_id' => $productId,
]);
return response()->json([
@@ -102,6 +104,7 @@ public function destroy()
]);
$productId = request()->input('product_id') ?? null;
+
$customerId = request()->input('customer_id') ?? null;
$success = $this->compareItemRepository->deleteWhere([
@@ -140,6 +143,7 @@ public function destroy()
public function getComparableAttributes()
{
$attributeRepository = app('\Webkul\Attribute\Repositories\AttributeFamilyRepository');
+
$comparableAttributes = $attributeRepository->getComparableAttributesBelongsToFamily();
$locale = request()->get('locale') ?: app()->getLocale();
diff --git a/src/Http/Controllers/Shop/InvoiceController.php b/src/Http/Controllers/Shop/InvoiceController.php
index ebbee23ef..88e3f5b36 100644
--- a/src/Http/Controllers/Shop/InvoiceController.php
+++ b/src/Http/Controllers/Shop/InvoiceController.php
@@ -10,11 +10,9 @@ class InvoiceController extends Controller
{
/**
* Controller instance
- *
- * @param Webkul\Sales\Repositories\InvoiceRepository $invoiceRepository
*/
public function __construct(
- protected InvoiceRepository $invoiceRepository
+ protected InvoiceRepository $invoiceRepository,
) {}
/**
@@ -26,7 +24,7 @@ public function print($id)
{
$invoice = $this->invoiceRepository->findOrFail($id);
- $pdf = PDF::loadHTML($this->adjustArabicAndPersianContent(view('shop::customers.account.orders.pdf', compact('invoice'))->render()))
+ $pdf = PDF::loadHTML($this->adjustArabicAndPersianContent(view('shop::customers.account.orders.pdf', compact('invoice'))->render()))
->setPaper('a4');
return $pdf->output();
diff --git a/src/Http/Controllers/Shop/LayoutController.php b/src/Http/Controllers/Shop/LayoutController.php
index 8f1733aad..9679cb1c7 100644
--- a/src/Http/Controllers/Shop/LayoutController.php
+++ b/src/Http/Controllers/Shop/LayoutController.php
@@ -37,10 +37,6 @@ public function get()
*/
public function store(Request $request)
{
- // $this->validate(request(), [
- // 'home_page_content' => 'required',
- // ]);
-
$existing = $this->pwaLayoutRepository->first();
if ($existing) {
@@ -53,7 +49,6 @@ public function store(Request $request)
]);
}
- // flash message
session()->flash('success', trans('pwa::app.admin.layouts.update-success'));
return redirect()->route('admin.pwa.layout');
diff --git a/src/Http/Controllers/Shop/ProductController.php b/src/Http/Controllers/Shop/ProductController.php
index ad98c6498..8c1bb6f7b 100644
--- a/src/Http/Controllers/Shop/ProductController.php
+++ b/src/Http/Controllers/Shop/ProductController.php
@@ -19,10 +19,10 @@ class ProductController extends Controller
* @param Webkul\Product\Repositories\ProductReviewRepository $reviewRepository
*/
public function __construct(
- protected ProductReviewRepository $reviewRepository,
- protected ProductRepository $productRepository,
protected ConfigurableOption $configurableOption,
- protected DownloadableLinkPurchasedRepository $downloadableLinkPurchasedRepository
+ protected DownloadableLinkPurchasedRepository $downloadableLinkPurchasedRepository,
+ protected ProductRepository $productRepository,
+ protected ProductReviewRepository $reviewRepository,
) {}
/**
@@ -43,7 +43,7 @@ public function getCustomerDownloadAbleProducts()
->where('downloadable_link_purchased.customer_id', $customerId)->paginate(10);
return response()->json([
- 'data' => $result,
+ 'data' => $result,
]);
}
@@ -72,6 +72,7 @@ public function download($id)
}
$orderedQty = $downloadableLinkPurchased->order->total_qty_ordered;
+
$totalInvoiceQty = $totalInvoiceQty * ($downloadableLinkPurchased->download_bought / $orderedQty);
if (
@@ -124,10 +125,11 @@ public function download($id)
public function configurableConfig()
{
$product = $this->productRepository->findOrFail(request()->id);
+
$configurableOption = $this->configurableOption->getConfigurationConfig($product);
return response()->json([
- 'data' => $configurableOption,
+ 'data' => $configurableOption,
]);
}
}
diff --git a/src/Http/Controllers/Shop/ReviewController.php b/src/Http/Controllers/Shop/ReviewController.php
index 734c3b098..ae65c05d0 100644
--- a/src/Http/Controllers/Shop/ReviewController.php
+++ b/src/Http/Controllers/Shop/ReviewController.php
@@ -27,7 +27,7 @@ public function getAll()
$customerId = request()->input('customer_id') ?? null;
$this->validate(request(), [
- 'customer_id' => 'required',
+ 'customer_id' => 'required',
]);
$reviews = $this->reviewRepository
@@ -40,7 +40,7 @@ public function getAll()
}
return response()->json([
- 'data' => $reviews,
+ 'data' => $reviews,
]);
}
@@ -52,7 +52,7 @@ public function get()
$customerId = request()->input('customer_id') ?? null;
$this->validate(request(), [
- 'customer_id' => 'required',
+ 'customer_id' => 'required',
]);
$review = $this->reviewRepository
@@ -64,7 +64,7 @@ public function get()
$review->product->reviews = $review->product->reviews;
return response()->json([
- 'data' => $review,
+ 'data' => $review,
]);
}
}
diff --git a/src/Http/Controllers/Shop/ThemeController.php b/src/Http/Controllers/Shop/ThemeController.php
index 886adf0b9..d80a5fca5 100644
--- a/src/Http/Controllers/Shop/ThemeController.php
+++ b/src/Http/Controllers/Shop/ThemeController.php
@@ -10,11 +10,10 @@ class ThemeController extends Controller
/**
* Create a new controller instance.
*
- * @param Webkul\Theme\Repositories\ThemeCustomizationRepository $themeCustomizationRepository
* @return void
*/
public function __construct(
- protected ThemeCustomizationRepository $themeCustomizationRepository
+ protected ThemeCustomizationRepository $themeCustomizationRepository,
) {
}
diff --git a/src/Http/Controllers/SinglePageController.php b/src/Http/Controllers/SinglePageController.php
index e8d0d38f1..e523708d3 100644
--- a/src/Http/Controllers/SinglePageController.php
+++ b/src/Http/Controllers/SinglePageController.php
@@ -22,10 +22,11 @@ public function index()
$parsedUrl = parse_url(config('app.url'));
$urlPath = isset($parsedUrl['path']) ? $parsedUrl['path'] : '';
-
+
$result = new Parser(request()->header('User-Agent'));
+
$device = $result->device;
return view('pwa::master', compact('urlPath', 'device'));
}
-}
+}
\ No newline at end of file
diff --git a/src/Http/Controllers/StandardController.php b/src/Http/Controllers/StandardController.php
index 86a5045b8..118244f1b 100644
--- a/src/Http/Controllers/StandardController.php
+++ b/src/Http/Controllers/StandardController.php
@@ -10,11 +10,10 @@ class StandardController extends Controller
/**
* Create a new controller instance.
*
- * @param \Webkul\Attribute\Repositories\OrderRepository $orderRepository
* @return void
*/
public function __construct(
- protected OrderRepository $orderRepository
+ protected OrderRepository $orderRepository,
) {
}
diff --git a/src/Http/Resources/Catalog/Category.php b/src/Http/Resources/Catalog/Category.php
index 35b65cda5..390850fc2 100644
--- a/src/Http/Resources/Catalog/Category.php
+++ b/src/Http/Resources/Catalog/Category.php
@@ -3,6 +3,7 @@
namespace Webkul\PWA\Http\Resources\Catalog;
use Illuminate\Http\Resources\Json\JsonResource;
+use Illuminate\Support\Facades\Storage;
class Category extends JsonResource
{
@@ -15,25 +16,25 @@ class Category extends JsonResource
public function toArray($request)
{
return [
- 'id' => $this->id,
- 'code' => $this->code,
- 'name' => $this->name,
- 'slug' => $this->slug,
- 'status' => $this->status,
- 'image_url' => $this->image_url,
- 'meta_title' => $this->meta_title,
- 'description' => $this->description,
- 'display_mode' => $this->display_mode,
- 'meta_keywords' => $this->meta_keywords,
- 'meta_description' => $this->meta_description,
- 'show_products' => $this->category_product_in_pwa,
- 'category_icon_path' => \Storage::url($this->category_icon_path),
- 'additional' => is_array($this->resource->additional)
+ 'id' => $this->id,
+ 'code' => $this->code,
+ 'name' => $this->name,
+ 'slug' => $this->slug,
+ 'status' => $this->status,
+ 'image_url' => $this->image_url,
+ 'meta_title' => $this->meta_title,
+ 'description' => $this->description,
+ 'display_mode' => $this->display_mode,
+ 'meta_keywords' => $this->meta_keywords,
+ 'meta_description' => $this->meta_description,
+ 'show_products' => $this->category_product_in_pwa,
+ 'category_icon_path' => Storage::url($this->category_icon_path),
+ 'additional' => is_array($this->resource->additional)
? $this->resource->additional
: json_decode($this->resource->additional, true),
- 'category_banner' => \Storage::url($this->category_banner),
- 'created_at' => $this->created_at,
- 'updated_at' => $this->updated_at,
+ 'category_banner' => Storage::url($this->category_banner),
+ 'created_at' => $this->created_at,
+ 'updated_at' => $this->updated_at,
];
}
}
diff --git a/src/Models/PWALayout.php b/src/Models/PWALayout.php
index 35a4b54bd..7606063f6 100644
--- a/src/Models/PWALayout.php
+++ b/src/Models/PWALayout.php
@@ -14,6 +14,11 @@ class PWALayout extends Model implements PWALayoutContract
*/
protected $table = 'pwa_layout';
+ /**
+ * Add fillable property to the model.
+ *
+ * @var array
+ */
protected $fillable = [
'home_page_content',
];
diff --git a/src/Models/PWALayoutProxy.php b/src/Models/PWALayoutProxy.php
index 44374907e..d67191f19 100644
--- a/src/Models/PWALayoutProxy.php
+++ b/src/Models/PWALayoutProxy.php
@@ -5,5 +5,4 @@
use Konekt\Concord\Proxies\ModelProxy;
class PWALayoutProxy extends ModelProxy
-{
-}
+{}
diff --git a/src/Models/PushNotification.php b/src/Models/PushNotification.php
index 4dfe75fc9..0b32ace63 100644
--- a/src/Models/PushNotification.php
+++ b/src/Models/PushNotification.php
@@ -29,7 +29,7 @@ class PushNotification extends Model implements PushNotificationContract
'title',
'description',
'targeturl',
- 'imageurl'
+ 'imageurl',
];
/**
diff --git a/src/Models/PushNotificationProxy.php b/src/Models/PushNotificationProxy.php
index b98756972..bddc23a83 100644
--- a/src/Models/PushNotificationProxy.php
+++ b/src/Models/PushNotificationProxy.php
@@ -5,5 +5,4 @@
use Konekt\Concord\Proxies\ModelProxy;
class PushNotificationProxy extends ModelProxy
-{
-}
+{}
diff --git a/src/Payment/Standard.php b/src/Payment/Standard.php
index 1bea2b413..39e39c407 100644
--- a/src/Payment/Standard.php
+++ b/src/Payment/Standard.php
@@ -8,8 +8,6 @@
/**
* Paypal Standard payment method class
*
- * @author Jitendra Singh
- * @copyright 2018 Webkul Software Pvt Ltd (http://www.webkul.com)
*/
class Standard extends Paypal
{
@@ -54,9 +52,11 @@ public function getFormFields()
if ($agent->isType('mobile', 'tablet')) {
$success = route('pwa.paypal.standard.success');
+
$cancel = route('pwa.paypal.standard.cancel');
} else {
$success = route('paypal.standard.success');
+
$cancel = route('paypal.standard.cancel');
}
diff --git a/src/Providers/EventServiceProvider.php b/src/Providers/EventServiceProvider.php
index ee50df756..fb59ecfa4 100644
--- a/src/Providers/EventServiceProvider.php
+++ b/src/Providers/EventServiceProvider.php
@@ -14,19 +14,20 @@ class EventServiceProvider extends ServiceProvider
*/
public function boot()
{
- Event::listen('bagisto.admin.layout.head', function ($viewRenderEventManager) {
- $viewRenderEventManager->addTemplate('pwa::admin.layouts.style');
- });
-
- Event::listen('bagisto.shop.layout.head', 'Webkul\PWA\Listeners\PWAListeners@redirectToPWA');
+ Event::listen('bagisto.shop.layout.head.before', 'Webkul\PWA\Listeners\PWAListeners@redirectToPWA');
Event::listen('core.configuration.save.after', 'Webkul\PWA\Listeners\CoreConfig@generateManifestFile');
- // Event::listen('bagisto.shop.layout.head', function ($viewRenderEventManager) {
- // $viewRenderEventManager->addTemplate('pwa::shop.desktop.head.index');
- // });
+ /**
+ * Add css to the admin end using listener.
+ */
+ Event::listen('bagisto.admin.layout.head.before', function ($viewRenderEventManager) {
+ $viewRenderEventManager->addTemplate('pwa::admin.layouts.style');
+ });
- // Add new field in category create and update form.
+ /**
+ * Add new field in category create and update form.
+ */
Event::listen(
[
'bagisto.admin.catalog.categories.create.card.accordion.settings.after',
@@ -34,12 +35,14 @@ public function boot()
],
function ($viewRenderEventManager) {
$viewRenderEventManager->addTemplate(
- 'pwa::admin.catelog.categories.pwa'
+ 'pwa::admin.catalog.categories.pwa'
);
}
);
- // Add new filed in array when save category.
+ /**
+ * Add new filed in array when save category.
+ */
Event::listen([
'catalog.category.create.after',
'catalog.category.update.after',
diff --git a/src/Providers/PWAServiceProvider.php b/src/Providers/PWAServiceProvider.php
index 84b4070a9..bf5103bd3 100644
--- a/src/Providers/PWAServiceProvider.php
+++ b/src/Providers/PWAServiceProvider.php
@@ -26,8 +26,8 @@ public function boot()
$this->loadTranslationsFrom(__DIR__ . '/../Resources/lang', 'pwa');
$this->publishes([
- __DIR__ . '/../../publishable/pwa' => public_path(),
- __DIR__ . '/../../publishable/assets' => public_path('themes/pwa/default/build/assets'),
+ __DIR__ . '/../../publishable/pwa' => public_path(),
+ __DIR__ . '/../../publishable/assets' => public_path('themes/pwa/default/build/assets'),
], 'public');
$this->mergeConfigFrom(
@@ -58,4 +58,4 @@ protected function registerConfig()
'core'
);
}
-}
+}
\ No newline at end of file
diff --git a/src/Repositories/PWALayoutRepository.php b/src/Repositories/PWALayoutRepository.php
index cb46ab639..5b778a737 100644
--- a/src/Repositories/PWALayoutRepository.php
+++ b/src/Repositories/PWALayoutRepository.php
@@ -3,10 +3,8 @@
namespace Webkul\PWA\Repositories;
use Webkul\Core\Eloquent\Repository;
+use Webkul\PWA\Contracts\PWALayout;
-/**
- * PWALayoutRepository Reposotory
- */
class PWALayoutRepository extends Repository
{
/**
@@ -16,6 +14,6 @@ class PWALayoutRepository extends Repository
*/
public function model()
{
- return 'Webkul\PWA\Contracts\PWALayout';
+ return PWALayout::class;
}
-}
+}
\ No newline at end of file
diff --git a/src/Repositories/PushNotificationRepository.php b/src/Repositories/PushNotificationRepository.php
index 5ff18d718..001989d0c 100644
--- a/src/Repositories/PushNotificationRepository.php
+++ b/src/Repositories/PushNotificationRepository.php
@@ -5,19 +5,13 @@
use Illuminate\Container\Container as App;
use Illuminate\Support\Facades\Storage;
use Webkul\Core\Eloquent\Repository;
+use Webkul\PWA\Contracts\PushNotification;
/**
* PushNotificationRepository Reposotory
*/
class PushNotificationRepository extends Repository
{
- /**
- * Display a listing of the resource.
- *
- * @return \Illuminate\Http\Response
- */
- protected $_config;
-
/**
* Specify Model class name
*
@@ -25,7 +19,7 @@ class PushNotificationRepository extends Repository
*/
public function model()
{
- return 'Webkul\PWA\Contracts\PushNotification';
+ return PushNotification::class;
}
/**
@@ -35,7 +29,6 @@ public function model()
public function __construct(App $app)
{
parent::__construct($app);
- $this->_config = request('_config');
}
/**
diff --git a/src/Resources/assets/js/app.js b/src/Resources/assets/js/app.js
index 45927b07c..78e350250 100644
--- a/src/Resources/assets/js/app.js
+++ b/src/Resources/assets/js/app.js
@@ -7,7 +7,7 @@ import App from './components/app';
import VueCurrencyFilter from 'vue-currency-filter';
import './plugins/push-notification';
// import './../../../../../../../public/firebase-messaging-sw'; // (File from the public folder)
-// import './../../../../publishable/pwa/firebase-messaging-sw'; // (File from the pwa foder where main service-worker is kept)
+// import './../../../../publishable/pwa/firebase-messaging-sw'; // (File from the pwa folder where main service-worker is kept)
window.axios = require('axios');
window.jQuery = window.$ = require('jquery');
diff --git a/src/Resources/lang/ar/app.php b/src/Resources/lang/ar/app.php
index 60ee964a7..63ff2198c 100644
--- a/src/Resources/lang/ar/app.php
+++ b/src/Resources/lang/ar/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'التطبيق',
- 'btn-save' => 'حفظ',
- 'name' => 'الاسم',
- 'topic' => 'الموضوع',
- 'media' => 'الوسائط',
- 'seo-author' => 'المالك',
- 'settings' => 'الإعدادت ',
- 'general' => 'عام',
- 'short-name' => 'الاسم القصير',
- 'theme-color' => 'لون التطبيق ',
- 'add_in_pwa' => 'إضافة في التطبيق',
- 'messagingId' => 'معرف المراسلة',
- 'api-key' => 'مفتاح خادم API',
- 'enable_slider' => 'تفعيل الشريط المتحرك',
- 'background-color' => 'لون الخلفية',
- 'small' => 'ايقونة التطبيق (48 x48)',
- 'medium' => 'ايقونة التطبيق (96x96)',
- 'push-notification' => 'إرسال إشعارات',
- 'large' => 'ايقونة التطبيق (144x144)',
- 'extra-large' => 'ايقونة التطبيق (196x196)',
- 'pwa_full_name' => 'تطبيق الويب التقدمي',
- 'enable_new' => 'تفعيل المنتجات الجديدة',
- 'enable_featured' => 'تفعيل المنتجات المميزة',
- 'enable_categories_home_page_listing' => 'تمكين سرد الصفحة الرئيسية للفئات',
- 'redirect_to_pwa_if_mobile' => 'أعد توجيه المستخدم إلى PWA في حالة استخدام جهاز محمول',
+ 'system' => [
+ 'add_in_pwa' => 'إضافة في PWA',
+ 'api-key' => 'مفتاح API',
+ 'app-id' => 'معرف التطبيق',
+ 'auth-domain' => 'مجال المصادقة',
+ 'background-color' => 'لون الخلفية',
+ 'btn-save' => 'حفظ',
+ 'database-url' => 'عنوان قاعدة البيانات',
+ 'enable_categories_home_page_listing' => 'تمكين قائمة الفئات في الصفحة الرئيسية',
+ 'enable_featured' => 'تمكين المنتجات المميزة',
+ 'enable_new' => 'تمكين المنتجات الجديدة',
+ 'enable_slider' => 'تمكين الشريط المتحرك',
+ 'extra-large' => 'رمز التطبيق (196x196)',
+ 'general' => 'عام',
+ 'info' => 'ملاحظة: استخدم رمز اللون السداسي عشري',
+ 'large' => 'رمز التطبيق (144x144)',
+ 'media' => 'الوسائط',
+ 'medium' => 'رمز التطبيق (96x96)',
+ 'messagingId' => 'معرف المراسلة',
+ 'name' => 'الاسم',
+ 'project-id' => 'معرف المشروع',
+ 'public-vapid-key' => 'المفتاح العام VAPID',
+ 'push-notification' => 'الإشعارات الفورية',
+ 'pwa_full_name' => 'تطبيق الويب التدريجي',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'إعادة توجيه المستخدم إلى PWA إذا كان يستخدم جهازًا محمولًا',
+ 'server-key' => 'مفتاح الخادم',
+ 'settings' => 'الإعدادات',
+ 'short-name' => 'اسم قصير',
+ 'small' => 'رمز التطبيق (48x48)',
+ 'status' => 'الحالة',
+ 'system-info' => 'تكوين PWA',
+ 'theme-color' => 'لون السمة',
+ 'topic' => 'الموضوع',
+
+ 'module-info' => [
+ 'app-version' => 'إصدار التطبيق:- v2.2.2',
+ 'desc' => 'يوفر معلومات تتعلق بإصدار التطبيق.',
+ 'title' => 'معلومات الوحدة',
+ ],
+
+ 'seo' => [
+ 'author' => 'المؤلف',
+ 'meta-description' => 'وصف الميتا',
+ 'meta-keywords' => 'كلمات الميتا المفتاحية',
+ 'meta-title' => 'عنوان الميتا',
+ 'title' => 'SEO الصفحة الرئيسية',
+ ],
],
- 'layouts' => [
- 'index' => 'تخطيط PWA',
- 'push-notification' => 'إرسال إشعارات',
+ 'layouts' => [
+ 'push-notification' => 'الإشعارات الفورية',
+ 'sub-title' => 'محتوى الصفحة الرئيسية',
+ 'title' => 'تخطيط PWA',
+ 'update-success' => 'تم تحديث تخطيط PWA بنجاح',
],
'push-notification' => [
- 'icon' => 'الايقونة',
- 'label-title' => 'العنوان',
- 'target-url' => 'الرابط المقصود',
- 'description' => 'الوصف',
- 'notification' => 'الإشعارات',
- 'title-create' => 'إضافة إشعار',
- 'title-edit' => 'تعديل إشعار',
- 'edit-notification' => 'تعديل بث منبثق',
- 'title' => 'قائمة الإشعارات المرسلة',
- 'create-notification' => 'عمل إشعار منبثق',
- 'success-notification' => 'نجح: تم إرسال الإشعار بنجاح.',
+ 'back-btn' => 'عودة',
+ 'btn-save' => 'حفظ',
+ 'create-notification' => 'إضافة إشعار جديد',
+ 'create-success' => 'تم تحديث الإشعار الفوري بنجاح.',
+ 'delete-success' => 'تم حذف الإشعار الفوري بنجاح.',
+ 'description' => 'الوصف',
+ 'edit-notification' => 'تعديل الإشعار الفوري',
+ 'general' => 'عام',
+ 'icon' => 'أيقونة',
+ 'label-title' => 'العنوان',
+ 'notification' => 'إشعار',
+ 'success-notification' => 'نجاح: تم إرسال الإشعار الفوري بنجاح.',
+ 'target-url' => 'الرابط المستهدف',
+ 'title-create' => 'إضافة إشعار',
+ 'title-edit' => 'تعديل الإشعار',
+ 'title' => 'قائمة الإشعارات الفورية',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'بيانات اعتماد غير صالحة',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'العنوان',
- 'target-url' => 'الرابط المقصود',
- 'description' => 'الوصف',
+ 'datagrid' => [
+ 'delete' => 'حذف',
+ 'description' => 'الوصف',
+ 'icon' => 'أيقونة',
+ 'id' => 'المعرف',
+ 'send' => 'إرسال',
+ 'target-url' => 'الرابط المستهدف',
+ 'title' => 'العنوان',
+ 'view' => 'عرض',
],
- 'notification' => [
- 'update-success' => 'تم تحديث إشعار الدفع بنجاح.',
- 'delete-success' => 'تم حذف إشعار الدفع بنجاح.',
+ 'notification' => [
+ 'delete-success' => 'تم حذف الإشعار الفوري بنجاح.',
+ 'update-success' => 'تم تحديث الإشعار الفوري بنجاح.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'تحذير: يرجى تمكين حالة امتداد PWA من التكوين.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/bn/app.php b/src/Resources/lang/bn/app.php
new file mode 100644
index 000000000..c91d9ae0a
--- /dev/null
+++ b/src/Resources/lang/bn/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => 'PWA-তে যোগ করুন',
+ 'api-key' => 'API কী',
+ 'app-id' => 'অ্যাপ আইডি',
+ 'auth-domain' => 'প্রমাণীকরণ ডোমেইন',
+ 'background-color' => 'পটভূমির রঙ',
+ 'btn-save' => 'সংরক্ষণ করুন',
+ 'database-url' => 'ডাটাবেস URL',
+ 'enable_categories_home_page_listing' => 'হোম পেজে ক্যাটেগরি তালিকা সক্রিয় করুন',
+ 'enable_featured' => 'বৈশিষ্ট্যযুক্ত পণ্যগুলি সক্রিয় করুন',
+ 'enable_new' => 'নতুন পণ্যগুলি সক্রিয় করুন',
+ 'enable_slider' => 'স্লাইডার সক্রিয় করুন',
+ 'extra-large' => 'অ্যাপ আইকন (196x196)',
+ 'general' => 'সাধারণ',
+ 'info' => 'বিঃদ্রঃ: হেক্সাডেসিমাল রঙ কোড ব্যবহার করুন',
+ 'large' => 'অ্যাপ আইকন (144x144)',
+ 'media' => 'মিডিয়া',
+ 'medium' => 'অ্যাপ আইকন (96x96)',
+ 'messagingId' => 'মেসেজিং আইডি',
+ 'name' => 'নাম',
+ 'project-id' => 'প্রজেক্ট আইডি',
+ 'public-vapid-key' => 'পাবলিক VAPID কী',
+ 'push-notification' => 'পুশ বিজ্ঞপ্তি',
+ 'pwa_full_name' => 'প্রগ্রেসিভ ওয়েব অ্যাপ',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'মোবাইল ডিভাইসে থাকলে PWA-তে রিডিরেক্ট করুন',
+ 'server-key' => 'সার্ভার কী',
+ 'settings' => 'সেটিংস',
+ 'short-name' => 'সংক্ষিপ্ত নাম',
+ 'small' => 'অ্যাপ আইকন (48x48)',
+ 'status' => 'স্থিতি',
+ 'system-info' => 'PWA কনফিগারেশন',
+ 'theme-color' => 'থিম রঙ',
+ 'topic' => 'বিষয়',
+
+ 'module-info' => [
+ 'app-version' => 'অ্যাপ্লিকেশন সংস্করণ: v2.2.2',
+ 'desc' => 'অ্যাপ্লিকেশনের সংস্করণ সম্পর্কিত তথ্য প্রদান করে।',
+ 'title' => 'মডিউল তথ্য',
+ ],
+
+ 'seo' => [
+ 'author' => 'লেখক',
+ 'meta-description' => 'মেটা বর্ণনা',
+ 'meta-keywords' => 'মেটা কীওয়ার্ড',
+ 'meta-title' => 'মেটা শিরোনাম',
+ 'title' => 'হোম পেজ SEO',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => 'পুশ বিজ্ঞপ্তি',
+ 'sub-title' => 'হোম পেজ বিষয়বস্তু',
+ 'title' => 'PWA লেআউট',
+ 'update-success' => 'PWA লেআউট সফলভাবে আপডেট হয়েছে',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => 'ফিরে যান',
+ 'btn-save' => 'সংরক্ষণ করুন',
+ 'create-notification' => 'নতুন বিজ্ঞপ্তি যোগ করুন',
+ 'create-success' => 'পুশ বিজ্ঞপ্তি সফলভাবে আপডেট হয়েছে।',
+ 'delete-success' => 'পুশ বিজ্ঞপ্তি সফলভাবে মুছে ফেলা হয়েছে।',
+ 'description' => 'বিবরণ',
+ 'edit-notification' => 'পুশ বিজ্ঞপ্তি সম্পাদনা করুন',
+ 'general' => 'সাধারণ',
+ 'icon' => 'আইকন',
+ 'label-title' => 'শিরোনাম',
+ 'notification' => 'বিজ্ঞপ্তি',
+ 'success-notification' => 'সফল: পুশ বিজ্ঞপ্তি সফলভাবে পাঠানো হয়েছে।',
+ 'target-url' => 'টার্গেট URL',
+ 'title-create' => 'বিজ্ঞপ্তি যোগ করুন',
+ 'title-edit' => 'বিজ্ঞপ্তি পরিবর্তন করুন',
+ 'title' => 'পুশ বিজ্ঞপ্তি তালিকা',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'অবৈধ শংসাপত্র',
+ ],
+
+ 'datagrid' => [
+ 'delete' => 'মুছুন',
+ 'description' => 'বিবরণ',
+ 'icon' => 'আইকন',
+ 'id' => 'আইডি',
+ 'send' => 'পাঠান',
+ 'target-url' => 'টার্গেট URL',
+ 'title' => 'শিরোনাম',
+ 'view' => 'দেখুন',
+ ],
+
+ 'notification' => [
+ 'delete-success' => 'পুশ বিজ্ঞপ্তি সফলভাবে মুছে ফেলা হয়েছে।',
+ 'update-success' => 'পুশ বিজ্ঞপ্তি সফলভাবে আপডেট হয়েছে।',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'সতর্কতা: অনুগ্রহ করে কনফিগারেশন থেকে PWA এক্সটেনশন সক্রিয় করুন।',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/lang/de/app.php b/src/Resources/lang/de/app.php
index 70c5965a5..49d1375e8 100644
--- a/src/Resources/lang/de/app.php
+++ b/src/Resources/lang/de/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Speichern',
- 'name' => 'Name',
- 'topic' => 'Thema',
- 'media' => 'Medien',
- 'seo-author' => 'Autor',
- 'settings' => 'Einstellungen',
- 'general' => 'Allgemein',
- 'short-name' => 'Kurzer Name',
- 'theme-color' => 'Thema Farbe',
- 'add_in_pwa' => 'PWA hinzufügen',
- 'messagingId' => 'Messaging-ID',
- 'api-key' => 'Server-API-Schlüssel',
- 'enable_slider' => 'Schieberegler aktivieren',
- 'background-color' => 'Hintergrundfarbe',
- 'small' => 'App-Symbol (48x48)',
- 'medium' => 'App-Symbol (96x96)',
- 'push-notification' => 'Push-Benachrichtigung',
- 'large' => 'App-Symbol (144x144)',
- 'extra-large' => 'App-Symbol (196x196)',
- 'pwa_full_name' => 'Progressive Web-App',
- 'enable_new' => 'Neue Produkte aktivieren',
- 'enable_featured' => 'Empfohlene Produkte aktivieren',
- 'enable_categories_home_page_listing' => 'Kategorie-Startseite-Auflistung aktivieren',
- 'redirect_to_pwa_if_mobile' => 'Leiten Sie den Benutzer zu PWA um, wenn Sie ein Mobilgerät verwenden',
+ 'system' => [
+ 'add_in_pwa' => 'In PWA hinzufügen',
+ 'api-key' => 'API-Schlüssel',
+ 'app-id' => 'App-ID',
+ 'auth-domain' => 'Authentifizierungsdomain',
+ 'background-color' => 'Hintergrundfarbe',
+ 'btn-save' => 'Speichern',
+ 'database-url' => 'Datenbank-URL',
+ 'enable_categories_home_page_listing' => 'Kategorieliste auf der Startseite aktivieren',
+ 'enable_featured' => 'Empfohlene Produkte aktivieren',
+ 'enable_new' => 'Neue Produkte aktivieren',
+ 'enable_slider' => 'Slider aktivieren',
+ 'extra-large' => 'App-Symbol (196x196)',
+ 'general' => 'Allgemein',
+ 'info' => 'Hinweis: Verwenden Sie einen hexadezimalen Farbcode',
+ 'large' => 'App-Symbol (144x144)',
+ 'media' => 'Medien',
+ 'medium' => 'App-Symbol (96x96)',
+ 'messagingId' => 'Messaging-ID',
+ 'name' => 'Name',
+ 'project-id' => 'Projekt-ID',
+ 'public-vapid-key' => 'Öffentlicher VAPID-Schlüssel',
+ 'push-notification' => 'Push-Benachrichtigung',
+ 'pwa_full_name' => 'Progressive Web App',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Benutzer zu PWA umleiten, wenn ein Mobilgerät verwendet wird',
+ 'server-key' => 'Server-Schlüssel',
+ 'settings' => 'Einstellungen',
+ 'short-name' => 'Kurzname',
+ 'small' => 'App-Symbol (48x48)',
+ 'status' => 'Status',
+ 'system-info' => 'PWA-Konfiguration',
+ 'theme-color' => 'Themenfarbe',
+ 'topic' => 'Thema',
+
+ 'module-info' => [
+ 'app-version' => 'Anwendungsversion:- v2.2.2',
+ 'desc' => 'Bietet Informationen zur Anwendungsversion.',
+ 'title' => 'Modulinformationen',
+ ],
+
+ 'seo' => [
+ 'author' => 'Autor',
+ 'meta-description' => 'Meta-Beschreibung',
+ 'meta-keywords' => 'Meta-Schlüsselwörter',
+ 'meta-title' => 'Meta-Titel',
+ 'title' => 'Startseiten-SEO',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA-Layout',
+ 'layouts' => [
'push-notification' => 'Push-Benachrichtigung',
+ 'sub-title' => 'Inhalt der Startseite',
+ 'title' => 'PWA-Layout',
+ 'update-success' => 'PWA-Layout erfolgreich aktualisiert',
],
'push-notification' => [
- 'icon' => 'Symbol',
- 'label-title' => 'Titel',
- 'target-url' => 'Ziel-URL',
- 'description' => 'Beschreibung',
- 'notification' => 'Benachrichtigung',
- 'title-create' => 'Benachrichtigung hinzufügen',
- 'title-edit' => 'Benachrichtigung ändern',
- 'edit-notification' => 'Push-Benachrichtigung bearbeiten',
- 'title' => 'Push-Benachrichtigungsliste',
- 'create-notification' => 'Push-Benachrichtigung erstellen',
- 'success-notification' => 'Erfolg: Push-Benachrichtigung erfolgreich gesendet.',
+ 'back-btn' => 'Zurück',
+ 'btn-save' => 'Speichern',
+ 'create-notification' => 'Neue Benachrichtigung hinzufügen',
+ 'create-success' => 'Push-Benachrichtigung erfolgreich aktualisiert.',
+ 'delete-success' => 'Push-Benachrichtigung erfolgreich gelöscht.',
+ 'description' => 'Beschreibung',
+ 'edit-notification' => 'Push-Benachrichtigung bearbeiten',
+ 'general' => 'Allgemein',
+ 'icon' => 'Symbol',
+ 'label-title' => 'Titel',
+ 'notification' => 'Benachrichtigung',
+ 'success-notification' => 'Erfolg: Push-Benachrichtigung erfolgreich gesendet.',
+ 'target-url' => 'Ziel-URL',
+ 'title-create' => 'Benachrichtigung hinzufügen',
+ 'title-edit' => 'Benachrichtigung bearbeiten',
+ 'title' => 'Push-Benachrichtigungsliste',
],
- 'datagrid' => [
- 'id' => 'ICH WÜRDE',
- 'title' => 'Titel',
- 'target-url' => 'Ziel-URL',
- 'description' => 'Beschreibung',
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Ungültige Anmeldeinformationen',
],
- 'notification' => [
- 'update-success' => 'Push-Benachrichtigung erfolgreich aktualisiert.',
+ 'datagrid' => [
+ 'delete' => 'Löschen',
+ 'description' => 'Beschreibung',
+ 'icon' => 'Symbol',
+ 'id' => 'ID',
+ 'send' => 'Senden',
+ 'target-url' => 'Ziel-URL',
+ 'title' => 'Titel',
+ 'view' => 'Ansehen',
+ ],
+
+ 'notification' => [
'delete-success' => 'Push-Benachrichtigung erfolgreich gelöscht.',
+ 'update-success' => 'Push-Benachrichtigung erfolgreich aktualisiert.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Warnung: Bitte aktivieren Sie den PWA-Status in der Konfiguration.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/en/app.php b/src/Resources/lang/en/app.php
index 7c78a5402..134b172e8 100644
--- a/src/Resources/lang/en/app.php
+++ b/src/Resources/lang/en/app.php
@@ -2,107 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'status' => 'Status',
- 'btn-save' => 'Save',
- 'name' => 'Name',
- 'topic' => 'Topic',
- 'media' => 'Media',
- 'settings' => 'Settings',
- 'general' => 'General',
- 'short-name' => 'Short Name',
- 'theme-color' => 'Theme Color',
+ 'system' => [
'add_in_pwa' => 'Add in PWA',
- 'messagingId' => 'Messaging Id',
'api-key' => 'API Key',
+ 'app-id' => 'APP ID',
'auth-domain' => 'AUTH DOMAIN',
+ 'background-color' => 'Background Color',
+ 'btn-save' => 'Save',
'database-url' => 'DATABASE URL',
- 'project-id' => 'PROJECT ID',
- 'app-id' => 'APP ID',
- 'public-vapid-key' => 'PUBLIC VAPID Key',
- 'server-key' => 'SERVER Key',
+ 'enable_categories_home_page_listing' => 'Enable categories home page listing',
+ 'enable_featured' => 'Enable featured products',
+ 'enable_new' => 'Enable new products',
'enable_slider' => 'Enable Slider',
- 'background-color' => 'Background Color',
+ 'extra-large' => 'App Icon (196x196)',
+ 'general' => 'General',
'info' => 'Note:Use hexadecimal color code',
- 'small' => 'App Icon (48x48)',
+ 'large' => 'App Icon (144x144)',
+ 'media' => 'Media',
'medium' => 'App Icon (96x96)',
+ 'messagingId' => 'Messaging Id',
+ 'name' => 'Name',
+ 'project-id' => 'PROJECT ID',
+ 'public-vapid-key' => 'PUBLIC VAPID Key',
'push-notification' => 'Push Notification',
- 'large' => 'App Icon (144x144)',
- 'extra-large' => 'App Icon (196x196)',
'pwa_full_name' => 'Progressive Web App',
- 'enable_new' => 'Enable new products',
- 'enable_featured' => 'Enable featured products',
- 'enable_categories_home_page_listing' => 'Enable categories home page listing',
+ 'pwa' => 'PWA',
'redirect_to_pwa_if_mobile' => 'Redirect user to PWA if using mobile device',
- 'sytem-info' => 'PWA Configuration',
+ 'server-key' => 'SERVER Key',
+ 'settings' => 'Settings',
+ 'short-name' => 'Short Name',
+ 'small' => 'App Icon (48x48)',
+ 'status' => 'Status',
+ 'system-info' => 'PWA Configuration',
+ 'theme-color' => 'Theme Color',
+ 'topic' => 'Topic',
'module-info' => [
- 'title' => 'Module Information',
+ 'app-version' => 'Application Version:- v2.2.2',
'desc' => 'Provides the information related to application version.',
- 'app-version' => 'Application Version:- v2.1.x',
+ 'title' => 'Module Information',
],
'seo' => [
- 'title' => 'Home page SEO',
'author' => 'Author',
- 'meta-title' => 'Meta title',
'meta-description' => 'Meta description',
'meta-keywords' => 'Meta keywords',
+ 'meta-title' => 'Meta title',
+ 'title' => 'Home page SEO',
],
],
- 'layouts' => [
- 'title' => 'PWA Layout',
- 'push-notification' => 'Push Notification',
- 'sub-title' => 'Home page content',
- 'update-success' => 'PWA Layout Updated successfully',
+ 'layouts' => [
+ 'push-notification' => 'Push Notification',
+ 'sub-title' => 'Home page content',
+ 'title' => 'PWA Layout',
+ 'update-success' => 'PWA Layout Updated successfully',
],
'push-notification' => [
- 'icon' => 'Icon',
- 'label-title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'notification' => 'Notification',
- 'title-create' => 'Add Notification',
- 'title-edit' => 'Modify Notification',
- 'edit-notification' => 'Edit Push Notification',
- 'title' => 'Push Notification List',
- 'create-notification' => 'Add New Notification',
- 'success-notification' => 'Success: Push notification sent successfully.',
- 'back-btn' => 'Back',
- 'btn-save' => 'Save',
- 'icon' => 'Icon',
- 'general' => 'General',
- 'create-success' => 'Push notification updated successfully.',
- 'delete-success' => 'Push notification deleted successfully.',
+ 'back-btn' => 'Back',
+ 'btn-save' => 'Save',
+ 'create-notification' => 'Add New Notification',
+ 'create-success' => 'Push notification updated successfully.',
+ 'delete-success' => 'Push notification deleted successfully.',
+ 'description' => 'Description',
+ 'edit-notification' => 'Edit Push Notification',
+ 'general' => 'General',
+ 'icon' => 'Icon',
+ 'label-title' => 'Title',
+ 'notification' => 'Notification',
+ 'success-notification' => 'Success: Push notification sent successfully.',
+ 'target-url' => 'Target URL',
+ 'title-create' => 'Add Notification',
+ 'title-edit' => 'Modify Notification',
+ 'title' => 'Push Notification List',
],
'push-to-firebase' => [
'invalid-credentials' => 'Invalid Credentials',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Title',
- 'delete' => 'Delete',
- 'view' => 'View',
- 'send' => 'Send',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'icon' => 'Icon',
+ 'datagrid' => [
+ 'delete' => 'Delete',
+ 'description' => 'Description',
+ 'icon' => 'Icon',
+ 'id' => 'ID',
+ 'send' => 'Send',
+ 'target-url' => 'Target URL',
+ 'title' => 'Title',
+ 'view' => 'View',
],
- 'notification' => [
- 'update-success' => 'Push notification updated successfully.',
+ 'notification' => [
'delete-success' => 'Push notification deleted successfully.',
+ 'update-success' => 'Push notification updated successfully.',
],
],
- 'shop' => [
- 'home' => [
+ 'shop' => [
+ 'home' => [
'enable-pwa-status' => 'Warning: Please enable pwa extension status from the configuration.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/es/app.php b/src/Resources/lang/es/app.php
index 6fd87d920..ffc903459 100644
--- a/src/Resources/lang/es/app.php
+++ b/src/Resources/lang/es/app.php
@@ -2,80 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'status' => 'Estado',
- 'btn-save' => 'Guardar',
- 'name' => 'Nombre',
- 'topic' => 'Tema',
- 'media' => 'Medios',
- 'seo-author' => 'Autor',
- 'settings' => 'Configuraciones',
- 'general' => 'General',
- 'short-name' => 'Nombre Corto',
- 'theme-color' => 'Color del Tema',
- 'add_in_pwa' => 'Añadir en PWA',
- 'messagingId' => 'ID de Mensajería',
- 'api-key' => 'Clave API',
- 'auth-domain' => 'DOMINIO DE AUTENTICACIÓN',
- 'database-url' => 'URL de la Base de Datos',
- 'project-id' => 'ID de Proyecto',
- 'app-id' => 'ID de Aplicación',
- 'public-vapid-key' => 'Clave Pública VAPID',
- 'server-key' => 'Clave del Servidor',
- 'enable_slider' => 'Habilitar Slider',
- 'background-color' => 'Color de Fondo',
- 'info' => 'Nota: Use código de color hexadecimal',
- 'small' => 'Icono de la Aplicación (48x48)',
- 'medium' => 'Icono de la Aplicación (96x96)',
- 'push-notification' => 'Notificación Push',
- 'large' => 'Icono de la Aplicación (144x144)',
- 'extra-large' => 'Icono de la Aplicación (196x196)',
- 'pwa_full_name' => 'Aplicación Web Progresiva',
- 'enable_new' => 'Habilitar productos nuevos',
- 'enable_featured' => 'Habilitar productos destacados',
- 'enable_categories_home_page_listing' => 'Habilitar listado de categorías en la página de inicio',
- 'redirect_to_pwa_if_mobile' => 'Redirigir al usuario a PWA si está usando un dispositivo móvil',
+ 'system' => [
+ 'add_in_pwa' => 'Agregar en PWA',
+ 'api-key' => 'Clave API',
+ 'app-id' => 'ID de la aplicación',
+ 'auth-domain' => 'Dominio de autenticación',
+ 'background-color' => 'Color de fondo',
+ 'btn-save' => 'Guardar',
+ 'database-url' => 'URL de la base de datos',
+ 'enable_categories_home_page_listing' => 'Habilitar listado de categorías en la página de inicio',
+ 'enable_featured' => 'Habilitar productos destacados',
+ 'enable_new' => 'Habilitar productos nuevos',
+ 'enable_slider' => 'Habilitar deslizador',
+ 'extra-large' => 'Ícono de la aplicación (196x196)',
+ 'general' => 'General',
+ 'info' => 'Nota: Utilice un código de color hexadecimal',
+ 'large' => 'Ícono de la aplicación (144x144)',
+ 'media' => 'Medios',
+ 'medium' => 'Ícono de la aplicación (96x96)',
+ 'messagingId' => 'ID de mensajería',
+ 'name' => 'Nombre',
+ 'project-id' => 'ID del proyecto',
+ 'public-vapid-key' => 'Clave pública VAPID',
+ 'push-notification' => 'Notificación push',
+ 'pwa_full_name' => 'Aplicación Web Progresiva',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Redirigir al usuario a PWA si usa un dispositivo móvil',
+ 'server-key' => 'Clave del servidor',
+ 'settings' => 'Configuración',
+ 'short-name' => 'Nombre corto',
+ 'small' => 'Ícono de la aplicación (48x48)',
+ 'status' => 'Estado',
+ 'system-info' => 'Configuración de PWA',
+ 'theme-color' => 'Color del tema',
+ 'topic' => 'Tema',
+
+ 'module-info' => [
+ 'app-version' => 'Versión de la aplicación: v2.2.2',
+ 'desc' => 'Proporciona información relacionada con la versión de la aplicación.',
+ 'title' => 'Información del módulo',
+ ],
+
+ 'seo' => [
+ 'author' => 'Autor',
+ 'meta-description' => 'Meta descripción',
+ 'meta-keywords' => 'Meta palabras clave',
+ 'meta-title' => 'Meta título',
+ 'title' => 'SEO de la página de inicio',
+ ],
],
- 'layouts' => [
- 'index' => 'Diseño de PWA',
- 'push-notification' => 'Notificación Push',
+ 'layouts' => [
+ 'push-notification' => 'Notificación push',
+ 'sub-title' => 'Contenido de la página de inicio',
+ 'title' => 'Diseño PWA',
+ 'update-success' => 'Diseño PWA actualizado con éxito',
],
'push-notification' => [
- 'icon' => 'Icono',
- 'label-title' => 'Título',
- 'target-url' => 'URL de Destino',
- 'description' => 'Descripción',
- 'notification' => 'Notificación',
- 'title-create' => 'Agregar Notificación',
- 'title-edit' => 'Modificar Notificación',
- 'edit-notification' => 'Editar Notificación Push',
- 'title' => 'Lista de Notificaciones Push',
- 'create-notification' => 'Crear Notificación Push',
- 'success-notification' => 'Éxito: Notificación Push enviada exitosamente.',
+ 'back-btn' => 'Volver',
+ 'btn-save' => 'Guardar',
+ 'create-notification' => 'Agregar nueva notificación',
+ 'create-success' => 'Notificación push actualizada con éxito.',
+ 'delete-success' => 'Notificación push eliminada con éxito.',
+ 'description' => 'Descripción',
+ 'edit-notification' => 'Editar notificación push',
+ 'general' => 'General',
+ 'icon' => 'Ícono',
+ 'label-title' => 'Título',
+ 'notification' => 'Notificación',
+ 'success-notification' => 'Éxito: Notificación push enviada con éxito.',
+ 'target-url' => 'URL de destino',
+ 'title-create' => 'Agregar notificación',
+ 'title-edit' => 'Modificar notificación',
+ 'title' => 'Lista de notificaciones push',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Credenciales inválidas',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Título',
- 'delete' => 'Eliminar',
- 'view' => 'Ver',
- 'send' => 'Enviar',
- 'target-url' => 'URL de Destino',
- 'description' => 'Descripción',
+ 'datagrid' => [
+ 'delete' => 'Eliminar',
+ 'description' => 'Descripción',
+ 'icon' => 'Ícono',
+ 'id' => 'ID',
+ 'send' => 'Enviar',
+ 'target-url' => 'URL de destino',
+ 'title' => 'Título',
+ 'view' => 'Ver',
],
- 'notification' => [
- 'update-success' => 'Notificación Push actualizada correctamente.',
- 'delete-success' => 'Notificación Push eliminada correctamente.',
+ 'notification' => [
+ 'delete-success' => 'Notificación push eliminada con éxito.',
+ 'update-success' => 'Notificación push actualizada con éxito.',
],
],
- 'shop' => [
- 'home' => [
+ 'shop' => [
+ 'home' => [
'enable-pwa-status' => 'Advertencia: Por favor, habilite el estado de la extensión PWA desde la configuración.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/fa/app.php b/src/Resources/lang/fa/app.php
index 66f96dfd3..56725158a 100644
--- a/src/Resources/lang/fa/app.php
+++ b/src/Resources/lang/fa/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Save',
- 'name' => 'Name',
- 'topic' => 'Topic',
- 'media' => 'Media',
- 'seo-author' => 'Author',
- 'settings' => 'Settings',
- 'general' => 'General',
- 'short-name' => 'Short Name',
- 'theme-color' => 'Theme Color',
- 'add_in_pwa' => 'Add in PWA',
- 'messagingId' => 'Messaging Id',
- 'api-key' => 'Server API Key',
- 'enable_slider' => 'Enable Slider',
- 'background-color' => 'Background Color',
- 'small' => 'App Icon (48x48)',
- 'medium' => 'App Icon (96x96)',
- 'push-notification' => 'Push Notification',
- 'large' => 'App Icon (144x144)',
- 'extra-large' => 'App Icon (196x196)',
- 'pwa_full_name' => 'Progressive Web App',
- 'enable_new' => 'Enable new products',
- 'enable_featured' => 'Enable featured products',
- 'enable_categories_home_page_listing' => 'Enable categories home page listing',
- 'redirect_to_pwa_if_mobile' => 'Redirect user to PWA if using mobile device',
+ 'system' => [
+ 'add_in_pwa' => 'اضافه کردن در PWA',
+ 'api-key' => 'کلید API',
+ 'app-id' => 'شناسه اپلیکیشن',
+ 'auth-domain' => 'دامنه احراز هویت',
+ 'background-color' => 'رنگ پسزمینه',
+ 'btn-save' => 'ذخیره',
+ 'database-url' => 'آدرس URL پایگاه داده',
+ 'enable_categories_home_page_listing' => 'فعال کردن لیست دستهها در صفحه اصلی',
+ 'enable_featured' => 'فعال کردن محصولات ویژه',
+ 'enable_new' => 'فعال کردن محصولات جدید',
+ 'enable_slider' => 'فعال کردن اسلایدر',
+ 'extra-large' => 'آیکون اپلیکیشن (196x196)',
+ 'general' => 'عمومی',
+ 'info' => 'توجه: از کد رنگ هگزادسیمال استفاده کنید',
+ 'large' => 'آیکون اپلیکیشن (144x144)',
+ 'media' => 'رسانه',
+ 'medium' => 'آیکون اپلیکیشن (96x96)',
+ 'messagingId' => 'شناسه پیامرسانی',
+ 'name' => 'نام',
+ 'project-id' => 'شناسه پروژه',
+ 'public-vapid-key' => 'کلید عمومی VAPID',
+ 'push-notification' => 'اعلان فشار',
+ 'pwa_full_name' => 'اپلیکیشن وب پیشرفته',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'در صورت استفاده از دستگاه موبایل، کاربر را به PWA هدایت کنید',
+ 'server-key' => 'کلید سرور',
+ 'settings' => 'تنظیمات',
+ 'short-name' => 'نام کوتاه',
+ 'small' => 'آیکون اپلیکیشن (48x48)',
+ 'status' => 'وضعیت',
+ 'system-info' => 'تنظیمات PWA',
+ 'theme-color' => 'رنگ تم',
+ 'topic' => 'موضوع',
+
+ 'module-info' => [
+ 'app-version' => 'نسخه اپلیکیشن: v2.2.2',
+ 'desc' => 'اطلاعات مربوط به نسخه اپلیکیشن را ارائه میدهد.',
+ 'title' => 'اطلاعات ماژول',
+ ],
+
+ 'seo' => [
+ 'author' => 'نویسنده',
+ 'meta-description' => 'توضیحات متا',
+ 'meta-keywords' => 'کلمات کلیدی متا',
+ 'meta-title' => 'عنوان متا',
+ 'title' => 'SEO صفحه اصلی',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Layout',
- 'push-notification' => 'Push Notification',
+ 'layouts' => [
+ 'push-notification' => 'اعلان فشار',
+ 'sub-title' => 'محتوای صفحه اصلی',
+ 'title' => 'طرح PWA',
+ 'update-success' => 'طرح PWA با موفقیت بهروزرسانی شد',
],
'push-notification' => [
- 'icon' => 'Icon',
- 'label-title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'notification' => 'Notification',
- 'title-create' => 'Add Notification',
- 'title-edit' => 'Modify Notification',
- 'edit-notification' => 'Edit Push Notification',
- 'title' => 'Push Notification List',
- 'create-notification' => 'Create Push Notification',
- 'success-notification' => 'Success: Push notification sent successfully.',
+ 'back-btn' => 'بازگشت',
+ 'btn-save' => 'ذخیره',
+ 'create-notification' => 'اضافه کردن اعلان جدید',
+ 'create-success' => 'اعلان فشار با موفقیت بهروزرسانی شد.',
+ 'delete-success' => 'اعلان فشار با موفقیت حذف شد.',
+ 'description' => 'توضیحات',
+ 'edit-notification' => 'ویرایش اعلان فشار',
+ 'general' => 'عمومی',
+ 'icon' => 'آیکون',
+ 'label-title' => 'عنوان',
+ 'notification' => 'اعلان',
+ 'success-notification' => 'موفقیت: اعلان فشار با موفقیت ارسال شد.',
+ 'target-url' => 'آدرس هدف',
+ 'title-create' => 'اضافه کردن اعلان',
+ 'title-edit' => 'ویرایش اعلان',
+ 'title' => 'لیست اعلانهای فشار',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'اعتبارنامه نامعتبر',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
+ 'datagrid' => [
+ 'delete' => 'حذف',
+ 'description' => 'توضیحات',
+ 'icon' => 'آیکون',
+ 'id' => 'شناسه',
+ 'send' => 'ارسال',
+ 'target-url' => 'آدرس هدف',
+ 'title' => 'عنوان',
+ 'view' => 'مشاهده',
],
- 'notification' => [
- 'update-success' => 'اعلان فشاری با موفقیت به روز شد.',
- 'delete-success' => 'اعلان فشاری با موفقیت حذف شد.',
+ 'notification' => [
+ 'delete-success' => 'اعلان فشار با موفقیت حذف شد.',
+ 'update-success' => 'اعلان فشار با موفقیت بهروزرسانی شد.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'هشدار: لطفاً وضعیت افزونه PWA را از تنظیمات فعال کنید.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/fr/app.php b/src/Resources/lang/fr/app.php
index b728c8e2d..3ac56a85a 100644
--- a/src/Resources/lang/fr/app.php
+++ b/src/Resources/lang/fr/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Save',
- 'name' => 'Name',
- 'topic' => 'Topic',
- 'media' => 'Media',
- 'seo-author' => 'Author',
- 'settings' => 'Settings',
- 'general' => 'General',
- 'short-name' => 'Short Name',
- 'theme-color' => 'Theme Color',
- 'add_in_pwa' => 'Add in PWA',
- 'messagingId' => 'Messaging Id',
- 'api-key' => 'Server API Key',
- 'enable_slider' => 'Enable Slider',
- 'background-color' => 'Background Color',
- 'small' => 'App Icon (48x48)',
- 'medium' => 'App Icon (96x96)',
- 'push-notification' => 'Push Notification',
- 'large' => 'App Icon (144x144)',
- 'extra-large' => 'App Icon (196x196)',
- 'pwa_full_name' => 'Progressive Web App',
- 'enable_new' => 'Enable new products',
- 'enable_featured' => 'Enable featured products',
- 'enable_categories_home_page_listing' => 'Enable categories home page listing',
- 'redirect_to_pwa_if_mobile' => 'Redirect user to PWA if using mobile device',
+ 'system' => [
+ 'add_in_pwa' => 'Ajouter dans PWA',
+ 'api-key' => 'Clé API',
+ 'app-id' => 'ID de l’application',
+ 'auth-domain' => 'Domaine d’authentification',
+ 'background-color' => 'Couleur de fond',
+ 'btn-save' => 'Enregistrer',
+ 'database-url' => 'URL de la base de données',
+ 'enable_categories_home_page_listing' => 'Activer la liste des catégories sur la page d’accueil',
+ 'enable_featured' => 'Activer les produits en vedette',
+ 'enable_new' => 'Activer les nouveaux produits',
+ 'enable_slider' => 'Activer le diaporama',
+ 'extra-large' => 'Icône de l’application (196x196)',
+ 'general' => 'Général',
+ 'info' => 'Note : Utilisez un code couleur hexadécimal',
+ 'large' => 'Icône de l’application (144x144)',
+ 'media' => 'Médias',
+ 'medium' => 'Icône de l’application (96x96)',
+ 'messagingId' => 'ID de messagerie',
+ 'name' => 'Nom',
+ 'project-id' => 'ID du projet',
+ 'public-vapid-key' => 'Clé publique VAPID',
+ 'push-notification' => 'Notification push',
+ 'pwa_full_name' => 'Application Web Progressive',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Rediriger l’utilisateur vers PWA s’il utilise un appareil mobile',
+ 'server-key' => 'Clé serveur',
+ 'settings' => 'Paramètres',
+ 'short-name' => 'Nom court',
+ 'small' => 'Icône de l’application (48x48)',
+ 'status' => 'Statut',
+ 'system-info' => 'Configuration de PWA',
+ 'theme-color' => 'Couleur du thème',
+ 'topic' => 'Sujet',
+
+ 'module-info' => [
+ 'app-version' => 'Version de l’application : v2.2.2',
+ 'desc' => 'Fournit des informations liées à la version de l’application.',
+ 'title' => 'Informations sur le module',
+ ],
+
+ 'seo' => [
+ 'author' => 'Auteur',
+ 'meta-description' => 'Méta description',
+ 'meta-keywords' => 'Mots-clés méta',
+ 'meta-title' => 'Titre méta',
+ 'title' => 'SEO de la page d’accueil',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Layout',
- 'push-notification' => 'Push Notification',
+ 'layouts' => [
+ 'push-notification' => 'Notification push',
+ 'sub-title' => 'Contenu de la page d’accueil',
+ 'title' => 'Disposition PWA',
+ 'update-success' => 'Disposition PWA mise à jour avec succès',
],
'push-notification' => [
- 'icon' => 'Icon',
- 'label-title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'notification' => 'Notification',
- 'title-create' => 'Add Notification',
- 'title-edit' => 'Modify Notification',
- 'edit-notification' => 'Edit Push Notification',
- 'title' => 'Push Notification List',
- 'create-notification' => 'Create Push Notification',
- 'success-notification' => 'Success: Push notification sent successfully.',
+ 'back-btn' => 'Retour',
+ 'btn-save' => 'Enregistrer',
+ 'create-notification' => 'Ajouter une nouvelle notification',
+ 'create-success' => 'Notification push mise à jour avec succès.',
+ 'delete-success' => 'Notification push supprimée avec succès.',
+ 'description' => 'Description',
+ 'edit-notification' => 'Modifier la notification push',
+ 'general' => 'Général',
+ 'icon' => 'Icône',
+ 'label-title' => 'Titre',
+ 'notification' => 'Notification',
+ 'success-notification' => 'Succès : Notification push envoyée avec succès.',
+ 'target-url' => 'URL cible',
+ 'title-create' => 'Ajouter une notification',
+ 'title-edit' => 'Modifier la notification',
+ 'title' => 'Liste des notifications push',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Identifiants invalides',
],
- 'notification' => [
- 'update-success' => 'Notification push mise à jour avec succès.',
+ 'datagrid' => [
+ 'delete' => 'Supprimer',
+ 'description' => 'Description',
+ 'icon' => 'Icône',
+ 'id' => 'ID',
+ 'send' => 'Envoyer',
+ 'target-url' => 'URL cible',
+ 'title' => 'Titre',
+ 'view' => 'Voir',
+ ],
+
+ 'notification' => [
'delete-success' => 'Notification push supprimée avec succès.',
+ 'update-success' => 'Notification push mise à jour avec succès.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Attention : Veuillez activer l’état de l’extension PWA dans la configuration.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/he/app.php b/src/Resources/lang/he/app.php
new file mode 100755
index 000000000..3e030bf56
--- /dev/null
+++ b/src/Resources/lang/he/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => 'הוסף ב-PWA',
+ 'api-key' => 'מפתח API',
+ 'app-id' => 'מזהה אפליקציה',
+ 'auth-domain' => 'דומיין אימות',
+ 'background-color' => 'צבע רקע',
+ 'btn-save' => 'שמור',
+ 'database-url' => 'כתובת URL של מסד נתונים',
+ 'enable_categories_home_page_listing' => 'הפעל רישום קטגוריות בדף הבית',
+ 'enable_featured' => 'הפעל מוצרים מוצגים',
+ 'enable_new' => 'הפעל מוצרים חדשים',
+ 'enable_slider' => 'הפעל סליידר',
+ 'extra-large' => 'אייקון אפליקציה (196x196)',
+ 'general' => 'כללי',
+ 'info' => 'הערה: השתמש בקוד צבע הקסדצימלי',
+ 'large' => 'אייקון אפליקציה (144x144)',
+ 'media' => 'מדיה',
+ 'medium' => 'אייקון אפליקציה (96x96)',
+ 'messagingId' => 'מזהה הודעות',
+ 'name' => 'שם',
+ 'project-id' => 'מזהה פרויקט',
+ 'public-vapid-key' => 'מפתח VAPID ציבורי',
+ 'push-notification' => 'התראה בדחיפה',
+ 'pwa_full_name' => 'אפליקציה מתקדמת מבוססת רשת',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'הפנה משתמש ל-PWA אם הוא משתמש במכשיר נייד',
+ 'server-key' => 'מפתח שרת',
+ 'settings' => 'הגדרות',
+ 'short-name' => 'שם קצר',
+ 'small' => 'אייקון אפליקציה (48x48)',
+ 'status' => 'סטטוס',
+ 'system-info' => 'תצורת PWA',
+ 'theme-color' => 'צבע נושא',
+ 'topic' => 'נושא',
+
+ 'module-info' => [
+ 'app-version' => 'גרסת אפליקציה: v2.2.2',
+ 'desc' => 'מספק מידע על גרסת האפליקציה.',
+ 'title' => 'מידע על מודול',
+ ],
+
+ 'seo' => [
+ 'author' => 'מחבר',
+ 'meta-description' => 'תיאור מטא',
+ 'meta-keywords' => 'מילות מפתח מטא',
+ 'meta-title' => 'כותרת מטא',
+ 'title' => 'SEO של דף הבית',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => 'התראה בדחיפה',
+ 'sub-title' => 'תוכן דף הבית',
+ 'title' => 'עיצוב PWA',
+ 'update-success' => 'עיצוב PWA עודכן בהצלחה',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => 'חזור',
+ 'btn-save' => 'שמור',
+ 'create-notification' => 'הוסף התראה חדשה',
+ 'create-success' => 'התראה בדחיפה עודכנה בהצלחה.',
+ 'delete-success' => 'התראה בדחיפה נמחקה בהצלחה.',
+ 'description' => 'תיאור',
+ 'edit-notification' => 'ערוך התראה בדחיפה',
+ 'general' => 'כללי',
+ 'icon' => 'אייקון',
+ 'label-title' => 'כותרת',
+ 'notification' => 'התראה',
+ 'success-notification' => 'הצלחה: התראה בדחיפה נשלחה בהצלחה.',
+ 'target-url' => 'כתובת URL יעד',
+ 'title-create' => 'הוסף התראה',
+ 'title-edit' => 'ערוך התראה',
+ 'title' => 'רשימת התראות בדחיפה',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'אישורים לא חוקיים',
+ ],
+
+ 'datagrid' => [
+ 'delete' => 'מחק',
+ 'description' => 'תיאור',
+ 'icon' => 'אייקון',
+ 'id' => 'מזהה',
+ 'send' => 'שלח',
+ 'target-url' => 'כתובת URL יעד',
+ 'title' => 'כותרת',
+ 'view' => 'הצג',
+ ],
+
+ 'notification' => [
+ 'delete-success' => 'התראה בדחיפה נמחקה בהצלחה.',
+ 'update-success' => 'התראה בדחיפה עודכנה בהצלחה.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'אזהרה: הפעל את מצב התוסף PWA מההגדרות.',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/lang/hi_IN/app.php b/src/Resources/lang/hi_IN/app.php
new file mode 100755
index 000000000..b80c0b0b1
--- /dev/null
+++ b/src/Resources/lang/hi_IN/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => 'PWA में जोड़ें',
+ 'api-key' => 'API कुंजी',
+ 'app-id' => 'ऐप आईडी',
+ 'auth-domain' => 'प्रमाणीकरण डोमेन',
+ 'background-color' => 'पृष्ठभूमि का रंग',
+ 'btn-save' => 'सहेजें',
+ 'database-url' => 'डेटाबेस URL',
+ 'enable_categories_home_page_listing' => 'होम पेज सूची में श्रेणियाँ सक्षम करें',
+ 'enable_featured' => 'विशेष उत्पाद सक्षम करें',
+ 'enable_new' => 'नए उत्पाद सक्षम करें',
+ 'enable_slider' => 'स्लाइडर सक्षम करें',
+ 'extra-large' => 'ऐप आइकन (196x196)',
+ 'general' => 'सामान्य',
+ 'info' => 'नोट: हेक्साडेसिमल रंग कोड का उपयोग करें',
+ 'large' => 'ऐप आइकन (144x144)',
+ 'media' => 'मीडिया',
+ 'medium' => 'ऐप आइकन (96x96)',
+ 'messagingId' => 'संदेश आईडी',
+ 'name' => 'नाम',
+ 'project-id' => 'प्रोजेक्ट आईडी',
+ 'public-vapid-key' => 'सार्वजनिक VAPID कुंजी',
+ 'push-notification' => 'पुश सूचना',
+ 'pwa_full_name' => 'प्रगतिशील वेब ऐप',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'यदि मोबाइल डिवाइस का उपयोग कर रहे हैं तो उपयोगकर्ता को PWA पर रीडायरेक्ट करें',
+ 'server-key' => 'सर्वर कुंजी',
+ 'settings' => 'सेटिंग्स',
+ 'short-name' => 'संक्षिप्त नाम',
+ 'small' => 'ऐप आइकन (48x48)',
+ 'status' => 'स्थिति',
+ 'system-info' => 'PWA कॉन्फ़िगरेशन',
+ 'theme-color' => 'थीम का रंग',
+ 'topic' => 'विषय',
+
+ 'module-info' => [
+ 'app-version' => 'ऐप संस्करण: v2.2.2',
+ 'desc' => 'ऐप संस्करण से संबंधित जानकारी प्रदान करता है।',
+ 'title' => 'मॉड्यूल जानकारी',
+ ],
+
+ 'seo' => [
+ 'author' => 'लेखक',
+ 'meta-description' => 'मेटा विवरण',
+ 'meta-keywords' => 'मेटा कीवर्ड',
+ 'meta-title' => 'मेटा शीर्षक',
+ 'title' => 'होम पेज SEO',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => 'पुश सूचना',
+ 'sub-title' => 'होम पेज सामग्री',
+ 'title' => 'PWA लेआउट',
+ 'update-success' => 'PWA लेआउट सफलतापूर्वक अपडेट किया गया',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => 'वापस जाएं',
+ 'btn-save' => 'सहेजें',
+ 'create-notification' => 'नई सूचना जोड़ें',
+ 'create-success' => 'पुश सूचना सफलतापूर्वक अपडेट की गई।',
+ 'delete-success' => 'पुश सूचना सफलतापूर्वक हटाई गई।',
+ 'description' => 'विवरण',
+ 'edit-notification' => 'पुश सूचना संपादित करें',
+ 'general' => 'सामान्य',
+ 'icon' => 'आइकन',
+ 'label-title' => 'शीर्षक',
+ 'notification' => 'सूचना',
+ 'success-notification' => 'सफलता: पुश सूचना सफलतापूर्वक भेजी गई।',
+ 'target-url' => 'लक्ष्य URL',
+ 'title-create' => 'सूचना जोड़ें',
+ 'title-edit' => 'सूचना संपादित करें',
+ 'title' => 'पुश सूचना सूची',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'अमान्य प्रमाण-पत्र',
+ ],
+
+ 'datagrid' => [
+ 'delete' => 'हटाएं',
+ 'description' => 'विवरण',
+ 'icon' => 'आइकन',
+ 'id' => 'आईडी',
+ 'send' => 'भेजें',
+ 'target-url' => 'लक्ष्य URL',
+ 'title' => 'शीर्षक',
+ 'view' => 'देखें',
+ ],
+
+ 'notification' => [
+ 'delete-success' => 'पुश सूचना सफलतापूर्वक हटाई गई।',
+ 'update-success' => 'पुश सूचना सफलतापूर्वक अपडेट की गई।',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'चेतावनी: कृपया सेटिंग्स से PWA एक्सटेंशन स्थिति सक्षम करें।',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/lang/it/app.php b/src/Resources/lang/it/app.php
index 25738ed4c..2f62467ee 100644
--- a/src/Resources/lang/it/app.php
+++ b/src/Resources/lang/it/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Save',
- 'name' => 'Name',
- 'topic' => 'Topic',
- 'media' => 'Media',
- 'seo-author' => 'Author',
- 'settings' => 'Settings',
- 'general' => 'General',
- 'short-name' => 'Short Name',
- 'theme-color' => 'Theme Color',
- 'add_in_pwa' => 'Add in PWA',
- 'messagingId' => 'Messaging Id',
- 'api-key' => 'Server API Key',
- 'enable_slider' => 'Enable Slider',
- 'background-color' => 'Background Color',
- 'small' => 'App Icon (48x48)',
- 'medium' => 'App Icon (96x96)',
- 'push-notification' => 'Push Notification',
- 'large' => 'App Icon (144x144)',
- 'extra-large' => 'App Icon (196x196)',
- 'pwa_full_name' => 'Progressive Web App',
- 'enable_new' => 'Enable new products',
- 'enable_featured' => 'Enable featured products',
- 'enable_categories_home_page_listing' => 'Enable categories home page listing',
- 'redirect_to_pwa_if_mobile' => 'Redirect user to PWA if using mobile device',
+ 'system' => [
+ 'add_in_pwa' => 'Aggiungi in PWA',
+ 'api-key' => 'Chiave API',
+ 'app-id' => 'ID APP',
+ 'auth-domain' => 'Dominio di Autenticazione',
+ 'background-color' => 'Colore di Sfondo',
+ 'btn-save' => 'Salva',
+ 'database-url' => 'URL del Database',
+ 'enable_categories_home_page_listing' => 'Abilita elenco categorie nella pagina principale',
+ 'enable_featured' => 'Abilita prodotti in evidenza',
+ 'enable_new' => 'Abilita nuovi prodotti',
+ 'enable_slider' => 'Abilita Slider',
+ 'extra-large' => 'Icona App (196x196)',
+ 'general' => 'Generale',
+ 'info' => 'Nota: Usa un codice colore esadecimale',
+ 'large' => 'Icona App (144x144)',
+ 'media' => 'Media',
+ 'medium' => 'Icona App (96x96)',
+ 'messagingId' => 'ID Messaggi',
+ 'name' => 'Nome',
+ 'project-id' => 'ID Progetto',
+ 'public-vapid-key' => 'Chiave VAPID Pubblica',
+ 'push-notification' => 'Notifiche Push',
+ 'pwa_full_name' => 'Applicazione Web Progressiva',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Reindirizza l\'utente a PWA se utilizza un dispositivo mobile',
+ 'server-key' => 'Chiave Server',
+ 'settings' => 'Impostazioni',
+ 'short-name' => 'Nome Breve',
+ 'small' => 'Icona App (48x48)',
+ 'status' => 'Stato',
+ 'system-info' => 'Configurazione PWA',
+ 'theme-color' => 'Colore Tema',
+ 'topic' => 'Argomento',
+
+ 'module-info' => [
+ 'app-version' => 'Versione Applicazione: v2.2.2',
+ 'desc' => 'Fornisce informazioni relative alla versione dell\'applicazione.',
+ 'title' => 'Informazioni sul Modulo',
+ ],
+
+ 'seo' => [
+ 'author' => 'Autore',
+ 'meta-description' => 'Descrizione Meta',
+ 'meta-keywords' => 'Parole Chiave Meta',
+ 'meta-title' => 'Titolo Meta',
+ 'title' => 'SEO della Pagina Iniziale',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Layout',
- 'push-notification' => 'Push Notification',
+ 'layouts' => [
+ 'push-notification' => 'Notifiche Push',
+ 'sub-title' => 'Contenuto della Pagina Iniziale',
+ 'title' => 'Layout PWA',
+ 'update-success' => 'Layout PWA aggiornato con successo',
],
'push-notification' => [
- 'icon' => 'Icon',
- 'label-title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'notification' => 'Notification',
- 'title-create' => 'Add Notification',
- 'title-edit' => 'Modify Notification',
- 'edit-notification' => 'Edit Push Notification',
- 'title' => 'Push Notification List',
- 'create-notification' => 'Create Push Notification',
- 'success-notification' => 'Success: Push notification sent successfully.',
+ 'back-btn' => 'Indietro',
+ 'btn-save' => 'Salva',
+ 'create-notification' => 'Aggiungi Nuova Notifica',
+ 'create-success' => 'Notifica Push aggiornata con successo.',
+ 'delete-success' => 'Notifica Push eliminata con successo.',
+ 'description' => 'Descrizione',
+ 'edit-notification' => 'Modifica Notifica Push',
+ 'general' => 'Generale',
+ 'icon' => 'Icona',
+ 'label-title' => 'Titolo',
+ 'notification' => 'Notifica',
+ 'success-notification' => 'Successo: Notifica Push inviata con successo.',
+ 'target-url' => 'URL di Destinazione',
+ 'title-create' => 'Aggiungi Notifica',
+ 'title-edit' => 'Modifica Notifica',
+ 'title' => 'Elenco delle Notifiche Push',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Credenziali Non Valide',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
+ 'datagrid' => [
+ 'delete' => 'Elimina',
+ 'description' => 'Descrizione',
+ 'icon' => 'Icona',
+ 'id' => 'ID',
+ 'send' => 'Invia',
+ 'target-url' => 'URL di Destinazione',
+ 'title' => 'Titolo',
+ 'view' => 'Visualizza',
],
- 'notification' => [
- 'update-success' => 'Notifica push aggiornata correttamente.',
- 'delete-success' => 'Notifica push eliminata correttamente.',
+ 'notification' => [
+ 'delete-success' => 'Notifica Push eliminata con successo.',
+ 'update-success' => 'Notifica Push aggiornata con successo.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Avviso: Abilita lo stato dell\'estensione PWA dalla configurazione.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/ja/app.php b/src/Resources/lang/ja/app.php
index 8c7c863fd..a8868c1c5 100644
--- a/src/Resources/lang/ja/app.php
+++ b/src/Resources/lang/ja/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Save',
- 'name' => 'Name',
- 'topic' => 'Topic',
- 'media' => 'Media',
- 'seo-author' => 'Author',
- 'settings' => 'Settings',
- 'general' => 'General',
- 'short-name' => 'Short Name',
- 'theme-color' => 'Theme Color',
- 'add_in_pwa' => 'Add in PWA',
- 'messagingId' => 'Messaging Id',
- 'api-key' => 'Server API Key',
- 'enable_slider' => 'Enable Slider',
- 'background-color' => 'Background Color',
- 'small' => 'App Icon (48x48)',
- 'medium' => 'App Icon (96x96)',
- 'push-notification' => 'Push Notification',
- 'large' => 'App Icon (144x144)',
- 'extra-large' => 'App Icon (196x196)',
- 'pwa_full_name' => 'Progressive Web App',
- 'enable_new' => 'Enable new products',
- 'enable_featured' => 'Enable featured products',
- 'enable_categories_home_page_listing' => 'Enable categories home page listing',
- 'redirect_to_pwa_if_mobile' => 'Redirect user to PWA if using mobile device',
+ 'system' => [
+ 'add_in_pwa' => 'PWAに追加',
+ 'api-key' => 'APIキー',
+ 'app-id' => 'アプリID',
+ 'auth-domain' => '認証ドメイン',
+ 'background-color' => '背景色',
+ 'btn-save' => '保存',
+ 'database-url' => 'データベースURL',
+ 'enable_categories_home_page_listing' => 'ホームページにカテゴリ一覧を有効化',
+ 'enable_featured' => '注目の商品を有効化',
+ 'enable_new' => '新商品を有効化',
+ 'enable_slider' => 'スライダーを有効化',
+ 'extra-large' => 'アプリアイコン (196x196)',
+ 'general' => '一般',
+ 'info' => '注意:16進数のカラーコードを使用してください',
+ 'large' => 'アプリアイコン (144x144)',
+ 'media' => 'メディア',
+ 'medium' => 'アプリアイコン (96x96)',
+ 'messagingId' => 'メッセージングID',
+ 'name' => '名前',
+ 'project-id' => 'プロジェクトID',
+ 'public-vapid-key' => '公開VAPIDキー',
+ 'push-notification' => 'プッシュ通知',
+ 'pwa_full_name' => 'プログレッシブウェブアプリ',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'モバイルデバイスの場合はPWAにリダイレクト',
+ 'server-key' => 'サーバーキー',
+ 'settings' => '設定',
+ 'short-name' => '短縮名',
+ 'small' => 'アプリアイコン (48x48)',
+ 'status' => 'ステータス',
+ 'system-info' => 'PWA設定',
+ 'theme-color' => 'テーマカラー',
+ 'topic' => 'トピック',
+
+ 'module-info' => [
+ 'app-version' => 'アプリバージョン: v2.2.2',
+ 'desc' => 'アプリバージョンに関する情報を提供します。',
+ 'title' => 'モジュール情報',
+ ],
+
+ 'seo' => [
+ 'author' => '著者',
+ 'meta-description' => 'メタ説明',
+ 'meta-keywords' => 'メタキーワード',
+ 'meta-title' => 'メタタイトル',
+ 'title' => 'ホームページSEO',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Layout',
- 'push-notification' => 'Push Notification',
+ 'layouts' => [
+ 'push-notification' => 'プッシュ通知',
+ 'sub-title' => 'ホームページの内容',
+ 'title' => 'PWAレイアウト',
+ 'update-success' => 'PWAレイアウトが正常に更新されました',
],
'push-notification' => [
- 'icon' => 'Icon',
- 'label-title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'notification' => 'Notification',
- 'title-create' => 'Add Notification',
- 'title-edit' => 'Modify Notification',
- 'edit-notification' => 'Edit Push Notification',
- 'title' => 'Push Notification List',
- 'create-notification' => 'Create Push Notification',
- 'success-notification' => 'Success: Push notification sent successfully.',
+ 'back-btn' => '戻る',
+ 'btn-save' => '保存',
+ 'create-notification' => '新しい通知を追加',
+ 'create-success' => 'プッシュ通知が正常に更新されました。',
+ 'delete-success' => 'プッシュ通知が正常に削除されました。',
+ 'description' => '説明',
+ 'edit-notification' => 'プッシュ通知を編集',
+ 'general' => '一般',
+ 'icon' => 'アイコン',
+ 'label-title' => 'タイトル',
+ 'notification' => '通知',
+ 'success-notification' => '成功:プッシュ通知が正常に送信されました。',
+ 'target-url' => 'ターゲットURL',
+ 'title-create' => '通知を追加',
+ 'title-edit' => '通知を編集',
+ 'title' => 'プッシュ通知リスト',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => '無効な資格情報',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
+ 'datagrid' => [
+ 'delete' => '削除',
+ 'description' => '説明',
+ 'icon' => 'アイコン',
+ 'id' => 'ID',
+ 'send' => '送信',
+ 'target-url' => 'ターゲットURL',
+ 'title' => 'タイトル',
+ 'view' => '表示',
],
- 'notification' => [
- 'update-success' => 'Push notification updated successfully.',
- 'delete-success' => 'Push notification deleted successfully.',
+ 'notification' => [
+ 'delete-success' => 'プッシュ通知が正常に削除されました。',
+ 'update-success' => 'プッシュ通知が正常に更新されました。',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => '警告: 設定からPWA拡張機能のステータスを有効にしてください。',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/nl/app.php b/src/Resources/lang/nl/app.php
index 08365e35b..bda93dc30 100644
--- a/src/Resources/lang/nl/app.php
+++ b/src/Resources/lang/nl/app.php
@@ -2,80 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'status' => 'Status',
- 'btn-save' => 'Opslaan',
- 'name' => 'Naam',
- 'topic' => 'Onderwerp',
- 'media' => 'Media',
- 'seo-author' => 'Auteur',
- 'settings' => 'Instellingen',
- 'general' => 'Algemeen',
- 'short-name' => 'Korte naam',
- 'theme-color' => 'Themakleur',
- 'add_in_pwa' => 'Toevoegen in PWA',
- 'messagingId' => 'Berichten-ID',
- 'api-key' => 'API-sleutel',
- 'auth-domain' => 'AUTH-DOMEIN',
- 'database-url' => 'DATABASE-URL',
- 'project-id' => 'Project-ID',
- 'app-id' => 'App-ID',
- 'public-vapid-key' => 'Openbare VAPID-sleutel',
- 'server-key' => 'Server-sleutel',
- 'enable_slider' => 'Schuifregelaar inschakelen',
- 'background-color' => 'Achtergrondkleur',
- 'info' => 'Opmerking: Gebruik hexadecimale kleurcode',
- 'small' => 'App-pictogram (48x48)',
- 'medium' => 'App-pictogram (96x96)',
- 'push-notification' => 'Pushmelding',
- 'large' => 'App-pictogram (144x144)',
- 'extra-large' => 'App-pictogram (196x196)',
- 'pwa_full_name' => 'Progressieve web-app',
- 'enable_new' => 'Nieuwe producten inschakelen',
- 'enable_featured' => 'Uitgelichte producten inschakelen',
- 'enable_categories_home_page_listing' => 'Categorieën homepage-vermelding inschakelen',
- 'redirect_to_pwa_if_mobile' => 'Gebruiker doorverwijzen naar PWA bij gebruik van mobiel apparaat',
+ 'system' => [
+ 'add_in_pwa' => 'Toevoegen aan PWA',
+ 'api-key' => 'API-sleutel',
+ 'app-id' => 'APP-ID',
+ 'auth-domain' => 'AUTH-Domein',
+ 'background-color' => 'Achtergrondkleur',
+ 'btn-save' => 'Opslaan',
+ 'database-url' => 'DATABASE-URL',
+ 'enable_categories_home_page_listing' => 'Categorieënlijst op startpagina inschakelen',
+ 'enable_featured' => 'Uitgelichte producten inschakelen',
+ 'enable_new' => 'Nieuwe producten inschakelen',
+ 'enable_slider' => 'Schuifregelaar inschakelen',
+ 'extra-large' => 'App-pictogram (196x196)',
+ 'general' => 'Algemeen',
+ 'info' => 'Opmerking: Gebruik een hexadecimale kleurcode',
+ 'large' => 'App-pictogram (144x144)',
+ 'media' => 'Media',
+ 'medium' => 'App-pictogram (96x96)',
+ 'messagingId' => 'Messaging-ID',
+ 'name' => 'Naam',
+ 'project-id' => 'PROJECT-ID',
+ 'public-vapid-key' => 'PUBLIEKE VAPID-sleutel',
+ 'push-notification' => 'Pushmelding',
+ 'pwa_full_name' => 'Progressieve Web App',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Gebruiker doorsturen naar PWA bij mobiel apparaat',
+ 'server-key' => 'SERVER-sleutel',
+ 'settings' => 'Instellingen',
+ 'short-name' => 'Korte naam',
+ 'small' => 'App-pictogram (48x48)',
+ 'status' => 'Status',
+ 'system-info' => 'PWA-configuratie',
+ 'theme-color' => 'Themakleur',
+ 'topic' => 'Onderwerp',
+
+ 'module-info' => [
+ 'app-version' => 'Applicatieversie: v2.2.2',
+ 'desc' => 'Biedt informatie over de applicatieversie.',
+ 'title' => 'Module-informatie',
+ ],
+
+ 'seo' => [
+ 'author' => 'Auteur',
+ 'meta-description' => 'Meta-omschrijving',
+ 'meta-keywords' => 'Meta-trefwoorden',
+ 'meta-title' => 'Meta-titel',
+ 'title' => 'SEO van de startpagina',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA-indeling',
+ 'layouts' => [
'push-notification' => 'Pushmelding',
+ 'sub-title' => 'Inhoud van de startpagina',
+ 'title' => 'PWA-lay-out',
+ 'update-success' => 'PWA-lay-out succesvol bijgewerkt',
],
'push-notification' => [
- 'icon' => 'Pictogram',
- 'label-title' => 'Titel',
- 'target-url' => 'Doel-URL',
- 'description' => 'Beschrijving',
- 'notification' => 'Melding',
- 'title-create' => 'Melding toevoegen',
- 'title-edit' => 'Melding wijzigen',
- 'edit-notification' => 'Pushmelding bewerken',
- 'title' => 'Lijst met pushmeldingen',
- 'create-notification' => 'Pushmelding maken',
- 'success-notification' => 'Succes: Pushmelding succesvol verzonden.',
+ 'back-btn' => 'Terug',
+ 'btn-save' => 'Opslaan',
+ 'create-notification' => 'Nieuwe melding toevoegen',
+ 'create-success' => 'Pushmelding succesvol bijgewerkt.',
+ 'delete-success' => 'Pushmelding succesvol verwijderd.',
+ 'description' => 'Beschrijving',
+ 'edit-notification' => 'Pushmelding bewerken',
+ 'general' => 'Algemeen',
+ 'icon' => 'Pictogram',
+ 'label-title' => 'Titel',
+ 'notification' => 'Melding',
+ 'success-notification' => 'Succes: Pushmelding succesvol verzonden.',
+ 'target-url' => 'Doel-URL',
+ 'title-create' => 'Melding toevoegen',
+ 'title-edit' => 'Melding aanpassen',
+ 'title' => 'Lijst van pushmeldingen',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Titel',
- 'delete' => 'Verwijderen',
- 'view' => 'Bekijken',
- 'send' => 'Verzenden',
- 'target-url' => 'Doel-URL',
- 'description' => 'Beschrijving',
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Ongeldige referenties',
],
- 'notification' => [
- 'update-success' => 'Pushmelding succesvol bijgewerkt.',
+ 'datagrid' => [
+ 'delete' => 'Verwijderen',
+ 'description' => 'Beschrijving',
+ 'icon' => 'Pictogram',
+ 'id' => 'ID',
+ 'send' => 'Verzenden',
+ 'target-url' => 'Doel-URL',
+ 'title' => 'Titel',
+ 'view' => 'Bekijken',
+ ],
+
+ 'notification' => [
'delete-success' => 'Pushmelding succesvol verwijderd.',
+ 'update-success' => 'Pushmelding succesvol bijgewerkt.',
],
],
- 'shop' => [
- 'home' => [
- 'enable-pwa-status' => 'Waarschuwing: Schakel alstublieft de PWA-extensiestatus in vanuit de configuratie.',
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Waarschuwing: Schakel de PWA-extensiestatus in via de configuratie.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/pl/app.php b/src/Resources/lang/pl/app.php
index 8c7c863fd..4de479689 100644
--- a/src/Resources/lang/pl/app.php
+++ b/src/Resources/lang/pl/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Save',
- 'name' => 'Name',
- 'topic' => 'Topic',
- 'media' => 'Media',
- 'seo-author' => 'Author',
- 'settings' => 'Settings',
- 'general' => 'General',
- 'short-name' => 'Short Name',
- 'theme-color' => 'Theme Color',
- 'add_in_pwa' => 'Add in PWA',
- 'messagingId' => 'Messaging Id',
- 'api-key' => 'Server API Key',
- 'enable_slider' => 'Enable Slider',
- 'background-color' => 'Background Color',
- 'small' => 'App Icon (48x48)',
- 'medium' => 'App Icon (96x96)',
- 'push-notification' => 'Push Notification',
- 'large' => 'App Icon (144x144)',
- 'extra-large' => 'App Icon (196x196)',
- 'pwa_full_name' => 'Progressive Web App',
- 'enable_new' => 'Enable new products',
- 'enable_featured' => 'Enable featured products',
- 'enable_categories_home_page_listing' => 'Enable categories home page listing',
- 'redirect_to_pwa_if_mobile' => 'Redirect user to PWA if using mobile device',
+ 'system' => [
+ 'add_in_pwa' => 'Dodaj do PWA',
+ 'api-key' => 'Klucz API',
+ 'app-id' => 'ID Aplikacji',
+ 'auth-domain' => 'Domena Autoryzacji',
+ 'background-color' => 'Kolor Tła',
+ 'btn-save' => 'Zapisz',
+ 'database-url' => 'URL Bazy Danych',
+ 'enable_categories_home_page_listing' => 'Włącz listę kategorii na stronie głównej',
+ 'enable_featured' => 'Włącz polecane produkty',
+ 'enable_new' => 'Włącz nowe produkty',
+ 'enable_slider' => 'Włącz suwak',
+ 'extra-large' => 'Ikona Aplikacji (196x196)',
+ 'general' => 'Ogólne',
+ 'info' => 'Uwaga: Użyj kodu koloru szesnastkowego',
+ 'large' => 'Ikona Aplikacji (144x144)',
+ 'media' => 'Media',
+ 'medium' => 'Ikona Aplikacji (96x96)',
+ 'messagingId' => 'Identyfikator Wiadomości',
+ 'name' => 'Nazwa',
+ 'project-id' => 'ID Projektu',
+ 'public-vapid-key' => 'Klucz VAPID Publiczny',
+ 'push-notification' => 'Powiadomienia Push',
+ 'pwa_full_name' => 'Progresywna Aplikacja Internetowa',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Przekieruj użytkownika do PWA w przypadku urządzeń mobilnych',
+ 'server-key' => 'Klucz Serwera',
+ 'settings' => 'Ustawienia',
+ 'short-name' => 'Krótka Nazwa',
+ 'small' => 'Ikona Aplikacji (48x48)',
+ 'status' => 'Status',
+ 'system-info' => 'Konfiguracja PWA',
+ 'theme-color' => 'Kolor Motywu',
+ 'topic' => 'Temat',
+
+ 'module-info' => [
+ 'app-version' => 'Wersja Aplikacji: v2.2.2',
+ 'desc' => 'Podaje informacje dotyczące wersji aplikacji.',
+ 'title' => 'Informacje o module',
+ ],
+
+ 'seo' => [
+ 'author' => 'Autor',
+ 'meta-description' => 'Opis Meta',
+ 'meta-keywords' => 'Słowa Kluczowe Meta',
+ 'meta-title' => 'Tytuł Meta',
+ 'title' => 'SEO Strony Głównej',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Layout',
- 'push-notification' => 'Push Notification',
+ 'layouts' => [
+ 'push-notification' => 'Powiadomienia Push',
+ 'sub-title' => 'Zawartość Strony Głównej',
+ 'title' => 'Układ PWA',
+ 'update-success' => 'Układ PWA został pomyślnie zaktualizowany',
],
'push-notification' => [
- 'icon' => 'Icon',
- 'label-title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
- 'notification' => 'Notification',
- 'title-create' => 'Add Notification',
- 'title-edit' => 'Modify Notification',
- 'edit-notification' => 'Edit Push Notification',
- 'title' => 'Push Notification List',
- 'create-notification' => 'Create Push Notification',
- 'success-notification' => 'Success: Push notification sent successfully.',
+ 'back-btn' => 'Wstecz',
+ 'btn-save' => 'Zapisz',
+ 'create-notification' => 'Dodaj Nowe Powiadomienie',
+ 'create-success' => 'Powiadomienie Push pomyślnie zaktualizowane.',
+ 'delete-success' => 'Powiadomienie Push pomyślnie usunięte.',
+ 'description' => 'Opis',
+ 'edit-notification' => 'Edytuj Powiadomienie Push',
+ 'general' => 'Ogólne',
+ 'icon' => 'Ikona',
+ 'label-title' => 'Tytuł',
+ 'notification' => 'Powiadomienie',
+ 'success-notification' => 'success: Powiadomienie Push zostało pomyślnie wysłane.',
+ 'target-url' => 'URL Docelowy',
+ 'title-create' => 'Dodaj Powiadomienie',
+ 'title-edit' => 'Edytuj Powiadomienie',
+ 'title' => 'Lista Powiadomień Push',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Nieprawidłowe dane logowania',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Title',
- 'target-url' => 'Target URL',
- 'description' => 'Description',
+ 'datagrid' => [
+ 'delete' => 'Usuń',
+ 'description' => 'Opis',
+ 'icon' => 'Ikona',
+ 'id' => 'ID',
+ 'send' => 'Wyślij',
+ 'target-url' => 'URL Docelowy',
+ 'title' => 'Tytuł',
+ 'view' => 'Widok',
],
- 'notification' => [
- 'update-success' => 'Push notification updated successfully.',
- 'delete-success' => 'Push notification deleted successfully.',
+ 'notification' => [
+ 'delete-success' => 'Powiadomienie Push zostało pomyślnie usunięte.',
+ 'update-success' => 'Powiadomienie Push zostało pomyślnie zaktualizowane.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Ostrzeżenie: Włącz status rozszerzenia PWA w konfiguracji.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/pt_BR/app.php b/src/Resources/lang/pt_BR/app.php
index d2974ec38..dd75b6cf5 100644
--- a/src/Resources/lang/pt_BR/app.php
+++ b/src/Resources/lang/pt_BR/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Salvar',
- 'name' => 'Nome',
- 'topic' => 'Topico',
- 'media' => 'Media',
- 'seo-author' => 'Autor',
- 'settings' => 'Configurações',
- 'general' => 'Geral',
- 'short-name' => 'Apelido',
- 'theme-color' => 'Cor Tema',
- 'add_in_pwa' => 'Adicionar ao PWA',
- 'messagingId' => 'Id Mensagens',
- 'api-key' => 'Chave API servidor',
- 'enable_slider' => 'Habilitar Slider',
- 'background-color' => 'Cor de Fundo',
- 'small' => 'App Icone (48x48)',
- 'medium' => 'App Icone (96x96)',
- 'push-notification' => 'Notificações por Push',
- 'large' => 'App Icone (144x144)',
- 'extra-large' => 'App Icone (196x196)',
- 'pwa_full_name' => 'Página Web Progressiva',
- 'enable_new' => 'Habilitar novos produtos',
- 'enable_featured' => 'Habilitar destaques de produtos',
- 'enable_categories_home_page_listing' => 'Habilitar listagem da página inicial das categorias',
- 'redirect_to_pwa_if_mobile' => 'Redirecionar o usuário para PWA se estiver usando um dispositivo móvel',
+ 'system' => [
+ 'add_in_pwa' => 'Adicionar ao PWA',
+ 'api-key' => 'Chave API',
+ 'app-id' => 'ID do APP',
+ 'auth-domain' => 'DOMÍNIO de Autenticação',
+ 'background-color' => 'Cor de Fundo',
+ 'btn-save' => 'Salvar',
+ 'database-url' => 'URL do Banco de Dados',
+ 'enable_categories_home_page_listing' => 'Habilitar listagem de categorias na página inicial',
+ 'enable_featured' => 'Habilitar produtos em destaque',
+ 'enable_new' => 'Habilitar novos produtos',
+ 'enable_slider' => 'Habilitar Slider',
+ 'extra-large' => 'Ícone do App (196x196)',
+ 'general' => 'Geral',
+ 'info' => 'Nota: Use código de cor hexadecimal',
+ 'large' => 'Ícone do App (144x144)',
+ 'media' => 'Mídia',
+ 'medium' => 'Ícone do App (96x96)',
+ 'messagingId' => 'ID de Mensagens',
+ 'name' => 'Nome',
+ 'project-id' => 'ID do Projeto',
+ 'public-vapid-key' => 'Chave Pública VAPID',
+ 'push-notification' => 'Notificação Push',
+ 'pwa_full_name' => 'Aplicativo Web Progressivo',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Redirecionar usuário para o PWA ao usar dispositivo móvel',
+ 'server-key' => 'Chave do Servidor',
+ 'settings' => 'Configurações',
+ 'short-name' => 'Nome Curto',
+ 'small' => 'Ícone do App (48x48)',
+ 'status' => 'Status',
+ 'system-info' => 'Configuração do PWA',
+ 'theme-color' => 'Cor do Tema',
+ 'topic' => 'Tópico',
+
+ 'module-info' => [
+ 'app-version' => 'Versão do Aplicativo: v2.2.2',
+ 'desc' => 'Fornece informações relacionadas à versão do aplicativo.',
+ 'title' => 'Informações do Módulo',
+ ],
+
+ 'seo' => [
+ 'author' => 'Autor',
+ 'meta-description' => 'Descrição Meta',
+ 'meta-keywords' => 'Palavras-chave Meta',
+ 'meta-title' => 'Título Meta',
+ 'title' => 'SEO da Página Inicial',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Layout',
- 'push-notification' => 'Notificações Push',
+ 'layouts' => [
+ 'push-notification' => 'Notificação Push',
+ 'sub-title' => 'Conteúdo da Página Inicial',
+ 'title' => 'Layout do PWA',
+ 'update-success' => 'Layout do PWA atualizado com sucesso',
],
'push-notification' => [
- 'icon' => 'Icone',
- 'label-title' => 'Titulo',
- 'target-url' => 'Target URL',
- 'description' => 'Descrição',
- 'notification' => 'Notificação',
- 'title-create' => 'Adicionar Notificação',
- 'title-edit' => 'Notificação de modificação',
- 'edit-notification' => 'Editar Notificação Push',
- 'title' => 'Lista de notificações Push',
- 'create-notification' => 'Criar Notificação Push',
- 'success-notification' => 'Sucesso: Notificação push enviada com sucesso.',
+ 'back-btn' => 'Voltar',
+ 'btn-save' => 'Salvar',
+ 'create-notification' => 'Adicionar Nova Notificação',
+ 'create-success' => 'Notificação Push atualizada com sucesso.',
+ 'delete-success' => 'Notificação Push excluída com sucesso.',
+ 'description' => 'Descrição',
+ 'edit-notification' => 'Editar Notificação Push',
+ 'general' => 'Geral',
+ 'icon' => 'Ícone',
+ 'label-title' => 'Título',
+ 'notification' => 'Notificação',
+ 'success-notification' => 'Sucesso: Notificação Push enviada com sucesso.',
+ 'target-url' => 'URL de Destino',
+ 'title-create' => 'Adicionar Notificação',
+ 'title-edit' => 'Editar Notificação',
+ 'title' => 'Lista de Notificações Push',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Credenciais Inválidas',
],
- 'datagrid' => [
- 'id' => 'Cód',
- 'title' => 'Titulo',
- 'target-url' => 'URL alvo',
- 'description' => 'Descrição',
+ 'datagrid' => [
+ 'delete' => 'Excluir',
+ 'description' => 'Descrição',
+ 'icon' => 'Ícone',
+ 'id' => 'ID',
+ 'send' => 'Enviar',
+ 'target-url' => 'URL de Destino',
+ 'title' => 'Título',
+ 'view' => 'Visualizar',
],
- 'notification' => [
- 'update-success' => 'Notificação push atualizada com sucesso.',
- 'delete-success' => 'Notificação push excluída com sucesso.',
+ 'notification' => [
+ 'delete-success' => 'Notificação Push excluída com sucesso.',
+ 'update-success' => 'Notificação Push atualizada com sucesso.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Aviso: Ative o status da extensão PWA na configuração.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/ru/app.php b/src/Resources/lang/ru/app.php
new file mode 100755
index 000000000..903c5ab28
--- /dev/null
+++ b/src/Resources/lang/ru/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => 'Добавить в PWA',
+ 'api-key' => 'API-ключ',
+ 'app-id' => 'ID Приложения',
+ 'auth-domain' => 'Домен Авторизации',
+ 'background-color' => 'Цвет Фона',
+ 'btn-save' => 'Сохранить',
+ 'database-url' => 'URL Базы Данных',
+ 'enable_categories_home_page_listing' => 'Включить список категорий на главной странице',
+ 'enable_featured' => 'Включить избранные товары',
+ 'enable_new' => 'Включить новые товары',
+ 'enable_slider' => 'Включить слайдер',
+ 'extra-large' => 'Иконка Приложения (196x196)',
+ 'general' => 'Общее',
+ 'info' => 'Примечание: используйте шестнадцатеричный цветовой код',
+ 'large' => 'Иконка Приложения (144x144)',
+ 'media' => 'Медиа',
+ 'medium' => 'Иконка Приложения (96x96)',
+ 'messagingId' => 'ID Сообщений',
+ 'name' => 'Имя',
+ 'project-id' => 'ID Проекта',
+ 'public-vapid-key' => 'Публичный VAPID-ключ',
+ 'push-notification' => 'Push-уведомление',
+ 'pwa_full_name' => 'Прогрессивное Веб-Приложение',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Перенаправить пользователя в PWA на мобильном устройстве',
+ 'server-key' => 'Ключ Сервера',
+ 'settings' => 'Настройки',
+ 'short-name' => 'Краткое Имя',
+ 'small' => 'Иконка Приложения (48x48)',
+ 'status' => 'Статус',
+ 'system-info' => 'Конфигурация PWA',
+ 'theme-color' => 'Цвет Темы',
+ 'topic' => 'Тема',
+
+ 'module-info' => [
+ 'app-version' => 'Версия Приложения: v2.2.2',
+ 'desc' => 'Предоставляет информацию о версии приложения.',
+ 'title' => 'Информация о Модуле',
+ ],
+
+ 'seo' => [
+ 'author' => 'Автор',
+ 'meta-description' => 'Мета-описание',
+ 'meta-keywords' => 'Ключевые слова Мета',
+ 'meta-title' => 'Мета-заголовок',
+ 'title' => 'SEO Главной Страницы',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => 'Push-уведомление',
+ 'sub-title' => 'Контент Главной Страницы',
+ 'title' => 'Макет PWA',
+ 'update-success' => 'Макет PWA успешно обновлен',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => 'Назад',
+ 'btn-save' => 'Сохранить',
+ 'create-notification' => 'Добавить Новое Уведомление',
+ 'create-success' => 'Push-уведомление успешно обновлено.',
+ 'delete-success' => 'Push-уведомление успешно удалено.',
+ 'description' => 'Описание',
+ 'edit-notification' => 'Редактировать Push-уведомление',
+ 'general' => 'Общее',
+ 'icon' => 'Иконка',
+ 'label-title' => 'Заголовок',
+ 'notification' => 'Уведомление',
+ 'success-notification' => 'Успех: Push-уведомление успешно отправлено.',
+ 'target-url' => 'Целевой URL',
+ 'title-create' => 'Добавить Уведомление',
+ 'title-edit' => 'Редактировать Уведомление',
+ 'title' => 'Список Push-уведомлений',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Неверные учетные данные',
+ ],
+
+ 'datagrid' => [
+ 'delete' => 'Удалить',
+ 'description' => 'Описание',
+ 'icon' => 'Иконка',
+ 'id' => 'ID',
+ 'send' => 'Отправить',
+ 'target-url' => 'Целевой URL',
+ 'title' => 'Заголовок',
+ 'view' => 'Просмотр',
+ ],
+
+ 'notification' => [
+ 'delete-success' => 'Push-уведомление успешно удалено.',
+ 'update-success' => 'Push-уведомление успешно обновлено.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Внимание: Включите статус расширения PWA в настройках.',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/lang/sin/app.php b/src/Resources/lang/sin/app.php
new file mode 100755
index 000000000..42f165551
--- /dev/null
+++ b/src/Resources/lang/sin/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => 'PWA වෙත එකතු කරන්න',
+ 'api-key' => 'API යතුර',
+ 'app-id' => 'යෙදුම් හැඳුනුම',
+ 'auth-domain' => 'සත්යාපන ක්ෂේත්රය',
+ 'background-color' => 'පසුබැසුණු වර්ණය',
+ 'btn-save' => 'සුරකින්න',
+ 'database-url' => 'දත්ත සමුදා URL',
+ 'enable_categories_home_page_listing' => 'ප්රධාන පිටුවේ වර්ග ලැයිස්තුව සක්රීය කරන්න',
+ 'enable_featured' => 'විශේෂිත නිෂ්පාදන සක්රීය කරන්න',
+ 'enable_new' => 'නව නිෂ්පාදන සක්රීය කරන්න',
+ 'enable_slider' => 'ස්ලයිඩර් සක්රීය කරන්න',
+ 'extra-large' => 'යෙදුම් අයිකනය (196x196)',
+ 'general' => 'සාමාන්ය',
+ 'info' => 'සටහන: හෙක්සඩෙසීමල් වර්ණ කේතය භාවිතා කරන්න',
+ 'large' => 'යෙදුම් අයිකනය (144x144)',
+ 'media' => 'මාධ්ය',
+ 'medium' => 'යෙදුම් අයිකනය (96x96)',
+ 'messagingId' => 'පණිවිඩ හැඳුනුම',
+ 'name' => 'නම',
+ 'project-id' => 'ව්යාපෘති හැඳුනුම',
+ 'public-vapid-key' => 'සමාජ වාපිඩ් යතුර',
+ 'push-notification' => 'පුෂ් දැනුම්දීම්',
+ 'pwa_full_name' => 'ප්රගතිශීලී වෙබ් යෙදුම',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'ජංගම උපකරණ භාවිතා කරන්නේ නම් පරිශීලකය PWA වෙත යළි යොමු කරන්න',
+ 'server-key' => 'සේවාදායක යතුර',
+ 'settings' => 'සැකසුම්',
+ 'short-name' => 'කෙටි නම',
+ 'small' => 'යෙදුම් අයිකනය (48x48)',
+ 'status' => 'තත්ත්වය',
+ 'system-info' => 'PWA වින්යාසය',
+ 'theme-color' => 'තේමාව වර්ණය',
+ 'topic' => 'මාතෘකාව',
+
+ 'module-info' => [
+ 'app-version' => 'යෙදුම් අනුවාදය: v2.2.2',
+ 'desc' => 'යෙදුම් අනුවාදය සම්බන්ධ තොරතුරු සපයයි.',
+ 'title' => 'මොඩියුල තොරතුරු',
+ ],
+
+ 'seo' => [
+ 'author' => 'කර්තෘ',
+ 'meta-description' => 'මීටා විස්තරය',
+ 'meta-keywords' => 'මීටා මූලපාද වචන',
+ 'meta-title' => 'මීටා ශීර්ෂය',
+ 'title' => 'ප්රධාන පිටුව SEO',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => 'පුෂ් දැනුම්දීම්',
+ 'sub-title' => 'ප්රධාන පිටුව අන්තර්ගතය',
+ 'title' => 'PWA පිරිසැලසුම',
+ 'update-success' => 'PWA පිරිසැලසුම සාර්ථකව යාවත්කාලීන කර ඇත',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => 'ආපසු',
+ 'btn-save' => 'සුරකින්න',
+ 'create-notification' => 'නව දැනුම්දීම් එකතු කරන්න',
+ 'create-success' => 'පුෂ් දැනුම්දීම් සාර්ථකව යාවත්කාලීන කළා.',
+ 'delete-success' => 'පුෂ් දැනුම්දීම් සාර්ථකව මකා දමන ලදී.',
+ 'description' => 'විස්තරය',
+ 'edit-notification' => 'පුෂ් දැනුම්දීම් සැකසීම',
+ 'general' => 'සාමාන්ය',
+ 'icon' => 'අයිකනය',
+ 'label-title' => 'ශීර්ෂය',
+ 'notification' => 'දැනුම්දීම්',
+ 'success-notification' => 'සාර්ථකයි: පුෂ් දැනුම්දීම් සාර්ථකව යවන ලදී.',
+ 'target-url' => 'ඉලක්ක URL',
+ 'title-create' => 'දැනුම්දීම් එකතු කරන්න',
+ 'title-edit' => 'දැනුම්දීම් සංස්කරණය කරන්න',
+ 'title' => 'පුෂ් දැනුම්දීම් ලිස්ට්',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'අවලංගු අක්තපත්ර',
+ ],
+
+ 'datagrid' => [
+ 'delete' => 'මකන්න',
+ 'description' => 'විස්තරය',
+ 'icon' => 'අයිකනය',
+ 'id' => 'ID',
+ 'send' => 'යවන්න',
+ 'target-url' => 'ඉලක්ක URL',
+ 'title' => 'ශීර්ෂය',
+ 'view' => 'බලා ගන්න',
+ ],
+
+ 'notification' => [
+ 'delete-success' => 'පුෂ් දැනුම්දීම් සාර්ථකව මකා දමන ලදී.',
+ 'update-success' => 'පුෂ් දැනුම්දීම් සාර්ථකව යාවත්කාලීන කළා.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'අවවාදය: PWA දීර්ඝතාවය තත්ත්වය සක්රීය කරන්න.',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/lang/tr/app.php b/src/Resources/lang/tr/app.php
index 292e0a20a..9f2a7bf48 100644
--- a/src/Resources/lang/tr/app.php
+++ b/src/Resources/lang/tr/app.php
@@ -2,63 +2,106 @@
return [
'admin' => [
- 'system' => [
- 'pwa' => 'PWA',
- 'btn-save' => 'Kaydetmek',
- 'name' => 'İsim',
- 'topic' => 'Başlık',
- 'media' => 'medya',
- 'seo-author' => 'Yazar',
- 'settings' => 'Ayarlar',
- 'general' => 'Genel',
- 'short-name' => 'Kısa adı',
- 'theme-color' => 'Tema Rengi',
- 'add_in_pwa' => 'PWA ya ekleyin',
- 'messagingId' => 'Mesajlaşma Kimliği',
- 'api-key' => 'Sunucu API Anahtarı',
- 'enable_slider' => 'Kaydırıcıyı Etkinleştir',
- 'background-color' => 'Arka plan rengi',
- 'small' => 'Uygulama Simgesi (48x48)',
- 'medium' => 'Uygulama Simgesi (96x96)',
- 'push-notification' => 'Bildirim almak',
- 'large' => 'Uygulama Simgesi (144x144)',
- 'extra-large' => 'Uygulama Simgesi (196x196)',
- 'pwa_full_name' => 'Aşamalı Web Uygulaması',
- 'enable_new' => 'Yeni ürünleri etkinleştir',
- 'enable_featured' => 'Öne çıkan ürünleri etkinleştir',
- 'enable_categories_home_page_listing' => 'Kategoriler ana sayfası listesini etkinleştir',
- 'redirect_to_pwa_if_mobile' => 'Mobil cihaz kullanılıyorsa kullanıcıyı PWA ya yönlendir',
+ 'system' => [
+ 'add_in_pwa' => 'PWA\'ya Ekle',
+ 'api-key' => 'API Anahtarı',
+ 'app-id' => 'Uygulama Kimliği',
+ 'auth-domain' => 'Yetkilendirme Alanı',
+ 'background-color' => 'Arka Plan Rengi',
+ 'btn-save' => 'Kaydet',
+ 'database-url' => 'Veritabanı URL\'si',
+ 'enable_categories_home_page_listing' => 'Ana Sayfada Kategoriler Listesini Etkinleştir',
+ 'enable_featured' => 'Öne Çıkan Ürünleri Etkinleştir',
+ 'enable_new' => 'Yeni Ürünleri Etkinleştir',
+ 'enable_slider' => 'Kaydırıcıyı Etkinleştir',
+ 'extra-large' => 'Uygulama Simgesi (196x196)',
+ 'general' => 'Genel',
+ 'info' => 'Not: Onaltılık renk kodu kullanın',
+ 'large' => 'Uygulama Simgesi (144x144)',
+ 'media' => 'Medya',
+ 'medium' => 'Uygulama Simgesi (96x96)',
+ 'messagingId' => 'Mesajlaşma Kimliği',
+ 'name' => 'İsim',
+ 'project-id' => 'Proje Kimliği',
+ 'public-vapid-key' => 'Halka Açık VAPID Anahtarı',
+ 'push-notification' => 'Push Bildirimi',
+ 'pwa_full_name' => 'İleri Seviye Web Uygulaması',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Mobil Cihaz Kullanıyorsa Kullanıcıyı PWA\'ya Yönlendir',
+ 'server-key' => 'Sunucu Anahtarı',
+ 'settings' => 'Ayarlar',
+ 'short-name' => 'Kısa Ad',
+ 'small' => 'Uygulama Simgesi (48x48)',
+ 'status' => 'Durum',
+ 'system-info' => 'PWA Yapılandırması',
+ 'theme-color' => 'Tema Rengi',
+ 'topic' => 'Konu',
+
+ 'module-info' => [
+ 'app-version' => 'Uygulama Versiyonu: v2.2.2',
+ 'desc' => 'Uygulama versiyonu ile ilgili bilgileri sağlar.',
+ 'title' => 'Modül Bilgisi',
+ ],
+
+ 'seo' => [
+ 'author' => 'Yazar',
+ 'meta-description' => 'Meta açıklaması',
+ 'meta-keywords' => 'Meta anahtar kelimeleri',
+ 'meta-title' => 'Meta başlığı',
+ 'title' => 'Ana Sayfa SEO',
+ ],
],
- 'layouts' => [
- 'index' => 'PWA Düzeni',
- 'push-notification' => 'Bildirim almak',
+ 'layouts' => [
+ 'push-notification' => 'Push Bildirimi',
+ 'sub-title' => 'Ana Sayfa İçeriği',
+ 'title' => 'PWA Düzeni',
+ 'update-success' => 'PWA Düzeni Başarıyla Güncellendi',
],
'push-notification' => [
- 'icon' => 'simge',
- 'label-title' => 'Başlık',
- 'target-url' => 'Hedef URL',
- 'description' => 'Açıklama',
- 'notification' => 'Bildirim',
- 'title-create' => 'Bildirim Ekle',
- 'title-edit' => 'Bildirimi Değiştir',
- 'edit-notification' => 'Anında Bildirimi Düzenle',
- 'title' => 'Push Bildirim Listesi',
- 'create-notification' => 'Anında Bildirim Oluştur',
- 'success-notification' => 'Başarılı: Push bildirimi başarıyla gönderildi.',
+ 'back-btn' => 'Geri',
+ 'btn-save' => 'Kaydet',
+ 'create-notification' => 'Yeni Bildirim Ekle',
+ 'create-success' => 'Push bildirimi başarıyla güncellendi.',
+ 'delete-success' => 'Push bildirimi başarıyla silindi.',
+ 'description' => 'Açıklama',
+ 'edit-notification' => 'Push Bildirimi Düzenle',
+ 'general' => 'Genel',
+ 'icon' => 'Simge',
+ 'label-title' => 'Başlık',
+ 'notification' => 'Bildirim',
+ 'success-notification' => 'Başarı: Push bildirimi başarıyla gönderildi.',
+ 'target-url' => 'Hedef URL',
+ 'title-create' => 'Bildirim Ekle',
+ 'title-edit' => 'Bildirim Düzenle',
+ 'title' => 'Push Bildirimi Listesi',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Geçersiz Kimlik Bilgileri',
],
- 'datagrid' => [
- 'id' => 'ID',
- 'title' => 'Başlık',
- 'target-url' => 'Hedef URL',
- 'description' => 'Açıklama',
+ 'datagrid' => [
+ 'delete' => 'Sil',
+ 'description' => 'Açıklama',
+ 'icon' => 'Simge',
+ 'id' => 'Kimlik',
+ 'send' => 'Gönder',
+ 'target-url' => 'Hedef URL',
+ 'title' => 'Başlık',
+ 'view' => 'Görüntüle',
],
- 'notification' => [
- 'update-success' => 'Anında bildirim başarıyla güncellendi.',
- 'delete-success' => 'Anında bildirim başarıyla silindi.',
+ 'notification' => [
+ 'delete-success' => 'Push bildirimi başarıyla silindi.',
+ 'update-success' => 'Push bildirimi başarıyla güncellendi.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Uyarı: Lütfen yapılandırmadan PWA eklentisi durumunu etkinleştirin.',
],
],
-];
+];
\ No newline at end of file
diff --git a/src/Resources/lang/uk/app.php b/src/Resources/lang/uk/app.php
new file mode 100755
index 000000000..473d06681
--- /dev/null
+++ b/src/Resources/lang/uk/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => 'Додати в PWA',
+ 'api-key' => 'API ключ',
+ 'app-id' => 'ID додатку',
+ 'auth-domain' => 'Домен авторизації',
+ 'background-color' => 'Колір фону',
+ 'btn-save' => 'Зберегти',
+ 'database-url' => 'URL бази даних',
+ 'enable_categories_home_page_listing' => 'Увімкнути список категорій на головній сторінці',
+ 'enable_featured' => 'Увімкнути рекомендовані продукти',
+ 'enable_new' => 'Увімкнути нові продукти',
+ 'enable_slider' => 'Увімкнути слайдер',
+ 'extra-large' => 'Іконка додатку (196x196)',
+ 'general' => 'Загальні',
+ 'info' => 'Примітка: використовуйте шістнадцятковий колірний код',
+ 'large' => 'Іконка додатку (144x144)',
+ 'media' => 'Медіа',
+ 'medium' => 'Іконка додатку (96x96)',
+ 'messagingId' => 'ID повідомлення',
+ 'name' => 'Ім’я',
+ 'project-id' => 'ID проекту',
+ 'public-vapid-key' => 'Публічний VAPID ключ',
+ 'push-notification' => 'Push повідомлення',
+ 'pwa_full_name' => 'Прогресивний веб-додаток',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => 'Перенаправити користувача на PWA, якщо використовується мобільний пристрій',
+ 'server-key' => 'Ключ сервера',
+ 'settings' => 'Налаштування',
+ 'short-name' => 'Коротка назва',
+ 'small' => 'Іконка додатку (48x48)',
+ 'status' => 'Статус',
+ 'system-info' => 'Налаштування PWA',
+ 'theme-color' => 'Колір теми',
+ 'topic' => 'Тема',
+
+ 'module-info' => [
+ 'app-version' => 'Версія додатку: v2.2.2',
+ 'desc' => 'Надає інформацію про версію додатку.',
+ 'title' => 'Інформація про модуль',
+ ],
+
+ 'seo' => [
+ 'author' => 'Автор',
+ 'meta-description' => 'Мета опис',
+ 'meta-keywords' => 'Мета ключові слова',
+ 'meta-title' => 'Мета заголовок',
+ 'title' => 'SEO для головної сторінки',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => 'Push повідомлення',
+ 'sub-title' => 'Контент головної сторінки',
+ 'title' => 'Макет PWA',
+ 'update-success' => 'Макет PWA успішно оновлений',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => 'Назад',
+ 'btn-save' => 'Зберегти',
+ 'create-notification' => 'Додати нове повідомлення',
+ 'create-success' => 'Push повідомлення успішно оновлено.',
+ 'delete-success' => 'Push повідомлення успішно видалено.',
+ 'description' => 'Опис',
+ 'edit-notification' => 'Редагувати Push повідомлення',
+ 'general' => 'Загальні',
+ 'icon' => 'Іконка',
+ 'label-title' => 'Заголовок',
+ 'notification' => 'Повідомлення',
+ 'success-notification' => 'Успіх: Push повідомлення успішно надіслано.',
+ 'target-url' => 'Цільова URL',
+ 'title-create' => 'Додати повідомлення',
+ 'title-edit' => 'Редагувати повідомлення',
+ 'title' => 'Список Push повідомлень',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => 'Невірні облікові дані',
+ ],
+
+ 'datagrid' => [
+ 'delete' => 'Видалити',
+ 'description' => 'Опис',
+ 'icon' => 'Іконка',
+ 'id' => 'ID',
+ 'send' => 'Надіслати',
+ 'target-url' => 'Цільова URL',
+ 'title' => 'Заголовок',
+ 'view' => 'Переглянути',
+ ],
+
+ 'notification' => [
+ 'delete-success' => 'Push повідомлення успішно видалено.',
+ 'update-success' => 'Push повідомлення успішно оновлено.',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => 'Попередження: Будь ласка, увімкніть стан розширення PWA в налаштуваннях.',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/lang/zh_CN/app.php b/src/Resources/lang/zh_CN/app.php
new file mode 100755
index 000000000..9047cca0d
--- /dev/null
+++ b/src/Resources/lang/zh_CN/app.php
@@ -0,0 +1,107 @@
+ [
+ 'system' => [
+ 'add_in_pwa' => '添加到 PWA',
+ 'api-key' => 'API 密钥',
+ 'app-id' => '应用 ID',
+ 'auth-domain' => '认证域',
+ 'background-color' => '背景颜色',
+ 'btn-save' => '保存',
+ 'database-url' => '数据库 URL',
+ 'enable_categories_home_page_listing' => '启用主页类别列表',
+ 'enable_featured' => '启用推荐产品',
+ 'enable_new' => '启用新品',
+ 'enable_slider' => '启用滑动器',
+ 'extra-large' => '应用图标(196x196)',
+ 'general' => '通用',
+ 'info' => '注意:使用十六进制颜色代码',
+ 'large' => '应用图标(144x144)',
+ 'media' => '媒体',
+ 'medium' => '应用图标(96x96)',
+ 'messagingId' => '消息 ID',
+ 'name' => '名称',
+ 'project-id' => '项目 ID',
+ 'public-vapid-key' => '公共 VAPID 密钥',
+ 'push-notification' => '推送通知',
+ 'pwa_full_name' => '渐进式 Web 应用程序',
+ 'pwa' => 'PWA',
+ 'redirect_to_pwa_if_mobile' => '如果使用移动设备,则将用户重定向到 PWA',
+ 'server-key' => '服务器密钥',
+ 'settings' => '设置',
+ 'short-name' => '简称',
+ 'small' => '应用图标(48x48)',
+ 'status' => '状态',
+ 'system-info' => 'PWA 配置',
+ 'theme-color' => '主题颜色',
+ 'topic' => '主题',
+
+ 'module-info' => [
+ 'app-version' => '应用版本:v2.2.2',
+ 'desc' => '提供有关应用程序版本的信息。',
+ 'title' => '模块信息',
+ ],
+
+ 'seo' => [
+ 'author' => '作者',
+ 'meta-description' => '元描述',
+ 'meta-keywords' => '元关键词',
+ 'meta-title' => '元标题',
+ 'title' => '首页 SEO',
+ ],
+ ],
+
+ 'layouts' => [
+ 'push-notification' => '推送通知',
+ 'sub-title' => '首页内容',
+ 'title' => 'PWA 布局',
+ 'update-success' => 'PWA 布局更新成功',
+ ],
+
+ 'push-notification' => [
+ 'back-btn' => '返回',
+ 'btn-save' => '保存',
+ 'create-notification' => '添加新通知',
+ 'create-success' => '推送通知更新成功。',
+ 'delete-success' => '推送通知删除成功。',
+ 'description' => '描述',
+ 'edit-notification' => '编辑推送通知',
+ 'general' => '通用',
+ 'icon' => '图标',
+ 'label-title' => '标题',
+ 'notification' => '通知',
+ 'success-notification' => '成功:推送通知已成功发送。',
+ 'target-url' => '目标 URL',
+ 'title-create' => '添加通知',
+ 'title-edit' => '修改通知',
+ 'title' => '推送通知列表',
+ ],
+
+ 'push-to-firebase' => [
+ 'invalid-credentials' => '无效的凭证',
+ ],
+
+ 'datagrid' => [
+ 'delete' => '删除',
+ 'description' => '描述',
+ 'icon' => '图标',
+ 'id' => 'ID',
+ 'send' => '发送',
+ 'target-url' => '目标 URL',
+ 'title' => '标题',
+ 'view' => '查看',
+ ],
+
+ 'notification' => [
+ 'delete-success' => '推送通知删除成功。',
+ 'update-success' => '推送通知更新成功。',
+ ],
+ ],
+
+ 'shop' => [
+ 'home' => [
+ 'enable-pwa-status' => '警告:请在配置中启用 PWA 扩展状态。',
+ ],
+ ],
+];
\ No newline at end of file
diff --git a/src/Resources/views/admin/catelog/categories/pwa.blade.php b/src/Resources/views/admin/catalog/categories/pwa.blade.php
similarity index 76%
rename from src/Resources/views/admin/catelog/categories/pwa.blade.php
rename to src/Resources/views/admin/catalog/categories/pwa.blade.php
index 9aabc2901..b11cfdd98 100644
--- a/src/Resources/views/admin/catelog/categories/pwa.blade.php
+++ b/src/Resources/views/admin/catalog/categories/pwa.blade.php
@@ -5,6 +5,7 @@
@lang('pwa::app.admin.system.pwa')
+
@@ -12,11 +13,11 @@
@php
- $is_add_in_pwa = old('category_product_in_pwa');
+ $isAddInPwa = old('category_product_in_pwa');
- if (isset($category)) {
- $is_add_in_pwa = old('category_product_in_pwa') ?: $category->category_product_in_pwa;
- }
+ if (isset($category)) {
+ $isAddInPwa = old('category_product_in_pwa') ?: $category->category_product_in_pwa;
+ }
@endphp
-
+
\ No newline at end of file
diff --git a/src/Resources/views/admin/layouts/style.blade.php b/src/Resources/views/admin/layouts/style.blade.php
index 2dfd09f35..d33d3e9ab 100644
--- a/src/Resources/views/admin/layouts/style.blade.php
+++ b/src/Resources/views/admin/layouts/style.blade.php
@@ -1 +1 @@
-
+
\ No newline at end of file
diff --git a/src/Resources/views/admin/push-notification/create.blade.php b/src/Resources/views/admin/push-notification/create.blade.php
index 72f3a8d17..fab3ead5d 100644
--- a/src/Resources/views/admin/push-notification/create.blade.php
+++ b/src/Resources/views/admin/push-notification/create.blade.php
@@ -1,5 +1,4 @@
-
@lang('admin::app.catalog.categories.create.title')
@@ -9,7 +8,7 @@
{!! view_render_event('bagisto.admin.pwa.notification.create.create_form_controls.before') !!}
@@ -22,7 +21,7 @@
-
+
-
@@ -191,5 +189,4 @@ class="description"
});
@endPushOnce
-
-
+
\ No newline at end of file
diff --git a/src/Resources/views/admin/push-notification/edit.blade.php b/src/Resources/views/admin/push-notification/edit.blade.php
index d0d6b9873..83641d954 100644
--- a/src/Resources/views/admin/push-notification/edit.blade.php
+++ b/src/Resources/views/admin/push-notification/edit.blade.php
@@ -12,7 +12,7 @@
{!! view_render_event('bagisto.admin.pwa.notification.edit.create_form_controls.before', ['pushnotification' => $pushnotification]) !!}
@@ -25,7 +25,7 @@
-
+
@@ -196,5 +196,4 @@ class="description"
});
@endPushOnce
-
-
+
\ No newline at end of file
diff --git a/src/Resources/views/admin/push-notification/index.blade.php b/src/Resources/views/admin/push-notification/index.blade.php
index 39fd82662..a82cad62e 100644
--- a/src/Resources/views/admin/push-notification/index.blade.php
+++ b/src/Resources/views/admin/push-notification/index.blade.php
@@ -1,19 +1,19 @@
- {{ __('pwa::app.admin.push-notification.title') }}
+ @lang('pwa::app.admin.push-notification.title')
- {{ __('pwa::app.admin.push-notification.title') }}
+ @lang('pwa::app.admin.push-notification.title')
{!! view_render_event('bagisto.admin.pwa.push-notification.index.create-button.before') !!}
-
+
- {{ __('pwa::app.admin.push-notification.create-notification') }}
+ @lang('pwa::app.admin.push-notification.create-notification')
@@ -23,8 +23,8 @@
{!! view_render_event('bagisto.admin.pwa.push-notification.list.before') !!}
-
+
{!! view_render_event('bagisto.admin.pwa.push-notification.list.after') !!}
-
+
\ No newline at end of file
diff --git a/src/Resources/views/admin/push-notification/test.blade.php b/src/Resources/views/admin/push-notification/test.blade.php
index 19fb16e18..003369dd0 100644
--- a/src/Resources/views/admin/push-notification/test.blade.php
+++ b/src/Resources/views/admin/push-notification/test.blade.php
@@ -1,14 +1,14 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/Resources/views/admin/pwa-layouts/index.blade.php b/src/Resources/views/admin/pwa-layouts/index.blade.php
index b541f292b..250d94ad1 100644
--- a/src/Resources/views/admin/pwa-layouts/index.blade.php
+++ b/src/Resources/views/admin/pwa-layouts/index.blade.php
@@ -11,8 +11,10 @@
enctype="multipart/form-data"
method="POST"
>
- {!! view_render_event('bagisto.admin.pwa.notification.create.create_form_controls.before') !!}
@csrf
+
+ {!! view_render_event('bagisto.admin.pwa.notification.create.create_form_controls.before') !!}
+
@lang('pwa::app.admin.layouts.title')
@@ -21,7 +23,7 @@
-
+
-
@@ -52,20 +53,17 @@ class="primary-button"
-
-
-
-
-
-
+
+
+
+
+
{!! view_render_event('bagisto.admin.pwa.notification.create.card.general.after') !!}
@@ -109,5 +107,4 @@ class="primary-button"
});
@endPushOnce
-
-
+
\ No newline at end of file
diff --git a/src/Resources/views/master.blade.php b/src/Resources/views/master.blade.php
index 71e81ec29..a1903e52b 100644
--- a/src/Resources/views/master.blade.php
+++ b/src/Resources/views/master.blade.php
@@ -11,11 +11,11 @@
@if (core()->getConfigData('pwa.settings.seo.seo_author'))
-
+
@endif
@if (core()->getConfigData('pwa.settings.seo.seo_keywords'))
-
+
@endif
@@ -27,7 +27,7 @@
- {{-- icons for IOS devices --}}
+
@@ -38,6 +38,7 @@
{!! view_render_event('bagisto.pwa.layout.head') !!}
+
{{ core()->getConfigData('pwa.settings.seo.seo_title') ?? 'PWA' }}
@@ -50,13 +51,16 @@
+
@endif
@@ -89,7 +96,6 @@