Butter Up
README.md
text (incrementalKit)
Every word incrementalKit shows a player (shop, prestige, welcome back, milestones, HUD buttons, toasts, requirement sentences) goes through Text.t(key, values, english), which reads the package's own catalogs locales/<tag>/incrementalkit.json in the player's language and falls back to the English carried in the call. The kit ships English and Brazilian Portuguese; a world rewords any key by stating it in its own locales/<tag>/incrementalkit.json, and adds a language the same way. Text.revision() moves when the language or a catalog changes (the kit's screens redraw on it, live), Text.upper upper-cases for the language. Used by incrementalKit.inc and incrementalKit.ui.