Skip to content

Commit 1e047d5

Browse files
committed
Fix contributors title, add missing translation
1 parent 306d537 commit 1e047d5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

app/pages/about.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,13 @@ const { data: contributors, status: contributorsStatus } = useFetch<GitHubContri
162162

163163
<div>
164164
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">
165-
{{ contributors?.length ?? 0 }} {{ $t('about.contributors.title') }}
165+
{{
166+
$t(
167+
'about.contributors.title',
168+
{ count: $n(contributors?.length ?? 0) },
169+
contributors?.length ?? 0,
170+
)
171+
}}
166172
</h2>
167173
<p class="text-fg-muted leading-relaxed mb-6">
168174
{{ $t('about.contributors.description') }}

i18n/locales/cs-CZ.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@
295295
"no_types": "Žádné typy TypeScriptu"
296296
},
297297
"license": {
298-
"view_spdx": "Zobrazit text licence na SPDX"
298+
"view_spdx": "Zobrazit text licence na SPDX",
299+
"none": "Žádná"
299300
},
300301
"vulnerabilities": {
301302
"no_description": "Popis není k dispozici",
@@ -735,7 +736,7 @@
735736
}
736737
},
737738
"contributors": {
738-
"title": "Přispěvatelé",
739+
"title": "Přispěvatelé | {count} přispěvatelé | {count} přispěvatelů",
739740
"description": "npmx je plně open source, postavený úžasnou komunitou přispěvatelů. Přidejte se k nám a společně vytvořme npm prohlížeč, jaký jsme vždy chtěli.",
740741
"loading": "Načítání přispěvatelů...",
741742
"error": "Nepodařilo se načíst přispěvatele",

0 commit comments

Comments
 (0)