aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-26 15:54:28 +0200
committerArmand Philippot <git@armandphilippot.com>2023-10-24 12:23:48 +0200
commit70efcfeaa0603415dd992cb662d8efb960e6e49a (patch)
tree5d37e98fae9aa7e5c3d8ef30a10db9fed9b63e36 /src/i18n
parent31695306bfed44409f03006ea717fd2cceff8f87 (diff)
refactor(routes): replace hardcoded routes with constants
It makes it easier to change a route if needed and it avoid typo mistakes. I also refactored a bit the concerned files to be complient with the new ESlint config. However, I should rewrite the pages to reduce the number of statements.
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/en.json12
-rw-r--r--src/i18n/fr.json12
2 files changed, 16 insertions, 8 deletions
diff --git a/src/i18n/en.json b/src/i18n/en.json
index 02952b4..277ed23 100644
--- a/src/i18n/en.json
+++ b/src/i18n/en.json
@@ -143,6 +143,10 @@
"defaultMessage": "Contact",
"description": "Layout: main nav - contact link"
},
+ "AN9iy7": {
+ "defaultMessage": "Contact",
+ "description": "ContactPage: page title"
+ },
"AuGklx": {
"defaultMessage": "License:",
"description": "Meta: license label"
@@ -203,10 +207,6 @@
"defaultMessage": "Topics",
"description": "Error404Page: topics list widget title"
},
- "Gnf1Si": {
- "defaultMessage": "{starsCount, plural, =0 {No stars on Github} one {# star on Github} other {# stars on Github}}",
- "description": "Projets: Github stars count"
- },
"HFdzae": {
"defaultMessage": "Contact form",
"description": "ContactForm: form accessible name"
@@ -559,6 +559,10 @@
"defaultMessage": "No comments.",
"description": "PageLayout: no comments text"
},
+ "sI7gJK": {
+ "defaultMessage": "{starsCount, plural, =0 {No stars on Github} one {# star on Github} other {# stars on Github}}",
+ "description": "ProjectsPage: Github stars count"
+ },
"sO/Iwj": {
"defaultMessage": "Contact me",
"description": "HomePage: contact button text"
diff --git a/src/i18n/fr.json b/src/i18n/fr.json
index 2ec3657..69f6b42 100644
--- a/src/i18n/fr.json
+++ b/src/i18n/fr.json
@@ -143,6 +143,10 @@
"defaultMessage": "Contact",
"description": "Layout: main nav - contact link"
},
+ "AN9iy7": {
+ "defaultMessage": "Contact",
+ "description": "ContactPage: page title"
+ },
"AuGklx": {
"defaultMessage": "Licence :",
"description": "Meta: license label"
@@ -203,10 +207,6 @@
"defaultMessage": "Sujets",
"description": "Error404Page: topics list widget title"
},
- "Gnf1Si": {
- "defaultMessage": "{starsCount, plural, =0 {0 étoile sur Github} one {# étoile sur Github} other {# étoiles sur Github}}",
- "description": "Projets: Github stars count"
- },
"HFdzae": {
"defaultMessage": "Formulaire de contact",
"description": "ContactForm: form accessible name"
@@ -559,6 +559,10 @@
"defaultMessage": "Aucun commentaire.",
"description": "PageLayout: no comments text"
},
+ "sI7gJK": {
+ "defaultMessage": "{starsCount, plural, =0 {0 étoile sur Github} one {# étoile sur Github} other {# étoiles sur Github}}",
+ "description": "ProjectsPage: Github stars count"
+ },
"sO/Iwj": {
"defaultMessage": "Me contacter",
"description": "HomePage: contact button text"