pub type HintRow = (&'static str, &'static str);
#[derive(Debug, Clone, Copy)]
pub struct Strings {
pub hud_hint_rows: &'static [HintRow],
pub hud_edit_rows: &'static [HintRow],
pub hud_saved_prefix: &'static str,
pub hud_save_failed_prefix: &'static str,
pub hud_quit_unsaved: &'static str,
}
pub const EN: Strings = Strings {
hud_hint_rows: &[
("drag", "draw / move / resize"),
("Shift", "lock ratio / 15 turns"),
("Q E", "rotate"),
("W", "tool"),
("A", "label"),
("S", "save"),
("D", "delete"),
("Z", "undo / Shift redo"),
("C", "cycle overlap"),
("Alt+drag", "duplicate"),
("arrows", "nudge (Shift 10, Alt size)"),
("M", "hold: loupe"),
("N", "name session"),
("3-9", "polygon sides"),
("Space", "hold: move panel"),
("H", "hide panel"),
("Esc", "quit"),
],
hud_edit_rows: &[("type", "text"), ("Enter", "commit"), ("Esc", "cancel")],
hud_saved_prefix: "Saved ",
hud_save_failed_prefix: "Save failed: ",
hud_quit_unsaved: "Unsaved work - S saves, Esc again quits",
};