Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/danielkvist/hugo-terrassa-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTina <feministclickback@mail36.net>2020-05-08 18:14:33 +0300
committerTina <feministclickback@mail36.net>2020-05-08 18:14:33 +0300
commit649cb510156d9869c40405ae6b3a2709c2f8d568 (patch)
tree80accac712cd3a9de651ba0a6d0a45a5d7def9b2
parent5714476432385efd0a8e6222ad7d823018c5f0d9 (diff)
translate contact form
-rw-r--r--exampleSite/config.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 394a05f..822e614 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -105,3 +105,15 @@ themesDir = "../.." # Not necessary on production sites
contentDir = "content/de"
title = "Das ist der deutsche Titel"
description = "Das ist die deutsche Beschreibung"
+ [languages.de.params]
+ [languages.de.params.form] # Translate contact form fields
+ inputNameLabel = "Name"
+ inputNamePlaceholder = "Dein Name"
+ inputEmailLabel = "E-mail"
+ inputEmailPlaceholder = "Deine E-Mail-Adresse"
+ inputMsgLabel = "Schreib etwas"
+ inputSubmitValue = "Abschicken"
+ [languages.de.params.cta] # Translate Call To Action
+ show = true
+ cta = "Kontakt"
+ link = "de/kontakt/" # Relative URL