From ee8fa8cbdb684ce6fa046988e6e72f9b097d6654 Mon Sep 17 00:00:00 2001 From: Saivann Date: Tue, 5 Aug 2014 16:21:42 -0400 Subject: [PATCH] Translate operating system names (fixes #487) --- _templates/choose-your-wallet.html | 16 ++++++++-------- _translations/en.yml | 6 ++++++ 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/_templates/choose-your-wallet.html b/_templates/choose-your-wallet.html index 175862a9..d87e072a 100755 --- a/_templates/choose-your-wallet.html +++ b/_templates/choose-your-wallet.html @@ -511,17 +511,17 @@ wallets:
  • {% translate walletcatmobile %}
  • {% translate walletcatdesktop %}
  • @@ -535,7 +535,7 @@ wallets:

    {{ wallet[1].title }}

    -
    {% for os in platform.os %}{{ os }}{% endfor %}
    +
    {% for os in platform.os %}{% translate platform{{os}} %}{% endfor %}
    {% if platform.link contains '://' %}{% translate walletvisit %}{% else %}{% translate {{platform.link}} %}{% endif %}{% if platform.source %}{% translate walletsourcecode %}{% endif %}
    {% for check in platform.check %}{% if check[0] == 'privacy' and platform.privacycheck %} @@ -565,7 +565,7 @@ wallets:

    {{ wallet[1].title }}

    -
    {% for os in platform[1].os %}{{ os }}{% endfor %}
    +
    {% for os in platform[1].os %}{% translate platform{{os}} %}{% endfor %}
    {% if platform[1].link contains '://' %}{% translate walletvisit %}{% else %}{% translate {{platform[1].link}} %}{% endif %}{% if platform[1].source %}{% translate walletsourcecode %}{% endif %}
    {% for check in platform[1].check %}{% if check[0] == 'privacy' and platform[1].privacycheck %} diff --git a/_translations/en.yml b/_translations/en.yml index cfa3ac3a..a0d720ca 100644 --- a/_translations/en.yml +++ b/_translations/en.yml @@ -122,6 +122,12 @@ en: walletdownload: "Download" walletvisit: "Visit website" walletsourcecode: "Source code" + platformandroid: "Android" + platformiphone: "iPhone" + platformblackberry: "BlackBerry" + platformwindows: "Windows" + platformmac: "Mac" + platformlinux: "Linux" checkgoodcontrolfull: "Control over your money" checkgoodcontrolfulltxt: "This wallet gives you full control over your bitcoins. This means no third party can freeze or lose your funds. You are however still responsible for securing and backing up your wallet." checkpasscontrolhybrid: "Hosted control over your money"