Browse Source

docs(module/toxic-swamp): add italian translation, update whitelist

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

+ 3
- 1
docs/content/module/toxic-swamp.md View File

@@ -500,7 +500,7 @@ Enable them with module `translations` whitelist:
500 500
 
501 501
 ```toml
502 502
 [params.modules.toxic_swamp]
503
-  translations = ["id", "ru", "el", "de"] # English translations enabled
503
+  translations = ["id", "ru", "el", "de", "pl", "it"] # English translations enabled
504 504
 ```
505 505
 
506 506
 Use `languageCode` site config to control which is displayed:
@@ -509,8 +509,10 @@ Use `languageCode` site config to control which is displayed:
509 509
 languageCode = "en-US" # English (United States) or English by default
510 510
 languageCode = "id-ID" # Indonesian (Indonesia) or Indonesian, if available
511 511
 languageCode = "ru-RU" # Russian (Russia) or Russian, if available
512
+languageCode = "el-GR" # Greek (Greece) or Greek, if available
512 513
 languageCode = "de-DE" # German (Germany) or German, if available
513 514
 languageCode = "pl-PL" # Polish (Poland) or Polish, if available
515
+languageCode = "it-IT" # Italian (Italy) or Italian, if available
514 516
 ```
515 517
 
516 518
 {{< hackcss-alert type="info" >}}

Loading…
Cancel
Save