Second pass on localization

This commit is contained in:
adilallo
2026-01-30 17:28:48 -07:00
parent 2f37031411
commit 14ec2dd2a0
17 changed files with 179 additions and 59 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"navigation": {
"useCases": "Use cases",
"learn": "Learn",
"about": "About"
},
"buttons": {
"logIn": "Log in",
"createRule": "Create rule"
},
"ariaLabels": {
"mainNavigationHeader": "Main navigation header",
"mainNavigation": "Main navigation",
"navigateToPage": "Navigate to {text} page",
"logInToAccount": "Log in to your account",
"createNewRule": "Create a new rule with avatar decoration"
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"ariaLabels": {
"homePageNavigationHeader": "Home page navigation header",
"mainNavigation": "Main navigation"
}
}
@@ -0,0 +1,11 @@
{
"label": "Select language",
"ariaLabel": "Select language",
"comingSoonMessage": "Language switching functionality coming soon",
"languages": {
"english": {
"name": "English",
"nativeName": "English"
}
}
}
+3
View File
@@ -0,0 +1,3 @@
{
"ariaLabel": "Main navigation menu"
}
+3
View File
@@ -0,0 +1,3 @@
{
"avatarAlt": "Portrait of {author}"
}
+3
View File
@@ -0,0 +1,3 @@
{
"ariaLabel": "Learn more about {title} governance pattern"
}
+28
View File
@@ -0,0 +1,28 @@
{
"cards": {
"consensusClusters": {
"title": "Consensus clusters",
"description": "Units called Circles have the ability to decide and act on matters in their domains, which their members agree on through a Council.",
"iconAlt": "Sociocracy"
},
"consensus": {
"title": "Consensus",
"description": "Decisions that affect the group collectively should involve participation of all participants.",
"iconAlt": "Consensus"
},
"electedBoard": {
"title": "Elected Board",
"description": "An elected board determines policies and organizes their implementation.",
"iconAlt": "Elected Board"
},
"petition": {
"title": "Petition",
"description": "All participants can propose and vote on proposals for the group.",
"iconAlt": "Petition"
}
},
"button": {
"seeAllTemplates": "See all templates"
},
"ariaLabel": "Learn more about {title} governance pattern"
}
+14
View File
@@ -4,6 +4,13 @@ import numberedCards from "./components/numberedCards.json";
import askOrganizer from "./components/askOrganizer.json";
import featureGrid from "./components/featureGrid.json";
import footer from "./components/footer.json";
import header from "./components/header.json";
import homeHeader from "./components/homeHeader.json";
import languageSwitcher from "./components/languageSwitcher.json";
import menuBar from "./components/menuBar.json";
import quoteBlock from "./components/quoteBlock.json";
import ruleCard from "./components/ruleCard.json";
import ruleStack from "./components/ruleStack.json";
import navigation from "./navigation.json";
import metadata from "./metadata.json";
@@ -14,6 +21,13 @@ export default {
askOrganizer,
featureGrid,
footer,
header,
homeHeader,
languageSwitcher,
menuBar,
quoteBlock,
ruleCard,
ruleStack,
navigation,
metadata,
};