ludic.ui, ludic.i18n: frame_allocs to 0 - a wrap, an ellipsis, a tooltip's lines, a text-shadow's colour and a range's value kept by what made them; pointer events from a ring; inline text joined through the memo; the pool's and the state's lists through ui_kept; parse, memo miss, pool miss, lazy start and template errors declared; the translation cache clears in place
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
629579123a
commit
429e419327
71 changed files with 365 additions and 155 deletions
|
|
@ -27,6 +27,7 @@ export function i18n_use(i18n_st: mut I18nState, code: string) -> void {
|
|||
}
|
||||
|
||||
# a .po's text as the lookups, whatever the language is called (a test, a file from elsewhere)
|
||||
@alloc_ok("on a language change: the language's messages read in")
|
||||
export function i18n_load_text(i18n_st: mut I18nState, text: string) -> void {
|
||||
let es = i18n_parse(text)
|
||||
i18n_st.exact = Dict.new()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue