From d790404c766d2b62c6911bd2d1f88e59d4420aac Mon Sep 17 00:00:00 2001 From: Julian Holfeld Date: Thu, 2 Sep 2021 19:29:39 +0200 Subject: [PATCH] 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 --- src/cards/stats-card.js | 2 ++ src/translations.js | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/cards/stats-card.js b/src/cards/stats-card.js index 99582e0..345c2a4 100644 --- a/src/cards/stats-card.js +++ b/src/cards/stats-card.js @@ -147,6 +147,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => { "id", "my", "pl", + "de", + "nl", ]; const isLongLocale = longLocales.includes(locale) === true; diff --git a/src/translations.js b/src/translations.js index 7f3a0f1..c6f3998 100644 --- a/src/translations.js +++ b/src/translations.js @@ -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: "مجموع الحفظ",