Skip to content

Commit ed78aa3

Browse files
authored
Add translation to landing page (#190)
* Add translation to landing page Via `write-translations`. Note: Couple of warnings are printed since it does not like the fact that in src/pages/index.js lines 17 and 20 contain dynamic values (specifically `siteConfig.title` and `siteConfig.tagline`). Run `yarn write-translations --locale en` to see the full log * Fixed the warnings
1 parent 8c94802 commit ed78aa3

File tree

12 files changed

+944
-12
lines changed

12 files changed

+944
-12
lines changed

i18n/en/code.json

Lines changed: 356 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,356 @@
1+
{
2+
"theme.ErrorPageContent.title": {
3+
"message": "This page crashed.",
4+
"description": "The title of the fallback page when the page crashed"
5+
},
6+
"theme.BackToTopButton.buttonAriaLabel": {
7+
"message": "Scroll back to top",
8+
"description": "The ARIA label for the back to top button"
9+
},
10+
"theme.blog.archive.title": {
11+
"message": "Archive",
12+
"description": "The page & hero title of the blog archive page"
13+
},
14+
"theme.blog.archive.description": {
15+
"message": "Archive",
16+
"description": "The page & hero description of the blog archive page"
17+
},
18+
"theme.blog.paginator.navAriaLabel": {
19+
"message": "Blog list page navigation",
20+
"description": "The ARIA label for the blog pagination"
21+
},
22+
"theme.blog.paginator.newerEntries": {
23+
"message": "Newer entries",
24+
"description": "The label used to navigate to the newer blog posts page (previous page)"
25+
},
26+
"theme.blog.paginator.olderEntries": {
27+
"message": "Older entries",
28+
"description": "The label used to navigate to the older blog posts page (next page)"
29+
},
30+
"theme.blog.post.paginator.navAriaLabel": {
31+
"message": "Blog post page navigation",
32+
"description": "The ARIA label for the blog posts pagination"
33+
},
34+
"theme.blog.post.paginator.newerPost": {
35+
"message": "Newer post",
36+
"description": "The blog post button label to navigate to the newer/previous post"
37+
},
38+
"theme.blog.post.paginator.olderPost": {
39+
"message": "Older post",
40+
"description": "The blog post button label to navigate to the older/next post"
41+
},
42+
"theme.tags.tagsPageLink": {
43+
"message": "View all tags",
44+
"description": "The label of the link targeting the tag list page"
45+
},
46+
"theme.colorToggle.ariaLabel.mode.system": {
47+
"message": "system mode",
48+
"description": "The name for the system color mode"
49+
},
50+
"theme.colorToggle.ariaLabel.mode.light": {
51+
"message": "light mode",
52+
"description": "The name for the light color mode"
53+
},
54+
"theme.colorToggle.ariaLabel.mode.dark": {
55+
"message": "dark mode",
56+
"description": "The name for the dark color mode"
57+
},
58+
"theme.colorToggle.ariaLabel": {
59+
"message": "Switch between dark and light mode (currently {mode})",
60+
"description": "The ARIA label for the color mode toggle"
61+
},
62+
"theme.docs.breadcrumbs.navAriaLabel": {
63+
"message": "Breadcrumbs",
64+
"description": "The ARIA label for the breadcrumbs"
65+
},
66+
"theme.docs.DocCard.categoryDescription.plurals": {
67+
"message": "1 item|{count} items",
68+
"description": "The default description for a category card in the generated index about how many items this category includes"
69+
},
70+
"theme.docs.paginator.navAriaLabel": {
71+
"message": "Docs pages",
72+
"description": "The ARIA label for the docs pagination"
73+
},
74+
"theme.docs.paginator.previous": {
75+
"message": "Previous",
76+
"description": "The label used to navigate to the previous doc"
77+
},
78+
"theme.docs.paginator.next": {
79+
"message": "Next",
80+
"description": "The label used to navigate to the next doc"
81+
},
82+
"theme.docs.tagDocListPageTitle.nDocsTagged": {
83+
"message": "One doc tagged|{count} docs tagged",
84+
"description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
85+
},
86+
"theme.docs.tagDocListPageTitle": {
87+
"message": "{nDocsTagged} with \"{tagName}\"",
88+
"description": "The title of the page for a docs tag"
89+
},
90+
"theme.docs.versionBadge.label": {
91+
"message": "Version: {versionLabel}"
92+
},
93+
"theme.docs.versions.unreleasedVersionLabel": {
94+
"message": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
95+
"description": "The label used to tell the user that he's browsing an unreleased doc version"
96+
},
97+
"theme.docs.versions.unmaintainedVersionLabel": {
98+
"message": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
99+
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
100+
},
101+
"theme.docs.versions.latestVersionSuggestionLabel": {
102+
"message": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
103+
"description": "The label used to tell the user to check the latest version"
104+
},
105+
"theme.docs.versions.latestVersionLinkLabel": {
106+
"message": "latest version",
107+
"description": "The label used for the latest version suggestion link label"
108+
},
109+
"theme.common.editThisPage": {
110+
"message": "Edit this page",
111+
"description": "The link label to edit the current page"
112+
},
113+
"theme.common.headingLinkTitle": {
114+
"message": "Direct link to {heading}",
115+
"description": "Title for link to heading"
116+
},
117+
"theme.lastUpdated.atDate": {
118+
"message": " on {date}",
119+
"description": "The words used to describe on which date a page has been last updated"
120+
},
121+
"theme.lastUpdated.byUser": {
122+
"message": " by {user}",
123+
"description": "The words used to describe by who the page has been last updated"
124+
},
125+
"theme.lastUpdated.lastUpdatedAtBy": {
126+
"message": "Last updated{atDate}{byUser}",
127+
"description": "The sentence used to display when a page has been last updated, and by who"
128+
},
129+
"theme.navbar.mobileVersionsDropdown.label": {
130+
"message": "Versions",
131+
"description": "The label for the navbar versions dropdown on mobile view"
132+
},
133+
"theme.NotFound.title": {
134+
"message": "Page Not Found",
135+
"description": "The title of the 404 page"
136+
},
137+
"theme.tags.tagsListLabel": {
138+
"message": "Tags:",
139+
"description": "The label alongside a tag list"
140+
},
141+
"theme.admonition.caution": {
142+
"message": "caution",
143+
"description": "The default label used for the Caution admonition (:::caution)"
144+
},
145+
"theme.admonition.danger": {
146+
"message": "danger",
147+
"description": "The default label used for the Danger admonition (:::danger)"
148+
},
149+
"theme.admonition.info": {
150+
"message": "info",
151+
"description": "The default label used for the Info admonition (:::info)"
152+
},
153+
"theme.admonition.note": {
154+
"message": "note",
155+
"description": "The default label used for the Note admonition (:::note)"
156+
},
157+
"theme.admonition.tip": {
158+
"message": "tip",
159+
"description": "The default label used for the Tip admonition (:::tip)"
160+
},
161+
"theme.admonition.warning": {
162+
"message": "warning",
163+
"description": "The default label used for the Warning admonition (:::warning)"
164+
},
165+
"theme.AnnouncementBar.closeButtonAriaLabel": {
166+
"message": "Close",
167+
"description": "The ARIA label for close button of announcement bar"
168+
},
169+
"theme.blog.sidebar.navAriaLabel": {
170+
"message": "Blog recent posts navigation",
171+
"description": "The ARIA label for recent posts in the blog sidebar"
172+
},
173+
"theme.DocSidebarItem.expandCategoryAriaLabel": {
174+
"message": "Expand sidebar category '{label}'",
175+
"description": "The ARIA label to expand the sidebar category"
176+
},
177+
"theme.DocSidebarItem.collapseCategoryAriaLabel": {
178+
"message": "Collapse sidebar category '{label}'",
179+
"description": "The ARIA label to collapse the sidebar category"
180+
},
181+
"theme.IconExternalLink.ariaLabel": {
182+
"message": "(opens in new tab)",
183+
"description": "The ARIA label for the external link icon"
184+
},
185+
"theme.NavBar.navAriaLabel": {
186+
"message": "Main",
187+
"description": "The ARIA label for the main navigation"
188+
},
189+
"theme.navbar.mobileLanguageDropdown.label": {
190+
"message": "Languages",
191+
"description": "The label for the mobile language switcher dropdown"
192+
},
193+
"theme.NotFound.p1": {
194+
"message": "We could not find what you were looking for.",
195+
"description": "The first paragraph of the 404 page"
196+
},
197+
"theme.NotFound.p2": {
198+
"message": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
199+
"description": "The 2nd paragraph of the 404 page"
200+
},
201+
"theme.TOCCollapsible.toggleButtonLabel": {
202+
"message": "On this page",
203+
"description": "The label used by the button on the collapsible TOC component"
204+
},
205+
"theme.blog.post.readMore": {
206+
"message": "Read more",
207+
"description": "The label used in blog post item excerpts to link to full blog posts"
208+
},
209+
"theme.blog.post.readMoreLabel": {
210+
"message": "Read more about {title}",
211+
"description": "The ARIA label for the link to full blog posts from excerpts"
212+
},
213+
"theme.blog.post.readingTime.plurals": {
214+
"message": "One min read|{readingTime} min read",
215+
"description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
216+
},
217+
"theme.CodeBlock.copy": {
218+
"message": "Copy",
219+
"description": "The copy button label on code blocks"
220+
},
221+
"theme.CodeBlock.copied": {
222+
"message": "Copied",
223+
"description": "The copied button label on code blocks"
224+
},
225+
"theme.CodeBlock.copyButtonAriaLabel": {
226+
"message": "Copy code to clipboard",
227+
"description": "The ARIA label for copy code blocks button"
228+
},
229+
"theme.CodeBlock.wordWrapToggle": {
230+
"message": "Toggle word wrap",
231+
"description": "The title attribute for toggle word wrapping button of code block lines"
232+
},
233+
"theme.docs.breadcrumbs.home": {
234+
"message": "Home page",
235+
"description": "The ARIA label for the home page in the breadcrumbs"
236+
},
237+
"theme.docs.sidebar.collapseButtonTitle": {
238+
"message": "Collapse sidebar",
239+
"description": "The title attribute for collapse button of doc sidebar"
240+
},
241+
"theme.docs.sidebar.collapseButtonAriaLabel": {
242+
"message": "Collapse sidebar",
243+
"description": "The title attribute for collapse button of doc sidebar"
244+
},
245+
"theme.docs.sidebar.navAriaLabel": {
246+
"message": "Docs sidebar",
247+
"description": "The ARIA label for the sidebar navigation"
248+
},
249+
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
250+
"message": "Close navigation bar",
251+
"description": "The ARIA label for close button of mobile sidebar"
252+
},
253+
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
254+
"message": "← Back to main menu",
255+
"description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)"
256+
},
257+
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
258+
"message": "Toggle navigation bar",
259+
"description": "The ARIA label for hamburger menu button of mobile navigation"
260+
},
261+
"theme.navbar.mobileDropdown.collapseButton.expandAriaLabel": {
262+
"message": "Expand the dropdown",
263+
"description": "The ARIA label of the button to expand the mobile dropdown navbar item"
264+
},
265+
"theme.navbar.mobileDropdown.collapseButton.collapseAriaLabel": {
266+
"message": "Collapse the dropdown",
267+
"description": "The ARIA label of the button to collapse the mobile dropdown navbar item"
268+
},
269+
"theme.docs.sidebar.expandButtonTitle": {
270+
"message": "Expand sidebar",
271+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
272+
},
273+
"theme.docs.sidebar.expandButtonAriaLabel": {
274+
"message": "Expand sidebar",
275+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
276+
},
277+
"theme.blog.post.plurals": {
278+
"message": "One post|{count} posts",
279+
"description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)"
280+
},
281+
"theme.blog.tagTitle": {
282+
"message": "{nPosts} tagged with \"{tagName}\"",
283+
"description": "The title of the page for a blog tag"
284+
},
285+
"theme.blog.author.pageTitle": {
286+
"message": "{authorName} - {nPosts}",
287+
"description": "The title of the page for a blog author"
288+
},
289+
"theme.blog.authorsList.pageTitle": {
290+
"message": "Authors",
291+
"description": "The title of the authors page"
292+
},
293+
"theme.blog.authorsList.viewAll": {
294+
"message": "View all authors",
295+
"description": "The label of the link targeting the blog authors page"
296+
},
297+
"theme.blog.author.noPosts": {
298+
"message": "This author has not written any posts yet.",
299+
"description": "The text for authors with 0 blog post"
300+
},
301+
"theme.contentVisibility.unlistedBanner.title": {
302+
"message": "Unlisted page",
303+
"description": "The unlisted content banner title"
304+
},
305+
"theme.contentVisibility.unlistedBanner.message": {
306+
"message": "This page is unlisted. Search engines will not index it, and only users having a direct link can access it.",
307+
"description": "The unlisted content banner message"
308+
},
309+
"theme.contentVisibility.draftBanner.title": {
310+
"message": "Draft page",
311+
"description": "The draft content banner title"
312+
},
313+
"theme.contentVisibility.draftBanner.message": {
314+
"message": "This page is a draft. It will only be visible in dev and be excluded from the production build.",
315+
"description": "The draft content banner message"
316+
},
317+
"theme.ErrorPageContent.tryAgain": {
318+
"message": "Try again",
319+
"description": "The label of the button to try again rendering when the React error boundary captures an error"
320+
},
321+
"theme.common.skipToMainContent": {
322+
"message": "Skip to main content",
323+
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
324+
},
325+
"theme.tags.tagsPageTitle": {
326+
"message": "Tags",
327+
"description": "The title of the tag list page"
328+
},
329+
"home.getStartedButton": {
330+
"message": "Get Started"
331+
},
332+
"home.feature.FES.title": {
333+
"message": "Fast, Easy, Sleek"
334+
},
335+
"home.feature.FES.description": {
336+
"message": "SideStore is meant to be a functional application, and in being functional is good looking, and not overcomplicated."
337+
},
338+
"home.feature.power.title": {
339+
"message": "Power is Key"
340+
},
341+
"home.feature.power.description": {
342+
"message": "The ability to install applications not found on Apple's App Store is not common, and SideStore fills a large gap in the sideloading field."
343+
},
344+
"home.feature.openSource.title": {
345+
"message": "Open Source"
346+
},
347+
"home.feature.openSource.description": {
348+
"message": "We find open source software very important, as SideStore is itself open source. Anyone is welcome to make contributions to any SideStore project on GitHub."
349+
},
350+
"home.heroTitle": {
351+
"message": "SideStore"
352+
},
353+
"home.heroSubtitle": {
354+
"message": "Your source for instructions on SideStore."
355+
}
356+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"title": {
3+
"message": "Blog",
4+
"description": "The title for the blog used in SEO"
5+
},
6+
"description": {
7+
"message": "Blog",
8+
"description": "The description for the blog used in SEO"
9+
},
10+
"sidebar.title": {
11+
"message": "Recent posts",
12+
"description": "The label for the left sidebar"
13+
}
14+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version.label": {
3+
"message": "Next",
4+
"description": "The label for version current"
5+
},
6+
"sidebar.tutorialSidebar.category.Installation": {
7+
"message": "Installation",
8+
"description": "The label for category 'Installation' in sidebar 'tutorialSidebar'"
9+
},
10+
"sidebar.tutorialSidebar.category.Troubleshooting": {
11+
"message": "Troubleshooting",
12+
"description": "The label for category 'Troubleshooting' in sidebar 'tutorialSidebar'"
13+
},
14+
"sidebar.tutorialSidebar.category.Advanced": {
15+
"message": "Advanced",
16+
"description": "The label for category 'Advanced' in sidebar 'tutorialSidebar'"
17+
},
18+
"sidebar.tutorialSidebar.category.Contributing": {
19+
"message": "Contributing",
20+
"description": "The label for category 'Contributing' in sidebar 'tutorialSidebar'"
21+
}
22+
}

0 commit comments

Comments
 (0)