Unverified Commit c3ecd0ce authored by Anurag Hazra's avatar Anurag Hazra Committed by GitHub
Browse files

chore: change `total stars` to `total stars earned` (#1293)

parent 98ceb756
Loading
Loading
Loading
Loading
+10 −15
Original line number Diff line number Diff line
@@ -78,13 +78,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
  const lheight = parseInt(line_height, 10);

  // returns theme based colors with proper overrides and defaults
  const {
    titleColor,
    textColor,
    iconColor,
    bgColor,
    borderColor,
  } = getCardColors({
  const { titleColor, textColor, iconColor, bgColor, borderColor } =
    getCardColors({
      title_color,
      icon_color,
      text_color,
@@ -162,7 +157,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
        index,
        showIcons: show_icons,
        shiftValuePos:
          (!include_all_commits ? 50 : 20) + (isLongLocale ? 50 : 0),
          (!include_all_commits ? 50 : 35) + (isLongLocale ? 50 : 0),
      }),
    );

+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ const statCardLocales = ({ name, apostrophe }) => {
      cn: "获标星数(star)",
      cs: "Celkem hvězd",
      de: "Insgesamt erhaltene Sterne",
      en: "Total Stars",
      en: "Total Stars Earned",
      bn: "সর্বমোট Stars",
      es: "Estrellas totales",
      fr: "Total d'étoiles",