aboutsummaryrefslogtreecommitdiffstats
path: root/docs/translating.md
diff options
context:
space:
mode:
authorGravatar fauxpark <fauxpark@gmail.com>2019-11-29 09:14:04 +1100
committerGravatar Joel Challis <git@zvecr.com>2019-11-28 22:14:04 +0000
commit7164e8eeb530e02cb7b648db81907cf941c23257 (patch)
tree170b6f8b45ed0682a7084cc6253cfee2d34cc80f /docs/translating.md
parentf9521ffa21c71ed1d5c5e3c72a0d193594d0430f (diff)
downloadqmk_firmware-7164e8eeb530e02cb7b648db81907cf941c23257.tar.gz
Add yet another dictionary for the QMK Firmware docs sidebar heading (#7504)
Diffstat (limited to 'docs/translating.md')
-rw-r--r--docs/translating.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/translating.md b/docs/translating.md
index af37c08dc..436581759 100644
--- a/docs/translating.md
+++ b/docs/translating.md
@@ -32,6 +32,12 @@ Once you've finished translating a new language, you'll also need to modify the
'/zh-cn/': '没有结果!',
```
+ The `nameLink` object, for setting the "QMK Firmware" heading link in the sidebar, must also be added to:
+
+ ```js
+ '/zh-cn/': '/#/zh-cn/',
+ ```
+
And make sure to add the language folder in the `fallbackLanguages` list, so it will properly fall back to English instead of 404ing:
```js