Localization with pages context
This commit is contained in:
@@ -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,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,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,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,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"
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@ 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 home from "./pages/home.json";
|
||||
import learn from "./pages/learn.json";
|
||||
import navigation from "./navigation.json";
|
||||
import metadata from "./metadata.json";
|
||||
|
||||
@@ -28,6 +30,10 @@ export default {
|
||||
quoteBlock,
|
||||
ruleCard,
|
||||
ruleStack,
|
||||
pages: {
|
||||
home,
|
||||
learn,
|
||||
},
|
||||
navigation,
|
||||
metadata,
|
||||
};
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"_comment": "Home page specific content",
|
||||
"heroBanner": {
|
||||
"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": "#"
|
||||
},
|
||||
"numberedCards": {
|
||||
"title": "How CommunityRule works",
|
||||
"subtitle": "Here's a quick overview of the process, from start to finish.",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"featureGrid": {
|
||||
"title": "We've got your back, every step of the way",
|
||||
"subtitle": "Use our toolkit to improve, document, and evolve your organization.",
|
||||
"features": {
|
||||
"decisionMaking": {
|
||||
"labelLine1": "Decision-making",
|
||||
"labelLine2": "support"
|
||||
},
|
||||
"valuesAlignment": {
|
||||
"labelLine1": "Values alignment",
|
||||
"labelLine2": "exercises"
|
||||
},
|
||||
"membershipGuidance": {
|
||||
"labelLine1": "Membership",
|
||||
"labelLine2": "guidance"
|
||||
},
|
||||
"conflictResolution": {
|
||||
"labelLine1": "Conflict resolution",
|
||||
"labelLine2": "tools"
|
||||
}
|
||||
}
|
||||
},
|
||||
"askOrganizer": {
|
||||
"title": "Still have questions?",
|
||||
"subtitle": "Get answers from an experienced organizer",
|
||||
"buttonText": "Ask an organizer",
|
||||
"buttonHref": "#contact"
|
||||
},
|
||||
"ruleStack": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_comment": "Learn page specific content",
|
||||
"contentLockup": {
|
||||
"title": "Organizing is hard",
|
||||
"subtitle": "Find answers to your questions and see how other groups have solved similar challenges."
|
||||
},
|
||||
"askOrganizer": {
|
||||
"title": "Still have questions?",
|
||||
"subtitle": "Get answers from an experienced organizer",
|
||||
"description": "Our community of organizers is here to help you navigate the challenges of building and maintaining effective community organizations.",
|
||||
"buttonText": "Ask an organizer",
|
||||
"buttonHref": "/contact"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user