Skip to content

Commit

Permalink
update metrics graphs to use translations
Browse files Browse the repository at this point in the history
  • Loading branch information
jabelone committed Jul 13, 2024
1 parent bc9e840 commit 376b238
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions src-frontend/src/i18n/en-AU/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@ export default {
subscription_count_total: 'Subscription States',
memberbucks_balance_total: 'Spacebucks In Circulation',
memberbucks_transactions_total: 'Spacebucks Transaction Volume',
labels: {
noob: 'New Member',
active: 'Active Member',
inactive: 'Inactive Member',
accountonly: 'Account Only',
cancelling: 'Cancelling In Progress',
stripe: 'Stripe Topup',
other: 'Other Topup',
interlock: 'Interlock Payment',
card: 'Swipe Card Payment',
web: 'Online Payment',
},
},
button: {
submit: 'Submit',
Expand Down
2 changes: 1 addition & 1 deletion src-frontend/src/pages/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="text-h6">{{ $t(`stats.${key}`) }}</div>
</div>
<div class="col-12 q-px-md q-pt-md">
<MetricsGraph :metricsData="value" />
<MetricsGraph :metricsData="value" :id="key" />
</div>
</div>
</q-card-section>
Expand Down

0 comments on commit 376b238

Please sign in to comment.