Browse Source

docs(module/toxic-swamp): add instructions for german translation

Josh Habdas 7 months ago
parent
commit
a88c4bb241
Signed by: Josh Habdas <jhabdas@protonmail.com> GPG Key ID: B148B31154C75A74
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      docs/content/module/toxic-swamp.md

+ 4
- 2
docs/content/module/toxic-swamp.md View File

@@ -59,7 +59,7 @@ Verify [Release Hash]({{< relref "release-hashes" >}}) and GPG signature:
59 59
 ```sh
60 60
 cd themes/toxic-swamp && \
61 61
 npm install && npm run integrity && \
62
-git tag --verify v1.0.0-beta.24
62
+git tag --verify v1.0.0-beta.25
63 63
 ```
64 64
 
65 65
 Specify module in site config:
@@ -493,12 +493,13 @@ English translations available for toolbar display:
493 493
 - Indonesian (id)
494 494
 - Russian (ru)
495 495
 - Greek (el)
496
+- German (de)
496 497
 
497 498
 Enable them with module `translations` whitelist:
498 499
 
499 500
 ```toml
500 501
 [params.modules.toxic_swamp]
501
-  translations = ["id", "ru", "el"] # English translations enabled
502
+  translations = ["id", "ru", "el", "de"] # English translations enabled
502 503
 ```
503 504
 
504 505
 Use `languageCode` site config to control which is displayed:
@@ -507,6 +508,7 @@ Use `languageCode` site config to control which is displayed:
507 508
 languageCode = "en-US" # English (United States) or English by default
508 509
 languageCode = "id-ID" # Indonesian (Indonesia) or Indonesian, if available
509 510
 languageCode = "ru-RU" # Russian (Russia) or Russian, if available
511
+languageCode = "de-DE" # German (Germany) or German, if available
510 512
 ```
511 513
 
512 514
 {{< hackcss-alert type="info" >}}

Loading…
Cancel
Save