saleor-dashboard/src/components/AssignProductDialog/messages.ts
Łukasz Szewczyk ec230e55c0
Add variants to sale view (#1420)
* Update schema and biuld types for sale per variant

* Create variant search module and generate types for it

* Add listing component for sale view

* Create dialog for variant assignment

* Expand sale page with vairnats

* Add new sale fixtures

* Add transaltions for variants on sale view

* Update snapshot

* Refactor sales dialogs and tables, move styles and ittl to local files

* Rework search dialog. Create item/subitem selectable table for variants, update spapshot

* Adjust table columns width

* Standardize the tables

* Unify messages

* Drop whole variant object in favor of just ids, simplify filtring functions

* Update snapshots

Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-09-30 14:51:13 +02:00

18 lines
477 B
TypeScript

import { defineMessages } from "react-intl";
export const messages = defineMessages({
assignVariantDialogHeader: {
defaultMessage: "Assign Product",
description: "dialog header"
},
assignProductDialogButton: {
defaultMessage: "Assign",
description: "button"
},
assignProductDialogContent: {
defaultMessage: "Search Products"
},
assignProductDialogSearch: {
defaultMessage: "Search by product name, attribute, product type etc..."
}
});