Fix vue-i18n var substitution error in checkout

fixes #1438
This commit is contained in:
Kukks 2020-04-06 13:38:43 +02:00
parent 17a6b7d34f
commit 5503132ffc
2 changed files with 4 additions and 5 deletions

View File

@ -220,8 +220,7 @@
<div>
<div class="expired__body" style="margin-bottom: 20px;">
<div class="expired__header">{{$t("What happened?")}}</div>
<div class="expired__text" i18n="">
{{$t("InvoiceExpired_Body_1", {storeName: srvModel.storeName, maxTimeMinutes: @Model.MaxTimeMinutes})}}
<div class="expired__text" v-html="$t('InvoiceExpired_Body_1', {storeName: srvModel.storeName, maxTimeMinutes: @Model.MaxTimeMinutes})">
</div>
<div class="expired__text">
{{$t("InvoiceExpired_Body_2")}}
@ -238,7 +237,7 @@
</div>
</div>
<a class="action-button" :href="srvModel.merchantRefLink" v-show="!isModal">
<span>{{$t("Return to StoreName", srvModel)}}</span>
<span v-html="$t('Return to StoreName', srvModel)"></span>
</a>
<button class="action-button close-action" v-show="isModal" v-on:click="close">
<span v-html="$t('Close')"></span>

View File

@ -34,7 +34,7 @@
</div>
<div class="bp-view payment manual-flow" id="copy" v-bind:class="{ 'active': currentTab == 'copy'}">
<div class="manual__step-two__instructions">
<span i18n="">{{$t("CompletePay_Body", srvModel)}}</span>
<span v-html="$t('CompletePay_Body', srvModel)"></span>
</div>
<div class="copyLabelPopup">
<span>{{$t("Copied")}}</span>
@ -171,7 +171,7 @@
@if (Model.ShowRecommendedFee) {
<div id="recommended-fee" class="recommended-fee" v-bind:class="{ hide: !srvModel.feeRate }">
<span>{{$t("Recommended_Fee", srvModel)}}</span>
<span v-html="$t('Recommended_Fee', srvModel)"></span>
</div>
}
</div>