egui_pop_platform/strings.rs
1//! The text the platform services show themselves, by key with English
2//! fallbacks, translated by the installed `egui_pop_core::strings`
3//! provider (egui-pop's catalogues carry them). What their plugins
4//! declare (settings, commands, plugin titles) is translated where it is
5//! drawn, through keys derived from its id. [`ALL`] lists every key.
6
7use egui_pop_core::strings::StrKey;
8
9/// The toast offering a crash report from the last session.
10pub const CRASH_OFFER: StrKey = StrKey::new(
11 "egui-pop-crash-offer",
12 "{ $app } closed unexpectedly last time. A report was saved on this computer; nothing was sent.",
13);
14/// Its button.
15pub const CRASH_SHOW: StrKey = StrKey::new("egui-pop-crash-show", "Show the report");
16
17/// Every key.
18pub const ALL: &[StrKey] = &[CRASH_OFFER, CRASH_SHOW];