Returns the effective copy tree ggpaintr uses to label every generated
control. Call it with no arguments to see the current defaults, or pass
ui_text = a list of overrides to get back a validated, merged
ptr_ui_text object. That object can be reused across ptr_app() /
ptr_server() calls — those entry points short-circuit when handed an
already-merged ptr_ui_text, so the overrides are validated once.
Details
Use it to (1) discover the override schema (names(ptr_ui_text()) and
the section below), and (2) fail fast on a malformed override list before
launching an app — ptr_ui_text() raises on unknown sections, keywords,
or leaf fields.
UI text schema
Override lists mirror the structure of ptr_ui_text(). Recognised paths
(every leaf is a named list of the fields below):
shell$title$<leaf>shell$draw_button$<leaf>shell$draw_all_button$<leaf>shell$layer_picker$<leaf>shell$data_subtab$<leaf>shell$controls_subtab$<leaf>upload$file$<leaf>upload$name$<leaf>layer_checkbox$<leaf>defaults$<keyword>$<leaf>— per placeholder keyword (ppVar,ppText,ppNum,ppExpr,ppUpload, ...)params$<param>$<keyword>$<leaf>— per aesthetic/argument name (x,y,color, ...); aliases (colour,size) are normalizedlayers$<layer_name>$<keyword>$<param>$<leaf>— per layer override (use__unnamed__as<param>for positional arguments)
Leaf fields are label, help, placeholder, and empty_text. Leaf
strings may use the {param} and {layer} tokens, which are interpolated
at resolve time.
