mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +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.custom": "custom amount (from $2)",
|
||||
|
||||
"card.processor.stripe": "processed by stripe",
|
||||
"card.processor.liberapay": "processed by liberapay",
|
||||
"card.processor": "processed by {{value}}",
|
||||
|
||||
"card.option.5": "cup of coffee",
|
||||
"card.option.10": "full size pizza",
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
<div class="donation-type-text">
|
||||
<div class="donate-card-title">{$t("donate.card.once")}</div>
|
||||
<div class="donate-card-subtitle">
|
||||
{$t("donate.card.processor.stripe")}
|
||||
{$t("donate.card.processor", { value: 'stripe' })}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -103,7 +103,7 @@
|
|||
<div class="donation-type-text">
|
||||
<div class="donate-card-title">{$t("donate.card.monthly")}</div>
|
||||
<div class="donate-card-subtitle">
|
||||
{$t("donate.card.processor.liberapay")}
|
||||
{$t("donate.card.processor", { value: 'liberapay' })}
|
||||
</div>
|
||||
</div>
|
||||
</button>
|
||||
|
@ -146,7 +146,7 @@
|
|||
</button>
|
||||
</div>
|
||||
<div class="donate-card-subtitle processor-mobile">
|
||||
{$t(`donate.card.processor.${processor}`)}
|
||||
{$t("donate.card.processor", { value: processor })}
|
||||
</div>
|
||||
</DonateCardContainer>
|
||||
|
||||
|
|
Loading…
Reference in a new issue