fix: text overlap (#1207)

* feat(statCard): added more concise description

* fix: removed isLongLocale param

* Revert "fix: removed isLongLocale param"

This reverts commit 55f1e2d8c2c063476c591714146aa82003cddbfd.

* feat: add de and nl to longLocal to fix padding
This commit is contained in:
Julian Holfeld
2021-09-02 19:29:39 +02:00
committed by GitHub
parent 1a3edcaae0
commit d790404c76
2 changed files with 6 additions and 4 deletions
+2
View File
@@ -147,6 +147,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
"id",
"my",
"pl",
"de",
"nl",
];
const isLongLocale = longLocales.includes(locale) === true;
+4 -4
View File
@@ -33,8 +33,8 @@ const statCardLocales = ({ name, apostrophe }) => {
ar: "مجموع النجوم",
cn: "获标星数(star",
cs: "Celkem hvězd",
de: "Sterne Insgesamt",
en: "Total Stars",
de: "Insgesamt erhaltene Sterne",
en: "Total stars received",
bn: "সর্বমোট Stars",
es: "Estrellas totales",
fr: "Total d'étoiles",
@@ -42,7 +42,7 @@ const statCardLocales = ({ name, apostrophe }) => {
it: "Stelle totali",
ja: "スターされた数",
kr: "받은 스타 수",
nl: "Totale Sterren",
nl: "Totaal sterren ontvangen",
"pt-pt": "Total de estrelas",
"pt-br": "Total de estrelas",
np: "कुल ताराहरू",
@@ -53,7 +53,7 @@ const statCardLocales = ({ name, apostrophe }) => {
my: "Jumlah Bintang",
sk: "Hviezdy",
tr: "Toplam Yıldız",
pl: "Liczba Gwiazdek",
pl: "Liczba Gwiazdek dostanych",
},
"statcard.commits": {
ar: "مجموع الحفظ",