Skip to content

Commit

Permalink
Add short label for search weight in grid
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Oct 5, 2023
1 parent 363bb0a commit 30ff17c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/sylius/grids.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sylius_grid:
options:
template: "@SyliusUi/Grid/Field/yesNo.html.twig"
searchWeight:
label: monsieurbiz_searchplugin.admin.product_attribute.form.search_weight
label: monsieurbiz_searchplugin.admin.product_attribute.form.search_weight_short_label
type: string
sortable: ~
filters:
Expand All @@ -40,7 +40,7 @@ sylius_grid:
options:
template: "@SyliusUi/Grid/Field/yesNo.html.twig"
searchWeight:
label: monsieurbiz_searchplugin.admin.product_option.form.search_weight
label: monsieurbiz_searchplugin.admin.product_option.form.search_weight_short_label
type: string
sortable: ~
filters:
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/translations/messages.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ monsieurbiz_searchplugin:
filterable: Filterable
searchable: Searchable
search_weight: Search Weight
search_weight_short_label: Weight
product_option:
form:
title: Search
filterable: Filterable
searchable: Searchable
search_weight: Search Weight
search_weight_short_label: Weight
setting_form:
instant_search_enabled_monsieurbiz_product: 'Product: Instant search enabled'
limit_search_monsieurbiz_product: 'Product: Available limits for search'
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/translations/messages.fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ monsieurbiz_searchplugin:
filterable: Filtrable
searchable: Recherchable
search_weight: Pondération dans la recherche
search_weight_short_label: Poids
product_option:
form:
title: Recherche
filterable: Filtrable
searchable: Recherchable
search_weight: Pondération dans la recherche
search_weight_short_label: Poids
setting_form:
instant_search_enabled_monsieurbiz_product: 'Produit: Activer la recherche instantanée'
limit_search_monsieurbiz_product: 'Produit: Limites disponibles pour la recherche'
Expand Down

0 comments on commit 30ff17c

Please sign in to comment.