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:
sdarbinyan
2026-07-25 23:54:08 +04:00
parent 0982397d6b
commit 1163bfd88a
14 changed files with 68 additions and 18 deletions

View File

@@ -161,7 +161,7 @@ export const hy: Translations = {
addToCart: 'Ավելացնել զամբյուղ',
loadingMore: 'Բեռնում...',
allLoaded: 'Բոլոր ապրանքները բեռնված են',
emptyTitle: 'Վա՜յ, այստեղ դեռ դատարկ է',
emptyTitle: 'Այստեղ դեռ դատարկ է',
emptyDesc: 'Այս կատեգորիայում դեռ ապրանքներ չկան',
goHome: 'Գլխավոր',
loading: 'Ապրանքների բեռնում...',
@@ -1086,6 +1086,17 @@ export const hy: Translations = {
remove: 'Հեռացնել',
errorTitle: 'Ինչ-որ բան այն չէ',
errorDescription: 'Չհաջողվեց բեռնել տվյալները։ Փորձեք կրկին։',
ratingLabel: 'Վարկանիշ {{value}}',
discountLabel: 'Զեղչ {{value}}%',
slideLabel: 'Սլայդ {{value}}',
slidesLabel: 'Սլայդներ',
previousProducts: 'Նախորդ ապրանքները',
nextProducts: 'Հաջորդ ապրանքները',
closeDialog: 'Փակել պատուհանը',
dismiss: 'Փակել',
qrCode: 'QR կոդ',
bankCardPayment: 'Վճարում բանկային քարտով',
guest: 'Հյուր',
},
location: {
allRegions: 'Բոլոր տարածաշրջանները',