Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion components/community/routes/HomeRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,14 @@ export function HomeRoute({ ghVersion }: { ghVersion: string }) {
href="#download"
>
<div className="hero-stat-num">
{statsLoading ? <span className="stat-skeleton" aria-hidden="true" /> : formatNum(totalDownloads ?? 0)}
{statsLoading ? (
<span className="stat-skeleton" aria-hidden="true" />
) : (
<>
{formatNum(totalDownloads ?? 0)}
<sup style={{ fontSize: '0.5em', marginLeft: 1, color: 'var(--ink-3)' }}>*</sup>
</>
)}
</div>
<div className="hero-stat-label">{t('hero.stat.dl')}</div>
</a>
Expand Down Expand Up @@ -147,6 +154,13 @@ export function HomeRoute({ ghVersion }: { ghVersion: string }) {
<p>{t('hero.c4.p')}</p>
</div>
</div>

<p
className="hero-concepts-note"
style={{ marginTop: 20, fontSize: 12, color: 'var(--ink-3)', lineHeight: 1.5 }}
>
{t('hero.stat.dl.note')}
</p>
</div>
</section>

Expand Down
3 changes: 2 additions & 1 deletion public/locales/de/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,6 @@
"tag.tab": "tabellarisch",
"tag.tr": "Übersetzung",
"hero.stat.stars": "Unterstütze uns mit einem Stern",
"hero.stat.dl": "Downloads insgesamt"
"hero.stat.dl": "Downloads insgesamt",
"hero.stat.dl.note": "* Downloads gezählt über SourceForge, PyPI (via Google BigQuery), diese Website und GitHub."
}
1 change: 1 addition & 0 deletions public/locales/en/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,6 @@
"tag.tr": "translation",
"hero.stat.stars": "Support us with a star",
"hero.stat.dl": "Total downloads",
"hero.stat.dl.note": "* Downloads counted across SourceForge, PyPI (via Google BigQuery), this website, and GitHub.",
"hero.stat.updated": "Last update: {{date}}"
}
1 change: 1 addition & 0 deletions public/locales/es/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,6 @@
"tag.tr": "traducción",
"hero.stat.stars": "Apóyanos con una estrella",
"hero.stat.dl": "Total descargas",
"hero.stat.dl.note": "* Descargas contabilizadas desde SourceForge, PyPI (mediante Google BigQuery), este sitio web y GitHub.",
"hero.stat.updated": "Última actualización: {{date}}"
}
1 change: 1 addition & 0 deletions public/locales/pt/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,6 @@
"tag.tr": "tradução",
"hero.stat.stars": "Apoie-nos com uma estrela",
"hero.stat.dl": "Total downloads",
"hero.stat.dl.note": "* Downloads contabilizados no SourceForge, PyPI (via Google BigQuery), neste site e no GitHub.",
"hero.stat.updated": "Última atualização: {{date}}"
}
3 changes: 2 additions & 1 deletion public/locales/zh/home.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,6 @@
"tag.tab": "表格",
"tag.tr": "翻译",
"hero.stat.stars": "为我们点亮一颗 Star",
"hero.stat.dl": "总下载量"
"hero.stat.dl": "总下载量",
"hero.stat.dl.note": "* 下载量统计自 SourceForge、PyPI(通过 Google BigQuery)、本网站和 GitHub。"
}
Loading