Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Localise footer links (#539)
Browse files Browse the repository at this point in the history
* Localise URLs
  • Loading branch information
edubsky authored and osahyoun committed Jun 9, 2016
1 parent f8e901f commit 5e1cbde
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/liquid/views/partials/_full_width_header.liquid
Expand Up @@ -2,7 +2,7 @@
<div class="cover-photo__overlay">

<div class="header-logo header-logo--dark checks-top checks-top--at-top">
<a href="http://sumofus.org/">
<a href="{{ 'footer.home_url' | t }}">
<div class="header-logo__logo sumofus-logo--negative"></div>
</a>
<div class="header-logo__tagline sumofus-logo--tagline">{{ 'branding.tagline' | t }}</div>
Expand Down
2 changes: 1 addition & 1 deletion app/liquid/views/partials/_share_page.liquid
Expand Up @@ -12,7 +12,7 @@


<div class="header-logo header-logo--light">
<a href="https://sumofus.org/">
<a href="{{ 'footer.home_url' | t }}">
<div class="header-logo__logo sumofus-logo--positive"></div>
</a>
</div>
Expand Down
9 changes: 4 additions & 5 deletions app/liquid/views/partials/_simple_footer.liquid
Expand Up @@ -9,11 +9,10 @@
&copy; 2016 SumOfUs, {{ 'branding.license' | t }}
</div>
<div class="simple-footer__links">
<a href="http://sumofus.org/" class="simple-footer__link">{{ 'footer.home' | t }}</a>
<a href="http://sumofus.org/about" class="simple-footer__link">{{ 'footer.about' | t}}</a>
<a href="http://sumofus.org/privacy" class="simple-footer__link">{{ 'footer.privacy_policy' | t }}</a>
<a href="http://sumofus.org/contact" class="simple-footer__link">{{ 'footer.contact' | t }}</a>
<a href="https://community.sumofus.org/petition/new?source=footer" class="simple-footer__link">{{ 'footer.controlshift' | t }}</a>
<a href="{{ 'footer.home_url' | t }}" class="simple-footer__link">{{ 'footer.home' | t }}</a>
<a href="{{ 'footer.about_url' | t}}" class="simple-footer__link">{{ 'footer.about' | t}}</a>
<a href="{{ 'footer.privacy_policy_url' | t }}" class="simple-footer__link">{{ 'footer.privacy_policy' | t }}</a>
<a href="{{ 'footer.contact_url' | t }}" class="simple-footer__link">{{ 'footer.contact' | t }}</a>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/liquid/views/partials/_small_header.liquid
@@ -1,6 +1,6 @@
<div class="header-logo header-logo--dark checks-top checks-top--at-top">
<div class="header-logo__left-constraint">
<a href="http://sumofus.org/">
<a href="{{ 'footer.home_url' | t }}">
<div class="header-logo__logo sumofus-logo--negative"></div>
</a>
<div class="header-logo__tagline sumofus-logo--tagline">{{ 'branding.tagline' | t }}</div>
Expand Down
8 changes: 4 additions & 4 deletions app/liquid/views/partials/_small_image_footer.liquid
Expand Up @@ -6,10 +6,10 @@
{{ 'branding.tagline' | t }}
</div>
<div class="simple-footer__links--stuck-to-bottom">
<a href="http://sumofus.org/" class="simple-footer__link">{{ 'footer.home' | t }}</a>
<a href="http://sumofus.org/about" class="simple-footer__link">{{ 'footer.about' | t}}</a>
<a href="http://sumofus.org/privacy" class="simple-footer__link">{{ 'footer.privacy_policy' | t }}</a>
<a href="http://sumofus.org/contact" class="simple-footer__link">{{ 'footer.contact' | t }}</a>
<a href="{{ 'footer.home_url' | t }}" class="simple-footer__link">{{ 'footer.home' | t }}</a>
<a href="{{ 'footer.about_url' | t}}" class="simple-footer__link">{{ 'footer.about' | t}}</a>
<a href="{{ 'footer.privacy_policy_url' | t }}" class="simple-footer__link">{{ 'footer.privacy_policy' | t }}</a>
<a href="{{ 'footer.contact_url' | t }}" class="simple-footer__link">{{ 'footer.contact' | t }}</a>
</div>
<div class="simple-footer__license simple-footer__license--left">
&copy; 2016 SumOfUs, {{ 'branding.license' | t }}
Expand Down
4 changes: 4 additions & 0 deletions config/locales/sumofus.de.yml
Expand Up @@ -91,6 +91,10 @@ de:
privacy_policy: Datenschutz
contact: Kontakt (Impressum)
controlshift: '' #intentionally left blank
home_url: http://de.sumofus.org/
about_url: http://de.sumofus.org/uber-uns
privacy_policy_url: https://sumofus.org/de/datenschutz/
contact_url: http://de.sumofus.org/impressum
time:
formats:
default: "%-d. %B %Y"
Expand Down
4 changes: 4 additions & 0 deletions config/locales/sumofus.en.yml
Expand Up @@ -91,6 +91,10 @@ en:
privacy_policy: Privacy Policy
contact: Contact
controlshift: Start your own campaign
home_url: https://sumofus.org/
about_url: https://sumofus.org/about
privacy_policy_url: https://sumofus.org/privacy
contact_url: https://sumofus.org/contact
time:
formats:
default: "%-d %B %Y"
Expand Down
4 changes: 4 additions & 0 deletions config/locales/sumofus.fr.yml
Expand Up @@ -91,6 +91,10 @@ fr:
privacy_policy: Mentions Légales
contact: Contact
controlshift: Lancez votre propre pétition
home_url: http://fr.sumofus.org/
about_url: http://fr.sumofus.org/a-propos
privacy_policy_url: http://fr.sumofus.org/politique-de-confidentialite
contact_url: http://fr.sumofus.org/contact
time:
formats:
default: "%-d %B %Y"
Expand Down

0 comments on commit 5e1cbde

Please sign in to comment.