Repository navigation
Fixes
- Only Worm scores are kept. The score callback accepted any game name, so a modified client could fill a phone's saved data with made-up entries. It now takes the Worm game only and refuses NaN. Thanks to @HeinoDev (#2).
- Message previews wrap to two lines in the Messages list instead of being cut off. Also from @HeinoDev (#2).
New
- Simplified Chinese. A full
zh-CNlocale, and Chinese font fallbacks for the handset, since its typefaces have no Han characters. SetLocale = 'zh-CN'inconfigs/config.luato use it. Thanks to @AlexWangOlu (#1). - "now" can be translated. The time shown on new messages comes from the locale (
ui.messages.now).
The customer texts, contact lines and names are in configs/ rather than the locale, so they stay in English unless you translate those files on your server.
Update
Download sd-trapphone.zip below (not Source code) and replace your sd-trapphone folder with it. Nothing in configs/ or items.md changed since 1.0.0, so you can keep your own configs. If you edited locales/en.json, add the new ui.messages.now key to it (a missing key falls back to "now"). The full guide is at docs.samueldev.shop/resources/trapphone.