feat(ux): implement sprint 11 user experience module

This commit is contained in:
sdarbinyan
2026-07-09 01:13:54 +04:00
parent 1a8f916942
commit 92e1bdaff8
59 changed files with 2062 additions and 25 deletions

View File

@@ -8,6 +8,8 @@ export const en: Translations = {
contacts: 'Contacts',
searchPlaceholder: 'Search...',
catalog: 'Catalog',
wishlist: 'Wishlist',
compare: 'Compare',
},
footer: {
description: 'A modern marketplace for comfortable shopping',
@@ -243,4 +245,21 @@ export const en: Translations = {
qrExpired: 'QR code expired. Click to refresh',
qrError: 'Could not create login session. Click to retry',
},
ux: {
items: 'items',
wishlistTitle: 'Wishlist',
wishlistEmptyTitle: 'Your wishlist is empty',
wishlistEmptyDescription: 'Save products to revisit them anytime.',
clearWishlist: 'Clear wishlist',
compareTitle: 'Compare Products',
compareEmptyTitle: 'No products to compare',
compareEmptyDescription: 'Add products from catalog cards to compare specs and prices.',
clearCompare: 'Clear compare',
hideIdentical: 'Hide identical values',
highlightDifferences: 'Highlight differences',
clearRecentlyViewed: 'Clear recently viewed',
recentlyViewedEmpty: 'No recently viewed products yet.',
saveSearch: 'Save search',
goToCatalog: 'Go to catalog',
},
};

View File

@@ -8,6 +8,8 @@ export const hy: Translations = {
contacts: 'Կապ',
searchPlaceholder: 'Փնտրել...',
catalog: 'Կատալոգ',
wishlist: 'Ընտրյալ',
compare: 'Համեմատում',
},
footer: {
description: 'Ժամանակակից մարքեթփլեյս հարմար գնումների համար',
@@ -243,4 +245,21 @@ export const hy: Translations = {
qrExpired: 'QR կոդը հնացել է։ Սեղմեք՝ թարմացնելու համար',
qrError: 'Չհաջողվեց ստեղծել մուտքի սեսիա։ Սեղմեք՝ կրկնելու համար',
},
ux: {
items: 'ապրանք',
wishlistTitle: 'Ընտրյալներ',
wishlistEmptyTitle: 'Ընտրյալները դատարկ են',
wishlistEmptyDescription: 'Պահպանեք ապրանքները, որպեսզի արագ վերադառնաք դրանց։',
clearWishlist: 'Մաքրել ընտրյալները',
compareTitle: 'Ապրանքների համեմատում',
compareEmptyTitle: 'Համեմատելու ապրանքներ չկան',
compareEmptyDescription: 'Ավելացրեք ապրանքներ կատալոգից՝ բնութագրերը և գները համեմատելու համար։',
clearCompare: 'Մաքրել համեմատումը',
hideIdentical: 'Թաքցնել նույն արժեքները',
highlightDifferences: 'Ընդգծել տարբերությունները',
clearRecentlyViewed: 'Մաքրել դիտվածները',
recentlyViewedEmpty: 'Դուք դեռ ապրանքներ չեք դիտել։',
saveSearch: 'Պահպանել որոնումը',
goToCatalog: 'Գնալ կատալոգ',
},
};

View File

@@ -8,6 +8,8 @@ export const ru: Translations = {
contacts: 'Контакты',
searchPlaceholder: 'Искать...',
catalog: 'Каталог',
wishlist: 'Избранное',
compare: 'Сравнение',
},
footer: {
description: 'Современный маркетплейс для комфортных покупок',
@@ -243,4 +245,21 @@ export const ru: Translations = {
qrExpired: 'QR-код устарел. Нажмите, чтобы обновить',
qrError: 'Не удалось создать сессию входа. Нажмите, чтобы повторить',
},
ux: {
items: 'товаров',
wishlistTitle: 'Избранное',
wishlistEmptyTitle: 'Избранное пока пусто',
wishlistEmptyDescription: 'Сохраняйте товары, чтобы быстро вернуться к ним позже.',
clearWishlist: 'Очистить избранное',
compareTitle: 'Сравнение товаров',
compareEmptyTitle: 'Нет товаров для сравнения',
compareEmptyDescription: 'Добавьте товары из каталога, чтобы сравнить характеристики и цену.',
clearCompare: 'Очистить сравнение',
hideIdentical: 'Скрыть одинаковые значения',
highlightDifferences: 'Подсвечивать различия',
clearRecentlyViewed: 'Очистить просмотренные',
recentlyViewedEmpty: 'Вы пока не просматривали товары.',
saveSearch: 'Сохранить поиск',
goToCatalog: 'Перейти в каталог',
},
};

View File

@@ -6,6 +6,8 @@ export interface Translations {
contacts: string;
searchPlaceholder: string;
catalog: string;
wishlist: string;
compare: string;
};
footer: {
description: string;
@@ -241,4 +243,21 @@ export interface Translations {
qrExpired: string;
qrError: string;
};
ux: {
items: string;
wishlistTitle: string;
wishlistEmptyTitle: string;
wishlistEmptyDescription: string;
clearWishlist: string;
compareTitle: string;
compareEmptyTitle: string;
compareEmptyDescription: string;
clearCompare: string;
hideIdentical: string;
highlightDifferences: string;
clearRecentlyViewed: string;
recentlyViewedEmpty: string;
saveSearch: string;
goToCatalog: string;
};
}