;examples:debconf: add missing commodity declarations for consistent display

This commit is contained in:
Simon Michael 2026-01-10 00:25:59 -10:00
parent 85bedb77ac
commit 6c33f6d821
3 changed files with 40 additions and 2 deletions

View File

@ -1,9 +1,19 @@
diff --git a/budget/commodities.inc b/budget/commodities.inc
index 8a644c7..ab13ae7 100644
index 8a644c7..675d1c1 100644
--- a/budget/commodities.inc
+++ b/budget/commodities.inc
@@ -23,3 +23,3 @@ commodity TWD
@@ -17,2 +17,6 @@ commodity CHF
+commodity CNY
+ note Chinese yuan
+ format CNY 1,000.00
+
commodity MXN
@@ -23,3 +27,3 @@ commodity TWD
note Taiwan New Dollar
- format TWD 1,000
+ format TWD 1,000.00
default
diff --git a/budget/forex.db b/budget/forex.db
new file mode 100644
index 0000000..e69de29

View File

@ -0,0 +1,17 @@
diff --git a/budget/commodities.inc b/budget/commodities.inc
index a7738bb..ee32731 100644
--- a/budget/commodities.inc
+++ b/budget/commodities.inc
@@ -20 +20,12 @@ commodity BRL
default
+
+commodity GBP
+ note British pound
+ format GBP 1,000.00
+ nomarket
+
+commodity ZAR
+ note South African rand
+ format ZAR 1,000.00
+ nomarket
+

View File

@ -1,3 +1,14 @@
diff --git a/budget/commodities.inc b/budget/commodities.inc
index 023894b..41dbcce 100644
--- a/budget/commodities.inc
+++ b/budget/commodities.inc
@@ -14 +14,6 @@ commodity CHF
nomarket
+
+commodity CNY
+ note Chinese yuan
+ format CNY 1,000.00
+ nomarket
diff --git a/budget/expenses.ledger b/budget/expenses.ledger
index dc887c6..90cb494 100644
--- a/budget/expenses.ledger