diff --git a/components/AppStore/AppStore.jsx b/components/AppStore/AppStore.jsx index 5fae2cf..af3ebd9 100644 --- a/components/AppStore/AppStore.jsx +++ b/components/AppStore/AppStore.jsx @@ -62,15 +62,15 @@ const AppStore = () => {
-

{t.appStore.title}

+

{t.appStore?.title || 'App Store'}

- {t.appStore.description} + {t.appStore?.description || 'Browse available installers.'}

setSearch(e.target.value)} className="w-full pl-12 pr-4 py-3 rounded-full bg-zinc-100 dark:bg-zinc-800 border-none focus:ring-2 focus:ring-blue-500 text-zinc-900 dark:text-white placeholder-zinc-500" @@ -86,7 +86,7 @@ const AppStore = () => { className="inline-flex items-center gap-2 px-6 py-2.5 rounded-full bg-blue-600 text-white font-medium hover:bg-blue-700 transition-colors shadow-lg shadow-blue-500/20" > - {t.appStore.publish} + {t.appStore?.publish || 'Publish'}
@@ -104,7 +104,7 @@ const AppStore = () => { : 'bg-white dark:bg-zinc-900 text-zinc-600 dark:text-zinc-400 border border-zinc-200 dark:border-zinc-800 hover:bg-zinc-50 dark:hover:bg-zinc-800' }`} > - {t.appStore.filters[f.toLowerCase()]} + {t.appStore?.filters?.[f.toLowerCase()] || f} ))}
@@ -112,7 +112,7 @@ const AppStore = () => { {loading ? (
-

{t.appStore.loading}

+

{t.appStore?.loading || 'Loading...'}

) : (
@@ -147,14 +147,14 @@ const AppStore = () => { className="flex-1 py-2 px-4 rounded-lg bg-zinc-100 dark:bg-zinc-800 text-zinc-900 dark:text-white text-center text-sm font-medium hover:bg-zinc-200 dark:hover:bg-zinc-700 transition-colors flex items-center justify-center gap-2" > - {t.appStore.card.details} + {t.appStore?.card?.details || 'Details'} - {t.appStore.card.install} + {t.appStore?.card?.install || 'Install'}
diff --git a/i18n/translations/en.js b/i18n/translations/en.js index 8071afc..3215b79 100644 --- a/i18n/translations/en.js +++ b/i18n/translations/en.js @@ -9,6 +9,24 @@ export const en = { docs: 'Docs', download: 'Download', }, + appStore: { + title: 'App Store', + description: 'Browse and install community-maintained installers for your favorite Windows applications.', + searchPlaceholder: 'Search installers...', + publish: 'Publish your installer', + loading: 'Fetching installers from the database...', + filters: { + all: 'All', + platinum: 'Platinum', + gold: 'Gold', + silver: 'Silver', + bronze: 'Bronze' + }, + card: { + details: 'Details', + install: 'Install' + } + }, hero: { badge: 'Latest Release: ', badgeLoading: 'Loading Release...', diff --git a/i18n/translations/es.js b/i18n/translations/es.js index 53e6519..186532f 100644 --- a/i18n/translations/es.js +++ b/i18n/translations/es.js @@ -9,6 +9,24 @@ export const es = { docs: 'Documentación', download: 'Descargar', }, + appStore: { + title: 'Tienda de Aplicaciones', + description: 'Explore e instale instaladores mantenidos por la comunidad para sus aplicaciones favoritas de Windows.', + searchPlaceholder: 'Buscar instaladores...', + publish: 'Publicar tu instalador', + loading: 'Cargando instaladores desde la base de datos...', + filters: { + all: 'Todos', + platinum: 'Platino', + gold: 'Oro', + silver: 'Plata', + bronze: 'Bronce' + }, + card: { + details: 'Detalles', + install: 'Instalar' + } + }, hero: { badge: 'Última versión: ', badgeLoading: 'Cargando...', diff --git a/i18n/translations/it.js b/i18n/translations/it.js index 0e4562b..e756310 100644 --- a/i18n/translations/it.js +++ b/i18n/translations/it.js @@ -9,6 +9,24 @@ export const it = { docs: 'Documentazione', download: 'Scarica', }, + appStore: { + title: 'App Store', + description: 'Sfoglia e installa i pacchetti gestiti dalla comunità per le tue applicazioni Windows preferite.', + searchPlaceholder: 'Cerca installatori...', + publish: 'Pubblica il tuo pacchetto', + loading: 'Caricamento degli installatori dal database...', + filters: { + all: 'Tutti', + platinum: 'Platino', + gold: 'Oro', + silver: 'Argento', + bronze: 'Bronzo' + }, + card: { + details: 'Dettagli', + install: 'Installa' + } + }, hero: { badge: 'Ultima versione: ', badgeLoading: 'Caricamento...',