mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-05-25 01:36:20 +00:00
chore: change total stars to total stars earned (#1293)
This commit is contained in:
+10
-15
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user