#[repr(C)]pub struct ShellLabels {
pub back: Option<String>,
pub load_more: Option<String>,
pub refresh: Option<String>,
pub ok: Option<String>,
pub cancel: Option<String>,
pub done: Option<String>,
pub pdf_error: Option<String>,
pub pdf_title: Option<String>,
pub web_title: Option<String>,
}Expand description
Text the shells draw themselves (back buttons, web list controls, dialog/picker defaults), in the
app’s language. Set once on the scaffold with with_labels; every field is optional and falls
back to the shell’s built-in English. A label passed to a specific call (confirm_with,
Picker) still wins over these.
Fields§
§back: Option<String>Split back-button text on every shell; the Scaffold back button’s accessible name.
load_more: Option<String>Web LazyList “Load more” button.
refresh: Option<String>Web LazyList refresh button (shown after a ↻) and the web scaffold refresh button’s name.
ok: Option<String>Confirm dialog: the confirming button when the call gives no label.
cancel: Option<String>Confirm dialog and pickers: the dismissing button when the call gives no label.
done: Option<String>Pickers: the accepting button when the call gives no label.
pdf_error: Option<String>Android PdfView error text.
pdf_title: Option<String>Web PDF iframe title (accessibility).
web_title: Option<String>Web WebView iframe title (accessibility).