Skip to content

Commit 4f576e7

Browse files
committed
Merge branch 'main' into feat-change-i18n-configuration
2 parents f9002f2 + f5ffde3 commit 4f576e7

7 files changed

Lines changed: 5 additions & 86 deletions

File tree

app/pages/about.vue

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -161,42 +161,6 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri
161161
</ul>
162162
</div>
163163

164-
<div>
165-
<h2 class="text-xs text-fg-subtle uppercase tracking-wider mb-4">
166-
{{ $t('about.vision.title') }}
167-
</h2>
168-
<ul class="space-y-3 text-fg-muted list-none p-0">
169-
<li class="flex items-start gap-3">
170-
<span class="text-accent shrink-0 mt-1.5 w-1.5 h-1.5 rounded-full bg-current" />
171-
<span>
172-
<strong class="text-fg">{{ $t('about.vision.speed_first') }}</strong> &mdash;
173-
{{ $t('about.vision.speed_first_description') }}
174-
</span>
175-
</li>
176-
<li class="flex items-start gap-3">
177-
<span class="text-accent shrink-0 mt-1.5 w-1.5 h-1.5 rounded-full bg-current" />
178-
<span>
179-
<strong class="text-fg">{{ $t('about.vision.url_compatible') }}</strong> &mdash;
180-
<i18n-t keypath="about.vision.url_compatible_description" tag="span">
181-
<template #npmjs>
182-
<code class="text-sm bg-bg-subtle px-1.5 py-0.5 rounded">npmjs.com</code>
183-
</template>
184-
<template #npmx>
185-
<code class="text-sm bg-bg-subtle px-1.5 py-0.5 rounded">npmx.dev</code>
186-
</template>
187-
</i18n-t>
188-
</span>
189-
</li>
190-
<li class="flex items-start gap-3">
191-
<span class="text-accent shrink-0 mt-1.5 w-1.5 h-1.5 rounded-full bg-current" />
192-
<span>
193-
<strong class="text-fg">{{ $t('about.vision.simplicity') }}</strong> &mdash;
194-
{{ $t('about.vision.simplicity_description') }}
195-
</span>
196-
</li>
197-
</ul>
198-
</div>
199-
200164
<div>
201165
<h2 class="text-xs text-fg-subtle uppercase tracking-wider mb-4">
202166
{{ $t('about.contributors.title') }}

i18n/locales/de-DE.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -522,15 +522,6 @@
522522
"package": "Paketmanager",
523523
"managers": "bauen"
524524
}
525-
},
526-
"vision": {
527-
"title": "Vision",
528-
"speed_first": "Geschwindigkeit zuerst",
529-
"speed_first_description": "Layout-Shift, Flakiness und Langsamkeit sind das Schlimmste. Wir wollen, dass alles schnell ist, ob Suchen, Filtern oder Navigieren.",
530-
"url_compatible": "URL-kompatibel",
531-
"url_compatible_description": "Ersetze {npmjs} durch {npmx} in jeder URL und es sollte funktionieren und die gleichen Informationen mit besserer Erfahrung bieten.",
532-
"simplicity": "Einfachheit",
533-
"simplicity_description": "Kein Rauschen, überladene Anzeige oder verwirrende UI."
534525
}
535526
},
536527
"header": {

i18n/locales/en.json

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -539,18 +539,9 @@
539539
"managers": "package managers"
540540
}
541541
},
542-
"vision": {
543-
"title": "Vision",
544-
"speed_first": "Speed first",
545-
"speed_first_description": "Layout shift, flakiness, and slowness is The Worst. We want everything to be fast, whether searching, filtering, or navigating.",
546-
"url_compatible": "URL compatible",
547-
"url_compatible_description": "Replace {npmjs} with {npmx} in any URL and it should work, providing the same information with a better experience.",
548-
"simplicity": "Simplicity",
549-
"simplicity_description": "No noise, cluttered display, or confusing UI."
550-
},
551542
"contributors": {
552543
"title": "Contributors",
553-
"description": "npmx is built by an amazing community of contributors.",
544+
"description": "npmx is fully open source, built by an amazing community of contributors.",
554545
"loading": "Loading contributors...",
555546
"error": "Failed to load contributors",
556547
"view_profile": "View {name}'s GitHub profile"
@@ -559,17 +550,17 @@
559550
"title": "Get involved",
560551
"contribute": {
561552
"title": "Contribute",
562-
"description": "Help us build a better npm experience. Check out our GitHub repo to get started.",
553+
"description": "Help us build a better npm experience.",
563554
"cta": "View on GitHub"
564555
},
565556
"community": {
566557
"title": "Join the community",
567-
"description": "Chat with other developers, ask questions, and share ideas on Discord.",
558+
"description": "Chat, ask questions, and share ideas.",
568559
"cta": "Join Discord"
569560
},
570561
"follow": {
571562
"title": "Stay updated",
572-
"description": "Follow us on Bluesky for the latest news, updates, and tips.",
563+
"description": "Find out the latest on npmx.",
573564
"cta": "Follow on Bluesky"
574565
}
575566
}

i18n/locales/fr-FR.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -528,15 +528,6 @@
528528
"package": "super",
529529
"managers": "gestionnaires de paquets"
530530
}
531-
},
532-
"vision": {
533-
"title": "Vision",
534-
"speed_first": "La vitesse d'abord",
535-
"speed_first_description": "Les décalages de mise en page, l'instabilité et la lenteur sont le pire. Nous voulons que tout soit rapide, que ce soit la recherche, le filtrage ou la navigation.",
536-
"url_compatible": "Compatible avec les URL",
537-
"url_compatible_description": "Remplacez {npmjs} par {npmx} dans n'importe quelle URL et cela devrait fonctionner, fournissant les mêmes informations avec une meilleure expérience.",
538-
"simplicity": "Simplicité",
539-
"simplicity_description": "Pas de bruit, d'affichage encombré ou d'interface confuse."
540531
}
541532
},
542533
"header": {

i18n/locales/it-IT.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -538,15 +538,6 @@
538538
"package": "fantastici",
539539
"managers": "gestori di pacchetti"
540540
}
541-
},
542-
"vision": {
543-
"title": "Visione",
544-
"speed_first": "Velocità prima di tutto",
545-
"speed_first_description": "I cambiamenti di layout, l'instabilità e la lentezza sono il peggio. Vogliamo che tutto sia veloce, che si tratti di ricerca, filtro o navigazione.",
546-
"url_compatible": "Compatibile con gli URL",
547-
"url_compatible_description": "Sostituisci {npmjs} con {npmx} in qualsiasi URL e dovrebbe funzionare, fornendo le stesse informazioni con un'esperienza migliore.",
548-
"simplicity": "Semplicità",
549-
"simplicity_description": "Niente rumore, display disordinato o interfaccia confusa."
550541
}
551542
},
552543
"header": {

i18n/locales/zh-CN.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -538,15 +538,6 @@
538538
"package": "棒的",
539539
"managers": "包管理器"
540540
}
541-
},
542-
"vision": {
543-
"title": "愿景",
544-
"speed_first": "速度优先",
545-
"speed_first_description": "布局偏移、不稳定和缓慢是最糟糕的。无论是搜索、筛选还是导航,我们都希望一切都快速。",
546-
"url_compatible": "URL 兼容",
547-
"url_compatible_description": "将任何 URL 中的 {npmjs} 替换为 {npmx},它应该可以工作,提供相同的信息和更好的体验。",
548-
"simplicity": "简洁",
549-
"simplicity_description": "没有噪音、杂乱的显示或令人困惑的界面。"
550541
}
551542
},
552543
"header": {

server/utils/dependency-resolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export const fetchPackument = defineCachedFunction(
2323

2424
return await $fetch<Packument>(`https://registry.npmjs.org/${encodedName}`)
2525
} catch (error) {
26-
// oxlint-disable-next-line no-console -- log npm registry failures for debugging
2726
if (import.meta.dev) {
27+
// oxlint-disable-next-line no-console -- log npm registry failures for debugging
2828
console.warn(`[dep-resolver] Failed to fetch packument for ${name}:`, error)
2929
}
3030
return null

0 commit comments

Comments
 (0)