Skip to content

Commit

Permalink
Update vue-i18n for bug fixes
Browse files Browse the repository at this point in the history
Don't delete _i18n in beforeDestroy
(kazupon/vue-i18n#880):
Avoid that translations in long-running methods throw on
translations after destruction.

Allow component interpolation without root element
(kazupon/vue-i18n#878):
For fixed responsiveness of the mobile checkout cancel
button.
  • Loading branch information
danimoh committed Jun 15, 2020
1 parent a25775c commit 42ad753
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -30,7 +30,7 @@
"@sentry/integrations": "^5.12.0",
"big-integer": "^1.6.48",
"vue": "^2.6.11",
"vue-i18n": "^8.15.5",
"vue-i18n": "^8.17.6",
"vue-property-decorator": "^8.4.0",
"vue-router": "^3.0.2",
"vuex": "^3.1.2",
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/fr.po
Expand Up @@ -135,7 +135,7 @@ msgstr ""

#: src/views/Checkout.vue:55
msgid "Cancel {payment}"
msgstr "Annuler le {payment}"
msgstr "Annuler {payment}"

#: src/views/SignTransactionLedger.vue:109
msgid "Cancel Payment"
Expand Down Expand Up @@ -573,7 +573,7 @@ msgstr "Payer avec Nimiq"

#: src/views/Checkout.vue:57
msgid "Payment"
msgstr "Paiement"
msgstr "le Paiement"

#: src/components/CheckoutCard.vue:182
msgid "Payment successful"
Expand Down
4 changes: 2 additions & 2 deletions src/views/Checkout.vue
Expand Up @@ -52,8 +52,8 @@
<button class="global-close nq-button-s" @click="close">
<ArrowLeftSmallIcon/>
<i18n path="Cancel {payment}">
<template v-slot:payment>
<i18n path="Cancel {payment}" :tag="false">
<template #payment>
<span>{{ $t('Payment') }}</span>
</template>
</i18n>
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -10182,10 +10182,10 @@ vue-hot-reload-api@^2.3.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.1.tgz#b2d3d95402a811602380783ea4f566eb875569a2"

vue-i18n@^8.15.5:
version "8.16.0"
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.16.0.tgz#f84188a36a4cc3c876427b869c7c5a82d6696080"
integrity sha512-cp9JOsx4ETzlCsnD22FE8ZhAmD8kcyNLRKV0DPsS7bBNTCdIlOKuyTGonWKYcGCUtNMtwemDWRBevRm8eevBVg==
vue-i18n@^8.17.6:
version "8.17.6"
resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-8.17.6.tgz#eb894dc1db7f69f505a8df5fed37f8d10aa10980"
integrity sha512-SsKL5D9Ii3zJPsFhUSllY754XuZvP8uCouUm+Mbylu95h3OwenV09uzIIEjkT7EtWyDQuWSMWObrNaD4ukBGZw==

vue-jest@^3.0.5:
version "3.0.5"
Expand Down

0 comments on commit 42ad753

Please sign in to comment.