Skip to content

Commit 0b4c259

Browse files
committed
App.vue: add i18n for network issue message
1 parent 1c9bcd3 commit 0b4c259

File tree

10 files changed

+550
-425
lines changed

10 files changed

+550
-425
lines changed

src/App.vue

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<template>
22
<div id="app" :class="{'consensus-stalled': consensus === 'stalled'}">
33
<div v-if="consensus === 'stalled'" class="red-notice">
4-
<template v-if="isMainnet">
5-
A network issue occurred, please stand by. Click
6-
<a href="https://x.com/nimiq/status/1860886491292913679" target="_blank">
7-
here</a> for updates.
8-
</template>
9-
<template v-else>
10-
The network is temporarily not processing transactions or staking rewards,
11-
thank you for your patience.
12-
</template>
4+
<i18n v-if="isMainnet" path="A network issue occurred, please stand by. Click {link} for updates."
5+
:tag="false">
6+
<template #link>
7+
<a href="https://x.com/nimiq/status/1860886491292913679" target="_blank">{{ $t('here') }}</a>
8+
</template>
9+
</i18n>
10+
<template v-else>{{
11+
$t('The network is temporarily not processing transactions or staking rewards, thank you for your '
12+
+ 'patience.')
13+
}}</template>
1314
</div>
1415
<main :class="activeMobileColumn" ref="$main">
1516
<Sidebar/>

0 commit comments

Comments
 (0)