Unverified Commit d790404c authored by Julian Holfeld's avatar Julian Holfeld Committed by GitHub
Browse files

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
parent 1a3edcaa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -147,6 +147,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
    "id",
    "my",
    "pl",
    "de",
    "nl",
  ];
  const isLongLocale = longLocales.includes(locale) === true;

+4 −4
Original line number Diff line number Diff line
@@ -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: "مجموع الحفظ",