Add internationalization support (#738)

This commit is contained in:
Sasha Sorokin
2023-06-11 19:08:16 +01:00
committed by GitHub
parent 776c16cd49
commit de991041c4
12 changed files with 651 additions and 10 deletions

17
locales/en-US/index.json Normal file
View File

@@ -0,0 +1,17 @@
{
"frog": {
"message": "You've been frogged! 🐸"
},
"frog.altText": {
"message": "A photorealistic painting of a frog labyrinth"
},
"frog.froggedPeople": {
"message": "{count, plural, one {{count} more person} other {{count} more people}} were also frogged!"
},
"frog.sinceOpened": {
"message": "This page was opened {ago}"
},
"frog.title": {
"message": "Frog"
}
}

View File

@@ -0,0 +1,3 @@
{
"en-US": "American English"
}

6
locales/en-US/meta.json Normal file
View File

@@ -0,0 +1,6 @@
{
"displayName": {
"description": "The name of the language in dialect form (e.g. Français canadien for French spoken in Canada, not French (Canada))",
"message": "American English"
}
}