diff --git a/composer.lock b/composer.lock index c196fcd5d..b53396a10 100644 --- a/composer.lock +++ b/composer.lock @@ -3615,16 +3615,16 @@ }, { "name": "nesbot/carbon", - "version": "2.72.5", + "version": "2.72.6", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed" + "url": "https://github.com/CarbonPHP/carbon.git", + "reference": "1e9d50601e7035a4c61441a208cb5bed73e108c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/afd46589c216118ecd48ff2b95d77596af1e57ed", - "reference": "afd46589c216118ecd48ff2b95d77596af1e57ed", + "url": "https://api.github.com/repos/CarbonPHP/carbon/zipball/1e9d50601e7035a4c61441a208cb5bed73e108c5", + "reference": "1e9d50601e7035a4c61441a208cb5bed73e108c5", "shasum": "" }, "require": { @@ -3644,7 +3644,7 @@ "doctrine/orm": "^2.7 || ^3.0", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", - "ondrejmirtes/better-reflection": "*", + "ondrejmirtes/better-reflection": "<6", "phpmd/phpmd": "^2.9", "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^0.12.99 || ^1.7.14", @@ -3657,10 +3657,6 @@ ], "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.x-dev", - "dev-2.x": "2.x-dev" - }, "laravel": { "providers": [ "Carbon\\Laravel\\ServiceProvider" @@ -3670,6 +3666,10 @@ "includes": [ "extension.neon" ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-master": "3.x-dev" } }, "autoload": { @@ -3718,7 +3718,7 @@ "type": "tidelift" } ], - "time": "2024-06-03T19:18:41+00:00" + "time": "2024-12-27T09:28:11+00:00" }, { "name": "nette/schema", @@ -3870,16 +3870,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.3.1", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" + "reference": "447a020a1f875a434d62f2a401f53b82a396e494" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", - "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/447a020a1f875a434d62f2a401f53b82a396e494", + "reference": "447a020a1f875a434d62f2a401f53b82a396e494", "shasum": "" }, "require": { @@ -3922,9 +3922,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.4.0" }, - "time": "2024-10-08T18:51:32+00:00" + "time": "2024-12-30T11:07:19+00:00" }, { "name": "nunomaduro/termwind", @@ -4153,16 +4153,16 @@ }, { "name": "phpoffice/phpspreadsheet", - "version": "1.29.6", + "version": "1.29.7", "source": { "type": "git", "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", - "reference": "08597725b84570cd6f32bf0ea92e75a803ef28c2" + "reference": "02c8625411dcb96e1f63d58c47460284e15b2e80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/08597725b84570cd6f32bf0ea92e75a803ef28c2", - "reference": "08597725b84570cd6f32bf0ea92e75a803ef28c2", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/02c8625411dcb96e1f63d58c47460284e15b2e80", + "reference": "02c8625411dcb96e1f63d58c47460284e15b2e80", "shasum": "" }, "require": { @@ -4252,9 +4252,9 @@ ], "support": { "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", - "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.6" + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.29.7" }, - "time": "2024-12-08T05:49:00+00:00" + "time": "2024-12-27T05:10:37+00:00" }, { "name": "phpoption/phpoption", @@ -5358,16 +5358,16 @@ }, { "name": "symfony/console", - "version": "v6.4.15", + "version": "v6.4.17", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd" + "reference": "799445db3f15768ecc382ac5699e6da0520a0a04" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", - "reference": "f1fc6f47283e27336e7cebb9e8946c8de7bff9bd", + "url": "https://api.github.com/repos/symfony/console/zipball/799445db3f15768ecc382ac5699e6da0520a0a04", + "reference": "799445db3f15768ecc382ac5699e6da0520a0a04", "shasum": "" }, "require": { @@ -5432,7 +5432,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.15" + "source": "https://github.com/symfony/console/tree/v6.4.17" }, "funding": [ { @@ -5448,7 +5448,7 @@ "type": "tidelift" } ], - "time": "2024-11-06T14:19:14+00:00" + "time": "2024-12-07T12:07:30+00:00" }, { "name": "symfony/css-selector", @@ -5534,12 +5534,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -5757,12 +5757,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -7037,12 +7037,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -7297,12 +7297,12 @@ }, "type": "library", "extra": { + "thanks": { + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, "branch-alias": { "dev-main": "3.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" } }, "autoload": { @@ -11265,5 +11265,5 @@ "php": "^8.2" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/packages/Webkul/Admin/src/DataGrids/Activity/ActivityDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Activity/ActivityDataGrid.php index 043ddb2e1..d48182562 100644 --- a/packages/Webkul/Admin/src/DataGrids/Activity/ActivityDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Activity/ActivityDataGrid.php @@ -131,9 +131,9 @@ public function prepareColumns(): void return "N/A"; } - $route = urldecode(route('admin.leads.index', ['pipeline_id' => $row->lead_pipeline_id, 'view_type' => 'table', 'id[eq]' => $row->lead_id])); + $route = urldecode(route('admin.leads.view', $row->lead_id)); - return "".$row->lead_title.''; + return "".$row->lead_title.''; }, ]); diff --git a/packages/Webkul/Admin/src/DataGrids/Lead/LeadDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Lead/LeadDataGrid.php index 80fcf63c1..a745443aa 100644 --- a/packages/Webkul/Admin/src/DataGrids/Lead/LeadDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Lead/LeadDataGrid.php @@ -251,7 +251,7 @@ public function prepareColumns(): void $this->addColumn([ 'index' => 'expected_close_date', - 'label' => trans('admin::app.leads.index.datagrid.expected-close-date'), + 'label' => trans('admin::app.leads.index.datagrid.date-to'), 'type' => 'date', 'searchable' => false, 'sortable' => true, diff --git a/packages/Webkul/Admin/src/DataGrids/Mail/EmailDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Mail/EmailDataGrid.php index 5c474b256..222e7118a 100644 --- a/packages/Webkul/Admin/src/DataGrids/Mail/EmailDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Mail/EmailDataGrid.php @@ -58,16 +58,12 @@ public function prepareColumns(): void $this->addColumn([ 'index' => 'attachments', - 'label' => '', + 'label' => trans('admin::app.mail.index.datagrid.attachments'), 'type' => 'string', 'searchable' => false, 'filterable' => false, 'sortable' => false, - 'closure' => function ($row) { - $emails = app(EmailRepository::class)->find($row->id)->emails()->withCount('attachments')->get(); - - return $emails->sum('attachments_count'); - }, + 'closure' => fn ($row) => $row->attachments ? '' : '', ]); $this->addColumn([ @@ -88,9 +84,18 @@ public function prepareColumns(): void 'filterable' => true, ]); + $this->addColumn([ + 'index' => 'reply', + 'label' => trans('admin::app.mail.index.datagrid.content'), + 'type' => 'string', + 'sortable' => true, + 'searchable' => true, + 'filterable' => true, + ]); + $this->addColumn([ 'index' => 'tags', - 'label' => trans('admin::app.mail.index.datagrid.tag-name'), + 'label' => trans('admin::app.mail.index.datagrid.tags'), 'type' => 'string', 'searchable' => false, 'sortable' => true, @@ -114,7 +119,7 @@ public function prepareColumns(): void $this->addColumn([ 'index' => 'created_at', - 'label' => trans('admin::app.mail.index.datagrid.created-at'), + 'label' => trans('admin::app.mail.index.datagrid.date'), 'type' => 'date', 'searchable' => true, 'filterable' => true, diff --git a/packages/Webkul/Admin/src/DataGrids/Settings/AttributeDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Settings/AttributeDataGrid.php index 6af827163..bbbeeb9cd 100644 --- a/packages/Webkul/Admin/src/DataGrids/Settings/AttributeDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Settings/AttributeDataGrid.php @@ -64,12 +64,23 @@ public function prepareColumns(): void ]); $this->addColumn([ - 'index' => 'entity_type', - 'label' => trans('admin::app.settings.attributes.index.datagrid.entity-type'), - 'type' => 'string', - 'sortable' => true, - 'searchable' => false, - 'filterable' => true, + 'index' => 'entity_type', + 'label' => trans('admin::app.settings.attributes.index.datagrid.entity-type'), + 'type' => 'string', + 'sortable' => true, + 'searchable' => false, + 'filterable' => true, + 'filterable_type' => 'dropdown', + 'filterable_options' => app(AttributeRepository::class) + ->select('entity_type as label', 'entity_type as value') + ->distinct() + ->get() + ->map(function ($item) { + $item->label = trans('admin::app.settings.attributes.index.datagrid.entity-types.'.$item->label); + + return $item; + }) + ->toArray(), 'closure' => fn ($row) => ucfirst($row->entity_type), ]); @@ -84,6 +95,11 @@ public function prepareColumns(): void ->select('type as label', 'type as value') ->distinct() ->get() + ->map(function ($item) { + $item->label = trans('admin::app.settings.attributes.index.datagrid.types.'.$item->label); + + return $item; + }) ->toArray(), ]); diff --git a/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php index 81a6515b2..f41a88dee 100644 --- a/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php @@ -44,10 +44,8 @@ public function prepareColumns(): void 'index' => 'id', 'label' => trans('admin::app.settings.tags.index.datagrid.id'), 'type' => 'string', - 'searchable' => false, - 'sortable' => true, - 'sortable' => true, 'searchable' => true, + 'sortable' => true, 'filterable' => true, ]); @@ -56,9 +54,7 @@ public function prepareColumns(): void 'label' => trans('admin::app.settings.tags.index.datagrid.name'), 'type' => 'string', 'searchable' => true, - 'sortable' => false, 'sortable' => true, - 'searchable' => true, 'filterable' => true, ]); @@ -66,9 +62,8 @@ public function prepareColumns(): void 'index' => 'user_name', 'label' => trans('admin::app.settings.tags.index.datagrid.users'), 'type' => 'string', - 'searchable' => false, - 'sortable' => true, 'searchable' => true, + 'sortable' => true, 'filterable' => true, ]); diff --git a/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php index 41d2379e8..41e71a62a 100644 --- a/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php +++ b/packages/Webkul/Admin/src/DataGrids/Settings/UserDataGrid.php @@ -17,21 +17,19 @@ public function prepareQueryBuilder(): Builder $queryBuilder = DB::table('users') ->distinct() ->addSelect( - 'users.id', - 'users.name', - 'users.email', - 'users.image', - 'users.status', - 'users.created_at' + 'id', + 'name', + 'email', + 'image', + 'status', + 'created_at' ) - ->leftJoin('user_groups', 'users.id', '=', 'user_groups.user_id'); + ->leftJoin('user_groups', 'id', '=', 'user_groups.user_id'); if ($userIds = bouncer()->getAuthorizedUserIds()) { - $queryBuilder->whereIn('users.user_id', $userIds); + $queryBuilder->whereIn('id', $userIds); } - $this->addFilter('id', 'users.id'); - return $queryBuilder; } diff --git a/packages/Webkul/Admin/src/Helpers/Reporting/Lead.php b/packages/Webkul/Admin/src/Helpers/Reporting/Lead.php index db18612e3..ddbbd8e16 100644 --- a/packages/Webkul/Admin/src/Helpers/Reporting/Lead.php +++ b/packages/Webkul/Admin/src/Helpers/Reporting/Lead.php @@ -14,12 +14,17 @@ class Lead extends AbstractReporting protected array $stageIds; /** - * The channel ids. + * The all stage ids. + */ + protected array $allStageIds; + + /** + * The won stage ids. */ protected array $wonStageIds; /** - * The channel ids. + * The lost stage ids. */ protected array $lostStageIds; @@ -32,6 +37,8 @@ public function __construct( protected LeadRepository $leadRepository, protected StageRepository $stageRepository ) { + $this->allStageIds = $this->stageRepository->pluck('id')->toArray(); + $this->wonStageIds = $this->stageRepository->where('code', 'won')->pluck('id')->toArray(); $this->lostStageIds = $this->stageRepository->where('code', 'lost')->pluck('id')->toArray(); @@ -46,7 +53,7 @@ public function __construct( */ public function getTotalLeadsOverTime($period = 'auto'): array { - $this->stageIds = []; + $this->stageIds = $this->allStageIds; return $this->getOverTimeStats($this->startDate, $this->endDate, 'leads.id', 'created_at', $period); } diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/AttributeController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/AttributeController.php index cdbdf6a45..cfbac85a6 100644 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/AttributeController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/AttributeController.php @@ -7,7 +7,6 @@ use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Storage; use Illuminate\View\View; -use Symfony\Component\HttpFoundation\StreamedResponse; use Webkul\Admin\DataGrids\Settings\AttributeDataGrid; use Webkul\Admin\Http\Controllers\Controller; use Webkul\Admin\Http\Requests\MassDestroyRequest; @@ -186,11 +185,27 @@ public function massDestroy(MassDestroyRequest $massDestroyRequest): JsonRespons ]); } + /** + * Get attribute options associated with attribute. + * + * @return \Illuminate\View\View + */ + public function getAttributeOptions(int $id) + { + $attribute = $this->attributeRepository->findOrFail($id); + + return $attribute->options()->orderBy('sort_order')->get(); + } + /** * Download image or file */ - public function download(): StreamedResponse + public function download() { + if (! request('path')) { + return false; + } + return Storage::download(request('path')); } } diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php index 7d1388bb3..b7d5a5037 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/GroupController.php @@ -37,7 +37,8 @@ public function index(): View|JsonResponse public function store(): JsonResponse { $this->validate(request(), [ - 'name' => 'required|unique:groups,name', + 'name' => 'required|unique:groups,name|max:50', + 'description' => 'required|max:250', ]); Event::dispatch('settings.group.create.before'); @@ -73,7 +74,8 @@ public function edit(int $id): JsonResource public function update(int $id): JsonResponse { $this->validate(request(), [ - 'name' => 'required|unique:groups,name,'.$id, + 'name' => 'required|max:50|unique:groups,name,'.$id, + 'description' => 'required|max:250', ]); Event::dispatch('settings.group.update.before', $id); diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php index 001b1d954..7492b667f 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/RoleController.php @@ -48,6 +48,7 @@ public function store(): RedirectResponse 'name' => 'required', 'permission_type' => 'required', 'description' => 'required', + 'permissions' => 'required', ]); Event::dispatch('settings.role.create.before'); @@ -93,6 +94,7 @@ public function update(int $id): RedirectResponse 'name' => 'required', 'permission_type' => 'required|in:all,custom', 'description' => 'required', + 'permissions' => 'required', ]); Event::dispatch('settings.role.update.before', $id); diff --git a/packages/Webkul/Admin/src/Http/Controllers/Settings/TagController.php b/packages/Webkul/Admin/src/Http/Controllers/Settings/TagController.php index fdfaef4c6..ed4b3bcf8 100755 --- a/packages/Webkul/Admin/src/Http/Controllers/Settings/TagController.php +++ b/packages/Webkul/Admin/src/Http/Controllers/Settings/TagController.php @@ -39,7 +39,7 @@ public function index(): View|JsonResponse public function store(): JsonResponse { $this->validate(request(), [ - 'name' => ['required', 'unique:tags,name'], + 'name' => ['required', 'unique:tags,name', 'max:50'], ]); Event::dispatch('settings.tag.create.before'); @@ -77,7 +77,7 @@ public function edit(int $id): View|JsonResponse public function update(int $id): JsonResponse { $this->validate(request(), [ - 'name' => 'required|unique:tags,name,'.$id, + 'name' => 'required|max:50|unique:tags,name,'.$id, ]); Event::dispatch('settings.tag.update.before', $id); diff --git a/packages/Webkul/Admin/src/Resources/assets/css/app.css b/packages/Webkul/Admin/src/Resources/assets/css/app.css index 3c3182dad..e28bad3ff 100644 --- a/packages/Webkul/Admin/src/Resources/assets/css/app.css +++ b/packages/Webkul/Admin/src/Resources/assets/css/app.css @@ -11,7 +11,7 @@ font-style: normal; font-display: block; } - + [class^="icon-"], [class*=" icon-"] { /* use !important to prevent issues with browser extensions that change fonts */ font-family: 'icomoon' !important; @@ -21,24 +21,24 @@ font-variant: normal; text-transform: none; line-height: 1; - + /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } - + @layer components { .icon-bookmark:before { content: "\e92c"; } - + .icon-bookmark-active:before { content: "\e92d"; } .icon-stats-down:before { content: "\e94d"; - } + } .icon-error:before { content: "\e951"; @@ -378,7 +378,7 @@ .label-inactive { @apply max-w-max rounded-md bg-red-200 px-3 py-1.5 text-xs font-medium text-red-800; - } + } [dir="ltr"] .sidebar-rounded::after { @apply content-[''] w-[30px] h-[30px] top-0 right-[-30px] absolute bg-no-repeat pointer-events-none bg-[url("../images/corner-clip.svg")] transition-all; @@ -442,10 +442,22 @@ border-top: 4px solid #f3f4f6; } - [dir="rtl"] .stage::after { + [dir="rtl"] .stage::after { display: none; - } - + } + + .dark\:bg-gray-400:is(.dark *) { + --tw-bg-opacity: 1 !important; + background-color: #1f2937 !important; + border: #111827 solid !important; + color: #e5e7eb !important; + } + + .dark\:bg-gray-800:is(.dark *) { + --tw-bg-opacity: 1; + background-color: rgb(16 24 39); + } + .shimmer { animation-duration: 2.2s; animation-fill-mode: forwards; @@ -540,7 +552,7 @@ html.dark [class*=" icon-"]{ color: #d1d5db; } - + p { @apply text-[14px] !leading-[17px]; } @@ -581,7 +593,7 @@ background-position-x: calc(100% - 10px); background-position-y: 50%; } - + .dark .custom-select{ background-image: url("data:image/svg+xml;utf8,"); } diff --git a/packages/Webkul/Admin/src/Resources/assets/js/plugins/flatpickr.js b/packages/Webkul/Admin/src/Resources/assets/js/plugins/flatpickr.js index 43777c30b..835ec6d84 100644 --- a/packages/Webkul/Admin/src/Resources/assets/js/plugins/flatpickr.js +++ b/packages/Webkul/Admin/src/Resources/assets/js/plugins/flatpickr.js @@ -1,10 +1,33 @@ import Flatpickr from "flatpickr"; import "flatpickr/dist/flatpickr.css"; +import { Spanish } from "flatpickr/dist/l10n/es.js"; +import { Arabic } from "flatpickr/dist/l10n/ar.js"; +import { Persian } from "flatpickr/dist/l10n/fa.js"; +import { Turkish } from "flatpickr/dist/l10n/tr.js"; export default { install: (app) => { window.Flatpickr = Flatpickr; + const setLocaleFromLang = () => { + const lang = document.documentElement.lang || "en"; + + const localeMap = { + es: Spanish, + ar: Arabic, + fa: Persian, + tr: Turkish + }; + + const locale = localeMap[lang] || null; + + if (locale) { + window.Flatpickr.localize(locale); + } + }; + + setLocaleFromLang(); + const changeTheme = (theme) => { document.getElementById('flatpickr')?.remove(); @@ -13,7 +36,7 @@ export default { } const linkElement = document.createElement("link"); - + linkElement.rel = "stylesheet"; linkElement.type = "text/css"; linkElement.href = `https://npmcdn.com/flatpickr/dist/themes/${theme}.css`; @@ -28,8 +51,6 @@ export default { changeTheme(currentTheme); - app.config.globalProperties.$emitter.on("change-theme", (theme) => { - changeTheme(theme); - }); + window.emitter.on("change-theme", (theme) => changeTheme(theme)); }, }; diff --git a/packages/Webkul/Admin/src/Resources/assets/js/plugins/vue-cal.js b/packages/Webkul/Admin/src/Resources/assets/js/plugins/vue-cal.js index e64fe8471..9aa62090b 100644 --- a/packages/Webkul/Admin/src/Resources/assets/js/plugins/vue-cal.js +++ b/packages/Webkul/Admin/src/Resources/assets/js/plugins/vue-cal.js @@ -3,10 +3,13 @@ import VueCal from 'vue-cal'; import 'vue-cal/dist/vuecal.css'; -import 'vue-cal/dist/i18n/en.es.js'; import 'vue-cal/dist/i18n/ar.es.js'; +import 'vue-cal/dist/i18n/en.es.js'; +import 'vue-cal/dist/i18n/es.es.js'; +import 'vue-cal/dist/i18n/fa.es.js'; import 'vue-cal/dist/i18n/tr.es.js'; import 'vue-cal/dist/i18n/pt-br.es.js'; +import 'vue-cal/dist/i18n/vi.es.js'; export default { install: (app, options) => app.component('v-vue-cal', VueCal), diff --git a/packages/Webkul/Admin/src/Resources/lang/ar/app.php b/packages/Webkul/Admin/src/Resources/lang/ar/app.php index e57bc53f8..cec6f2d7a 100644 --- a/packages/Webkul/Admin/src/Resources/lang/ar/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/ar/app.php @@ -362,7 +362,7 @@ 'layouts' => [ 'header' => [ 'mega-search' => [ - 'title' => 'بحث', + 'title' => 'البحث الشامل', 'tabs' => [ 'leads' => 'العملاء المحتملين', @@ -438,23 +438,25 @@ ], 'pdf' => [ - 'title' => 'عرض السعر', - 'grand-total' => 'المجموع الكلي', 'adjustment' => 'التعديل', - 'discount' => 'الخصم', - 'tax' => 'الضريبة', - 'sub-total' => 'المجموع الفرعي', 'amount' => 'المبلغ', - 'quantity' => 'الكمية', - 'price' => 'السعر', - 'product-name' => 'اسم المنتج', - 'sku' => 'رمز المنتج', - 'shipping-address' => 'عنوان الشحن', 'billing-address' => 'عنوان الفوترة', - 'expired-at' => 'تاريخ الانتهاء', - 'sales-person' => 'مندوب المبيعات', 'date' => 'التاريخ', + 'discount' => 'الخصم', + 'expired-at' => 'تاريخ الانتهاء', + 'grand-total' => 'المجموع الكلي', + 'person' => 'Person', + 'price' => 'السعر', + 'product-name' => 'اسم المنتج', + 'quantity' => 'الكمية', 'quote-id' => 'رقم عرض السعر', + 'sales-person' => 'مندوب المبيعات', + 'shipping-address' => 'عنوان الشحن', + 'sku' => 'رمز المنتج', + 'sub-total' => 'المجموع الفرعي', + 'subject' => 'Subject', + 'tax' => 'الضريبة', + 'title' => 'عرض السعر', ], ], @@ -1029,6 +1031,7 @@ 'form-submit-button-color' => 'لون زر إرسال النموذج', 'form-title-color' => 'لون عنوان النموذج', 'general' => 'عام', + 'leads' => 'العملاء المحتملون', 'preview' => 'معاينة', 'person' => 'شخص', 'public-url' => 'الرابط العام', @@ -1380,10 +1383,10 @@ 'index' => [ 'title' => 'السمات', 'create-btn' => 'إنشاء سمة', - 'create-success' => 'تم إنشاء السمات بنجاح.', - 'update-success' => 'تم تحديث السمات بنجاح.', - 'delete-success' => 'تم حذف السمات بنجاح.', - 'delete-failed' => 'لا يمكن حذف السمات.', + 'create-success' => 'تم إنشاء السمة بنجاح.', + 'update-success' => 'تم تحديث السمة بنجاح.', + 'delete-success' => 'تم حذف السمة بنجاح.', + 'delete-failed' => 'لا يمكن حذف السمة.', 'user-define-error' => 'لا يمكن حذف سمة النظام.', 'mass-delete-failed' => 'لا يمكن حذف سمات النظام.', @@ -1398,51 +1401,73 @@ 'is-default' => 'افتراضي', 'edit' => 'تعديل', 'delete' => 'حذف', + + 'entity-types' => [ + 'leads' => 'العملاء المحتملين', + 'organizations' => 'المنظمات', + 'persons' => 'الأشخاص', + 'products' => 'المنتجات', + 'quotes' => 'عروض الأسعار', + 'warehouses' => 'المستودعات', + ], + + 'types' => [ + 'address' => 'عنوان', + 'date' => 'تاريخ', + 'email' => 'بريد إلكتروني', + 'lookup' => 'بحث', + 'phone' => 'هاتف', + 'price' => 'سعر', + 'select' => 'اختيار', + 'text' => 'نص', + 'textarea' => 'منطقة نص', + ], ], ], 'create' => [ - 'title' => 'إنشاء سمة', - 'save-btn' => 'حفظ السمة', + 'actions' => 'الإجراءات', + 'add-attribute-options' => 'إضافة خيارات السمة', + 'add-option' => 'إضافة خيار', + 'address' => 'عنوان', + 'boolean' => 'منطقي', + 'checkbox' => 'خانة اختيار', 'code' => 'الرمز', - 'name' => 'الاسم', + 'date' => 'تاريخ', + 'datetime' => 'تاريخ ووقت', + 'decimal' => 'عشري', + 'email' => 'بريد إلكتروني', 'entity-type' => 'نوع الكيان', - 'type' => 'النوع', - 'validations' => 'التحققات', - 'is-required' => 'مطلوب', + 'entity_type' => 'نوع الكيان', + 'file' => 'ملف', + 'general' => 'عام', + 'image' => 'صورة', 'input-validation' => 'التحقق من الإدخال', + 'is-required' => 'مطلوب', 'is-unique' => 'فريد', + 'is_required' => 'مطلوب', + 'is_unique' => 'فريد', 'labels' => 'التسميات', - 'general' => 'عام', + 'lookup' => 'بحث', + 'lookup-type' => 'نوع البحث', + 'multiselect' => 'اختيار متعدد', + 'name' => 'الاسم', 'numeric' => 'رقمي', - 'decimal' => 'عشري', - 'url' => 'رابط', - 'options' => 'الخيارات', + 'option-deleted' => 'تم حذف خيار السمة بنجاح', + 'option-name' => 'اسم الخيار', 'option-type' => 'نوع الخيار', - 'lookup-type' => 'نوع البحث', - 'add-option' => 'إضافة خيار', + 'options' => 'الخيارات', + 'phone' => 'هاتف', + 'price' => 'السعر', + 'save-btn' => 'حفظ السمة', 'save-option' => 'حفظ الخيار', - 'option-name' => 'اسم الخيار', - 'add-attribute-options' => 'إضافة خيارات السمة', + 'select' => 'اختيار', 'text' => 'نص', 'textarea' => 'منطقة نص', - 'price' => 'السعر', - 'boolean' => 'منطقي', - 'select' => 'اختيار', - 'multiselect' => 'اختيار متعدد', - 'email' => 'بريد إلكتروني', - 'address' => 'عنوان', - 'phone' => 'هاتف', - 'datetime' => 'تاريخ ووقت', - 'date' => 'تاريخ', - 'image' => 'صورة', - 'file' => 'ملف', - 'lookup' => 'بحث', - 'entity_type' => 'نوع الكيان', - 'checkbox' => 'خانة اختيار', - 'is_required' => 'مطلوب', - 'is_unique' => 'فريد', - 'actions' => 'الإجراءات', + 'title' => 'إنشاء سمة', + 'type' => 'النوع', + 'url' => 'رابط', + 'validations' => 'التحققات', ], 'edit' => [ @@ -1580,10 +1605,12 @@ 'from' => 'من', 'to' => 'إلى', 'subject' => 'الموضوع', - 'tag-name' => 'اسم العلامة', - 'created-at' => 'تم الإنشاء في', - 'move-to-inbox' => 'تم النقل إلى الوارد', - 'edit' => 'تحرير', + 'tags' => 'العلامات', + 'content' => 'المحتوى', + 'attachments' => 'المرفقات', + 'date' => 'التاريخ', + 'move-to-inbox' => 'نقل إلى البريد الوارد', + 'edit' => 'تعديل', 'view' => 'عرض', 'delete' => 'حذف', ], @@ -1675,7 +1702,7 @@ 'contact-person' => 'شخص الاتصال', 'stage' => 'المرحلة', 'rotten-lead' => 'عميل محتمل متعفن', - 'expected-close-date' => 'تاريخ الإغلاق المتوقع', + 'date-to' => 'تاريخ إلى', 'created-at' => 'تم الإنشاء في', 'no' => 'لا', 'yes' => 'نعم', @@ -1713,7 +1740,9 @@ 'clear-all' => 'مسح الكل', 'filter' => 'تصفية', 'filters' => 'الفلاتر', + 'from' => 'من', 'select' => 'اختر', + 'to' => 'إلى', ], ], ], @@ -1906,7 +1935,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'العملاء المحتملين حسب الدول', + 'title' => 'العملاء المحتملين المفتوحين حسب المراحل', 'empty-title' => 'لا توجد بيانات متاحة', 'empty-info' => 'لا توجد بيانات متاحة للفترة المختارة', ], diff --git a/packages/Webkul/Admin/src/Resources/lang/en/app.php b/packages/Webkul/Admin/src/Resources/lang/en/app.php index a8f50bbe9..df6a1e9e6 100644 --- a/packages/Webkul/Admin/src/Resources/lang/en/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/en/app.php @@ -366,7 +366,7 @@ 'header' => [ 'mega-search' => [ - 'title' => 'Search', + 'title' => 'Mega Search', 'tabs' => [ 'leads' => 'Leads', @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Quote', - 'grand-total' => 'Grand Total', 'adjustment' => 'Adjustment', - 'discount' => 'Discount', - 'tax' => 'Tax', - 'sub-total' => 'Sub Total', 'amount' => 'Amount', - 'quantity' => 'Quantity', - 'price' => 'Price', - 'product-name' => 'Product Name', - 'sku' => 'SKU', - 'shipping-address' => 'Shipping Address', 'billing-address' => 'Billing Address', - 'expired-at' => 'Expired At', - 'sales-person' => 'Sales Person', 'date' => 'Date', + 'discount' => 'Discount', + 'expired-at' => 'Expired At', + 'grand-total' => 'Grand Total', + 'person' => 'Person', + 'price' => 'Price', + 'product-name' => 'Product Name', + 'quantity' => 'Quantity', 'quote-id' => 'Quote ID', + 'sales-person' => 'Sales Person', + 'shipping-address' => 'Shipping Address', + 'sku' => 'SKU', + 'sub-total' => 'Sub Total', + 'subject' => 'Subject', + 'tax' => 'Tax', + 'title' => 'Quote', ], ], @@ -485,7 +487,7 @@ 'total-discount' => 'Discount (:symbol)', 'total-tax' => 'Tax (:symbol)', 'total-adjustment' => 'Adjustment (:symbol)', - 'grand-total' => 'Grant Total (:symbol)', + 'grand-total' => 'Grand Total (:symbol)', 'discount-amount' => 'Discount amount', 'tax-amount' => 'Tax amount', 'adjustment-amount' => 'Adjustment amount', @@ -516,7 +518,7 @@ 'total-discount' => 'Discount (:symbol)', 'total-tax' => 'Tax (:symbol)', 'total-adjustment' => 'Adjustment (:symbol)', - 'grand-total' => 'Grant Total (:symbol)', + 'grand-total' => 'Grand Total (:symbol)', 'discount-amount' => 'Discount amount', 'tax-amount' => 'Tax amount', 'adjustment-amount' => 'Adjustment amount', @@ -1013,12 +1015,12 @@ ], 'edit' => [ - 'title' => 'Edit Webform', 'add-attribute-btn' => 'Add Attribute Button', 'attribute-label-color' => 'Attribute Label Color', 'attributes' => 'Attributes', 'attributes-info' => 'Add custom attributes to the form.', 'background-color' => 'Background Color', + 'choose-value' => 'Choose Value', 'code-snippet' => 'Code Snippet', 'copied' => 'Copied', 'copy' => 'Copy', @@ -1028,22 +1030,23 @@ 'description' => 'Description', 'display-custom-message' => 'Display custom message', 'embed' => 'Embed', + 'enter-value' => 'Enter Value', 'form-background-color' => 'Form Background Color', 'form-submit-btn-color' => 'Form Submit Button Color', 'form-submit-button-color' => 'Form Submit Button Color', 'form-title-color' => 'Form Title Color', 'general' => 'General', - 'preview' => 'Preview', + 'leads' => 'Leads', 'person' => 'Person', + 'preview' => 'Preview', 'public-url' => 'Public URL', 'redirect-to-url' => 'Redirect To URL', 'save-btn' => 'Save Webform', - 'submit-button-label' => 'Submit Button Label', - 'submit-success-action' => 'Submit Success Action', - 'choose-value' => 'Choose Value', 'select-file' => 'Select File', 'select-image' => 'Select Image', - 'enter-value' => 'Enter Value', + 'submit-button-label' => 'Submit Button Label', + 'submit-success-action' => 'Submit Success Action', + 'title' => 'Edit Webform', ], ], @@ -1384,10 +1387,10 @@ 'index' => [ 'title' => 'Attributes', 'create-btn' => 'Create Attribute', - 'create-success' => 'Attributes created successfully.', - 'update-success' => 'Attributes updated successfully.', - 'delete-success' => 'Attributes deleted successfully.', - 'delete-failed' => 'Attributes can not be deleted.', + 'create-success' => 'Attribute created successfully.', + 'update-success' => 'Attribute updated successfully.', + 'delete-success' => 'Attribute deleted successfully.', + 'delete-failed' => 'Attribute can not be deleted.', 'user-define-error' => 'Can not delete system attribute.', 'mass-delete-failed' => 'System attributes can not be deleted.', @@ -1402,6 +1405,27 @@ 'is-default' => 'Is Default', 'edit' => 'Edit', 'delete' => 'Delete', + + 'entity-types' => [ + 'leads' => 'Leads', + 'organizations' => 'Organizations', + 'persons' => 'Persons', + 'products' => 'Products', + 'quotes' => 'Quotes', + 'warehouses' => 'Warehouses', + ], + + 'types' => [ + 'address' => 'Address', + 'date' => 'Date', + 'email' => 'Email', + 'lookup' => 'Lookup', + 'phone' => 'Phone', + 'price' => 'Price', + 'select' => 'Select', + 'text' => 'Text', + 'textarea' => 'Textarea', + ], ], ], @@ -1450,47 +1474,48 @@ ], 'edit' => [ - 'title' => 'Edit Attribute', - 'save-btn' => 'Save Attribute', + 'actions' => 'Actions', + 'add-attribute-options' => 'Add Attribute Options', + 'add-option' => 'Add Option', + 'address' => 'Address', + 'boolean' => 'Boolean', + 'checkbox' => 'Checkbox', 'code' => 'Code', - 'name' => 'Name', - 'labels' => 'Labels', + 'date' => 'Date', + 'datetime' => 'Datetime', + 'decimal' => 'Decimal', + 'email' => 'Email', 'entity-type' => 'Entity Type', - 'type' => 'Type', - 'validations' => 'Validations', - 'is-required' => 'Is Required', + 'entity_type' => 'Entity type', + 'file' => 'File', + 'general' => 'General', + 'image' => 'Image', 'input-validation' => 'Input Validation', + 'is-required' => 'Is Required', 'is-unique' => 'Is Unique', - 'general' => 'General', + 'is_required' => 'Is Required', + 'is_unique' => 'Is Unique', + 'labels' => 'Labels', + 'lookup' => 'Lookup', + 'lookup-type' => 'Lookup Type', + 'multiselect' => 'Multiselect', + 'name' => 'Name', 'numeric' => 'Numeric', - 'decimal' => 'Decimal', - 'url' => 'Url', - 'options' => 'Options', + 'option-deleted' => 'Attribute Option is deleted successfully', + 'option-name' => 'Option Name', 'option-type' => 'Option Type', - 'lookup-type' => 'Lookup Type', - 'add-option' => 'Add Option', + 'options' => 'Options', + 'phone' => 'Phone', + 'price' => 'Price', + 'save-btn' => 'Save Attribute', 'save-option' => 'Save Option', - 'option-name' => 'Option Name', - 'add-attribute-options' => 'Add Attribute Options', + 'select' => 'Select', 'text' => 'Text', 'textarea' => 'Textarea', - 'price' => 'Price', - 'boolean' => 'Boolean', - 'select' => 'Select', - 'multiselect' => 'Multiselect', - 'email' => 'Email', - 'address' => 'Address', - 'phone' => 'Phone', - 'datetime' => 'Datetime', - 'date' => 'Date', - 'image' => 'Image', - 'file' => 'File', - 'lookup' => 'Lookup', - 'entity_type' => 'Entity type', - 'checkbox' => 'Checkbox', - 'is_required' => 'Is Required', - 'is_unique' => 'Is Unique', - 'actions' => 'Actions', + 'title' => 'Edit Attribute', + 'type' => 'Type', + 'url' => 'Url', + 'validations' => 'Validations', ], ], ], @@ -1584,8 +1609,10 @@ 'from' => 'From', 'to' => 'To', 'subject' => 'Subject', - 'tag-name' => 'Tag Name', - 'created-at' => 'Created At', + 'tags' => 'Tags', + 'content' => 'Content', + 'attachments' => 'Attachments', + 'date' => 'Date', 'move-to-inbox' => 'Moved To Inbox', 'edit' => 'Edit', 'view' => 'View', @@ -1679,7 +1706,7 @@ 'contact-person' => 'Contact Person', 'stage' => 'Stage', 'rotten-lead' => 'Rotten Lead', - 'expected-close-date' => 'Expected Close Date', + 'date-to' => 'Date To', 'created-at' => 'Created At', 'no' => 'No', 'yes' => 'Yes', @@ -1717,7 +1744,9 @@ 'clear-all' => 'Clear All', 'filter' => 'Filter', 'filters' => 'Filters', + 'from' => 'From', 'select' => 'Select', + 'to' => 'To', ], ], ], @@ -1910,7 +1939,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'Open Leads By States', + 'title' => 'Open Leads By Stages', 'empty-title' => 'No Data Available', 'empty-info' => 'No data available for selected interval', ], diff --git a/packages/Webkul/Admin/src/Resources/lang/es/app.php b/packages/Webkul/Admin/src/Resources/lang/es/app.php index 23fac6faf..c74ed3b45 100644 --- a/packages/Webkul/Admin/src/Resources/lang/es/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/es/app.php @@ -366,7 +366,7 @@ 'header' => [ 'mega-search' => [ - 'title' => 'Buscar', + 'title' => 'Búsqueda Mega', 'tabs' => [ 'leads' => 'Oportunidades', @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Cotización', - 'grand-total' => 'Total General', 'adjustment' => 'Ajuste', - 'discount' => 'Descuento', - 'tax' => 'Impuesto', - 'sub-total' => 'Subtotal', 'amount' => 'Monto', - 'quantity' => 'Cantidad', - 'price' => 'Precio', - 'product-name' => 'Nombre del Producto', - 'sku' => 'SKU', - 'shipping-address' => 'Dirección de Envío', 'billing-address' => 'Dirección de Facturación', - 'expired-at' => 'Vence en', - 'sales-person' => 'Vendedor', 'date' => 'Fecha', + 'discount' => 'Descuento', + 'expired-at' => 'Vence en', + 'grand-total' => 'Total General', + 'person' => 'Persona', + 'price' => 'Precio', + 'product-name' => 'Nombre del Producto', + 'quantity' => 'Cantidad', 'quote-id' => 'ID de Cotización', + 'sales-person' => 'Vendedor', + 'shipping-address' => 'Dirección de Envío', + 'sku' => 'SKU', + 'sub-total' => 'Subtotal', + 'subject' => 'Asunto', + 'tax' => 'Impuesto', + 'title' => 'Cotización', ], ], @@ -1384,10 +1386,10 @@ 'index' => [ 'title' => 'Atributos', 'create-btn' => 'Crear Atributo', - 'create-success' => 'Atributos creados con éxito.', - 'update-success' => 'Atributos actualizados con éxito.', - 'delete-success' => 'Atributos eliminados con éxito.', - 'delete-failed' => 'No se pueden eliminar los atributos.', + 'create-success' => 'Atributo creados con éxito.', + 'update-success' => 'Atributo actualizados con éxito.', + 'delete-success' => 'Atributo eliminados con éxito.', + 'delete-failed' => 'No se pueden eliminar los atributo.', 'user-define-error' => 'No se puede eliminar el atributo del sistema.', 'mass-delete-failed' => 'No se pueden eliminar los atributos del sistema.', @@ -1402,51 +1404,73 @@ 'is-default' => 'Es Predeterminado', 'edit' => 'Editar', 'delete' => 'Eliminar', + + 'entity-types' => [ + 'leads' => 'Clientes potenciales', + 'organizations' => 'Organizaciones', + 'persons' => 'Personas', + 'products' => 'Productos', + 'quotes' => 'Cotizaciones', + 'warehouses' => 'Almacenes', + ], + + 'types' => [ + 'address' => 'Dirección', + 'date' => 'Fecha', + 'email' => 'Correo Electrónico', + 'lookup' => 'Búsqueda', + 'phone' => 'Teléfono', + 'price' => 'Precio', + 'select' => 'Seleccionar', + 'text' => 'Texto', + 'textarea' => 'Área de Texto', + ], ], ], 'create' => [ - 'title' => 'Crear Atributo', - 'save-btn' => 'Guardar Atributo', + 'actions' => 'Acciones', + 'add-attribute-options' => 'Agregar Opciones de Atributo', + 'add-option' => 'Agregar Opción', + 'address' => 'Dirección', + 'boolean' => 'Booleano', + 'checkbox' => 'Casilla de Verificación', 'code' => 'Código', - 'name' => 'Nombre', + 'date' => 'Fecha', + 'datetime' => 'Fecha y Hora', + 'decimal' => 'Decimal', + 'email' => 'Correo Electrónico', 'entity-type' => 'Tipo de Entidad', - 'type' => 'Tipo', - 'validations' => 'Validaciones', - 'is-required' => 'Es Requerido', + 'entity_type' => 'Tipo de Entidad', + 'file' => 'Archivo', + 'general' => 'General', + 'image' => 'Imagen', 'input-validation' => 'Validación de Entrada', + 'is-required' => 'Es Requerido', 'is-unique' => 'Es Único', + 'is_required' => 'Es Requerido', + 'is_unique' => 'Es Único', 'labels' => 'Etiquetas', - 'general' => 'General', + 'lookup' => 'Búsqueda', + 'lookup-type' => 'Tipo de Búsqueda', + 'multiselect' => 'Selección Múltiple', + 'name' => 'Nombre', 'numeric' => 'Numérico', - 'decimal' => 'Decimal', - 'url' => 'Url', - 'options' => 'Opciones', + 'option-deleted' => 'Opción de atributo eliminada con éxito', + 'option-name' => 'Nombre de Opción', 'option-type' => 'Tipo de Opción', - 'lookup-type' => 'Tipo de Búsqueda', - 'add-option' => 'Agregar Opción', + 'options' => 'Opciones', + 'phone' => 'Teléfono', + 'price' => 'Precio', + 'save-btn' => 'Guardar Atributo', 'save-option' => 'Guardar Opción', - 'option-name' => 'Nombre de Opción', - 'add-attribute-options' => 'Agregar Opciones de Atributo', + 'select' => 'Seleccionar', 'text' => 'Texto', 'textarea' => 'Área de Texto', - 'price' => 'Precio', - 'boolean' => 'Booleano', - 'select' => 'Seleccionar', - 'multiselect' => 'Selección Múltiple', - 'email' => 'Correo Electrónico', - 'address' => 'Dirección', - 'phone' => 'Teléfono', - 'datetime' => 'Fecha y Hora', - 'date' => 'Fecha', - 'image' => 'Imagen', - 'file' => 'Archivo', - 'lookup' => 'Búsqueda', - 'entity_type' => 'Tipo de Entidad', - 'checkbox' => 'Casilla de Verificación', - 'is_required' => 'Es Requerido', - 'is_unique' => 'Es Único', - 'actions' => 'Acciones', + 'title' => 'Crear Atributo', + 'type' => 'Tipo', + 'url' => 'Url', + 'validations' => 'Validaciones', ], 'edit' => [ @@ -1584,9 +1608,11 @@ 'from' => 'De', 'to' => 'Para', 'subject' => 'Asunto', - 'tag-name' => 'Nombre de la etiqueta', - 'created-at' => 'Creado En', - 'move-to-inbox' => 'Mover a Bandeja de Entrada', + 'tags' => 'Etiquetas', + 'content' => 'Contenido', + 'attachments' => 'Archivos adjuntos', + 'date' => 'Fecha', + 'move-to-inbox' => 'Mover a la bandeja de entrada', 'edit' => 'Editar', 'view' => 'Ver', 'delete' => 'Eliminar', @@ -1679,7 +1705,7 @@ 'contact-person' => 'Persona de Contacto', 'stage' => 'Etapa', 'rotten-lead' => 'Lead Podrido', - 'expected-close-date' => 'Fecha de Cierre Esperada', + 'date-to' => 'Fecha Hasta', 'created-at' => 'Creado En', 'no' => 'No', 'yes' => 'Sí', @@ -1717,7 +1743,9 @@ 'clear-all' => 'Limpiar Todo', 'filter' => 'Filtrar', 'filters' => 'Filtros', + 'from' => 'De', 'select' => 'Seleccionar', + 'to' => 'A', ], ], ], @@ -1910,7 +1938,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'Leads Abiertos por Estados', + 'title' => 'Leads Abiertos por Etapas', 'empty-title' => 'No Hay Datos Disponibles', 'empty-info' => 'No hay datos disponibles para el intervalo seleccionado', ], diff --git a/packages/Webkul/Admin/src/Resources/lang/fa/app.php b/packages/Webkul/Admin/src/Resources/lang/fa/app.php index c124f79d0..b92ef8753 100644 --- a/packages/Webkul/Admin/src/Resources/lang/fa/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/fa/app.php @@ -366,7 +366,7 @@ 'header' => [ 'mega-search' => [ - 'title' => 'جستجو', + 'title' => 'جستجوی بزرگ', 'tabs' => [ 'leads' => 'سرنخها', @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'نقلقول', - 'grand-total' => 'جمع کل', 'adjustment' => 'تنظیم', - 'discount' => 'تخفیف', - 'tax' => 'مالیات', - 'sub-total' => 'جمع جزء', 'amount' => 'مقدار', - 'quantity' => 'تعداد', - 'price' => 'قیمت', - 'product-name' => 'نام محصول', - 'sku' => 'کد SKU', - 'shipping-address' => 'آدرس ارسال', 'billing-address' => 'آدرس صورتحساب', - 'expired-at' => 'تاریخ انقضا', - 'sales-person' => 'فروشنده', 'date' => 'تاریخ', + 'discount' => 'تخفیف', + 'expired-at' => 'تاریخ انقضا', + 'grand-total' => 'جمع کل', + 'person' => 'شخص', + 'price' => 'قیمت', + 'product-name' => 'نام محصول', + 'quantity' => 'تعداد', 'quote-id' => 'شناسه نقلقول', + 'sales-person' => 'فروشنده', + 'shipping-address' => 'آدرس ارسال', + 'sku' => 'کد SKU', + 'sub-total' => 'جمع جزء', + 'subject' => 'موضوع', + 'tax' => 'مالیات', + 'title' => 'نقلقول', ], ], @@ -1033,6 +1035,7 @@ 'form-submit-button-color' => 'رنگ دکمه ارسال فرم', 'form-title-color' => 'رنگ عنوان فرم', 'general' => 'عمومی', + 'leads' => 'سرنخها', 'preview' => 'پیشنمایش', 'person' => 'شخص', 'public-url' => 'آدرس عمومی', @@ -1384,10 +1387,10 @@ 'index' => [ 'title' => 'ویژگیها', 'create-btn' => 'ایجاد ویژگی', - 'create-success' => 'ویژگیها با موفقیت ایجاد شد.', - 'update-success' => 'ویژگیها با موفقیت بهروزرسانی شد.', - 'delete-success' => 'ویژگیها با موفقیت حذف شد.', - 'delete-failed' => 'ویژگیها قابل حذف نیستند.', + 'create-success' => 'ویژگی با موفقیت ایجاد شد.', + 'update-success' => 'ویژگی با موفقیت بهروزرسانی شد.', + 'delete-success' => 'ویژگی با موفقیت حذف شد.', + 'delete-failed' => 'ویژگی قابل حذف نیست.', 'user-define-error' => 'قادر به حذف ویژگی سیستم نیست.', 'mass-delete-failed' => 'ویژگیهای سیستمی قابل حذف نیستند.', @@ -1402,51 +1405,73 @@ 'is-default' => 'پیشفرض است', 'edit' => 'ویرایش', 'delete' => 'حذف', + + 'entity-types' => [ + 'leads' => 'سرنخها', + 'organizations' => 'سازمانها', + 'persons' => 'افراد', + 'products' => 'محصولات', + 'quotes' => 'نقلقولها', + 'warehouses' => 'انبارها', + ], + + 'types' => [ + 'address' => 'آدرس', + 'date' => 'تاریخ', + 'email' => 'ایمیل', + 'lookup' => 'جستجو', + 'phone' => 'تلفن', + 'price' => 'قیمت', + 'select' => 'انتخاب', + 'text' => 'متن', + 'textarea' => 'میدان متن', + ], ], ], 'create' => [ - 'title' => 'ایجاد ویژگی', - 'save-btn' => 'ذخیره ویژگی', + 'actions' => 'عملیات', + 'add-attribute-options' => 'افزودن گزینههای ویژگی', + 'add-option' => 'افزودن گزینه', + 'address' => 'آدرس', + 'boolean' => 'بولی', + 'checkbox' => 'چک باکس', 'code' => 'کد', - 'name' => 'نام', + 'date' => 'تاریخ', + 'datetime' => 'تاریخ و زمان', + 'decimal' => 'اعشاری', + 'email' => 'ایمیل', 'entity-type' => 'نوع موجودیت', - 'type' => 'نوع', - 'validations' => 'اعتبارسنجیها', - 'is-required' => 'الزامی است', + 'entity_type' => 'نوع موجودیت', + 'file' => 'فایل', + 'general' => 'عمومی', + 'image' => 'تصویر', 'input-validation' => 'اعتبارسنجی ورودی', + 'is-required' => 'الزامی است', 'is-unique' => 'منحصربهفرد است', + 'is_required' => 'الزامی است', + 'is_unique' => 'منحصربهفرد است', 'labels' => 'برچسبها', - 'general' => 'عمومی', + 'lookup' => 'جستجو', + 'lookup-type' => 'نوع جستجو', + 'multiselect' => 'چند انتخابی', + 'name' => 'نام', 'numeric' => 'عددی', - 'decimal' => 'اعشاری', - 'url' => 'آدرس', - 'options' => 'گزینهها', + 'option-deleted' => 'گزینه ویژگی با موفقیت حذف شد', + 'option-name' => 'نام گزینه', 'option-type' => 'نوع گزینه', - 'lookup-type' => 'نوع جستجو', - 'add-option' => 'افزودن گزینه', + 'options' => 'گزینهها', + 'phone' => 'تلفن', + 'price' => 'قیمت', + 'save-btn' => 'ذخیره ویژگی', 'save-option' => 'ذخیره گزینه', - 'option-name' => 'نام گزینه', - 'add-attribute-options' => 'افزودن گزینههای ویژگی', + 'select' => 'انتخاب', 'text' => 'متن', 'textarea' => 'میدان متن', - 'price' => 'قیمت', - 'boolean' => 'بولی', - 'select' => 'انتخاب', - 'multiselect' => 'چند انتخابی', - 'email' => 'ایمیل', - 'address' => 'آدرس', - 'phone' => 'تلفن', - 'datetime' => 'تاریخ و زمان', - 'date' => 'تاریخ', - 'image' => 'تصویر', - 'file' => 'فایل', - 'lookup' => 'جستجو', - 'entity_type' => 'نوع موجودیت', - 'checkbox' => 'چک باکس', - 'is_required' => 'الزامی است', - 'is_unique' => 'منحصربهفرد است', - 'actions' => 'عملیات', + 'title' => 'ایجاد ویژگی', + 'type' => 'نوع', + 'url' => 'آدرس', + 'validations' => 'اعتبارسنجیها', ], 'edit' => [ @@ -1584,11 +1609,13 @@ 'from' => 'از', 'to' => 'به', 'subject' => 'موضوع', - 'tag-name' => 'نام برچسب', - 'created-at' => 'تاریخ ایجاد', + 'tags' => 'برچسبها', + 'content' => 'محتوا', + 'attachments' => 'پیوستها', + 'date' => 'تاریخ', 'move-to-inbox' => 'انتقال به صندوق ورودی', 'edit' => 'ویرایش', - 'view' => 'مشاهده', + 'view' => 'نمایش', 'delete' => 'حذف', ], ], @@ -1679,7 +1706,7 @@ 'contact-person' => 'شخص تماس', 'stage' => 'مرحله', 'rotten-lead' => 'سرنخ خراب شده', - 'expected-close-date' => 'تاریخ بسته شدن مورد انتظار', + 'date-to' => 'تاریخ تا', 'created-at' => 'تاریخ ایجاد', 'no' => 'خیر', 'yes' => 'بله', @@ -1717,7 +1744,9 @@ 'clear-all' => 'پاک کردن همه', 'filter' => 'فیلتر', 'filters' => 'فیلترها', + 'from' => 'از', 'select' => 'انتخاب', + 'to' => 'تا', ], ], ], @@ -1910,7 +1939,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'لیدهای باز بر اساس وضعیتها', + 'title' => 'سرنخهای باز بر اساس مراحل', 'empty-title' => 'هیچ دادهای موجود نیست', 'empty-info' => 'دادهای برای بازه زمانی انتخاب شده وجود ندارد', ], diff --git a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php index 3fb0166c7..ab17e25db 100644 --- a/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php @@ -365,7 +365,7 @@ 'header' => [ 'mega-search' => [ - 'title' => 'Pesquisar', + 'title' => 'Mega Pesquisa', 'tabs' => [ 'leads' => 'Leads', @@ -441,23 +441,25 @@ ], 'pdf' => [ - 'title' => 'Cotação', - 'grand-total' => 'Total Geral', 'adjustment' => 'Ajuste', - 'discount' => 'Desconto', - 'tax' => 'Imposto', - 'sub-total' => 'Subtotal', 'amount' => 'Valor', - 'quantity' => 'Quantidade', - 'price' => 'Preço', - 'product-name' => 'Nome do Produto', - 'sku' => 'SKU', - 'shipping-address' => 'Endereço de Envio', 'billing-address' => 'Endereço de Cobrança', - 'expired-at' => 'Expirado em', - 'sales-person' => 'Vendedor', 'date' => 'Data', + 'discount' => 'Desconto', + 'expired-at' => 'Expirado em', + 'grand-total' => 'Total Geral', + 'person' => 'Pessoa', + 'price' => 'Preço', + 'product-name' => 'Nome do Produto', + 'quantity' => 'Quantidade', 'quote-id' => 'ID da Cotação', + 'sales-person' => 'Vendedor', + 'shipping-address' => 'Endereço de Envio', + 'sku' => 'SKU', + 'sub-total' => 'Subtotal', + 'subject' => 'Assunto', + 'tax' => 'Imposto', + 'title' => 'Cotação', ], ], @@ -1031,6 +1033,7 @@ 'form-submit-button-color' => 'Cor do Botão de Envio do Formulário', 'form-title-color' => 'Cor do Título do Formulário', 'general' => 'Geral', + 'leads' => 'Leads', 'preview' => 'Visualizar', 'person' => 'Pessoa', 'public-url' => 'URL Pública', @@ -1382,10 +1385,10 @@ 'index' => [ 'title' => 'Atributos', 'create-btn' => 'Criar Atributo', - 'create-success' => 'Atributos criados com sucesso.', - 'update-success' => 'Atributos atualizados com sucesso.', - 'delete-success' => 'Atributos deletados com sucesso.', - 'delete-failed' => 'Atributos não podem ser deletados.', + 'create-success' => 'Atributo criados com sucesso.', + 'update-success' => 'Atributo atualizados com sucesso.', + 'delete-success' => 'Atributo deletados com sucesso.', + 'delete-failed' => 'Atributo não podem ser deletados.', 'user-define-error' => 'Não é possível deletar atributos do sistema.', 'mass-delete-failed' => 'Atributos do sistema não podem ser deletados.', @@ -1400,51 +1403,73 @@ 'is-default' => 'É Padrão', 'edit' => 'Editar', 'delete' => 'Deletar', + + 'entity-types' => [ + 'leads' => 'Leads', + 'organizations' => 'Organizações', + 'persons' => 'Pessoas', + 'products' => 'Produtos', + 'quotes' => 'Cotações', + 'warehouses' => 'Armazéns', + ], + + 'types' => [ + 'address' => 'Endereço', + 'date' => 'Data', + 'email' => 'E-mail', + 'lookup' => 'Pesquisa', + 'phone' => 'Telefone', + 'price' => 'Preço', + 'select' => 'Seleção', + 'text' => 'Texto', + 'textarea' => 'Área de Texto', + ], ], ], 'create' => [ - 'title' => 'Criar Atributo', - 'save-btn' => 'Salvar Atributo', + 'actions' => 'Ações', + 'add-attribute-options' => 'Adicionar Opções de Atributo', + 'add-option' => 'Adicionar Opção', + 'address' => 'Endereço', + 'boolean' => 'Booleano', + 'checkbox' => 'Caixa de Seleção', 'code' => 'Código', - 'name' => 'Nome', + 'date' => 'Data', + 'datetime' => 'Data e Hora', + 'decimal' => 'Decimal', + 'email' => 'E-mail', 'entity-type' => 'Tipo de Entidade', - 'type' => 'Tipo', - 'validations' => 'Validações', - 'is-required' => 'É Obrigatório', + 'entity_type' => 'Tipo de Entidade', + 'file' => 'Arquivo', + 'general' => 'Geral', + 'image' => 'Imagem', 'input-validation' => 'Validação de Entrada', + 'is-required' => 'É Obrigatório', 'is-unique' => 'É Único', + 'is_required' => 'É Obrigatório', + 'is_unique' => 'É Único', 'labels' => 'Rótulos', - 'general' => 'Geral', + 'lookup' => 'Pesquisa', + 'lookup-type' => 'Tipo de Pesquisa', + 'multiselect' => 'Multiseleção', + 'name' => 'Nome', 'numeric' => 'Numérico', - 'decimal' => 'Decimal', - 'url' => 'URL', - 'options' => 'Opções', + 'option-deleted' => 'Opção de Atributo excluída com sucesso', + 'option-name' => 'Nome da Opção', 'option-type' => 'Tipo de Opção', - 'lookup-type' => 'Tipo de Pesquisa', - 'add-option' => 'Adicionar Opção', + 'options' => 'Opções', + 'phone' => 'Telefone', + 'price' => 'Preço', + 'save-btn' => 'Salvar Atributo', 'save-option' => 'Salvar Opção', - 'option-name' => 'Nome da Opção', - 'add-attribute-options' => 'Adicionar Opções de Atributo', + 'select' => 'Seleção', 'text' => 'Texto', 'textarea' => 'Área de Texto', - 'price' => 'Preço', - 'boolean' => 'Booleano', - 'select' => 'Seleção', - 'multiselect' => 'Multiseleção', - 'email' => 'E-mail', - 'address' => 'Endereço', - 'phone' => 'Telefone', - 'datetime' => 'Data e Hora', - 'date' => 'Data', - 'image' => 'Imagem', - 'file' => 'Arquivo', - 'lookup' => 'Pesquisa', - 'entity_type' => 'Tipo de Entidade', - 'checkbox' => 'Caixa de Seleção', - 'is_required' => 'É Obrigatório', - 'is_unique' => 'É Único', - 'actions' => 'Ações', + 'title' => 'Criar Atributo', + 'type' => 'Tipo', + 'url' => 'URL', + 'validations' => 'Validações', ], 'edit' => [ @@ -1674,7 +1699,7 @@ 'contact-person' => 'Pessoa de Contato', 'stage' => 'Etapa', 'rotten-lead' => 'Lead Podre', - 'expected-close-date' => 'Data Esperada de Fechamento', + 'date-to' => 'Data Até', 'created-at' => 'Criado Em', 'no' => 'Não', 'yes' => 'Sim', @@ -1712,7 +1737,9 @@ 'clear-all' => 'Limpar Tudo', 'filter' => 'Filtrar', 'filters' => 'Filtros', + 'from' => 'De', 'select' => 'Selecionar', + 'to' => 'Para', ], ], ], @@ -1905,7 +1932,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'Leads Abertos por Estados', + 'title' => 'Leads Abertos por Estágios', 'empty-title' => 'Nenhum Dado Disponível', 'empty-info' => 'Nenhum dado disponível para o intervalo selecionado', ], diff --git a/packages/Webkul/Admin/src/Resources/lang/tr/app.php b/packages/Webkul/Admin/src/Resources/lang/tr/app.php index 964f08e70..345c512e4 100644 --- a/packages/Webkul/Admin/src/Resources/lang/tr/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/tr/app.php @@ -366,7 +366,7 @@ 'header' => [ 'mega-search' => [ - 'title' => 'Arama', + 'title' => 'Mega Arama', 'tabs' => [ 'leads' => 'Müşteriler', @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Teklif', - 'grand-total' => 'Genel Toplam', 'adjustment' => 'Düzenleme', - 'discount' => 'İndirim', - 'tax' => 'Vergi', - 'sub-total' => 'Ara Toplam', 'amount' => 'Tutar', - 'quantity' => 'Miktar', - 'price' => 'Fiyat', - 'product-name' => 'Ürün Adı', - 'sku' => 'SKU', - 'shipping-address' => 'Teslimat Adresi', 'billing-address' => 'Fatura Adresi', - 'expired-at' => 'Son Kullanma Tarihi', - 'sales-person' => 'Satış Temsilcisi', 'date' => 'Tarih', + 'discount' => 'İndirim', + 'expired-at' => 'Son Kullanma Tarihi', + 'grand-total' => 'Genel Toplam', + 'person' => 'Kişi', + 'price' => 'Fiyat', + 'product-name' => 'Ürün Adı', + 'quantity' => 'Miktar', 'quote-id' => 'Teklif ID', + 'sales-person' => 'Satış Temsilcisi', + 'shipping-address' => 'Teslimat Adresi', + 'sku' => 'SKU', + 'sub-total' => 'Ara Toplam', + 'subject' => 'Konu', + 'tax' => 'Vergi', + 'title' => 'Teklif', ], ], @@ -1033,6 +1035,7 @@ 'form-submit-button-color' => 'Form Gönderim Düğmesi Rengi', 'form-title-color' => 'Form Başlık Rengi', 'general' => 'Genel', + 'leads' => 'Fırsatlar', 'preview' => 'Önizleme', 'person' => 'Kişi', 'public-url' => 'Genel URL', @@ -1384,10 +1387,10 @@ 'index' => [ 'title' => 'Öznitelikler', 'create-btn' => 'Öznitelik Oluştur', - 'create-success' => 'Öznitelikler başarıyla oluşturuldu.', - 'update-success' => 'Öznitelikler başarıyla güncellendi.', - 'delete-success' => 'Öznitelikler başarıyla silindi.', - 'delete-failed' => 'Öznitelikler silinemedi.', + 'create-success' => 'Öznitelik başarıyla oluşturuldu.', + 'update-success' => 'Öznitelik başarıyla güncellendi.', + 'delete-success' => 'Öznitelik başarıyla silindi.', + 'delete-failed' => 'Öznitelik silinemedi.', 'user-define-error' => 'Sistem özniteliği silinemez.', 'mass-delete-failed' => 'Sistem öznitelikleri silinemez.', @@ -1402,51 +1405,73 @@ 'is-default' => 'Varsayılan mı', 'edit' => 'Düzenle', 'delete' => 'Sil', + + 'entity-types' => [ + 'leads' => 'Potansiyeller', + 'organizations' => 'Organizasyonlar', + 'persons' => 'Kişiler', + 'products' => 'Ürünler', + 'quotes' => 'Teklifler', + 'warehouses' => 'Depolar', + ], + + 'types' => [ + 'address' => 'Adres', + 'date' => 'Tarih', + 'email' => 'E-posta', + 'lookup' => 'Arama', + 'phone' => 'Telefon', + 'price' => 'Fiyat', + 'select' => 'Seç', + 'text' => 'Metin', + 'textarea' => 'Metin Alanı', + ], ], ], 'create' => [ - 'title' => 'Öznitelik Oluştur', - 'save-btn' => 'Özniteliği Kaydet', + 'actions' => 'İşlemler', + 'add-attribute-options' => 'Öznitelik Seçenekleri Ekle', + 'add-option' => 'Seçenek Ekle', + 'address' => 'Adres', + 'boolean' => 'Boolean', + 'checkbox' => 'Onay Kutusu', 'code' => 'Kod', - 'name' => 'Ad', + 'date' => 'Tarih', + 'datetime' => 'Tarih Saat', + 'decimal' => 'Ondalık', + 'email' => 'E-posta', 'entity-type' => 'Varlık Türü', - 'type' => 'Tür', - 'validations' => 'Doğrulamalar', - 'is-required' => 'Gerekli mi', + 'entity_type' => 'Varlık türü', + 'file' => 'Dosya', + 'general' => 'Genel', + 'image' => 'Resim', 'input-validation' => 'Girdi Doğrulaması', + 'is-required' => 'Gerekli mi', 'is-unique' => 'Benzersiz mi', + 'is_required' => 'Gerekli mi', + 'is_unique' => 'Benzersiz mi', 'labels' => 'Etiketler', - 'general' => 'Genel', + 'lookup' => 'Arama', + 'lookup-type' => 'Arama Türü', + 'multiselect' => 'Çoklu Seçim', + 'name' => 'Ad', 'numeric' => 'Sayısal', - 'decimal' => 'Ondalık', - 'url' => 'URL', - 'options' => 'Seçenekler', + 'option-deleted' => 'Öznitelik Seçeneği başarıyla silindi', + 'option-name' => 'Seçenek Adı', 'option-type' => 'Seçenek Türü', - 'lookup-type' => 'Arama Türü', - 'add-option' => 'Seçenek Ekle', + 'options' => 'Seçenekler', + 'phone' => 'Telefon', + 'price' => 'Fiyat', + 'save-btn' => 'Özniteliği Kaydet', 'save-option' => 'Seçeneği Kaydet', - 'option-name' => 'Seçenek Adı', - 'add-attribute-options' => 'Öznitelik Seçenekleri Ekle', + 'select' => 'Seç', 'text' => 'Metin', 'textarea' => 'Metin Alanı', - 'price' => 'Fiyat', - 'boolean' => 'Boolean', - 'select' => 'Seç', - 'multiselect' => 'Çoklu Seçim', - 'email' => 'E-posta', - 'address' => 'Adres', - 'phone' => 'Telefon', - 'datetime' => 'Tarih Saat', - 'date' => 'Tarih', - 'image' => 'Resim', - 'file' => 'Dosya', - 'lookup' => 'Arama', - 'entity_type' => 'Varlık türü', - 'checkbox' => 'Onay Kutusu', - 'is_required' => 'Gerekli mi', - 'is_unique' => 'Benzersiz mi', - 'actions' => 'İşlemler', + 'title' => 'Öznitelik Oluştur', + 'type' => 'Tür', + 'url' => 'URL', + 'validations' => 'Doğrulamalar', ], 'edit' => [ @@ -1581,11 +1606,13 @@ 'datagrid' => [ 'id' => 'ID', - 'from' => 'Kimden', - 'to' => 'Kime', + 'from' => 'Gönderen', + 'to' => 'Alıcı', 'subject' => 'Konu', - 'tag-name' => 'Etiket Adı', - 'created-at' => 'Oluşturulma Tarihi', + 'tags' => 'Etiketler', + 'content' => 'İçerik', + 'content' => 'Eklentiler', + 'date' => 'Tarih', 'move-to-inbox' => 'Gelen Kutusuna Taşı', 'edit' => 'Düzenle', 'view' => 'Görüntüle', @@ -1679,7 +1706,7 @@ 'contact-person' => 'İletişim Kişisi', 'stage' => 'Aşama', 'rotten-lead' => 'Çürümüş Lead', - 'expected-close-date' => 'Beklenen Kapanış Tarihi', + 'date-to' => 'Bitiş Tarihi', 'created-at' => 'Oluşturulma Tarihi', 'no' => 'Hayır', 'yes' => 'Evet', @@ -1717,7 +1744,9 @@ 'clear-all' => 'Tümünü Temizle', 'filter' => 'Filtre', 'filters' => 'Filtreler', + 'from' => 'Kimden', 'select' => 'Seç', + 'to' => 'Kime', ], ], ], @@ -1910,7 +1939,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'Durumlara Göre Açık Leadler', + 'title' => 'Aşamalara Göre Açık Leadler', 'empty-title' => 'Veri Bulunamadı', 'empty-info' => 'Seçilen aralık için veri bulunamadı', ], diff --git a/packages/Webkul/Admin/src/Resources/lang/vi/app.php b/packages/Webkul/Admin/src/Resources/lang/vi/app.php index 2d705dbcd..73f221ca7 100644 --- a/packages/Webkul/Admin/src/Resources/lang/vi/app.php +++ b/packages/Webkul/Admin/src/Resources/lang/vi/app.php @@ -366,7 +366,7 @@ 'header' => [ 'mega-search' => [ - 'title' => 'Tìm kiếm', + 'title' => 'Tìm kiếm Mega', 'tabs' => [ 'leads' => 'Khách hàng tiềm năng', @@ -442,23 +442,25 @@ ], 'pdf' => [ - 'title' => 'Báo giá', - 'grand-total' => 'Tổng cộng', 'adjustment' => 'Điều chỉnh', - 'discount' => 'Giảm giá', - 'tax' => 'Thuế', - 'sub-total' => 'Tổng phụ', 'amount' => 'Số tiền', - 'quantity' => 'Số lượng', - 'price' => 'Giá', - 'product-name' => 'Tên sản phẩm', - 'sku' => 'Mã sản phẩm (SKU)', - 'shipping-address' => 'Địa chỉ giao hàng', 'billing-address' => 'Địa chỉ thanh toán', - 'expired-at' => 'Hết hạn vào', - 'sales-person' => 'Nhân viên bán hàng', 'date' => 'Ngày', + 'discount' => 'Giảm giá', + 'expired-at' => 'Hết hạn vào', + 'grand-total' => 'Tổng cộng', + 'person' => 'Người', + 'price' => 'Giá', + 'product-name' => 'Tên sản phẩm', + 'quantity' => 'Số lượng', 'quote-id' => 'ID Báo giá', + 'sales-person' => 'Nhân viên bán hàng', + 'shipping-address' => 'Địa chỉ giao hàng', + 'sku' => 'Mã sản phẩm (SKU)', + 'sub-total' => 'Tổng phụ', + 'subject' => 'Chủ đề', + 'tax' => 'Thuế', + 'title' => 'Báo giá', ], ], @@ -1032,6 +1034,7 @@ 'form-submit-button-color' => 'Màu Nút Gửi Biểu Mẫu', 'form-title-color' => 'Màu Tiêu Đề Biểu Mẫu', 'general' => 'Chung', + 'leads' => 'Dẫn Dắt', 'preview' => 'Xem Trước', 'person' => 'Người', 'public-url' => 'URL Công Khai', @@ -1386,7 +1389,7 @@ 'create-success' => 'Thuộc tính đã được tạo thành công.', 'update-success' => 'Thuộc tính đã được cập nhật thành công.', 'delete-success' => 'Thuộc tính đã được xóa thành công.', - 'delete-failed' => 'Thuộc tính không thể bị xóa.', + 'delete-failed' => 'Không thể xóa thuộc tính.', 'user-define-error' => 'Không thể xóa thuộc tính hệ thống.', 'mass-delete-failed' => 'Các thuộc tính hệ thống không thể bị xóa.', @@ -1401,51 +1404,73 @@ 'is-default' => 'Mặc Định', 'edit' => 'Chỉnh sửa', 'delete' => 'Xóa', + + 'entity-types' => [ + 'leads' => 'Khách hàng tiềm năng', + 'organizations' => 'Tổ chức', + 'persons' => 'Người', + 'products' => 'Sản phẩm', + 'quotes' => 'Báo giá', + 'warehouses' => 'Kho hàng', + ], + + 'types' => [ + 'address' => 'Địa chỉ', + 'date' => 'Ngày', + 'email' => 'Email', + 'lookup' => 'Tra cứu', + 'phone' => 'Điện thoại', + 'price' => 'Giá', + 'select' => 'Chọn', + 'text' => 'Văn bản', + 'textarea' => 'Khung văn bản', + ], ], ], 'create' => [ - 'title' => 'Tạo Thuộc Tính', - 'save-btn' => 'Lưu Thuộc Tính', + 'actions' => 'Hành Động', + 'add-attribute-options' => 'Thêm Tùy Chọn Thuộc Tính', + 'add-option' => 'Thêm Tùy Chọn', + 'address' => 'Địa Chỉ', + 'boolean' => 'Boolean', + 'checkbox' => 'Hộp Kiểm', 'code' => 'Mã', - 'name' => 'Tên', + 'date' => 'Ngày', + 'datetime' => 'Ngày Giờ', + 'decimal' => 'Thập Phân', + 'email' => 'Email', 'entity-type' => 'Loại Thực Thể', - 'type' => 'Loại', - 'validations' => 'Xác Thực', - 'is-required' => 'Bắt Buộc', + 'entity_type' => 'Loại thực thể', + 'file' => 'Tệp', + 'general' => 'Chung', + 'image' => 'Hình Ảnh', 'input-validation' => 'Xác Thực Đầu Vào', + 'is-required' => 'Bắt Buộc', 'is-unique' => 'Là Độc Nhất', + 'is_required' => 'Bắt Buộc', + 'is_unique' => 'Là Độc Nhất', 'labels' => 'Nhãn', - 'general' => 'Chung', + 'lookup' => 'Tra Cứu', + 'lookup-type' => 'Loại Tra Cứu', + 'multiselect' => 'Chọn Nhiều', + 'name' => 'Tên', 'numeric' => 'Số', - 'decimal' => 'Thập Phân', - 'url' => 'Url', - 'options' => 'Tùy Chọn', + 'option-deleted' => 'Tùy chọn thuộc tính đã được xóa thành công', + 'option-name' => 'Tên Tùy Chọn', 'option-type' => 'Loại Tùy Chọn', - 'lookup-type' => 'Loại Tra Cứu', - 'add-option' => 'Thêm Tùy Chọn', + 'options' => 'Tùy Chọn', + 'phone' => 'Điện Thoại', + 'price' => 'Giá', + 'save-btn' => 'Lưu Thuộc Tính', 'save-option' => 'Lưu Tùy Chọn', - 'option-name' => 'Tên Tùy Chọn', - 'add-attribute-options' => 'Thêm Tùy Chọn Thuộc Tính', + 'select' => 'Chọn', 'text' => 'Văn Bản', 'textarea' => 'Khung Văn Bản', - 'price' => 'Giá', - 'boolean' => 'Boolean', - 'select' => 'Chọn', - 'multiselect' => 'Chọn Nhiều', - 'email' => 'Email', - 'address' => 'Địa Chỉ', - 'phone' => 'Điện Thoại', - 'datetime' => 'Ngày Giờ', - 'date' => 'Ngày', - 'image' => 'Hình Ảnh', - 'file' => 'Tệp', - 'lookup' => 'Tra Cứu', - 'entity_type' => 'Loại thực thể', - 'checkbox' => 'Hộp Kiểm', - 'is_required' => 'Bắt Buộc', - 'is_unique' => 'Là Độc Nhất', - 'actions' => 'Hành Động', + 'title' => 'Tạo Thuộc Tính', + 'type' => 'Loại', + 'url' => 'Url', + 'validations' => 'Xác Thực', ], 'edit' => [ @@ -1583,11 +1608,13 @@ 'id' => 'ID', 'from' => 'Từ', 'to' => 'Đến', - 'subject' => 'Chủ Đề', - 'tag-name' => 'Tên Thẻ', - 'created-at' => 'Thời Gian Tạo', - 'move-to-inbox' => 'Chuyển Đến Hộp Thư Đến', - 'edit' => 'Chỉnh Sửa', + 'subject' => 'Chủ đề', + 'tags' => 'Thẻ', + 'content' => 'Nội dung', + 'attachments' => 'Tệp đính kèm', + 'date' => 'Ngày', + 'move-to-inbox' => 'Di chuyển vào hộp thư đến', + 'edit' => 'Chỉnh sửa', 'view' => 'Xem', 'delete' => 'Xóa', ], @@ -1668,42 +1695,42 @@ 'create-btn' => 'Tạo Khách Hàng Tiềm Năng', 'datagrid' => [ - 'id' => 'ID', - 'sales-person' => 'Nhân Viên Kinh Doanh', - 'subject' => 'Chủ Đề', - 'source' => 'Nguồn', - 'lead-value' => 'Giá Trị Khách Hàng', - 'lead-type' => 'Loại Khách Hàng', - 'tag-name' => 'Tên Thẻ', 'contact-person' => 'Người Liên Hệ', - 'stage' => 'Giai Đoạn', - 'rotten-lead' => 'Khách Hàng Tiềm Năng Hết Hạn', - 'expected-close-date' => 'Ngày Dự Kiến Đóng', 'created-at' => 'Tạo Vào Lúc', - 'no' => 'Không', - 'yes' => 'Có', + 'date-to' => 'Ngày Đến', 'delete' => 'Xóa', + 'id' => 'ID', + 'lead-type' => 'Loại Khách Hàng', + 'lead-value' => 'Giá Trị Khách Hàng', 'mass-delete' => 'Xóa Hàng Loạt', 'mass-update' => 'Cập Nhật Hàng Loạt', + 'no' => 'Không', + 'rotten-lead' => 'Khách Hàng Tiềm Năng Hết Hạn', + 'sales-person' => 'Nhân Viên Kinh Doanh', + 'source' => 'Nguồn', + 'stage' => 'Giai Đoạn', + 'subject' => 'Chủ Đề', + 'tag-name' => 'Tên Thẻ', + 'yes' => 'Có', ], 'kanban' => [ - 'rotten-days' => 'Khách hàng tiềm năng đã hết hạn trong :days ngày', + 'create-lead-btn' => 'Tạo Khách Hàng Tiềm Năng', 'empty-list' => 'Danh sách khách hàng tiềm năng của bạn trống', 'empty-list-description' => 'Tạo một khách hàng tiềm năng để tổ chức các mục tiêu của bạn.', - 'create-lead-btn' => 'Tạo Khách Hàng Tiềm Năng', + 'rotten-days' => 'Khách hàng tiềm năng đã hết hạn trong :days ngày', 'columns' => [ 'contact-person' => 'Người Liên Hệ', + 'created-at' => 'Tạo Vào Lúc', + 'expected-close-date' => 'Ngày Dự Kiến Đóng', 'id' => 'ID', 'lead-type' => 'Loại Khách Hàng', 'lead-value' => 'Giá Trị Khách Hàng', 'sales-person' => 'Nhân Viên Kinh Doanh', 'source' => 'Nguồn', - 'title' => 'Tiêu Đề', 'tags' => 'Thẻ', - 'expected-close-date' => 'Ngày Dự Kiến Đóng', - 'created-at' => 'Tạo Vào Lúc', + 'title' => 'Tiêu Đề', ], 'toolbar' => [ @@ -1716,7 +1743,9 @@ 'clear-all' => 'Xóa Tất Cả', 'filter' => 'Bộ Lọc', 'filters' => 'Bộ Lọc', + 'from' => 'Từ', 'select' => 'Chọn', + 'to' => 'Đến', ], ], ], @@ -1909,7 +1938,7 @@ ], 'open-leads-by-states' => [ - 'title' => 'Leads Mở Theo Tình Trạng', + 'title' => 'Khách hàng tiềm năng mở theo giai đoạn', 'empty-title' => 'Không Có Dữ Liệu', 'empty-info' => 'Không có dữ liệu cho khoảng thời gian được chọn', ], diff --git a/packages/Webkul/Admin/src/Resources/views/activities/edit.blade.php b/packages/Webkul/Admin/src/Resources/views/activities/edit.blade.php index 2edf2ff89..b634e7613 100644 --- a/packages/Webkul/Admin/src/Resources/views/activities/edit.blade.php +++ b/packages/Webkul/Admin/src/Resources/views/activities/edit.blade.php @@ -49,7 +49,7 @@ class="primary-button"
- @{{ record.comment }} + {{-- @{{ record.comment }} --}} + @{{ record.comment.length > 180 ? record.comment.slice(0, 180) + '...' : record.comment }}
@@ -232,7 +233,7 @@ class="text-gray-600 dark:text-gray-300"
@{{ record.schedule_from ?? 'N/A' }}
@@ -295,7 +296,7 @@ class="cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-200
:events="events"
@ready="getActivities"
@view-change="getActivities"
- :on-event-click="goToActivity"
+ @event-click="goToActivity"
locale="{{ app()->getLocale() }}"
>
diff --git a/packages/Webkul/Admin/src/Resources/views/components/activities/actions/activity.blade.php b/packages/Webkul/Admin/src/Resources/views/components/activities/actions/activity.blade.php
index 93e65fbbd..8364ea4ec 100644
--- a/packages/Webkul/Admin/src/Resources/views/components/activities/actions/activity.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/components/activities/actions/activity.blade.php
@@ -104,7 +104,7 @@ class="flex h-[74px] w-[84px] flex-col items-center justify-center gap-1 rounded
@lang('admin::app.components.datagrid.table.actions')
diff --git a/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php b/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php
index fb2ccae6a..5f79f71e1 100644
--- a/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/components/datagrid/toolbar/filter.blade.php
@@ -68,12 +68,12 @@ class="cursor-pointer text-xs font-medium leading-8 text-brandColor hover:underl
@{{ applied.savedFilterId ? '@lang('admin::app.components.datagrid.toolbar.filter.update-filter')' : '@lang('admin::app.components.datagrid.toolbar.filter.save-filter')' }} @@ -106,7 +106,7 @@ class="flex cursor-pointer items-center justify-between px-4 py-1.5 text-gray-70 @{{ filter.name }} @@ -251,9 +251,7 @@ class="cursor-pointer rounded-md border px-3 py-2 text-center text-sm font-mediu >
-