mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-19 19:55:16 +00:00
fix: fix stats contributed to translations (#2708)
* fix: fix stats contributed to translations * Improved russian and ukrainian translation of statcard.contribs (#2715) --------- Co-authored-by: Alexandr Garbuzov <53787217+qwerty541@users.noreply.github.com>
This commit is contained in:
parent
31ffe56168
commit
f2841e09e1
3 changed files with 31 additions and 31 deletions
|
|
@ -165,7 +165,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
|
|||
},
|
||||
contribs: {
|
||||
icon: icons.contribs,
|
||||
label: i18n.t("statcard.contribs") + " (last year)",
|
||||
label: i18n.t("statcard.contribs"),
|
||||
value: contributedTo,
|
||||
id: "contribs",
|
||||
},
|
||||
|
|
|
|||
|
|
@ -166,35 +166,35 @@ const statCardLocales = ({ name, apostrophe }) => {
|
|||
se: "Total antal issues",
|
||||
},
|
||||
"statcard.contribs": {
|
||||
ar: "ساهم في",
|
||||
cn: "参与项目数",
|
||||
"zh-tw": "參與項目數",
|
||||
cs: "Přispěl k",
|
||||
de: "Beigetragen zu",
|
||||
en: "Contributed to",
|
||||
bn: "অবদান রেখেছেন",
|
||||
es: "Contribuciones en",
|
||||
fr: "Contribué à",
|
||||
hu: "Hozzájárulások",
|
||||
it: "Ha contribuito a",
|
||||
ja: "貢献したリポジトリ",
|
||||
kr: "전체 기여도",
|
||||
nl: "Bijgedragen aan",
|
||||
"pt-pt": "Contribuiu em",
|
||||
"pt-br": "Contribuiu para",
|
||||
np: "कुल योगदानहरू",
|
||||
el: "Συνεισφέρθηκε σε",
|
||||
ru: "Внёс вклад в",
|
||||
"uk-ua": "Вніс внесок у",
|
||||
id: "Berkontribusi ke",
|
||||
ml: "സമർപ്പിച്ചിരിക്കുന്നത്",
|
||||
my: "Menyumbang kepada",
|
||||
sk: "Účasti",
|
||||
tr: "Katkı Verildi",
|
||||
pl: "Kontrybucje",
|
||||
uz: "Hissa qoʻshgan",
|
||||
vi: "Đã Đóng Góp",
|
||||
se: "Bidragit till",
|
||||
ar: "ساهم في (العام الماضي)",
|
||||
cn: "贡献于(去年)",
|
||||
"zh-tw": "參與項目數 (去年)",
|
||||
cs: "Přispěl k (minulý rok)",
|
||||
de: "Beigetragen zu (letztes Jahr)",
|
||||
en: "Contributed to (last year)",
|
||||
bn: "অবদান (গত বছর)",
|
||||
es: "Contribuciones en (el año pasado)",
|
||||
fr: "Contribué à (l'année dernière)",
|
||||
hu: "Hozzájárulások (tavaly)",
|
||||
it: "Ha contribuito a (l'anno scorso)",
|
||||
ja: "貢献したリポジトリ (昨年)",
|
||||
kr: "(작년) 기여",
|
||||
nl: "Bijgedragen aan (vorig jaar)",
|
||||
"pt-pt": "Contribuiu em (ano passado)",
|
||||
"pt-br": "Contribuiu para (ano passado)",
|
||||
np: "कुल योगदानहरू (गत वर्ष)",
|
||||
el: "Συνεισφέρθηκε σε (πέρυσι)",
|
||||
ru: "Внёс вклад в (за прошлый год)",
|
||||
"uk-ua": "Зробив внесок у (за минулий рік)",
|
||||
id: "Berkontribusi ke (tahun lalu)",
|
||||
ml: "സമർപ്പിച്ചിരിക്കുന്നത് (കഴിഞ്ഞ വർഷം)",
|
||||
my: "Menyumbang kepada (tahun lepas)",
|
||||
sk: "Účasti (minulý rok)",
|
||||
tr: "Katkı Verildi (geçen yıl)",
|
||||
pl: "Kontrybucje (w zeszłym roku)",
|
||||
uz: "Hissa qoʻshgan (o'tgan yili)",
|
||||
vi: "Đã Đóng Góp (năm ngoái)",
|
||||
se: "Bidragit till (förra året)",
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -348,7 +348,7 @@ describe("Test renderStatsCard", () => {
|
|||
document.querySelector(
|
||||
'g[transform="translate(0, 100)"]>.stagger>.stat.bold',
|
||||
).textContent,
|
||||
).toMatchInlineSnapshot(`"参与项目数 (last year):"`);
|
||||
).toMatchInlineSnapshot(`"贡献于(去年):"`);
|
||||
});
|
||||
|
||||
it("should render without rounding", () => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue