aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/features/ark.js4
-rw-r--r--src/i18n.js1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/features/ark.js b/src/features/ark.js
index 131ff1a..1fd49ae 100644
--- a/src/features/ark.js
+++ b/src/features/ark.js
@@ -1645,7 +1645,9 @@ export function arkFeature(ctx) {
h('div', { class: 'card col', style: 'gap:8px' },
h('h3', { style: 'margin:0' }, t('arkCoinsTitle')),
h('p', { class: 'small muted', style: 'margin:0' },
- t('arkCoinsIntro', { n: spend.length, total: fmtAmount(totalSat) + ' ' + unitLabel() })),
+ spend.length === 1
+ ? t('arkCoinsIntroOne', { total: fmtAmount(totalSat) + ' ' + unitLabel() })
+ : t('arkCoinsIntro', { n: spend.length, total: fmtAmount(totalSat) + ' ' + unitLabel() })),
// One coin per row, two lines: the amount (with its renewal price on
// the right — the number this page's action spends), then a faint
// meta line. Five flexed columns fit a laptop but wrapped into
diff --git a/src/i18n.js b/src/i18n.js
index 2ce8bc1..375edaf 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -210,6 +210,7 @@ const STR = {
arkSpentElsewhereN: '{n} coins',
arkCoinsTitle: 'Spending coins',
arkCoinsIntro: 'Your Spending balance lives in {n} coins totalling {total}. Each can be pulled on-chain without the server’s help — at a cost that grows with the coin’s history.',
+ arkCoinsIntroOne: 'Your Spending balance lives in a single coin of {total}. It can be pulled on-chain without the server’s help — at a cost that grows with the coin’s history.',
arkCoinsRowMeta: '{exp} · depth {d} · exit fee {exit}',
arkCoinsRowRenew: 'renew {fee}',
arkCoinsExpIn: 'expires in {when}',