Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 5dbed58

Browse files
committed
chore: translation setup
1 parent cd90492 commit 5dbed58

File tree

3 files changed

+356
-0
lines changed

3 files changed

+356
-0
lines changed

i18n/pr/code.json

Lines changed: 284 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,284 @@
1+
{
2+
"Change API endpoint": {
3+
"message": "Change API endpoint"
4+
},
5+
"theme.docs.DocCard.categoryDescription": {
6+
"message": "{count} items",
7+
"description": "The default description for a category card in the generated index about how many items this category includes"
8+
},
9+
"theme.ErrorPageContent.title": {
10+
"message": "This page crashed.",
11+
"description": "The title of the fallback page when the page crashed"
12+
},
13+
"theme.NotFound.title": {
14+
"message": "Page Not Found",
15+
"description": "The title of the 404 page"
16+
},
17+
"theme.NotFound.p1": {
18+
"message": "We could not find what you were looking for.",
19+
"description": "The first paragraph of the 404 page"
20+
},
21+
"theme.NotFound.p2": {
22+
"message": "Please contact the owner of the site that linked you to the original URL and let them know their link is broken.",
23+
"description": "The 2nd paragraph of the 404 page"
24+
},
25+
"theme.admonition.note": {
26+
"message": "note",
27+
"description": "The default label used for the Note admonition (:::note)"
28+
},
29+
"theme.admonition.tip": {
30+
"message": "tip",
31+
"description": "The default label used for the Tip admonition (:::tip)"
32+
},
33+
"theme.admonition.danger": {
34+
"message": "danger",
35+
"description": "The default label used for the Danger admonition (:::danger)"
36+
},
37+
"theme.admonition.info": {
38+
"message": "info",
39+
"description": "The default label used for the Info admonition (:::info)"
40+
},
41+
"theme.admonition.caution": {
42+
"message": "caution",
43+
"description": "The default label used for the Caution admonition (:::caution)"
44+
},
45+
"theme.BackToTopButton.buttonAriaLabel": {
46+
"message": "Scroll back to top",
47+
"description": "The ARIA label for the back to top button"
48+
},
49+
"theme.blog.archive.title": {
50+
"message": "Archive",
51+
"description": "The page & hero title of the blog archive page"
52+
},
53+
"theme.blog.archive.description": {
54+
"message": "Archive",
55+
"description": "The page & hero description of the blog archive page"
56+
},
57+
"theme.blog.paginator.navAriaLabel": {
58+
"message": "Blog list page navigation",
59+
"description": "The ARIA label for the blog pagination"
60+
},
61+
"theme.blog.paginator.newerEntries": {
62+
"message": "Newer Entries",
63+
"description": "The label used to navigate to the newer blog posts page (previous page)"
64+
},
65+
"theme.blog.paginator.olderEntries": {
66+
"message": "Older Entries",
67+
"description": "The label used to navigate to the older blog posts page (next page)"
68+
},
69+
"theme.blog.post.paginator.navAriaLabel": {
70+
"message": "Blog post page navigation",
71+
"description": "The ARIA label for the blog posts pagination"
72+
},
73+
"theme.blog.post.paginator.newerPost": {
74+
"message": "Newer Post",
75+
"description": "The blog post button label to navigate to the newer/previous post"
76+
},
77+
"theme.blog.post.paginator.olderPost": {
78+
"message": "Older Post",
79+
"description": "The blog post button label to navigate to the older/next post"
80+
},
81+
"theme.blog.post.plurals": {
82+
"message": "One post|{count} posts",
83+
"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)"
84+
},
85+
"theme.blog.tagTitle": {
86+
"message": "{nPosts} tagged with \"{tagName}\"",
87+
"description": "The title of the page for a blog tag"
88+
},
89+
"theme.tags.tagsPageLink": {
90+
"message": "View All Tags",
91+
"description": "The label of the link targeting the tag list page"
92+
},
93+
"theme.colorToggle.ariaLabel": {
94+
"message": "Switch between dark and light mode (currently {mode})",
95+
"description": "The ARIA label for the navbar color mode toggle"
96+
},
97+
"theme.colorToggle.ariaLabel.mode.dark": {
98+
"message": "dark mode",
99+
"description": "The name for the dark color mode"
100+
},
101+
"theme.colorToggle.ariaLabel.mode.light": {
102+
"message": "light mode",
103+
"description": "The name for the light color mode"
104+
},
105+
"theme.docs.breadcrumbs.navAriaLabel": {
106+
"message": "Breadcrumbs",
107+
"description": "The ARIA label for the breadcrumbs"
108+
},
109+
"theme.docs.paginator.navAriaLabel": {
110+
"message": "Docs pages navigation",
111+
"description": "The ARIA label for the docs pagination"
112+
},
113+
"theme.docs.paginator.previous": {
114+
"message": "Previous",
115+
"description": "The label used to navigate to the previous doc"
116+
},
117+
"theme.docs.paginator.next": {
118+
"message": "Next",
119+
"description": "The label used to navigate to the next doc"
120+
},
121+
"theme.docs.tagDocListPageTitle.nDocsTagged": {
122+
"message": "One doc tagged|{count} docs tagged",
123+
"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)"
124+
},
125+
"theme.docs.tagDocListPageTitle": {
126+
"message": "{nDocsTagged} with \"{tagName}\"",
127+
"description": "The title of the page for a docs tag"
128+
},
129+
"theme.docs.versionBadge.label": {
130+
"message": "Version: {versionLabel}"
131+
},
132+
"theme.docs.versions.unreleasedVersionLabel": {
133+
"message": "This is unreleased documentation for {siteTitle} {versionLabel} version.",
134+
"description": "The label used to tell the user that he's browsing an unreleased doc version"
135+
},
136+
"theme.docs.versions.unmaintainedVersionLabel": {
137+
"message": "This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.",
138+
"description": "The label used to tell the user that he's browsing an unmaintained doc version"
139+
},
140+
"theme.docs.versions.latestVersionSuggestionLabel": {
141+
"message": "For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).",
142+
"description": "The label used to tell the user to check the latest version"
143+
},
144+
"theme.docs.versions.latestVersionLinkLabel": {
145+
"message": "latest version",
146+
"description": "The label used for the latest version suggestion link label"
147+
},
148+
"theme.common.editThisPage": {
149+
"message": "Edit this page",
150+
"description": "The link label to edit the current page"
151+
},
152+
"theme.common.headingLinkTitle": {
153+
"message": "Direct link to {heading}",
154+
"description": "Title for link to heading"
155+
},
156+
"theme.lastUpdated.atDate": {
157+
"message": " on {date}",
158+
"description": "The words used to describe on which date a page has been last updated"
159+
},
160+
"theme.lastUpdated.byUser": {
161+
"message": " by {user}",
162+
"description": "The words used to describe by who the page has been last updated"
163+
},
164+
"theme.lastUpdated.lastUpdatedAtBy": {
165+
"message": "Last updated{atDate}{byUser}",
166+
"description": "The sentence used to display when a page has been last updated, and by who"
167+
},
168+
"theme.navbar.mobileVersionsDropdown.label": {
169+
"message": "Versions",
170+
"description": "The label for the navbar versions dropdown on mobile view"
171+
},
172+
"theme.tags.tagsListLabel": {
173+
"message": "Tags:",
174+
"description": "The label alongside a tag list"
175+
},
176+
"theme.AnnouncementBar.closeButtonAriaLabel": {
177+
"message": "Close",
178+
"description": "The ARIA label for close button of announcement bar"
179+
},
180+
"theme.blog.sidebar.navAriaLabel": {
181+
"message": "Blog recent posts navigation",
182+
"description": "The ARIA label for recent posts in the blog sidebar"
183+
},
184+
"theme.CodeBlock.copied": {
185+
"message": "Copied",
186+
"description": "The copied button label on code blocks"
187+
},
188+
"theme.CodeBlock.copyButtonAriaLabel": {
189+
"message": "Copy code to clipboard",
190+
"description": "The ARIA label for copy code blocks button"
191+
},
192+
"theme.CodeBlock.copy": {
193+
"message": "Copy",
194+
"description": "The copy button label on code blocks"
195+
},
196+
"theme.CodeBlock.wordWrapToggle": {
197+
"message": "Toggle word wrap",
198+
"description": "The title attribute for toggle word wrapping button of code block lines"
199+
},
200+
"theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": {
201+
"message": "Toggle the collapsible sidebar category '{label}'",
202+
"description": "The ARIA label to toggle the collapsible sidebar category"
203+
},
204+
"theme.NavBar.navAriaLabel": {
205+
"message": "Main",
206+
"description": "The ARIA label for the main navigation"
207+
},
208+
"theme.navbar.mobileLanguageDropdown.label": {
209+
"message": "Languages",
210+
"description": "The label for the mobile language switcher dropdown"
211+
},
212+
"theme.TOCCollapsible.toggleButtonLabel": {
213+
"message": "On this page",
214+
"description": "The label used by the button on the collapsible TOC component"
215+
},
216+
"theme.blog.post.readMore": {
217+
"message": "Read More",
218+
"description": "The label used in blog post item excerpts to link to full blog posts"
219+
},
220+
"theme.blog.post.readMoreLabel": {
221+
"message": "Read more about {title}",
222+
"description": "The ARIA label for the link to full blog posts from excerpts"
223+
},
224+
"theme.blog.post.readingTime.plurals": {
225+
"message": "One min read|{readingTime} min read",
226+
"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)"
227+
},
228+
"theme.docs.breadcrumbs.home": {
229+
"message": "Home page",
230+
"description": "The ARIA label for the home page in the breadcrumbs"
231+
},
232+
"theme.docs.sidebar.collapseButtonTitle": {
233+
"message": "Collapse sidebar",
234+
"description": "The title attribute for collapse button of doc sidebar"
235+
},
236+
"theme.docs.sidebar.collapseButtonAriaLabel": {
237+
"message": "Collapse sidebar",
238+
"description": "The title attribute for collapse button of doc sidebar"
239+
},
240+
"theme.docs.sidebar.navAriaLabel": {
241+
"message": "Docs sidebar",
242+
"description": "The ARIA label for the sidebar navigation"
243+
},
244+
"theme.docs.sidebar.closeSidebarButtonAriaLabel": {
245+
"message": "Close navigation bar",
246+
"description": "The ARIA label for close button of mobile sidebar"
247+
},
248+
"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": {
249+
"message": "← Back to main menu",
250+
"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)"
251+
},
252+
"theme.docs.sidebar.toggleSidebarButtonAriaLabel": {
253+
"message": "Toggle navigation bar",
254+
"description": "The ARIA label for hamburger menu button of mobile navigation"
255+
},
256+
"theme.docs.sidebar.expandButtonTitle": {
257+
"message": "Expand sidebar",
258+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
259+
},
260+
"theme.docs.sidebar.expandButtonAriaLabel": {
261+
"message": "Expand sidebar",
262+
"description": "The ARIA label and title attribute for expand button of doc sidebar"
263+
},
264+
"theme.Playground.result": {
265+
"message": "Result",
266+
"description": "The result label of the live codeblocks"
267+
},
268+
"theme.Playground.liveEditor": {
269+
"message": "Live Editor",
270+
"description": "The live editor label of the live codeblocks"
271+
},
272+
"theme.ErrorPageContent.tryAgain": {
273+
"message": "Try again",
274+
"description": "The label of the button to try again rendering when the React error boundary captures an error"
275+
},
276+
"theme.common.skipToMainContent": {
277+
"message": "Skip to main content",
278+
"description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"
279+
},
280+
"theme.tags.tagsPageTitle": {
281+
"message": "Tags",
282+
"description": "The title of the tag list page"
283+
}
284+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"version.label": {
3+
"message": "Next",
4+
"description": "The label for version current"
5+
},
6+
"sidebar.tutorialSidebar.category.Core Concepts": {
7+
"message": "Core Concepts",
8+
"description": "The label for category Core Concepts in sidebar tutorialSidebar"
9+
},
10+
"sidebar.tutorialSidebar.category.Core Concepts.link.generated-index.description": {
11+
"message": "Learn core concepts of Deriv API websocket server and it's features",
12+
"description": "The generated-index page description for category Core Concepts in sidebar tutorialSidebar"
13+
},
14+
"sidebar.tutorialSidebar.category.Code Examples": {
15+
"message": "Code Examples",
16+
"description": "The label for category Code Examples in sidebar tutorialSidebar"
17+
},
18+
"sidebar.tutorialSidebar.category.Code Examples.link.generated-index.description": {
19+
"message": "Learn more about the API with our code examples",
20+
"description": "The generated-index page description for category Code Examples in sidebar tutorialSidebar"
21+
},
22+
"sidebar.tutorialSidebar.category.Javascript Examples": {
23+
"message": "Javascript Examples",
24+
"description": "The label for category Javascript Examples in sidebar tutorialSidebar"
25+
},
26+
"sidebar.tutorialSidebar.category.Javascript Examples.link.generated-index.description": {
27+
"message": "Javascript code examples",
28+
"description": "The generated-index page description for category Javascript Examples in sidebar tutorialSidebar"
29+
},
30+
"sidebar.tutorialSidebar.category.Languages": {
31+
"message": "Languages",
32+
"description": "The label for category Languages in sidebar tutorialSidebar"
33+
},
34+
"sidebar.tutorialSidebar.category.Languages.link.generated-index.description": {
35+
"message": "Learn how to use Deriv websocket API features with your Language of your choice",
36+
"description": "The generated-index page description for category Languages in sidebar tutorialSidebar"
37+
},
38+
"sidebar.tutorialSidebar.category.Javascript": {
39+
"message": "Javascript",
40+
"description": "The label for category Javascript in sidebar tutorialSidebar"
41+
},
42+
"sidebar.tutorialSidebar.category.Javascript.link.generated-index.description": {
43+
"message": "Learn how to use Deriv Websocket APIs with Javascript and HTML & CSS",
44+
"description": "The generated-index page description for category Javascript in sidebar tutorialSidebar"
45+
},
46+
"sidebar.tutorialSidebar.category.Guides": {
47+
"message": "Guides",
48+
"description": "The label for category Guides in sidebar tutorialSidebar"
49+
}
50+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"logo.alt": {
3+
"message": "Deriv API logo",
4+
"description": "The alt text of navbar logo"
5+
},
6+
"item.label.Documentation": {
7+
"message": "Documentation",
8+
"description": "Navbar item with label Documentation"
9+
},
10+
"item.label.Dashboard": {
11+
"message": "Dashboard",
12+
"description": "Navbar item with label Dashboard"
13+
},
14+
"item.label.API Explorer": {
15+
"message": "API Explorer",
16+
"description": "Navbar item with label API Explorer"
17+
},
18+
"item.label.Blog": {
19+
"message": "Blog",
20+
"description": "Navbar item with label Blog"
21+
}
22+
}

0 commit comments

Comments
 (0)