mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-08-02 07:34:33 +02:00
- Added translations
- Added pluralization example - Added formatter example (with Luxon) - Used HTTP loader - Added a suspense fallback page for app loading - Added cypress eslint rules
This commit is contained in:
24
public/i18n/en.json
Normal file
24
public/i18n/en.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"common": {
|
||||
"welcome": "Welcome!"
|
||||
},
|
||||
"navBar": {
|
||||
"intro": "Our fancy header with navigation.",
|
||||
"version": "App version:",
|
||||
"currentDate": "Today's date: {{date, formattedDate}}"
|
||||
},
|
||||
"nav": {
|
||||
"home": "home",
|
||||
"about": "about",
|
||||
"counter": "counter"
|
||||
},
|
||||
"about": {
|
||||
"title": "About"
|
||||
},
|
||||
"counter": {
|
||||
"status": "Working status: {{status}}",
|
||||
"add_zero": "Please enter a value",
|
||||
"add_one": "Add one",
|
||||
"add_other": "Add {{count}}"
|
||||
}
|
||||
}
|
24
public/i18n/nl.json
Normal file
24
public/i18n/nl.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"common": {
|
||||
"welcome": "Welkom!"
|
||||
},
|
||||
"navBar": {
|
||||
"intro": "Een fancy header met navigatie",
|
||||
"version": "Aplicatie versie:",
|
||||
"currentDate": "De datum van vandaag: {{date, formattedDate}}"
|
||||
},
|
||||
"nav": {
|
||||
"home": "home",
|
||||
"about": "over ons",
|
||||
"counter": "teller"
|
||||
},
|
||||
"about": {
|
||||
"title": "Over ons"
|
||||
},
|
||||
"counter": {
|
||||
"status": "Staat van werking: {{status}}",
|
||||
"add_zero": "Vul aub een waarde in",
|
||||
"add_one": "+1",
|
||||
"add_other": "Voeg {{count}} toe"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user