From 45e4e10f4c7b818e83f6f7ab0255206e90f55851 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 13 Feb 2022 17:22:33 +0100 Subject: chore: update some texts to reduce its width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" --- src/components/ProjectSummary/ProjectSummary.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/ProjectSummary') 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 } )} -- cgit v1.2.3