diff --git a/_templates/choose-your-wallet.html b/_templates/choose-your-wallet.html index 516d6888..3068e632 100755 --- a/_templates/choose-your-wallet.html +++ b/_templates/choose-your-wallet.html @@ -7,6 +7,7 @@ layout: base id: choose-your-wallet +max_wallet_text_length: 418 ## Unicode characters wallets: - bitcoincore: @@ -1231,7 +1232,9 @@ wallets:
{% translate {{check[1]}}txt %}
{% translate {{platform.text}} %}
+ {% capture platform_text %}{% translate {{platform.text}} %}{% endcapture %} + {% assign platform_text_length = platform_text | size %} +{% if platform_text_length > page.max_wallet_text_length %}{% die Wallet text too long %}{% else %}{{platform_text}}{% endif %}
{% translate {{check[1]}}txt %}
{% translate {{platform[1].text}} %}
+ {% capture platform_text %}{% translate {{platform[1].text}} %}{% endcapture %} + {% assign platform_text_length = platform_text | size %} +{% if platform_text_length > page.max_wallet_text_length %}{% die Wallet text too long %}{% else %}{{platform_text}}{% endif %}