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

This commit is contained in:
Anurag Hazra
2021-09-06 00:29:18 +05:30
committed by GitHub
parent 98ceb75688
commit c3ecd0cea3
2 changed files with 11 additions and 16 deletions
+10 -15
View File
@@ -78,20 +78,15 @@ 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({
title_color,
icon_color,
text_color,
bg_color,
border_color,
theme,
});
const { titleColor, textColor, iconColor, bgColor, borderColor } =
getCardColors({
title_color,
icon_color,
text_color,
bg_color,
border_color,
theme,
});
const apostrophe = ["x", "s"].includes(name.slice(-1).toLocaleLowerCase())
? ""
@@ -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
View File
@@ -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",