Translation Added In New Theme Also
This commit is contained in:
parent
2b4c6c6455
commit
c3d0016ebe
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"/js/ui.js": "/js/ui.js?id=1a2a11fc54d0a5962a66",
|
||||
"/js/ui.js": "/js/ui.js?id=6082b47e63a72492b2b4",
|
||||
"/css/ui.css": "/css/ui.css?id=87c15a3e7af4ab272377"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,6 +121,10 @@ trait ProvideDataGridPlus
|
|||
'allLocales' => __('admin::app.admin.system.all-locales'),
|
||||
'allCustomerGroups' => __('admin::app.admin.system.all-customer-groups'),
|
||||
'search' => __('ui::app.datagrid.search'),
|
||||
'searchTitle' => __('ui::app.datagrid.search-title'),
|
||||
'channel' => __('ui::app.datagrid.channel'),
|
||||
'locale' => __('ui::app.datagrid.locale'),
|
||||
'customerGroup' => __('ui::app.datagrid.customer-group'),
|
||||
'itemsPerPage' => __('ui::app.datagrid.items-per-page'),
|
||||
'filter' => __('ui::app.datagrid.filter'),
|
||||
'column' => __('ui::app.datagrid.column'),
|
||||
|
|
|
|||
|
|
@ -1289,10 +1289,10 @@
|
|||
|
||||
switch (obj.column) {
|
||||
case "search":
|
||||
obj.label = "Search";
|
||||
obj.label = this.translations.searchTitle;
|
||||
break;
|
||||
case "channel":
|
||||
obj.label = "Channel";
|
||||
obj.label = this.translations.channel;
|
||||
if ("channels" in this.extraFilters) {
|
||||
obj.prettyValue = this.extraFilters[
|
||||
"channels"
|
||||
|
|
@ -1304,7 +1304,7 @@
|
|||
}
|
||||
break;
|
||||
case "locale":
|
||||
obj.label = "Locale";
|
||||
obj.label = this.translations.locale;
|
||||
if ("locales" in this.extraFilters) {
|
||||
obj.prettyValue = this.extraFilters["locales"].find(
|
||||
locale => locale.code === obj.val
|
||||
|
|
@ -1316,7 +1316,7 @@
|
|||
}
|
||||
break;
|
||||
case "customer_group":
|
||||
obj.label = "Customer Group";
|
||||
obj.label = this.translations.customerGroup;
|
||||
if ("customer_groups" in this.extraFilters) {
|
||||
obj.prettyValue = this.extraFilters[
|
||||
"customer_groups"
|
||||
|
|
|
|||
Loading…
Reference in New Issue