aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ProjectSummary/ProjectSummary.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-13 17:22:33 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-13 17:22:33 +0100
commit45e4e10f4c7b818e83f6f7ab0255206e90f55851 (patch)
tree9007744fa0d0faaba1c13edb7fd08f17e30270c6 /src/components/ProjectSummary/ProjectSummary.tsx
parent22d5ffa155080037a32a64814002b987bddce3b4 (diff)
chore: update some texts to reduce its width
In French, "Utiliser le thème sombre" was a little too long, so instead I decided to remove the "Toggle" word and add an icon to help user understand the button purpose. Same way, "Aucune étoile" was too long, so I replace it with "0 étoile"
Diffstat (limited to 'src/components/ProjectSummary/ProjectSummary.tsx')
-rw-r--r--src/components/ProjectSummary/ProjectSummary.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ProjectSummary/ProjectSummary.tsx b/src/components/ProjectSummary/ProjectSummary.tsx
index 03c9b87..e51015e 100644
--- a/src/components/ProjectSummary/ProjectSummary.tsx
+++ b/src/components/ProjectSummary/ProjectSummary.tsx
@@ -152,8 +152,8 @@ const ProjectSummary = ({
{intl.formatMessage(
{
defaultMessage:
- '{starsCount, plural, =0 {No stars on Github} one {# star on Github} other {# stars on Github}}',
- description: 'ProjectPreview: technologies list label',
+ '{starsCount, plural, =0 {0 stars on Github} one {# star on Github} other {# stars on Github}}',
+ description: 'ProjectSummary: technologies list label',
},
{ starsCount: data.stargazers_count }
)}