Add translation keys for nav bar and sidebar items

This commit is contained in:
Amarantha Kulkarni
2024-02-26 17:06:44 -08:00
parent b27b1bc395
commit 3da314e14f
3 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
theme.navbar.about: 概要
theme.navbar.docs: ドキュメント
theme.navbar.resources: リソース
theme.navbar.community: コミュニティ
sidebar.docs: ドキュメント
sidebar.resources.codesamples: コードサンプル
Open Source.: オープンソース
Jump to top of page: ページの先頭へ
Edit page: ページを編集

View File

@@ -1,4 +1,5 @@
- group: Documentation
groupTranslationKey: sidebar.docs
page: docs/index.page.tsx
expanded: false
items:
@@ -604,6 +605,7 @@
expanded: false
items:
- label: Code Samples
labelTranslationKey: sidebar.resources.codesamples
page: resources/code-samples.page.tsx
- group: Dev Tools
page: resources/dev-tools/index.page.tsx

View File

@@ -6,6 +6,7 @@
# nav:
- group: About
groupTranslationKey: theme.navbar.about
items:
- group: XRP Ledger
items:
@@ -27,6 +28,7 @@
- page: ./about/privacy-policy.md
- group: Docs
groupTranslationKey: theme.navbar.docs
items:
- icon: ./static/img/icons/docs.svg
# Note: arbitrary keys are dropped from these items, so the label & description are split on " || "
@@ -57,6 +59,7 @@
label: HTTP / WebSocket
- group: Resources
groupTranslationKey: theme.navbar.resources
items:
- group: Development
items:
@@ -83,6 +86,7 @@
href: /resources/contribute-documentation
- group: Community
groupTranslationKey: theme.navbar.community
items:
- icon: ./static/img/icons/contribute.svg
label: Contribute to the XRPL Community || Join the conversation