fix(dashboard): configured currency + localized widget labels - #27
Conversation
PRs #27 (dashboard currency/labels) and #28 (KSeF invoice email) added new strings to en+pl only. Add the Turkish and Simplified Chinese translations for the 42 admin.dashboard.* keys, the email.ksef_issued.* block and pdf.ksef_number, and realign the zh files to English's exact structure (mirror test). Also exclude KsefInvoiceIssuedMail from the template-coverage test: like BulkMassMail it renders its own fixed layout (with the PDF and verification QR) and is not an operator-edited template. Parity and the Simplified Chinese mirror stay green.
|
Merged — thank you. Killing the hardcoded One thing I completed on merge: the 42 new For future PRs that touch |
Problem
Dashboard admina pokazywał kwoty ze znakiem \$\ mimo domyślnej waluty PLN — bo widgety \BillingWidget\ i \OrdersWidget\ miały hardcoded '$'.
Zmiana
Zamieniono '$'.number_format(...)\ na helper \money_fmt(...), który używa waluty domyślnej z \Currency::getDefault()\ (prefix + suffix). Kwoty dostosowują się do skonfigurowanej waluty (np. \1200.00 zł).