Skip to content

Commit

Permalink
Fix strings on the UI missed in i18n translation. Closes #506.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 16, 2021
1 parent 823f11e commit a017597
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/views/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<section class="dashboard content">
<header class="columns">
<div class="column is-two-thirds">
<h1 class="title is-5">{{ dayjs().format("ddd, DD MMM") }}</h1>
<h1 class="title is-5">{{ $utils.niceDate(new Date()) }}</h1>
</div>
</header>

Expand Down Expand Up @@ -60,7 +60,8 @@
<div class="column is-6">
<ul class="no has-text-grey">
<li v-for="(num, status) in counts.campaigns.byStatus" :key="status">
<label>{{ num }}</label> {{ status }}
<label>{{ num }}</label>
{{ $t(`campaigns.status.${status}`) }}
<span v-if="status === 'running'" class="spinner is-tiny">
<b-loading :is-full-page="false" active />
</span>
Expand Down

0 comments on commit a017597

Please sign in to comment.