commit ba0008a57c45c8cdf39ec703eec7385097664f84 Author: emma peel emma.peel@riseup.net Date: Sat Jan 19 07:40:08 2019 +0100
better strings to translate, template i18n --- content/about/sponsors/DARPA-nrl/contents.lr | 10 ++-------- content/about/sponsors/USSD-DHRL-harvard/contents.lr | 5 +---- content/about/sponsors/USSD-DHRL/contents.lr | 5 +---- models/people.ini | 1 - models/sponsor.ini | 2 ++ templates/home.html | 4 ++-- 6 files changed, 8 insertions(+), 19 deletions(-)
diff --git a/content/about/sponsors/DARPA-nrl/contents.lr b/content/about/sponsors/DARPA-nrl/contents.lr index f3b0acc..fa799aa 100644 --- a/content/about/sponsors/DARPA-nrl/contents.lr +++ b/content/about/sponsors/DARPA-nrl/contents.lr @@ -4,7 +4,7 @@ active: False --- time: 2001 - 2006 --- -name: DARPA and ONR via Naval Research Laboratory +name: DARPA and ONR via Naval Research Laboratory --- logo: /static/images/sponsors/darpa.png --- @@ -12,10 +12,4 @@ link: https://www.darpa.mil/program/extreme-ddos-defense --- description:
-DARPA’s Extreme DDoS Defense (XD3) program focuses on three broad areas of opportunity -to improve resilience against DDoS attacks and aims to thwart DDoS attacks by: -(1) dispersing cyber assets (physically and/or logically) to complicate adversarial -targeting; (2) disguising the characteristics and behaviors of those assets through -networked maneuver to confuse or deceive the adversary; and (3) using adaptive -mitigation techniques on endpoints (e.g., mission-critical servers) to blunt the -effects of attacks that succeed in penetrating other defensive measures. +DARPA’s Extreme DDoS Defense (XD3) program focuses on three broad areas of opportunity to improve resilience against DDoS attacks and aims to thwart DDoS attacks by: (1) dispersing cyber assets (physically and/or logically) to complicate adversarial targeting; (2) disguising the characteristics and behaviors of those assets through networked maneuver to confuse or deceive the adversary; and (3) using adaptive mitigation techniques on endpoints (e.g., mission-critical servers) to blunt the effects of attacks that succeed in penetrating other defensive measures. diff --git a/content/about/sponsors/USSD-DHRL-harvard/contents.lr b/content/about/sponsors/USSD-DHRL-harvard/contents.lr index 10b40d5..4d43285 100644 --- a/content/about/sponsors/USSD-DHRL-harvard/contents.lr +++ b/content/about/sponsors/USSD-DHRL-harvard/contents.lr @@ -12,7 +12,4 @@ link: https://www.state.gov/j/drl/ --- description:
-The Bureau of Democracy, Human Rights and Labor leads the U.S. efforts to promote -[democracy](http://www.state.gov/j/drl/democ/), protect [human rights](http://www.state.gov/j/drl/hr/) -and [international religious freedom](http://www.state.gov/j/drl/irf/), and -advance [labor rights](http://www.state.gov/j/drl/ila/index.htm) globally. +The Bureau of Democracy, Human Rights and Labor leads the U.S. efforts to promote [democracy](http://www.state.gov/j/drl/democ/), protect [human rights](http://www.state.gov/j/drl/hr/) and [international religious freedom](http://www.state.gov/j/drl/irf/), and advance [labor rights](http://www.state.gov/j/drl/ila/index.htm) globally. diff --git a/content/about/sponsors/USSD-DHRL/contents.lr b/content/about/sponsors/USSD-DHRL/contents.lr index 014919e..0d19722 100644 --- a/content/about/sponsors/USSD-DHRL/contents.lr +++ b/content/about/sponsors/USSD-DHRL/contents.lr @@ -12,7 +12,4 @@ link: https://www.state.gov/j/drl/ --- description:
-The Bureau of Democracy, Human Rights and Labor leads the U.S. efforts to promote -[democracy](http://www.state.gov/j/drl/democ/), protect [human rights](http://www.state.gov/j/drl/hr/) -and [international religious freedom](http://www.state.gov/j/drl/irf/), and -advance [labor rights](http://www.state.gov/j/drl/ila/index.htm) globally. +The Bureau of Democracy, Human Rights and Labor leads the U.S. efforts to promote [democracy](http://www.state.gov/j/drl/democ/), protect [human rights](http://www.state.gov/j/drl/hr/) and [international religious freedom](http://www.state.gov/j/drl/irf/), and advance [labor rights](http://www.state.gov/j/drl/ila/index.htm) globally. diff --git a/models/people.ini b/models/people.ini index 2f860be..7928c32 100644 --- a/models/people.ini +++ b/models/people.ini @@ -11,7 +11,6 @@ translate = True [fields.section] label = Section type = string -translate = True
[fields.body] label = Body diff --git a/models/sponsor.ini b/models/sponsor.ini index 312475d..2ec323c 100644 --- a/models/sponsor.ini +++ b/models/sponsor.ini @@ -6,6 +6,7 @@ hidden = yes [fields.name] label = Name type = string +translate = True
[fields.link] label = Link @@ -18,6 +19,7 @@ type = boolean [fields.description] label = Description type = markdown +translate = True
[fields.logo] label = Logo diff --git a/templates/home.html b/templates/home.html index 758dc6a..7b04dd8 100644 --- a/templates/home.html +++ b/templates/home.html @@ -42,8 +42,8 @@ </div> <div class="col-md-8 px-3 order-2"> <div class="card-block px-3"> - <h6 class="pt-3 card-title">RESIST FINGERPRINTING") }}</h6> - <p class="card-text">Tor aims to make all users look the same making it difficult for you to be fingerprinted based on your browser and device information.") }}</p> + <h6 class="pt-3 card-title">{{ _("RESIST FINGERPRINTING") }}</h6> + <p class="card-text">{{ _("Tor aims to make all users look the same making it difficult for you to be fingerprinted based on your browser and device information.") }}</p> </div> </div> </div>