invoice/app
Claude 0f26de9222
Use translation keys for all FX row labels; append currency dynamically
All four FX sub-row labels now come from config translations instead of
hardcoded English strings. Labels with a currency suffix (per-item,
total-foreign) have the currency code appended by updateFxLabels() so
they read e.g. "Price per item in USD" / "Line total in USD" and update
when the foreign currency dropdown changes. Language switching also
re-applies all four labels via the existing updateFxLabels() call in
relabel().

Translation key values updated:
- currency-code  → "Foreign currency code"
- exchange-rate  → "Exchange rate" (dropped the redundant convention note)
- per-item       → "Price per item in"  (currency appended at runtime)
- total-foreign  → "Line total in"      (currency appended at runtime)

PDF note updated to match: "Price per item in USD: 100.00 (35 THB per USD)"

https://claude.ai/code/session_0151QtsUhzXmgzEhSvXG2SDt
2026-06-02 01:31:18 +00:00
..
config.yml Use translation keys for all FX row labels; append currency dynamically 2026-06-02 01:31:18 +00:00
index.html Use translation keys for all FX row labels; append currency dynamically 2026-06-02 01:31:18 +00:00