Lazar Kostic 3 лет назад
Родитель
Сommit
90647ec575
3 измененных файлов: 3 добавлений и 3 удалений
  1. 1
    1
      components/product-type/ProductType.jsx
  2. 1
    1
      components/sort/Sort.jsx
  3. 1
    1
      public/locales/en/products.json

+ 1
- 1
components/product-type/ProductType.jsx Просмотреть файл

MenuProps={{ MenuProps={{
disableScrollLock: true, disableScrollLock: true,
}} }}
label={t('products:tpe')}
label={t('products:type')}
labelId="product-type-label" labelId="product-type-label"
id="product-type-label" id="product-type-label"
value={productType} value={productType}

+ 1
- 1
components/sort/Sort.jsx Просмотреть файл

onChange={handleSortChange} onChange={handleSortChange}
> >
<MenuItem value="asc">{t('products:asc')}</MenuItem> <MenuItem value="asc">{t('products:asc')}</MenuItem>
<MenuItem value="desc">{t('products:desx')}</MenuItem>
<MenuItem value="desc">{t('products:desc')}</MenuItem>
</Select> </Select>
</FormControl> </FormControl>
</> </>

+ 1
- 1
public/locales/en/products.json Просмотреть файл

"type": "Product Type", "type": "Product Type",
"all": "All", "all": "All",
"coffee": "Coffee", "coffee": "Coffee",
"mug": "mug",
"mug": "Mug",
"loading": "Loading...", "loading": "Loading...",
"more": "Load More", "more": "Load More",
"end": "Nothing more to load", "end": "Nothing more to load",

Загрузка…
Отмена
Сохранить