fix(storefront): replace hardcoded strings with i18n, neutral empty-state wording
- Route aria-label/alt/title strings (rating, discount, carousel arrows, hero slides, dialog close, toast dismiss, QR code, bank payment iframe, guest checkout fallback) through the translate pipe/service instead of literal English. - Drop the "Oops!"/"Упс!" apology framing from category/subcategory empty states (en/ru/hy) - zero results is not an error.
This commit is contained in:
@@ -161,7 +161,7 @@ export const en: Translations = {
|
||||
addToCart: 'Add to cart',
|
||||
loadingMore: 'Loading...',
|
||||
allLoaded: 'All products loaded',
|
||||
emptyTitle: 'Oops! Nothing here yet',
|
||||
emptyTitle: 'Nothing here yet',
|
||||
emptyDesc: 'There are no products in this category yet, but they will appear soon',
|
||||
goHome: 'Go home',
|
||||
loading: 'Loading products...',
|
||||
@@ -339,7 +339,7 @@ export const en: Translations = {
|
||||
subcategories: {
|
||||
loading: 'Loading subcategories...',
|
||||
retry: 'Try again',
|
||||
emptyTitle: 'Oops! No subcategories yet',
|
||||
emptyTitle: 'No subcategories yet',
|
||||
emptyDesc: 'There are no subcategories in this section yet, but they will appear soon',
|
||||
goHome: 'Go home',
|
||||
itemsInCategory: 'Items in this category',
|
||||
@@ -1086,6 +1086,17 @@ export const en: Translations = {
|
||||
remove: 'Remove',
|
||||
errorTitle: 'Something went wrong',
|
||||
errorDescription: 'We could not load this data. Please try again.',
|
||||
ratingLabel: 'Rating {{value}}',
|
||||
discountLabel: 'Discount {{value}}%',
|
||||
slideLabel: 'Slide {{value}}',
|
||||
slidesLabel: 'Slides',
|
||||
previousProducts: 'Previous products',
|
||||
nextProducts: 'Next products',
|
||||
closeDialog: 'Close dialog',
|
||||
dismiss: 'Dismiss',
|
||||
qrCode: 'QR Code',
|
||||
bankCardPayment: 'Bank card payment',
|
||||
guest: 'Guest',
|
||||
},
|
||||
location: {
|
||||
allRegions: 'All regions',
|
||||
|
||||
Reference in New Issue
Block a user