Localization with pages context

This commit is contained in:
adilallo
2026-01-30 18:03:50 -07:00
parent 14ec2dd2a0
commit 1280844706
13 changed files with 283 additions and 134 deletions
+1 -5
View File
@@ -1,8 +1,4 @@
{
"_comment": "AskOrganizer component translations",
"title": "Still have questions?",
"subtitle": "Get answers from an experienced organizer",
"buttonText": "Ask an organizer",
"buttonHref": "#contact",
"_comment": "AskOrganizer component defaults (shared across pages)",
"ariaLabel": "Ask an organizer - Contact an organizer for help"
}
+1 -11
View File
@@ -1,29 +1,19 @@
{
"_comment": "FeatureGrid component translations",
"title": "We've got your back, every step of the way",
"subtitle": "Use our toolkit to improve, document, and evolve your organization.",
"_comment": "FeatureGrid component defaults (shared across pages)",
"linkText": "Learn more",
"linkHref": "#",
"ariaLabel": "Feature tools and services",
"features": {
"decisionMaking": {
"labelLine1": "Decision-making",
"labelLine2": "support",
"ariaLabel": "Decision-making support tools"
},
"valuesAlignment": {
"labelLine1": "Values alignment",
"labelLine2": "exercises",
"ariaLabel": "Values alignment exercises"
},
"membershipGuidance": {
"labelLine1": "Membership",
"labelLine2": "guidance",
"ariaLabel": "Membership guidance resources"
},
"conflictResolution": {
"labelLine1": "Conflict resolution",
"labelLine2": "tools",
"ariaLabel": "Conflict resolution tools"
}
}
+1 -6
View File
@@ -1,9 +1,4 @@
{
"_comment": "HeroBanner component translations",
"title": "Collaborate",
"subtitle": "with clarity",
"description": "Help your community make important decisions in a way that reflects its unique values.",
"ctaText": "Learn how CommunityRule works",
"ctaHref": "#",
"_comment": "HeroBanner component defaults (shared across pages)",
"imageAlt": "Hero illustration"
}
+1 -17
View File
@@ -1,24 +1,8 @@
{
"_comment": "NumberedCards component translations",
"title": "How CommunityRule works",
"subtitle": "Here's a quick overview of the process, from start to finish.",
"_comment": "NumberedCards component defaults (shared across pages)",
"titleLg": "How CommunityRule helps",
"buttons": {
"createCommunityRule": "Create CommunityRule",
"seeHowItWorks": "See how it works"
},
"cards": {
"card1": {
"text": "Document how your community makes decisions",
"_comment": "First step card"
},
"card2": {
"text": "Build an operating manual for a successful community",
"_comment": "Second step card"
},
"card3": {
"text": "Get a link to your manual for your group to review and evolve",
"_comment": "Third step card"
}
}
}
+1 -25
View File
@@ -1,28 +1,4 @@
{
"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"
},
"_comment": "RuleStack component defaults (shared across pages)",
"ariaLabel": "Learn more about {title} governance pattern"
}