Make the labels translatable

lektura
Vincent Lequertier 2018-02-20 11:13:04 +01:00
parent 1953f767fc
commit 1b91bc7787
2 changed files with 13 additions and 9 deletions

View File

@ -79,8 +79,13 @@
# Organisations section
[Languages.en.organisations]
headline = "Supporting Organisations"
text = "The following organisations support our [open letter](openletter/). If your organisation is also interested in joining the call for Public Code, please [contact us](mailto:contact@fsfe.org)."
administrations = "Administrations"
all = "All"
corporate = "Corporate"
headline = "Supporting Organisations"
international_ngo = "International NGOs"
local_ngo = "Local NGOs"
text = "The following organisations support our [open letter](openletter/). If your organisation is also interested in joining the call for Public Code, please [contact us](mailto:contact@fsfe.org)."
# Spread the word section

View File

@ -8,19 +8,18 @@
<p>{{ replace .Site.Params.organisations.text "openletter/" ("/openletter" | relLangURL) | markdownify }}</p>
<div class="radio-filter-orgs">
<label>
<input name="filter_orgs" type="radio" onclick="showAllOrgs()" checked><span class="label-text">All</span></input>
<input name="filter_orgs" type="radio" onclick="showAllOrgs()" checked><span class="label-text">{{ .Site.Params.organisations.all }}</span></input> </label>
<label>
<input name="filter_orgs" type="radio" onclick="selectOrgType('international_ngo')"><span class="label-text">{{ .Site.Params.organisations.international_ngo }}</span></input>
</label>
<label>
<input name="filter_orgs" type="radio" onclick="selectOrgType('international_ngo')"><span class="label-text">International NGOs</span></input>
<input name="filter_orgs" type="radio" onclick="selectOrgType('administration')"><span class="label-text">{{ .Site.Params.organisations.administrations }}</span></input>
</label>
<label>
<input name="filter_orgs" type="radio" onclick="selectOrgType('administration')"><span class="label-text">Administrations</span></input>
</label>
<label>
<input name="filter_orgs" type="radio" onclick="selectOrgType('local_ngo')"><span class="label-text">Local NGOs</span></input>
<input name="filter_orgs" type="radio" onclick="selectOrgType('local_ngo')"><span class="label-text">{{ .Site.Params.organisations.local_ngo }}</span></input>
</label>
<!--<label>
<input name="filter_orgs" type="radio" onclick="selectOrgType('corporate')"><span class="label-text">Corporate</span></input>
<input name="filter_orgs" type="radio" onclick="selectOrgType('corporate')"><span class="label-text">{{ .Site.Params.organisations.corporate }}</span></input>
</label> -->
</div>
<div class="expand" tabindex="0">