mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/DonateOptionsCard: parametrize card processor string
This commit is contained in:
parent
218916cee3
commit
f0f5d7be7e
2 changed files with 4 additions and 5 deletions
|
@ -9,8 +9,7 @@
|
||||||
"card.monthly": "monthly donation",
|
"card.monthly": "monthly donation",
|
||||||
"card.custom": "custom amount (from $2)",
|
"card.custom": "custom amount (from $2)",
|
||||||
|
|
||||||
"card.processor.stripe": "processed by stripe",
|
"card.processor": "processed by {{value}}",
|
||||||
"card.processor.liberapay": "processed by liberapay",
|
|
||||||
|
|
||||||
"card.option.5": "cup of coffee",
|
"card.option.5": "cup of coffee",
|
||||||
"card.option.10": "full size pizza",
|
"card.option.10": "full size pizza",
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
<div class="donation-type-text">
|
<div class="donation-type-text">
|
||||||
<div class="donate-card-title">{$t("donate.card.once")}</div>
|
<div class="donate-card-title">{$t("donate.card.once")}</div>
|
||||||
<div class="donate-card-subtitle">
|
<div class="donate-card-subtitle">
|
||||||
{$t("donate.card.processor.stripe")}
|
{$t("donate.card.processor", { value: 'stripe' })}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<div class="donation-type-text">
|
<div class="donation-type-text">
|
||||||
<div class="donate-card-title">{$t("donate.card.monthly")}</div>
|
<div class="donate-card-title">{$t("donate.card.monthly")}</div>
|
||||||
<div class="donate-card-subtitle">
|
<div class="donate-card-subtitle">
|
||||||
{$t("donate.card.processor.liberapay")}
|
{$t("donate.card.processor", { value: 'liberapay' })}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="donate-card-subtitle processor-mobile">
|
<div class="donate-card-subtitle processor-mobile">
|
||||||
{$t(`donate.card.processor.${processor}`)}
|
{$t("donate.card.processor", { value: processor })}
|
||||||
</div>
|
</div>
|
||||||
</DonateCardContainer>
|
</DonateCardContainer>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue