Make a record: USD / THB / EUR selector and English / Thai language switch
Deploy test site / deploy (push) Successful in 1m45s

User (October 2026): currency selector on the first page (USD / THB /
EUR) and a language selector for Thai on the make-a-record demo.

- Top bar: one currency control (replaces the THB/USD switch on the
  price step) and an EN / Thai control, visible from step 1; both persist
  (localStorage, #cur= / #lang= in the URL, hash wins). Prices stay
  computed in THB: USD = THB / 33, EUR = THB / 38.115 (1 EUR = 1.155
  USD); the fan price is entered in the chosen currency and stored in
  THB, the campaign rule max(100, break-even) unchanged.
- Thai: every visible string, tooltip, aria label, file check, quote
  line, production update, passport, investor note and tour caption
  (dictionary T = {en, th}, t(key, vars), data-i18n attributes; 636
  keys), system Thai fonts, Thai dates with Gregorian years, and a footer
  note that the Thai is a draft translation for review. Template PDFs
  stay English (Helvetica has no Thai glyphs).
- Top bar wraps to two rows below 1000 px (steps were cut off between 761
  and 990 px before).
- README and landing entries mention the currencies and Thai.

Checks (headless Edge): doc example unchanged in THB (37,836 per title,
232 per copy at 100, break-even 41, goal 100, ~548 kept, 640 hint);
conversions exact; 390 / 768 / 1024 / 1440 px, light and dark, EN and
TH, all currencies, steps 1 to 5: no page errors, overflow or untranslated
leftovers; tour in Thai; node --check; no em dashes.
This commit is contained in:
grabowski committed 2026-10-16 22:03:50 +07:00
1 parent 3f1e4452b8
commit f7e20e1015
3 files changed
+844 -350

No files matched your search

+3 -2
View File
@@ -200,8 +200,9 @@ The detail lives in dedicated documents:
platform as a customer sees it, in one polished flow: design the record
against a to-scale mock-up, check the music and artwork, see the price,
let fans fund it, follow the production and open the record passport
(the traceability record of one copy); investor notes on every step and
a one-minute guided tour (`#tour`)
(the traceability record of one copy); investor notes on every step, a
one-minute guided tour (`#tour`), prices in THB, USD or EUR and the whole
page in English or Thai (draft translation, `#cur=EUR&lang=th`)
- [Factory console and order status](docs/factory-console.html): the
factory application of the [digital factory](docs/digital-factory.md)
plan as a demo on a simulated plant day: the press floor with live
+839 -347
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -114,7 +114,8 @@ document.documentElement.setAttribute("data-theme",t);})();
clear price, let fans fund the pressing, follow production through
the artist approvals and open the record passport of one delivered
copy. Switch on investor notes for the business case behind each
step, or press Tour for a one-minute walk-through.</span>
step, or press Tour for a one-minute walk-through. Prices in THB,
USD or EUR; English or Thai.</span>
</a>
</li>
<li>