From 6fe2bfbc303804b12a93776dbff8d562155112df Mon Sep 17 00:00:00 2001 From: Vincent Lequertier Date: Fri, 23 Feb 2018 16:05:09 +0100 Subject: [PATCH] Proper translation handling --- site/i18n/en.toml | 12 ++++++++++++ site/layouts/partials/organisations.html | 12 ++++++------ 2 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 site/i18n/en.toml diff --git a/site/i18n/en.toml b/site/i18n/en.toml new file mode 100644 index 0000000..78d2bb0 --- /dev/null +++ b/site/i18n/en.toml @@ -0,0 +1,12 @@ +[organisations_administration] +other = "Administrations" +[organisations_all] +other = "All" +[organisations_corporate] +other = "Corporate" +[organisations_international_ngo] +other = "International NGOs" +[organisations_national_ngo] +other = "National NGOs" +[organisations_regional_ngo] +other = "Regional NGOs" diff --git a/site/layouts/partials/organisations.html b/site/layouts/partials/organisations.html index 86be6b6..7a4d93e 100644 --- a/site/layouts/partials/organisations.html +++ b/site/layouts/partials/organisations.html @@ -8,21 +8,21 @@

{{ replace .Site.Params.organisations.text "openletter/" ("/openletter" | relLangURL) | markdownify }}

+ {{ i18n "organisations_all" }}