fix: i18n gaps in popular searches and compare table
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
- SearchFacade.popularSearches hardcoded English titles regardless of active locale. Converted to a getter using translate.t() for the displayed title/text; the underlying search query stays the stable English canonical term the backend index matches against. - Compare table and compare page rendered product.name raw instead of through getTranslatedField(), same pattern used everywhere else product titles are shown (catalog, product detail). - SearchTrendingService.loadTrending() is a genuine backend gap (no trending-search endpoint exists) - already degrades gracefully, documented as a gap in BACKEND-API-REFERENCE.md \u00a712.6 rather than faked client-side. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -144,6 +144,10 @@ export const hy: Translations = {
|
||||
noResultsHint: 'Փորձեք փոխել հարցումը կամ օգտագործել այլ բանալի բառեր',
|
||||
emptyResultsAria: 'Դատարկ որոնման արդյունքներ',
|
||||
popularCategories: 'Հանրաճանաչ կատեգորիաներ',
|
||||
popularSmartphones: 'Սմարթֆոններ',
|
||||
popularSneakers: 'Կեդեր',
|
||||
popularHeadphones: 'Ականջակալներ',
|
||||
popularLaptops: 'Նոութբուքեր',
|
||||
recommendedProducts: 'Առաջարկվող ապրանքներ',
|
||||
aiSuggestionHint: 'AI առաջարկ (ապագայում)',
|
||||
suggestionType: {
|
||||
|
||||
Reference in New Issue
Block a user