Skip to main content

egui_pop_api/
strings.rs

1//! The text egui-pop's application interface shows itself (the palette's
2//! prompt, the settings window's buttons, the shortcuts editor, dialogs'
3//! buttons, toasts, devtools, the workbench's tab menu...), by key with
4//! English fallbacks, read through `egui_pop_core::strings` so that the
5//! installed provider translates it. The OK, Cancel, Close, Reset and
6//! Retry buttons use core's keys ([`egui_pop_core::strings::ALL`]).
7//!
8//! What plugins declare (command titles, categories, panel titles,
9//! submenu labels, settings, plugin titles, frame titles) is not here: it is
10//! translated where it is drawn, through keys derived from its id
11//! (`egui_pop_core::strings::command_title` and its siblings).
12//!
13//! Keys are Fluent message ids, `egui-pop-<area>-<what>`; placeholders
14//! are written `{ $name }` and filled by `strings::tr_args`. [`ALL`]
15//! lists every key, for catalogues and tests.
16
17use egui_pop_core::strings::StrKey;
18
19// Shared.
20
21/// A command as lists show it (the palette, the shortcuts editor).
22pub const COMMAND_LABEL: StrKey =
23    StrKey::new("egui-pop-command-label", "{ $category }: { $title }");
24/// Undo and redo naming what they would do ("Undo exposure change").
25pub const COMMAND_WITH_CHANGE: StrKey =
26    StrKey::new("egui-pop-command-with-change", "{ $title } { $change }");
27/// A search or a filter found nothing.
28pub const NOTHING_MATCHES: StrKey = StrKey::new("egui-pop-nothing-matches", "Nothing matches.");
29
30// Menus.
31
32pub const MENU_TOO_DEEP: StrKey =
33    StrKey::new("egui-pop-menu-too-deep", "`{ $menu }` nests too deep");
34pub const MENU_EMPTY: StrKey = StrKey::new("egui-pop-menu-empty", "(empty)");
35pub const MENU_MORE: StrKey = StrKey::new("egui-pop-menu-more", "More menus");
36pub const MENU_MAIN: StrKey = StrKey::new("egui-pop-menu-main", "Main menu");
37/// A toolbar's button holding the tools that do not fit.
38pub const TOOLBAR_MORE: StrKey = StrKey::new("egui-pop-toolbar-more", "More tools");
39/// The same button of a named toolbar (`Toolbar::name`).
40pub const TOOLBAR_MORE_IN: StrKey =
41    StrKey::new("egui-pop-toolbar-more-in", "More tools: { $toolbar }");
42/// A toolbar button's tooltip: its command's title and its key.
43pub const TOOLBAR_WITH_KEY: StrKey =
44    StrKey::new("egui-pop-toolbar-with-key", "{ $action } ({ $keys })");
45pub const MENU_DOES_NOT_APPLY: StrKey = StrKey::new(
46    "egui-pop-menu-does-not-apply",
47    "Does not apply here ({ $when })",
48);
49pub const MENU_NOT_AVAILABLE: StrKey =
50    StrKey::new("egui-pop-menu-not-available", "Not available here");
51/// A greyed menu entry whose command runs in another open window.
52pub const MENU_IN_WINDOW: StrKey =
53    StrKey::new("egui-pop-menu-in-window", "Only in the { $window } window");
54pub const MENU_NO_COMMAND: StrKey = StrKey::new("egui-pop-menu-no-command", "No command `{ $id }`");
55pub const MENU_RUNNING: StrKey = StrKey::new("egui-pop-menu-running", "Running…");
56pub const MENU_LAST_RUN_FAILED: StrKey = StrKey::new(
57    "egui-pop-menu-last-run-failed",
58    "Last run failed: { $error }",
59);
60
61// The command palette.
62
63pub const PALETTE_TITLE: StrKey = StrKey::new("egui-pop-palette-title", "Command palette");
64pub const PALETTE_HINT: StrKey = StrKey::new("egui-pop-palette-hint", "Type a command");
65pub const PALETTE_RECENT: StrKey = StrKey::new("egui-pop-palette-recent", "recent");
66pub const PALETTE_RECENT_KEYS: StrKey =
67    StrKey::new("egui-pop-palette-recent-keys", "recent  { $keys }");
68pub const PALETTE_NO_MATCH: StrKey =
69    StrKey::new("egui-pop-palette-no-match", "No command matches.");
70/// A quick pick none of whose choices matches what is typed.
71pub const PALETTE_PICK_NO_MATCH: StrKey =
72    StrKey::new("egui-pop-palette-pick-no-match", "Nothing matches.");
73/// An argument's prompt: the command's title and the argument's name.
74pub const PALETTE_ARGUMENT_TITLE: StrKey = StrKey::new(
75    "egui-pop-palette-argument-title",
76    "{ $command }: { $argument }",
77);
78pub const PALETTE_ARGUMENT_HELP: StrKey = StrKey::new(
79    "egui-pop-palette-argument-help",
80    "Argument { $at } of { $count }. Enter: next; empty: { $example }; Escape: back.",
81);
82pub const PALETTE_NOT_BOOL: StrKey = StrKey::new(
83    "egui-pop-palette-not-bool",
84    "`{ $input }` is not true or false",
85);
86pub const PALETTE_NOT_NUMBER: StrKey = StrKey::new(
87    "egui-pop-palette-not-number",
88    "`{ $input }` is not a number",
89);
90pub const PALETTE_NOT_JSON: StrKey =
91    StrKey::new("egui-pop-palette-not-json", "not JSON: { $error }");
92
93// The administration app (`admin`): settings as full pages.
94
95pub const ADMIN_SEARCH_HINT: StrKey =
96    StrKey::new("egui-pop-admin-search-hint", "Search every setting");
97pub const ADMIN_SHOW_ITEM: StrKey = StrKey::new("egui-pop-admin-show-item", "Show");
98pub const ADMIN_SHOW_ITEM_NAME: StrKey = StrKey::new(
99    "egui-pop-admin-show-item-name",
100    "Show { $item } in its page",
101);
102pub const ADMIN_POP_OUT: StrKey = StrKey::new("egui-pop-admin-pop-out", "Pop out");
103pub const ADMIN_POP_OUT_TIP: StrKey = StrKey::new(
104    "egui-pop-admin-pop-out-tip",
105    "Move the settings to a window of their own",
106);
107pub const ADMIN_POP_IN: StrKey = StrKey::new("egui-pop-admin-pop-in", "Back into the window");
108pub const ADMIN_CLOSE: StrKey = StrKey::new("egui-pop-admin-close", "Close");
109pub const ADMIN_SCOPES: StrKey = StrKey::new("egui-pop-admin-scopes", "Setting families");
110pub const ADMIN_SECTIONS: StrKey = StrKey::new("egui-pop-admin-sections", "Sections");
111pub const ADMIN_NAV_RESIZE: StrKey =
112    StrKey::new("egui-pop-admin-nav-resize", "Resize the sections");
113pub const ADMIN_RESET_SECTION: StrKey =
114    StrKey::new("egui-pop-admin-reset-section", "Reset section");
115pub const ADMIN_MODIFIED_COUNT: StrKey =
116    StrKey::new("egui-pop-admin-modified-count", "Changed: { $count }");
117pub const ADMIN_QUICK_TITLE: StrKey = StrKey::new("egui-pop-admin-quick-title", "Quick settings");
118pub const ADMIN_QUICK_HINT: StrKey =
119    StrKey::new("egui-pop-admin-quick-hint", "Search every setting");
120pub const ADMIN_QUICK_MARKED: StrKey = StrKey::new("egui-pop-admin-quick-marked", "Often changed");
121pub const ADMIN_QUICK_RECENT: StrKey = StrKey::new("egui-pop-admin-quick-recent", "Changed lately");
122pub const ADMIN_QUICK_NONE: StrKey = StrKey::new(
123    "egui-pop-admin-quick-none",
124    "No quick settings yet: type to search every setting.",
125);
126pub const ADMIN_QUICK_NO_HIT: StrKey =
127    StrKey::new("egui-pop-admin-quick-no-hit", "No setting matches.");
128pub const ADMIN_QUICK_OPEN: StrKey = StrKey::new("egui-pop-admin-quick-open", "Open in Settings");
129pub const ADMIN_QUICK_OPEN_NAME: StrKey = StrKey::new(
130    "egui-pop-admin-quick-open-name",
131    "Open { $setting } in Settings",
132);
133pub const ADMIN_FOCUS: StrKey = StrKey::new("egui-pop-admin-focus", "Settings for");
134pub const ADMIN_FOCUS_TIP: StrKey = StrKey::new(
135    "egui-pop-admin-focus-tip",
136    "Whose values these settings show and change. Settings with no such level are the app's, the same everywhere.",
137);
138pub const ADMIN_SET_FOR: StrKey = StrKey::new("egui-pop-admin-set-for", "Set for");
139pub const ADMIN_SET_FOR_NAME: StrKey =
140    StrKey::new("egui-pop-admin-set-for-name", "Where { $setting } is set");
141pub const ADMIN_FOR_APP: StrKey = StrKey::new("egui-pop-admin-for-app", "This app");
142pub const ADMIN_FOR_APP_ABOUT: StrKey = StrKey::new(
143    "egui-pop-admin-for-app-about",
144    "everywhere, unless set for a scope below",
145);
146pub const ADMIN_SET_FOR_TIP: StrKey = StrKey::new(
147    "egui-pop-admin-set-for-tip",
148    "Where this value applies. When several hold a value, the lowest in this list wins:",
149);
150pub const ADMIN_ORIGIN_RUN: StrKey = StrKey::new("egui-pop-admin-origin-run", "command line");
151pub const ADMIN_ORIGIN_TIP: StrKey = StrKey::new(
152    "egui-pop-admin-origin-tip",
153    "This value is set for: { $origin }",
154);
155pub const ADMIN_RUN_READ_ONLY: StrKey = StrKey::new(
156    "egui-pop-admin-run-read-only",
157    "Set on the command line for this run: not editable here",
158);
159/// Above the Settings page when no store keeps the values.
160pub const ADMIN_SESSION_ONLY: StrKey = StrKey::new(
161    "egui-pop-admin-session-only",
162    "Changes made here last this session only: nothing keeps them.",
163);
164/// A store's error above the Settings page (a failed load or save).
165pub const ADMIN_STORE_ERROR: StrKey = StrKey::new(
166    "egui-pop-admin-store-error",
167    "Settings not kept: { $error }",
168);
169pub const ADMIN_MODIFIED: StrKey = StrKey::new("egui-pop-admin-modified", "modified");
170pub const ADMIN_NO_WIDGET: StrKey = StrKey::new(
171    "egui-pop-admin-no-widget",
172    "No widget kind `{ $kind }` is registered",
173);
174pub const ADMIN_NO_RECORDS: StrKey = StrKey::new("egui-pop-admin-no-records", "Nothing here yet.");
175/// Beside a list read again: its rows are the last ones until the new
176/// ones come.
177pub const ADMIN_REFRESHING: StrKey = StrKey::new("egui-pop-admin-refreshing", "Refreshing…");
178/// A record row's button opening its detail sheet: its name and tooltip.
179pub const ADMIN_DETAIL_OPEN: StrKey =
180    StrKey::new("egui-pop-admin-detail-open", "Details: { $row }");
181pub const ADMIN_SECTION_GESTURES: StrKey =
182    StrKey::new("egui-pop-admin-section-gestures", "Pointer gestures");
183pub const ADMIN_SECTION_ADVANCED: StrKey =
184    StrKey::new("egui-pop-admin-section-advanced", "Advanced");
185pub const ADMIN_ADVANCED_ABOUT: StrKey = StrKey::new(
186    "egui-pop-admin-advanced-about",
187    "The settings window of before: every setting and the shortcuts on one searchable form.",
188);
189pub const ADMIN_ADVANCED_OPEN: StrKey =
190    StrKey::new("egui-pop-admin-advanced-open", "Open the settings window…");
191pub const ADMIN_SCOPE_GENERAL: StrKey = StrKey::new("egui-pop-admin-scope-general", "General");
192pub const ADMIN_SCOPE_INTERFACE: StrKey =
193    StrKey::new("egui-pop-admin-scope-interface", "Interface");
194pub const ADMIN_SCOPE_INPUT: StrKey = StrKey::new("egui-pop-admin-scope-input", "Input");
195pub const ADMIN_SCOPE_DEVELOPER: StrKey =
196    StrKey::new("egui-pop-admin-scope-developer", "Developer");
197
198// The wizard kit (`admin::wizard`).
199
200pub const ADMIN_WIZARD_NEXT: StrKey = StrKey::new("egui-pop-admin-wizard-next", "Next");
201pub const ADMIN_WIZARD_BACK: StrKey = StrKey::new("egui-pop-admin-wizard-back", "Back");
202pub const ADMIN_WIZARD_SKIP: StrKey = StrKey::new("egui-pop-admin-wizard-skip", "Skip");
203pub const ADMIN_WIZARD_CANCEL: StrKey = StrKey::new("egui-pop-admin-wizard-cancel", "Cancel");
204pub const ADMIN_WIZARD_FINISH: StrKey = StrKey::new("egui-pop-admin-wizard-finish", "Finish");
205pub const ADMIN_WIZARD_STEPS: StrKey = StrKey::new("egui-pop-admin-wizard-steps", "Steps");
206pub const ADMIN_WIZARD_STEP_OF: StrKey = StrKey::new(
207    "egui-pop-admin-wizard-step-of",
208    "Step { $n } of { $count }, { $title }",
209);
210pub const ADMIN_WIZARD_DONE: StrKey = StrKey::new("egui-pop-admin-wizard-done", "done");
211pub const ADMIN_WIZARD_LATER: StrKey =
212    StrKey::new("egui-pop-admin-wizard-later", "not reachable yet");
213pub const ADMIN_WIZARD_OPTIONAL: StrKey = StrKey::new("egui-pop-admin-wizard-optional", "optional");
214pub const ADMIN_WIZARD_SUMMARY: StrKey = StrKey::new("egui-pop-admin-wizard-summary", "Summary");
215pub const ADMIN_WIZARD_SUMMARY_ABOUT: StrKey = StrKey::new(
216    "egui-pop-admin-wizard-summary-about",
217    "Check your choices: Change goes back to a step.",
218);
219pub const ADMIN_WIZARD_CHANGE: StrKey = StrKey::new("egui-pop-admin-wizard-change", "Change");
220pub const ADMIN_WIZARD_CHANGE_NAME: StrKey =
221    StrKey::new("egui-pop-admin-wizard-change-name", "Change { $step }");
222pub const ADMIN_WIZARD_YES: StrKey = StrKey::new("egui-pop-admin-wizard-yes", "Yes");
223pub const ADMIN_WIZARD_NO: StrKey = StrKey::new("egui-pop-admin-wizard-no", "No");
224pub const ADMIN_WIZARD_NOT_SET: StrKey = StrKey::new("egui-pop-admin-wizard-not-set", "Not set");
225pub const ADMIN_WIZARD_ALL: StrKey = StrKey::new("egui-pop-admin-wizard-all", "All");
226pub const ADMIN_WIZARD_NO_CHOICES: StrKey =
227    StrKey::new("egui-pop-admin-wizard-no-choices", "Nothing to choose.");
228pub const ADMIN_WIZARD_REQUIRED: StrKey =
229    StrKey::new("egui-pop-admin-wizard-required", "{ $field }: required.");
230pub const ADMIN_WIZARD_BELOW: StrKey = StrKey::new(
231    "egui-pop-admin-wizard-below",
232    "{ $field }: at least { $min }.",
233);
234pub const ADMIN_WIZARD_ABOVE: StrKey = StrKey::new(
235    "egui-pop-admin-wizard-above",
236    "{ $field }: at most { $max }.",
237);
238pub const ADMIN_WIZARD_NOT_A_CHOICE: StrKey = StrKey::new(
239    "egui-pop-admin-wizard-not-a-choice",
240    "{ $field }: choose one of those offered.",
241);
242pub const ADMIN_WIZARD_CANCEL_TITLE: StrKey =
243    StrKey::new("egui-pop-admin-wizard-cancel-title", "Cancel { $wizard }?");
244pub const ADMIN_WIZARD_CANCEL_TEXT: StrKey = StrKey::new(
245    "egui-pop-admin-wizard-cancel-text",
246    "What you entered is lost.",
247);
248pub const ADMIN_WIZARD_CANCEL_VERB: StrKey =
249    StrKey::new("egui-pop-admin-wizard-cancel-verb", "Discard");
250
251// The settings window and form.
252
253pub const SETTINGS_TITLE: StrKey = StrKey::new("egui-pop-settings-title", "Settings");
254pub const SETTINGS_SEARCH_HINT: StrKey = StrKey::new(
255    "egui-pop-settings-search-hint",
256    "Search settings and shortcuts",
257);
258/// The section holding the shortcuts editor.
259pub const SETTINGS_SHORTCUTS: StrKey =
260    StrKey::new("egui-pop-settings-shortcuts", "Keyboard shortcuts");
261pub const SETTINGS_FONTS: StrKey = StrKey::new("egui-pop-settings-fonts", "Fonts");
262pub const FONTS_THEMES: StrKey = StrKey::new("egui-pop-fonts-themes", "The theme's");
263pub const FONTS_PREVIEW: StrKey = StrKey::new("egui-pop-fonts-preview", "Preview");
264pub const FONTS_NUMBERS: StrKey =
265    StrKey::new("egui-pop-fonts-numbers", "Values line their digits up:");
266pub const FONTS_PICKER_HINT: StrKey = StrKey::new(
267    "egui-pop-fonts-picker-hint",
268    "Each family is drawn in its own face, but the system's; rest the pointer on one to preview it below.",
269);
270pub const FONTS_ORIGIN_BUNDLED: StrKey =
271    StrKey::new("egui-pop-fonts-origin-bundled", "Shipped with egui");
272pub const FONTS_ORIGIN_REGISTERED: StrKey = StrKey::new(
273    "egui-pop-fonts-origin-registered",
274    "Shipped with the application",
275);
276pub const FONTS_ORIGIN_FILE: StrKey =
277    StrKey::new("egui-pop-fonts-origin-file", "One of your font files");
278pub const FONTS_ORIGIN_SYSTEM: StrKey =
279    StrKey::new("egui-pop-fonts-origin-system", "Installed on the system");
280pub const SETTINGS_UNDO: StrKey = StrKey::new("egui-pop-settings-undo", "Undo");
281pub const SETTINGS_REDO: StrKey = StrKey::new("egui-pop-settings-redo", "Redo");
282pub const SETTINGS_UNDO_STEP: StrKey = StrKey::new(
283    "egui-pop-settings-undo-step",
284    "Undo { $change } (the settings only)",
285);
286pub const SETTINGS_REDO_STEP: StrKey = StrKey::new(
287    "egui-pop-settings-redo-step",
288    "Redo { $change } (the settings only)",
289);
290pub const SETTINGS_NOTHING_TO_UNDO: StrKey = StrKey::new(
291    "egui-pop-settings-nothing-to-undo",
292    "Nothing to undo in the settings",
293);
294pub const SETTINGS_NOTHING_TO_REDO: StrKey = StrKey::new(
295    "egui-pop-settings-nothing-to-redo",
296    "Nothing to redo in the settings",
297);
298pub const SETTINGS_UNDO_NAME: StrKey =
299    StrKey::new("egui-pop-settings-undo-name", "Undo in the settings");
300pub const SETTINGS_REDO_NAME: StrKey =
301    StrKey::new("egui-pop-settings-redo-name", "Redo in the settings");
302/// A setting's reset button, as the screen reader says it.
303pub const SETTINGS_RESET_SETTING: StrKey =
304    StrKey::new("egui-pop-settings-reset-setting", "Reset { $setting }");
305pub const SETTINGS_AT_DEFAULT: StrKey = StrKey::new(
306    "egui-pop-settings-at-default",
307    "{ $setting } is at its default",
308);
309/// A custom page's reset.
310pub const SETTINGS_RESET_PAGE: StrKey =
311    StrKey::new("egui-pop-settings-reset-page", "Reset the page");
312/// A custom page's reset, as the screen reader says it.
313pub const SETTINGS_RESET_PAGE_NAME: StrKey =
314    StrKey::new("egui-pop-settings-reset-page-name", "Reset { $page }");
315pub const SETTINGS_PAGE_AT_DEFAULT: StrKey = StrKey::new(
316    "egui-pop-settings-page-at-default",
317    "{ $page } is at its defaults",
318);
319/// The button opening a custom page found by the search.
320pub const SETTINGS_OPEN_PAGE: StrKey = StrKey::new("egui-pop-settings-open-page", "Open");
321pub const SETTINGS_OPEN_PAGE_NAME: StrKey = StrKey::new(
322    "egui-pop-settings-open-page-name",
323    "Open the { $page } page",
324);
325
326// The shortcuts editor.
327
328pub const SHORTCUTS_SEARCH_BY_KEY: StrKey =
329    StrKey::new("egui-pop-shortcuts-search-by-key", "Search by key");
330pub const SHORTCUTS_PRESS_TO_SEARCH: StrKey = StrKey::new(
331    "egui-pop-shortcuts-press-to-search",
332    "Press the keys to search for. Escape: cancel.",
333);
334pub const SHORTCUTS_BOUND_TO: StrKey =
335    StrKey::new("egui-pop-shortcuts-bound-to", "Bound to { $keys }");
336/// The shortcuts editor's pointer gestures: the profile in force.
337pub const SHORTCUTS_POINTER_PROFILE: StrKey = StrKey::new(
338    "egui-pop-shortcuts-pointer-profile",
339    "Pointer profile: { $profile }",
340);
341/// The same, when the user changed some of its gestures.
342pub const SHORTCUTS_POINTER_PROFILE_CHANGED: StrKey = StrKey::new(
343    "egui-pop-shortcuts-pointer-profile-changed",
344    "Pointer profile: { $profile } ({ $count } changed)",
345);
346pub const SHORTCUTS_POINTER_ONLY: StrKey =
347    StrKey::new("egui-pop-shortcuts-pointer-only", "Pointer gestures only");
348pub const SHORTCUTS_POINTER_ADD: StrKey =
349    StrKey::new("egui-pop-shortcuts-pointer-add", "Add a gesture");
350pub const SHORTCUTS_POINTER_ADD_NAME: StrKey = StrKey::new(
351    "egui-pop-shortcuts-pointer-add-name",
352    "Add a gesture to { $command }",
353);
354pub const SHORTCUTS_POINTER_REMOVE_NAME: StrKey = StrKey::new(
355    "egui-pop-shortcuts-pointer-remove-name",
356    "Remove { $keys } from { $command }",
357);
358/// The pad a gesture is done on to capture it.
359pub const SHORTCUTS_POINTER_PAD: StrKey = StrKey::new(
360    "egui-pop-shortcuts-pointer-pad",
361    "Do the gesture here for { $command }: the wheel, a pinch, a click, a double click or a drag, holding its keys. Escape: cancel.",
362);
363pub const SHORTCUTS_POINTER_PAD_NAME: StrKey =
364    StrKey::new("egui-pop-shortcuts-pointer-pad-name", "Gesture pad");
365pub const SHORTCUTS_POINTER_USE: StrKey =
366    StrKey::new("egui-pop-shortcuts-pointer-use", "Use { $keys }");
367/// Alt with the pointer on Linux.
368pub const SHORTCUTS_POINTER_ALT: StrKey = StrKey::new(
369    "egui-pop-shortcuts-pointer-alt",
370    "Alt with a drag or the wheel may go to the window manager on some Linux desktops.",
371);
372/// The heading of the widgets' own gestures (a widget claiming the
373/// secondary button).
374pub const SHORTCUTS_WIDGET_USES: StrKey =
375    StrKey::new("egui-pop-shortcuts-widget-uses", "Widgets' own gestures");
376/// Under that heading.
377pub const SHORTCUTS_WIDGET_USES_NOTE: StrKey = StrKey::new(
378    "egui-pop-shortcuts-widget-uses-note",
379    "These widgets keep these gestures for themselves: context menus and the pointer profile leave them alone there.",
380);
381/// The dialog after a change of pointer profile, when the user changed
382/// gestures: its title.
383pub const POINTER_OVERRIDES_TITLE: StrKey = StrKey::new(
384    "egui-pop-pointer-overrides-title",
385    "Pointer profile: { $profile }",
386);
387pub const POINTER_OVERRIDES_DETAIL: StrKey = StrKey::new(
388    "egui-pop-pointer-overrides-detail",
389    "You changed { $count } pointer gestures. Keep your changes on top of this profile, or drop them?",
390);
391pub const POINTER_KEEP: StrKey = StrKey::new("egui-pop-pointer-keep", "Keep my changes");
392pub const POINTER_DROP: StrKey = StrKey::new("egui-pop-pointer-drop", "Drop my changes");
393pub const SHORTCUTS_SHOW_ALL: StrKey =
394    StrKey::new("egui-pop-shortcuts-show-all", "Show every command");
395pub const SHORTCUTS_CONFLICTS: StrKey = StrKey::new("egui-pop-shortcuts-conflicts", "Conflicts");
396pub const SHORTCUTS_CONFLICT_IN_SCOPE: StrKey = StrKey::new(
397    "egui-pop-shortcuts-conflict-in-scope",
398    "{ $keys } in { $scope }: { $loser } goes to { $winner }",
399);
400pub const SHORTCUTS_PRESS_NEW_KEYS: StrKey = StrKey::new(
401    "egui-pop-shortcuts-press-new-keys",
402    "Press the new keys for { $command }. Escape: cancel; Backspace: no key.",
403);
404pub const SHORTCUTS_GOES_TO: StrKey = StrKey::new(
405    "egui-pop-shortcuts-goes-to",
406    "{ $keys } goes to { $command }",
407);
408pub const SHORTCUTS_ALSO_BOUND: StrKey = StrKey::new(
409    "egui-pop-shortcuts-also-bound",
410    "{ $keys } also bound to { $command }",
411);
412/// A command whose keys also work outside the window, registered.
413pub const SHORTCUTS_SYSTEM_ON: StrKey = StrKey::new(
414    "egui-pop-shortcuts-system-on",
415    "{ $keys } also works outside the window",
416);
417/// Registration asked, not answered yet.
418pub const SHORTCUTS_SYSTEM_PENDING: StrKey = StrKey::new(
419    "egui-pop-shortcuts-system-pending",
420    "{ $keys } outside the window: waiting for the desktop",
421);
422/// The desktop refused one binding.
423pub const SHORTCUTS_SYSTEM_FAILED: StrKey = StrKey::new(
424    "egui-pop-shortcuts-system-failed",
425    "{ $keys } does not work outside the window: { $reason }",
426);
427/// The desktop takes no global shortcuts.
428pub const SHORTCUTS_SYSTEM_UNAVAILABLE: StrKey = StrKey::new(
429    "egui-pop-shortcuts-system-unavailable",
430    "{ $keys } works only in the window: { $reason }",
431);
432/// Nothing registers system shortcuts.
433pub const SHORTCUTS_SYSTEM_NO_PLUGIN: StrKey = StrKey::new(
434    "egui-pop-shortcuts-system-no-plugin",
435    "{ $keys } works only in the window: no plugin registers global shortcuts",
436);
437pub const SHORTCUTS_CHANGE: StrKey = StrKey::new("egui-pop-shortcuts-change", "Change");
438pub const SHORTCUTS_CHANGE_NAME: StrKey = StrKey::new(
439    "egui-pop-shortcuts-change-name",
440    "Change the keys of { $command }",
441);
442pub const SHORTCUTS_NO_KEY: StrKey = StrKey::new("egui-pop-shortcuts-no-key", "No key");
443pub const SHORTCUTS_NO_KEY_NAME: StrKey = StrKey::new(
444    "egui-pop-shortcuts-no-key-name",
445    "Remove every key of { $command }",
446);
447pub const SHORTCUTS_DEFAULT_NAME: StrKey = StrKey::new(
448    "egui-pop-shortcuts-default-name",
449    "Default keys of { $command }",
450);
451/// Where a binding comes from, after its keys.
452pub const SHORTCUTS_FROM_WORKSPACE: StrKey =
453    StrKey::new("egui-pop-shortcuts-from-workspace", "workspace");
454pub const SHORTCUTS_FROM_USER: StrKey = StrKey::new("egui-pop-shortcuts-from-user", "user");
455/// A key and where it comes from.
456pub const SHORTCUTS_KEY_FROM: StrKey =
457    StrKey::new("egui-pop-shortcuts-key-from", "{ $keys } ({ $source })");
458/// A key and the place it listens in, when that is not every window.
459pub const SHORTCUTS_KEY_IN: StrKey =
460    StrKey::new("egui-pop-shortcuts-key-in", "{ $keys } in { $scope }");
461/// The places a binding listens in: the main window, another window, a
462/// panel.
463pub const SHORTCUTS_SCOPE_MAIN_WINDOW: StrKey =
464    StrKey::new("egui-pop-shortcuts-scope-main-window", "the main window");
465pub const SHORTCUTS_SCOPE_WINDOW: StrKey =
466    StrKey::new("egui-pop-shortcuts-scope-window", "the { $window } window");
467pub const SHORTCUTS_SCOPE_PANEL: StrKey =
468    StrKey::new("egui-pop-shortcuts-scope-panel", "the { $panel } panel");
469/// The keys whose command went with a disconnected plugin.
470pub const SHORTCUTS_DORMANT: StrKey = StrKey::new("egui-pop-shortcuts-dormant", "Dormant keys");
471pub const SHORTCUTS_DORMANT_NOTE: StrKey = StrKey::new(
472    "egui-pop-shortcuts-dormant-note",
473    "Their command's plugin is off: these keys do nothing until it is back.",
474);
475/// Why a key is dormant.
476pub const SHORTCUTS_DORMANT_PLUGIN: StrKey = StrKey::new(
477    "egui-pop-shortcuts-dormant-plugin",
478    "dormant: plugin { $plugin } is off",
479);
480/// The layer the keys changed go to.
481pub const SHORTCUTS_TARGET: StrKey =
482    StrKey::new("egui-pop-shortcuts-target", "Keys changed here apply to");
483pub const SHORTCUTS_TARGET_USER: StrKey =
484    StrKey::new("egui-pop-shortcuts-target-user", "every workspace (yours)");
485pub const SHORTCUTS_TARGET_WORKSPACE: StrKey =
486    StrKey::new("egui-pop-shortcuts-target-workspace", "this workspace");
487
488// Dialogs.
489
490pub const DIALOG_FILTER: StrKey = StrKey::new("egui-pop-dialog-filter", "Filter");
491pub const DIALOG_BROWSE: StrKey = StrKey::new("egui-pop-dialog-browse", "Browse…");
492pub const DIALOG_COPY: StrKey = StrKey::new("egui-pop-dialog-copy", "Copy");
493pub const DIALOG_COPIED: StrKey = StrKey::new("egui-pop-dialog-copied", "Copied.");
494pub const DIALOG_DETAILS: StrKey = StrKey::new("egui-pop-dialog-details", "Details");
495pub const PICKER_UP: StrKey = StrKey::new("egui-pop-picker-up", "Up");
496pub const PICKER_CHOOSE_FOLDER: StrKey =
497    StrKey::new("egui-pop-picker-choose-folder", "Choose this folder");
498pub const PICKER_CLOSE: StrKey = StrKey::new("egui-pop-picker-close", "Close the picker");
499
500// Files.
501
502pub const FILES_FILTER: StrKey = StrKey::new("egui-pop-files-filter", "Filter, or type a path");
503pub const FILES_NAME: StrKey = StrKey::new("egui-pop-files-name", "File name, or a path");
504pub const FILES_BOOKMARK: StrKey = StrKey::new("egui-pop-files-bookmark", "Bookmark this folder");
505pub const FILES_UNBOOKMARK: StrKey =
506    StrKey::new("egui-pop-files-unbookmark", "Remove the bookmark");
507pub const FILES_HOME: StrKey = StrKey::new("egui-pop-files-home", "Home");
508pub const FILES_RECENT: StrKey = StrKey::new("egui-pop-files-recent", "Recent");
509pub const FILES_BOOKMARKS: StrKey = StrKey::new("egui-pop-files-bookmarks", "Bookmarks");
510/// The system's folders in the picker's side bar.
511pub const FILES_DESKTOP: StrKey = StrKey::new("egui-pop-files-desktop", "Desktop");
512pub const FILES_DOCUMENTS: StrKey = StrKey::new("egui-pop-files-documents", "Documents");
513pub const FILES_DOWNLOADS: StrKey = StrKey::new("egui-pop-files-downloads", "Downloads");
514pub const FILES_PICTURES: StrKey = StrKey::new("egui-pop-files-pictures", "Pictures");
515pub const FILES_MUSIC: StrKey = StrKey::new("egui-pop-files-music", "Music");
516pub const FILES_VIDEOS: StrKey = StrKey::new("egui-pop-files-videos", "Videos");
517/// The heading of the volumes mounted, in the picker's side bar.
518pub const FILES_DEVICES: StrKey = StrKey::new("egui-pop-files-devices", "Devices");
519/// The section of home and the system's folders, in a panel of places.
520pub const FILES_PLACES: StrKey = StrKey::new("egui-pop-files-places", "Places");
521/// What a dimmed place is said to be (`PlaceItem::dimmed`): an offline
522/// volume's folder, still choosable.
523pub const FILES_PLACE_DIMMED: StrKey = StrKey::new("egui-pop-files-place-dimmed", "Unavailable");
524/// A bookmark's menu.
525pub const FILES_RENAME_BOOKMARK: StrKey = StrKey::new("egui-pop-files-rename-bookmark", "Rename…");
526pub const FILES_MOVE_UP: StrKey = StrKey::new("egui-pop-files-move-up", "Move up");
527pub const FILES_MOVE_DOWN: StrKey = StrKey::new("egui-pop-files-move-down", "Move down");
528/// The field renaming a bookmark.
529pub const FILES_BOOKMARK_NAME: StrKey =
530    StrKey::new("egui-pop-files-bookmark-name", "Bookmark name");
531pub const FILES_TYPE: StrKey = StrKey::new("egui-pop-files-type", "File type");
532pub const FILES_ALL: StrKey = StrKey::new("egui-pop-files-all", "All files");
533pub const FILES_HIDDEN: StrKey = StrKey::new("egui-pop-files-hidden", "Hidden files");
534pub const FILES_OPEN: StrKey = StrKey::new("egui-pop-files-open", "Open");
535pub const FILES_SAVE: StrKey = StrKey::new("egui-pop-files-save", "Save");
536/// The picker's button making a folder.
537pub const FILES_NEW_FOLDER: StrKey = StrKey::new("egui-pop-files-new-folder", "New folder");
538/// The label of the new folder's name.
539pub const FILES_FOLDER_NAME: StrKey = StrKey::new("egui-pop-files-folder-name", "Folder name");
540/// The button making the folder named.
541pub const FILES_CREATE: StrKey = StrKey::new("egui-pop-files-create", "Create");
542pub const FILES_FOLDER_NAME_EMPTY: StrKey = StrKey::new(
543    "egui-pop-files-folder-name-empty",
544    "Type a name for the folder",
545);
546pub const FILES_FOLDER_NAME_INVALID: StrKey = StrKey::new(
547    "egui-pop-files-folder-name-invalid",
548    "{ $name } cannot name a folder: type a single name, without a path",
549);
550pub const FILES_FOLDER_EXISTS: StrKey =
551    StrKey::new("egui-pop-files-folder-exists", "{ $name } already exists");
552pub const FILES_FOLDER_FAILED: StrKey = StrKey::new(
553    "egui-pop-files-folder-failed",
554    "Could not create { $name }: { $reason }",
555);
556/// Why a file system held in memory (the web build's) has no new folder.
557pub const FILES_FOLDER_READ_ONLY: StrKey = StrKey::new(
558    "egui-pop-files-folder-read-only",
559    "These files are read-only: no folder can be created here",
560);
561/// The question before replacing a file: its title.
562pub const FILES_REPLACE_TITLE: StrKey =
563    StrKey::new("egui-pop-files-replace-title", "Replace { $name }?");
564/// The question's consequences.
565pub const FILES_REPLACE_DETAIL: StrKey = StrKey::new(
566    "egui-pop-files-replace-detail",
567    "This file already exists in { $folder }. Replacing it overwrites its contents.",
568);
569/// The question's primary button.
570pub const FILES_REPLACE: StrKey = StrKey::new("egui-pop-files-replace", "Replace");
571/// The picker's refusal when no dialog can ask (no dialogs plugin).
572pub const FILES_REPLACE_NO_DIALOGS: StrKey = StrKey::new(
573    "egui-pop-files-replace-no-dialogs",
574    "{ $name } already exists, and no dialog can ask whether to replace it: choose another name",
575);
576/// The count of files selected, choosing several.
577pub const FILES_SELECTED: StrKey = StrKey::new("egui-pop-files-selected", "Selected: { $count }");
578/// The same, some of them hidden now by the filter.
579pub const FILES_SELECTED_NOT_SHOWN: StrKey = StrKey::new(
580    "egui-pop-files-selected-not-shown",
581    "Selected: { $count } ({ $hidden } not shown)",
582);
583/// Why a folder is not selected, choosing several files.
584pub const FILES_SELECT_FOLDER: StrKey = StrKey::new(
585    "egui-pop-files-select-folder",
586    "{ $name } is a folder: it is not selected with the files, Enter goes into it",
587);
588/// Why selecting all did nothing.
589pub const FILES_SELECT_ALL_NONE: StrKey = StrKey::new(
590    "egui-pop-files-select-all-none",
591    "No file is shown to select",
592);
593/// The primary button choosing several files, one or more selected.
594pub const FILES_OPEN_ONE_FILE: StrKey = StrKey::new("egui-pop-files-open-one-file", "Open 1 file");
595pub const FILES_OPEN_FILES: StrKey =
596    StrKey::new("egui-pop-files-open-files", "Open { $count } files");
597/// The primary button choosing a folder, named after the folder it takes.
598pub const FILES_CHOOSE_NAMED: StrKey =
599    StrKey::new("egui-pop-files-choose-named", "Choose “{ $name }”");
600/// The readout beside the buttons when the primary button opens a file.
601pub const FILES_READOUT_FILE: StrKey =
602    StrKey::new("egui-pop-files-readout-file", "File: { $name }");
603/// The readout when the primary button goes into a folder (opening files).
604pub const FILES_READOUT_ENTER: StrKey =
605    StrKey::new("egui-pop-files-readout-enter", "Goes into { $name }");
606/// The readout saving: the name, and the folder it is written in.
607pub const FILES_READOUT_SAVE: StrKey =
608    StrKey::new("egui-pop-files-readout-save", "{ $name } in { $folder }");
609/// Why the primary button is off: saving without a name.
610pub const FILES_NAME_NEEDED: StrKey =
611    StrKey::new("egui-pop-files-name-needed", "Type a name to save under");
612/// Why the primary button is off: opening, with nothing to open.
613pub const FILES_NOTHING_TO_OPEN: StrKey =
614    StrKey::new("egui-pop-files-nothing-to-open", "Nothing here to open");
615/// The list's empty states, each with a way out.
616pub const FILES_EMPTY_FOLDER: StrKey = StrKey::new("egui-pop-files-empty-folder", "Empty folder");
617pub const FILES_NO_SUBFOLDERS: StrKey =
618    StrKey::new("egui-pop-files-no-subfolders", "No folders in here");
619pub const FILES_NO_RESULTS: StrKey = StrKey::new("egui-pop-files-no-results", "No results");
620pub const FILES_NO_RESULTS_FOR: StrKey = StrKey::new(
621    "egui-pop-files-no-results-for",
622    "Nothing in this folder matches “{ $text }”",
623);
624pub const FILES_NO_RESULTS_TYPE: StrKey = StrKey::new(
625    "egui-pop-files-no-results-type",
626    "No file of this type: { $filter }",
627);
628pub const FILES_CLEAR_FILTER: StrKey = StrKey::new("egui-pop-files-clear-filter", "Clear filter");
629pub const FILES_SHOW_ALL: StrKey = StrKey::new("egui-pop-files-show-all", "Show all files");
630pub const FILES_UNREADABLE: StrKey = StrKey::new("egui-pop-files-unreadable", "Cannot be read");
631pub const FILES_RETRY: StrKey = StrKey::new("egui-pop-files-retry", "Retry");
632pub const FILES_GO_UP: StrKey = StrKey::new("egui-pop-files-go-up", "Go up");
633/// The in-app picker's views, and the size of its thumbnails.
634pub const FILES_VIEW_LIST: StrKey = StrKey::new("egui-pop-files-view-list", "List");
635pub const FILES_VIEW_GRID: StrKey = StrKey::new("egui-pop-files-view-grid", "Grid");
636pub const FILES_THUMBNAIL_SIZE: StrKey =
637    StrKey::new("egui-pop-files-thumbnail-size", "Thumbnail size");
638/// The file browser's modes, and its switcher's name when it is a menu.
639pub const FILES_MODES: StrKey = StrKey::new("egui-pop-files-modes", "View mode");
640pub const FILES_MODE_DETAILS: StrKey = StrKey::new("egui-pop-files-mode-details", "Details");
641pub const FILES_MODE_THUMBNAILS: StrKey =
642    StrKey::new("egui-pop-files-mode-thumbnails", "Thumbnails");
643pub const FILES_MODE_COLUMNS: StrKey = StrKey::new("egui-pop-files-mode-columns", "Columns");
644pub const FILES_MODE_FILMSTRIP: StrKey = StrKey::new("egui-pop-files-mode-filmstrip", "Filmstrip");
645pub const FILES_MODE_CAROUSEL: StrKey = StrKey::new("egui-pop-files-mode-carousel", "Carousel");
646pub const FILES_MODE_AGENDA: StrKey = StrKey::new("egui-pop-files-mode-agenda", "Agenda");
647/// The library grid mode's name (`egui_pop_views::library::LibraryGridMode`).
648pub const FILES_MODE_LIBRARY: StrKey = StrKey::new("egui-pop-files-mode-library", "Library grid");
649/// The agenda's heading over the entries without a time.
650pub const FILES_AGENDA_UNDATED: StrKey = StrKey::new("egui-pop-files-agenda-undated", "No date");
651/// The file browser's large views: the filmstrip's, and quick look.
652pub const FILES_PREVIEW_OF: StrKey =
653    StrKey::new("egui-pop-files-preview-of", "Preview of { $name }");
654pub const FILES_QUICK_LOOK: StrKey =
655    StrKey::new("egui-pop-files-quick-look", "Quick look: { $name }");
656/// The agenda's levels, in its toolbar.
657pub const FILES_AGENDA_DAY: StrKey = StrKey::new("egui-pop-files-agenda-day", "Day");
658pub const FILES_AGENDA_MONTH: StrKey = StrKey::new("egui-pop-files-agenda-month", "Month");
659pub const FILES_AGENDA_YEAR: StrKey = StrKey::new("egui-pop-files-agenda-year", "Year");
660/// The row a column ends with while its folder is being listed.
661pub const FILES_LISTING: StrKey = StrKey::new("egui-pop-files-listing", "Listing…");
662/// What a drop over the file browser would do.
663pub const FILES_DROP_INTO: StrKey = StrKey::new("egui-pop-files-drop-into", "Drop into { $name }");
664pub const FILES_DROP_REFUSED: StrKey =
665    StrKey::new("egui-pop-files-drop-refused", "Cannot drop here");
666/// Over a window while files from another program hover it, where no
667/// widget shows where they would go.
668pub const FILES_DROP_HERE: StrKey = StrKey::new("egui-pop-files-drop-here", "Drop the files here");
669pub const FILES_DROP_NOWHERE: StrKey =
670    StrKey::new("egui-pop-files-drop-nowhere", "Nothing here takes files");
671/// The in-app picker's breadcrumbs: what each part is called, and what a
672/// segment's menu says when it has nothing to list.
673pub const FILES_CRUMB_OPEN: StrKey =
674    StrKey::new("egui-pop-files-crumb-open", "Open folder { $name }");
675pub const FILES_CRUMB_CURRENT: StrKey =
676    StrKey::new("egui-pop-files-crumb-current", "The folder shown");
677pub const FILES_CRUMB_SUBFOLDERS: StrKey =
678    StrKey::new("egui-pop-files-crumb-subfolders", "Subfolders of { $name }");
679pub const FILES_CRUMB_COLLAPSED: StrKey =
680    StrKey::new("egui-pop-files-crumb-collapsed", "Folders above");
681pub const FILES_CRUMB_NONE: StrKey = StrKey::new("egui-pop-files-crumb-none", "No subfolders");
682pub const FILES_CRUMB_UNREADABLE: StrKey = StrKey::new(
683    "egui-pop-files-crumb-unreadable",
684    "This folder cannot be read",
685);
686/// The in-app picker's columns, and what they say of a folder and of a file
687/// without an extension.
688pub const FILES_COLUMN_NAME: StrKey = StrKey::new("egui-pop-files-column-name", "Name");
689pub const FILES_COLUMN_SIZE: StrKey = StrKey::new("egui-pop-files-column-size", "Size");
690pub const FILES_COLUMN_MODIFIED: StrKey = StrKey::new("egui-pop-files-column-modified", "Modified");
691pub const FILES_COLUMN_TYPE: StrKey = StrKey::new("egui-pop-files-column-type", "Type");
692/// When a photo was taken: the file browser's sort by capture time.
693pub const FILES_COLUMN_TAKEN: StrKey = StrKey::new("egui-pop-files-column-taken", "Taken");
694/// The file browser's sort menu, as a screen reader names it.
695pub const FILES_SORT_BY: StrKey = StrKey::new("egui-pop-files-sort-by", "Sort by");
696pub const FILES_KIND_FOLDER: StrKey = StrKey::new("egui-pop-files-kind-folder", "Folder");
697pub const FILES_KIND_FILE: StrKey = StrKey::new("egui-pop-files-kind-file", "File");
698/// A column's header as a screen reader says it.
699pub const FILES_SORTED_UP: StrKey =
700    StrKey::new("egui-pop-files-sorted-up", "{ $column }, sorted ascending");
701pub const FILES_SORTED_DOWN: StrKey = StrKey::new(
702    "egui-pop-files-sorted-down",
703    "{ $column }, sorted descending",
704);
705/// Why the headers do not sort while the field filters.
706pub const FILES_SORT_RANKED: StrKey = StrKey::new(
707    "egui-pop-files-sort-ranked",
708    "While the field filters, the best matches come first",
709);
710pub const FILES_FOLDERS_FIRST: StrKey =
711    StrKey::new("egui-pop-files-folders-first", "Folders first");
712/// The picker's switch: files that go together are one entry.
713pub const FILES_GROUP: StrKey = StrKey::new("egui-pop-files-group", "Group files");
714/// That switch's tip.
715pub const FILES_GROUP_TIP: StrKey = StrKey::new(
716    "egui-pop-files-group-tip",
717    "Files that go together show as one entry, and choosing it gives the main one; off, each is an entry of its own",
718);
719/// What a group's entry says of its other files.
720pub const FILES_GROUP_WITH: StrKey =
721    StrKey::new("egui-pop-files-group-with", "Grouped with { $members }");
722/// The title over a group's other files in the preview pane.
723pub const FILES_GROUP_MEMBERS: StrKey = StrKey::new("egui-pop-files-group-members", "Grouped with");
724/// Under a preview that is a group member's, for a main file without one.
725pub const FILES_GROUP_STAND_IN: StrKey =
726    StrKey::new("egui-pop-files-group-stand-in", "Preview from { $name }");
727pub const FILES_PREVIEW: StrKey = StrKey::new("egui-pop-files-preview", "Preview");
728pub const FILES_PREVIEW_RESIZE: StrKey =
729    StrKey::new("egui-pop-files-preview-resize", "Resize the preview");
730pub const FILES_PREVIEW_LOADING: StrKey =
731    StrKey::new("egui-pop-files-preview-loading", "Loading the preview…");
732pub const FILES_PREVIEW_NONE: StrKey = StrKey::new("egui-pop-files-preview-none", "No preview");
733pub const FILES_PREVIEW_FAILED: StrKey =
734    StrKey::new("egui-pop-files-preview-failed", "The preview failed");
735pub const FILES_SIZE: StrKey = StrKey::new("egui-pop-files-size", "Size");
736pub const FILES_ITEMS: StrKey = StrKey::new("egui-pop-files-items", "Items");
737/// The name of the picker's entries for assistive technology.
738pub const FILES_ENTRIES_OF: StrKey =
739    StrKey::new("egui-pop-files-entries-of", "Files in { $folder }");
740/// Said when the picker shows another folder.
741pub const FILES_FOLDER_OPENED: StrKey = StrKey::new(
742    "egui-pop-files-folder-opened",
743    "{ $folder }, entries: { $count }",
744);
745pub const FILES_DIMENSIONS: StrKey = StrKey::new("egui-pop-files-dimensions", "Dimensions");
746pub const FILES_PAGES: StrKey = StrKey::new("egui-pop-files-pages", "Pages");
747/// A photo's facts in the preview pane.
748pub const FILES_TAKEN: StrKey = StrKey::new("egui-pop-files-taken", "Taken");
749pub const FILES_CAMERA: StrKey = StrKey::new("egui-pop-files-camera", "Camera");
750pub const FILES_LENS: StrKey = StrKey::new("egui-pop-files-lens", "Lens");
751pub const FILES_EXPOSURE: StrKey = StrKey::new("egui-pop-files-exposure", "Exposure");
752pub const FILES_FOCAL_LENGTH: StrKey = StrKey::new("egui-pop-files-focal-length", "Focal length");
753pub const FILES_RATING: StrKey = StrKey::new("egui-pop-files-rating", "Rating");
754/// A rating's stars, as a screen reader said them. No longer shown: the
755/// preview's stars are `egui_pop_core::rating::RatingStars`, read with
756/// `egui_pop_core::strings::RATING_VALUE`; kept for compatibility.
757pub const FILES_RATING_VALUE: StrKey =
758    StrKey::new("egui-pop-files-rating-value", "{ $stars } of 5");
759pub const FILES_MODIFIED: StrKey = StrKey::new("egui-pop-files-modified", "Modified");
760
761// Toasts.
762
763pub const TOAST_INFO: StrKey = StrKey::new("egui-pop-toast-info", "Information");
764pub const TOAST_SUCCESS: StrKey = StrKey::new("egui-pop-toast-success", "Done");
765pub const TOAST_WARNING: StrKey = StrKey::new("egui-pop-toast-warning", "Warning");
766pub const TOAST_ERROR: StrKey = StrKey::new("egui-pop-toast-error", "Error");
767/// A toast's close button, as the screen reader says it.
768pub const TOAST_CLOSE: StrKey = StrKey::new("egui-pop-toast-close", "Close: { $text }");
769/// A toast's Copy button, for a notice: copies its text and details.
770pub const TOAST_COPY: StrKey = StrKey::new("egui-pop-toast-copy", "Copy: { $text }");
771/// The headline of a command's technical failure, reported to the user
772/// (its text goes under Details).
773pub const COMMAND_FAILED: StrKey =
774    StrKey::new("egui-pop-command-failed", "{ $command } did not work");
775/// A notice site's close button, as the screen reader says it.
776pub const NOTICE_CLOSE: StrKey = StrKey::new("egui-pop-notice-close", "Close: { $text }");
777/// The Notices panel's title, and the bell's name.
778pub const NOTICES_TITLE: StrKey = StrKey::new("egui-pop-notices-title", "Notices");
779/// One error, in the bell's tooltip.
780pub const NOTICES_ERRORS_ONE: StrKey = StrKey::new("egui-pop-notices-errors-one", "1 error");
781/// Errors, in the bell's tooltip.
782pub const NOTICES_ERRORS: StrKey = StrKey::new("egui-pop-notices-errors", "{ $count } errors");
783/// One warning, in the bell's tooltip.
784pub const NOTICES_WARNINGS_ONE: StrKey = StrKey::new("egui-pop-notices-warnings-one", "1 warning");
785/// Warnings, in the bell's tooltip.
786pub const NOTICES_WARNINGS: StrKey =
787    StrKey::new("egui-pop-notices-warnings", "{ $count } warnings");
788/// The bell's tooltip: the errors and warnings not seen yet.
789pub const NOTICES_UNSEEN: StrKey =
790    StrKey::new("egui-pop-notices-unseen", "{ $counts } not yet seen");
791/// The bell's tooltip with nothing new.
792pub const NOTICES_NONE_UNSEEN: StrKey =
793    StrKey::new("egui-pop-notices-none-unseen", "No new errors or warnings");
794/// The Notices panel with nothing kept.
795pub const NOTICES_EMPTY: StrKey = StrKey::new("egui-pop-notices-empty", "No notices.");
796/// The Notices panel's severity filter.
797pub const NOTICES_SEVERITY: StrKey = StrKey::new("egui-pop-notices-severity", "Severity");
798/// No severity filter.
799pub const NOTICES_ALL_SEVERITIES: StrKey =
800    StrKey::new("egui-pop-notices-all-severities", "All severities");
801/// The Notices panel's origin filter.
802pub const NOTICES_ORIGIN: StrKey = StrKey::new("egui-pop-notices-origin", "Origin");
803/// No origin filter.
804pub const NOTICES_ALL_ORIGINS: StrKey = StrKey::new("egui-pop-notices-all-origins", "All origins");
805/// The Notices panel's node filter.
806pub const NOTICES_NODE: StrKey = StrKey::new("egui-pop-notices-node", "Node");
807/// No node filter.
808pub const NOTICES_ALL_NODES: StrKey = StrKey::new("egui-pop-notices-all-nodes", "All nodes");
809/// The Notices panel's search field.
810pub const NOTICES_SEARCH: StrKey = StrKey::new("egui-pop-notices-search", "Search notices");
811/// A notice from the user's own action.
812pub const NOTICES_ORIGIN_USER: StrKey = StrKey::new("egui-pop-notices-origin-user", "You");
813/// A notice from background work.
814pub const NOTICES_ORIGIN_BACKGROUND: StrKey =
815    StrKey::new("egui-pop-notices-origin-background", "Background");
816/// A notice from another node.
817pub const NOTICES_ORIGIN_NODE: StrKey = StrKey::new("egui-pop-notices-origin-node", "Other nodes");
818/// A notice from the system.
819pub const NOTICES_ORIGIN_SYSTEM: StrKey = StrKey::new("egui-pop-notices-origin-system", "System");
820/// Marks every notice seen.
821pub const NOTICES_MARK_SEEN: StrKey = StrKey::new("egui-pop-notices-mark-seen", "Mark all seen");
822/// Copies the notices listed, as text for a bug report.
823pub const NOTICES_COPY_ALL: StrKey = StrKey::new("egui-pop-notices-copy-all", "Copy all");
824/// Puts away the notices seen.
825pub const NOTICES_CLEAR_SEEN: StrKey = StrKey::new("egui-pop-notices-clear-seen", "Clear seen");
826/// A row's button putting its notice away.
827pub const NOTICES_DISMISS: StrKey = StrKey::new("egui-pop-notices-dismiss", "Dismiss: { $text }");
828/// The symbol of a condition that ended.
829pub const NOTICES_RESOLVED: StrKey = StrKey::new("egui-pop-notices-resolved", "Resolved");
830/// Why a toast's action is greyed: its command went with its plugin.
831pub const TOAST_ACTION_GONE: StrKey = StrKey::new(
832    "egui-pop-toast-action-gone",
833    "Its plugin { $plugin } is disconnected",
834);
835
836// The window and its frame.
837
838pub const FRAME_WINDOW_MENU: StrKey = StrKey::new("egui-pop-frame-window-menu", "Window menu");
839/// The application's logo in its title bar, for screen readers.
840pub const FRAME_LOGO: StrKey = StrKey::new("egui-pop-frame-logo", "{ $application } logo");
841pub const WINDOW_EXIT_FULLSCREEN: StrKey =
842    StrKey::new("egui-pop-window-exit-fullscreen", "Exit full screen (F11)");
843pub const WINDOW_PLACED_BY_SYSTEM: StrKey = StrKey::new(
844    "egui-pop-window-placed-by-system",
845    "On Wayland the system places windows: their size is kept, not their position",
846);
847
848// The workbench.
849
850pub const AREA_CENTER: StrKey = StrKey::new("egui-pop-area-center", "the centre");
851pub const AREA_START_SIDE: StrKey = StrKey::new("egui-pop-area-start-side", "the start side bar");
852pub const AREA_END_SIDE: StrKey = StrKey::new("egui-pop-area-end-side", "the end side bar");
853pub const AREA_BOTTOM: StrKey = StrKey::new("egui-pop-area-bottom", "the bottom panel");
854pub const AREA_RESIZE: StrKey = StrKey::new("egui-pop-area-resize", "Resize { $area }");
855/// An area as a title of its own: the tab menu's Move group list.
856pub const AREA_TITLE_CENTER: StrKey = StrKey::new("egui-pop-area-title-center", "Centre");
857pub const AREA_TITLE_START_SIDE: StrKey =
858    StrKey::new("egui-pop-area-title-start-side", "Start side bar");
859pub const AREA_TITLE_END_SIDE: StrKey = StrKey::new("egui-pop-area-title-end-side", "End side bar");
860pub const AREA_TITLE_BOTTOM: StrKey = StrKey::new("egui-pop-area-title-bottom", "Bottom panel");
861/// An area holding panels, in the tab menu's Move group list: its title
862/// and its panels' titles.
863pub const WORKBENCH_DOCK_TITLE: StrKey =
864    StrKey::new("egui-pop-workbench-dock-title", "{ $area } ({ $panels })");
865/// The activity bar's pane, for screen readers and tests.
866pub const AREA_ACTIVITY_BAR: StrKey = StrKey::new("egui-pop-area-activity-bar", "the activity bar");
867pub const WORKBENCH_MOVE_TO: StrKey =
868    StrKey::new("egui-pop-workbench-move-to", "Move to { $area }");
869pub const WORKBENCH_STAYS_OUT: StrKey = StrKey::new(
870    "egui-pop-workbench-stays-out",
871    "{ $panel } stays out of { $area }",
872);
873pub const WORKBENCH_DETACH: StrKey =
874    StrKey::new("egui-pop-workbench-detach", "Detach into a window");
875pub const WORKBENCH_CLOSE_PANEL: StrKey =
876    StrKey::new("egui-pop-workbench-close-panel", "Close { $panel }");
877/// The panel menu's entry showing the panel alone (`workbench.zen`).
878pub const WORKBENCH_ZEN_PANEL: StrKey =
879    StrKey::new("egui-pop-workbench-zen-panel", "Zen this panel");
880/// The entry opening a new instance of a panel declared with several
881/// (a tab group's menus, `workbench.panel.new`'s list).
882pub const WORKBENCH_NEW_INSTANCE: StrKey =
883    StrKey::new("egui-pop-workbench-new-instance", "New { $panel }");
884/// "Open panel…"'s quick pick: its title and the hint in its field.
885pub const WORKBENCH_PICK_TITLE: StrKey = StrKey::new("egui-pop-workbench-pick-title", "Open panel");
886pub const WORKBENCH_PICK_HINT: StrKey =
887    StrKey::new("egui-pop-workbench-pick-hint", "Type a panel's name");
888/// The "Move group to window" submenu's entry opening a new window.
889pub const WORKBENCH_NEW_WINDOW: StrKey = StrKey::new("egui-pop-workbench-new-window", "New window");
890/// The grip at the end of a tab bar, which moves the whole tab group,
891/// and the tab menu's submenu of where the group can go.
892pub const WORKBENCH_MOVE_GROUP: StrKey = StrKey::new("egui-pop-workbench-move-group", "Move group");
893/// A tab bar's button moving the whole tab group into a window of its
894/// own (`DockControls::eject_group`).
895pub const WORKBENCH_EJECT_GROUP: StrKey =
896    StrKey::new("egui-pop-workbench-eject-group", "Eject group");
897/// The menu under a tab bar's "+" when no closed panel may open there.
898pub const WORKBENCH_NOTHING_TO_OPEN: StrKey = StrKey::new(
899    "egui-pop-workbench-nothing-to-open",
900    "No closed panel can open here",
901);
902/// A floating window's move handle, which moves the window.
903pub const WORKBENCH_MOVE_WINDOW: StrKey =
904    StrKey::new("egui-pop-workbench-move-window", "Move window");
905/// Why a dragged tab may not go into a detached window.
906pub const WORKBENCH_STAYS_DOCKED: StrKey = StrKey::new(
907    "egui-pop-workbench-stays-docked",
908    "{ $panel } cannot go into a window",
909);
910pub const WORKBENCH_FLOAT: StrKey = StrKey::new("egui-pop-workbench-float", "Float");
911/// The panel menu's Float greyed: the panel opts out of floating (or
912/// its content does not fit a floating host).
913pub const WORKBENCH_FLOAT_REFUSED: StrKey = StrKey::new(
914    "egui-pop-workbench-float-refused",
915    "Float ({ $panel } cannot float)",
916);
917/// The panel menu's Float greyed: the user's setting lets only palettes
918/// float.
919pub const WORKBENCH_FLOAT_PALETTES_ONLY: StrKey = StrKey::new(
920    "egui-pop-workbench-float-palettes-only",
921    "Float (only palettes float)",
922);
923/// The tab and group menus' entry floating the whole tab group.
924pub const WORKBENCH_FLOAT_GROUP: StrKey =
925    StrKey::new("egui-pop-workbench-float-group", "Float group");
926/// The panel menu's entry docking a floating or detached panel back
927/// where it floated from.
928pub const WORKBENCH_DOCK_BACK: StrKey = StrKey::new("egui-pop-workbench-dock-back", "Dock back");
929/// A floating panel's menu: dock it in an area (for a pointer with no
930/// keyboard, whose drag cannot hold the dock keys).
931pub const WORKBENCH_DOCK_IN: StrKey =
932    StrKey::new("egui-pop-workbench-dock-in", "Dock in { $area }");
933/// The centre every panel was moved out of: a drop target, and says so.
934pub const WORKBENCH_DROP_HERE: StrKey =
935    StrKey::new("egui-pop-workbench-drop-here", "Drop a panel here");
936/// A panel's mark while its content is stale or being updated
937/// (`pop.panel.state`).
938pub const PANEL_STATE_UPDATING: StrKey = StrKey::new("egui-pop-panel-state-updating", "Updating…");
939/// A panel's mark when its update failed (`pop.panel.state`), with the
940/// reason.
941pub const PANEL_STATE_FAILED: StrKey =
942    StrKey::new("egui-pop-panel-state-failed", "Update failed: { $reason }");
943/// The mark of a control panel (`PanelKind::Control`): what it does.
944pub const PANEL_KIND_CONTROL: StrKey =
945    StrKey::new("egui-pop-panel-kind-control", "Edits your work");
946/// The mark of a mixed panel (`PanelKind::Mixed`): a view with parts
947/// that edit.
948pub const PANEL_KIND_MIXED: StrKey =
949    StrKey::new("egui-pop-panel-kind-mixed", "Parts of it edit your work");
950pub const WORKBENCH_UNFOLD: StrKey = StrKey::new("egui-pop-workbench-unfold", "Unfold { $area }");
951pub const WORKBENCH_FOLD: StrKey = StrKey::new("egui-pop-workbench-fold", "Fold { $area }");
952/// The button of a flyout (a folded area's panel shown over the centre)
953/// unfolding its area with the panel shown.
954pub const WORKBENCH_FLYOUT_PIN: StrKey =
955    StrKey::new("egui-pop-workbench-flyout-pin", "Pin { $panel }");
956
957// Palettes.
958
959pub const PALETTE_ROLL_UP: StrKey = StrKey::new("egui-pop-palette-roll-up", "Roll up { $palette }");
960pub const PALETTE_ROLL_DOWN: StrKey =
961    StrKey::new("egui-pop-palette-roll-down", "Roll down { $palette }");
962pub const PALETTE_CLOSE: StrKey = StrKey::new("egui-pop-palette-close", "Close { $palette }");
963/// The menu of a group of palettes, on its band (named with its title).
964pub const PALETTE_GROUP_MENU: StrKey =
965    StrKey::new("egui-pop-palette-group-menu", "{ $palette } menu");
966/// The entry of a group's menu closing every palette of the group.
967pub const PALETTE_CLOSE_GROUP: StrKey = StrKey::new("egui-pop-palette-close-group", "Close group");
968pub const PALETTE_PIN: StrKey = StrKey::new("egui-pop-palette-pin", "Pin { $palette }");
969/// While a floating palette is dragged over a place it docks in (or a
970/// palette it joins), the dock keys not held: holding them docks it.
971pub const PALETTE_DRAG_HOLD_TO_DOCK: StrKey = StrKey::new(
972    "egui-pop-palette-drag-hold-to-dock",
973    "Hold { $keys } to dock",
974);
975/// While a floating palette is dragged over a target with the dock keys
976/// held: letting them go only moves it.
977pub const PALETTE_DRAG_RELEASE_TO_MOVE: StrKey = StrKey::new(
978    "egui-pop-palette-drag-release-to-move",
979    "Release { $keys } to move only",
980);
981/// A palette's drag that docks on a plain drag, over a target: holding
982/// the keys keeps it floating.
983pub const PALETTE_DRAG_HOLD_TO_FLOAT: StrKey = StrKey::new(
984    "egui-pop-palette-drag-hold-to-float",
985    "Hold { $keys } to move without docking",
986);
987/// A palette's drag that docks after a rest on the target, while the
988/// delay runs.
989pub const PALETTE_DRAG_REST: StrKey =
990    StrKey::new("egui-pop-palette-drag-rest", "Rest here to dock");
991pub const PALETTE_UNPIN: StrKey = StrKey::new("egui-pop-palette-unpin", "Unpin { $palette }");
992/// A detached panel's window title, with the application's.
993pub const WORKBENCH_WINDOW_TITLE: StrKey = StrKey::new(
994    "egui-pop-workbench-window-title",
995    "{ $panel } — { $application }",
996);
997/// Zen mode's way out: its hint, with the key that leaves it.
998pub const ZEN_HINT: StrKey = StrKey::new("egui-pop-zen-hint", "Zen mode: { $keys } to leave");
999/// Zen mode's hint when no key leaves it.
1000pub const ZEN_HINT_NO_KEY: StrKey = StrKey::new(
1001    "egui-pop-zen-hint-no-key",
1002    "Zen mode: the top edge shows the way out",
1003);
1004/// The commands every panel gets (`<panel>.focus`, `<panel>.toggle`):
1005/// one text for every panel, its title filled in.
1006pub const PANEL_FOCUS_TITLE: StrKey = StrKey::new("egui-pop-panel-focus-title", "Focus { $panel }");
1007pub const PANEL_FOCUS_DESCRIPTION: StrKey = StrKey::new(
1008    "egui-pop-panel-focus-description",
1009    "Shows { $panel } and gives it the keyboard.",
1010);
1011pub const PANEL_TOGGLE_TITLE: StrKey =
1012    StrKey::new("egui-pop-panel-toggle-title", "Show or hide { $panel }");
1013pub const PANEL_TOGGLE_DESCRIPTION: StrKey = StrKey::new(
1014    "egui-pop-panel-toggle-description",
1015    "Opens { $panel } where it was, or closes it.",
1016);
1017
1018// The layout controls.
1019
1020/// The title bar's button opening the layout's choices.
1021pub const LAYOUT_CUSTOMIZE: StrKey = StrKey::new("egui-pop-layout-customize", "Customize layout");
1022/// An area toggle's tooltip: its action and its key.
1023pub const LAYOUT_WITH_KEY: StrKey =
1024    StrKey::new("egui-pop-layout-with-key", "{ $action } ({ $keys })");
1025/// The layout menu's item saving the current arrangement.
1026pub const LAYOUT_SAVE_AS: StrKey = StrKey::new(
1027    "egui-pop-layout-save-as",
1028    "Save the current arrangement as…",
1029);
1030pub const LAYOUT_SIDE_BAR_LEFT: StrKey = StrKey::new(
1031    "egui-pop-layout-side-bar-left",
1032    "Primary side bar on the left",
1033);
1034pub const LAYOUT_SIDE_BAR_RIGHT: StrKey = StrKey::new(
1035    "egui-pop-layout-side-bar-right",
1036    "Primary side bar on the right",
1037);
1038pub const LAYOUT_PANEL_CENTER: StrKey =
1039    StrKey::new("egui-pop-layout-panel-center", "Panel under the editors");
1040pub const LAYOUT_PANEL_JUSTIFY: StrKey = StrKey::new(
1041    "egui-pop-layout-panel-justify",
1042    "Panel across the full width",
1043);
1044/// The dialog naming an arrangement to save.
1045pub const ARRANGEMENT_SAVE_TITLE: StrKey = StrKey::new(
1046    "egui-pop-arrangement-save-title",
1047    "Save the current arrangement",
1048);
1049pub const ARRANGEMENT_SAVE_VERB: StrKey =
1050    StrKey::new("egui-pop-arrangement-save-verb", "Save the arrangement");
1051pub const ARRANGEMENT_NAME: StrKey = StrKey::new("egui-pop-arrangement-name", "Name");
1052/// The name the dialog suggests (`n`: one more than the saved ones).
1053pub const ARRANGEMENT_SUGGESTED: StrKey =
1054    StrKey::new("egui-pop-arrangement-suggested", "Arrangement { $n }");
1055
1056// Devtools.
1057
1058pub const DEVTOOLS_OFF: StrKey = StrKey::new(
1059    "egui-pop-devtools-off",
1060    "Devtools are off (Settings > Developer > Devtools).",
1061);
1062pub const DEVTOOLS_TAB_KEYS: StrKey = StrKey::new("egui-pop-devtools-tab-keys", "Keys");
1063pub const DEVTOOLS_TAB_JOURNAL: StrKey = StrKey::new("egui-pop-devtools-tab-journal", "Journal");
1064pub const DEVTOOLS_TAB_STEPS: StrKey = StrKey::new("egui-pop-devtools-tab-steps", "Steps");
1065pub const DEVTOOLS_TAB_FOCUS: StrKey = StrKey::new("egui-pop-devtools-tab-focus", "Focus");
1066pub const DEVTOOLS_TAB_SCALE: StrKey = StrKey::new("egui-pop-devtools-tab-scale", "Scale");
1067pub const DEVTOOLS_TAB_COLLECTORS: StrKey =
1068    StrKey::new("egui-pop-devtools-tab-collectors", "Collectors");
1069/// The devtools' tabs, in the order of `devtools::TABS`.
1070pub const DEVTOOLS_TABS: [StrKey; 6] = [
1071    DEVTOOLS_TAB_KEYS,
1072    DEVTOOLS_TAB_JOURNAL,
1073    DEVTOOLS_TAB_STEPS,
1074    DEVTOOLS_TAB_FOCUS,
1075    DEVTOOLS_TAB_SCALE,
1076    DEVTOOLS_TAB_COLLECTORS,
1077];
1078pub const DEVTOOLS_WAITING: StrKey = StrKey::new(
1079    "egui-pop-devtools-waiting",
1080    "Waiting for the next chord after { $keys }",
1081);
1082pub const DEVTOOLS_PRESS_A_KEY: StrKey = StrKey::new(
1083    "egui-pop-devtools-press-a-key",
1084    "Press a key bound to a command: its resolution shows here.",
1085);
1086pub const DEVTOOLS_NO_HOOKS: StrKey = StrKey::new("egui-pop-devtools-no-hooks", "no hooks");
1087pub const DEVTOOLS_HOOK_BY: StrKey =
1088    StrKey::new("egui-pop-devtools-hook-by", "{ $kind } by { $owner }");
1089pub const DEVTOOLS_FOCUS_CHAIN: StrKey =
1090    StrKey::new("egui-pop-devtools-focus-chain", "Focus chain");
1091pub const DEVTOOLS_OVERLAYS: StrKey = StrKey::new("egui-pop-devtools-overlays", "Overlays");
1092pub const DEVTOOLS_CONTEXT_KEYS: StrKey =
1093    StrKey::new("egui-pop-devtools-context-keys", "Context keys");
1094pub const DEVTOOLS_ARGUMENTS: StrKey = StrKey::new("egui-pop-devtools-arguments", "Arguments");
1095pub const DEVTOOLS_MUTATES: StrKey =
1096    StrKey::new("egui-pop-devtools-mutates", "{ $action } (mutates)");
1097/// The devtools panel's button entering the inspect mode.
1098pub const INSPECT_BUTTON: StrKey = StrKey::new("egui-pop-inspect-button", "Inspect an element");
1099/// Shown at the top of each window while the inspect mode is on.
1100pub const INSPECT_HINT: StrKey = StrKey::new(
1101    "egui-pop-inspect-hint",
1102    "Inspecting: click an element, or move with Tab and the arrows and press Enter. Escape leaves.",
1103);
1104/// The inspect dialog's title.
1105pub const INSPECT_TITLE: StrKey = StrKey::new("egui-pop-inspect-title", "Inspected element");
1106pub const INSPECT_COPY: StrKey = StrKey::new("egui-pop-inspect-copy", "Copy");
1107pub const INSPECT_COPIED: StrKey = StrKey::new("egui-pop-inspect-copied", "Copied.");
1108pub const INSPECT_REPORT: StrKey = StrKey::new("egui-pop-inspect-report", "Report…");
1109pub const INSPECT_REPORT_HOVER: StrKey = StrKey::new(
1110    "egui-pop-inspect-report-hover",
1111    "Opens a new issue in the browser with this element, the version info and the platform.",
1112);
1113pub const INSPECT_PICK_ANOTHER: StrKey =
1114    StrKey::new("egui-pop-inspect-pick-another", "Pick another");
1115
1116// Jobs.
1117
1118/// The status bar's jobs item: how many go on.
1119pub const JOBS_ACTIVE: StrKey = StrKey::new("egui-pop-jobs-active", "Jobs: { $count }");
1120/// ... and their overall estimate.
1121pub const JOBS_ACTIVE_PERCENT: StrKey = StrKey::new(
1122    "egui-pop-jobs-active-percent",
1123    "Jobs: { $count } ({ $percent }%)",
1124);
1125/// How many failed.
1126pub const JOBS_FAILED: StrKey = StrKey::new("egui-pop-jobs-failed", "Failed: { $count }");
1127
1128/// The jobs centre's title.
1129pub const JOBS_TITLE: StrKey = StrKey::new("egui-pop-jobs-title", "Jobs");
1130pub const JOBS_NONE: StrKey = StrKey::new("egui-pop-jobs-none", "No jobs.");
1131/// Finished jobs.
1132pub const JOBS_HISTORY: StrKey = StrKey::new("egui-pop-jobs-history", "History");
1133pub const JOBS_CLEAR: StrKey = StrKey::new("egui-pop-jobs-clear", "Clear finished");
1134/// From the popover to the jobs panel.
1135pub const JOBS_OPEN_PANEL: StrKey = StrKey::new("egui-pop-jobs-open-panel", "Open the panel");
1136/// A job's state.
1137pub const JOB_RUNNING: StrKey = StrKey::new("egui-pop-job-running", "running");
1138pub const JOB_PAUSED: StrKey = StrKey::new("egui-pop-job-paused", "paused");
1139pub const JOB_CANCELLING: StrKey = StrKey::new("egui-pop-job-cancelling", "cancelling");
1140pub const JOB_DONE: StrKey = StrKey::new("egui-pop-job-done", "done");
1141pub const JOB_FAILED: StrKey = StrKey::new("egui-pop-job-failed", "failed");
1142pub const JOB_CANCELLED: StrKey = StrKey::new("egui-pop-job-cancelled", "cancelled");
1143/// A request sent, not answered yet.
1144pub const JOB_ASKED: StrKey = StrKey::new("egui-pop-job-asked", "{ $state }, waiting for the host");
1145/// A job left by a plugin now disconnected, still going on.
1146pub const JOB_ORPHANED: StrKey = StrKey::new(
1147    "egui-pop-job-orphaned",
1148    "{ $state }, its plugin { $plugin } is off",
1149);
1150/// Items done of all.
1151pub const JOB_OF: StrKey = StrKey::new("egui-pop-job-of", "{ $done } of { $total }");
1152/// Time left.
1153pub const JOB_ETA_SECONDS: StrKey = StrKey::new("egui-pop-job-eta-seconds", "about { $n } s left");
1154pub const JOB_ETA_MINUTES: StrKey =
1155    StrKey::new("egui-pop-job-eta-minutes", "about { $n } min left");
1156/// Buttons asking the host (Cancel and Retry are core's).
1157pub const JOB_PAUSE: StrKey = StrKey::new("egui-pop-job-pause", "Pause");
1158pub const JOB_RESUME: StrKey = StrKey::new("egui-pop-job-resume", "Resume");
1159pub const JOB_DISMISS: StrKey = StrKey::new("egui-pop-job-dismiss", "Dismiss");
1160/// A job's button as assistive technologies name it.
1161pub const JOB_ACTION_NAME: StrKey =
1162    StrKey::new("egui-pop-job-action-name", "{ $action }: { $job }");
1163/// A job's actions folded into one menu, as assistive technologies
1164/// name its button (also its tooltip).
1165pub const JOB_ACTIONS_NAME: StrKey = StrKey::new("egui-pop-job-actions-name", "Actions: { $job }");
1166/// The chevron opening a job's log console.
1167pub const JOB_SHOW_LOG: StrKey = StrKey::new("egui-pop-job-show-log", "Show the log of { $job }");
1168pub const JOB_HIDE_LOG: StrKey = StrKey::new("egui-pop-job-hide-log", "Hide the log of { $job }");
1169/// Why the host refused a request.
1170pub const JOB_REFUSED: StrKey = StrKey::new("egui-pop-job-refused", "Refused: { $error }");
1171pub const JOB_NO_LOG: StrKey = StrKey::new("egui-pop-job-no-log", "No log yet.");
1172/// An application row's states the jobs' own lack.
1173pub const JOB_QUEUED: StrKey = StrKey::new("egui-pop-job-queued", "queued");
1174pub const JOB_WAITING: StrKey = StrKey::new("egui-pop-job-waiting", "waiting");
1175/// An application row's "open" action.
1176pub const JOB_OPEN: StrKey = StrKey::new("egui-pop-job-open", "Open");
1177/// An application row as assistive technologies name it.
1178pub const JOB_ROW_NAME: StrKey = StrKey::new("egui-pop-job-row-name", "{ $job }, { $state }");
1179/// The jobs list's filter bar.
1180pub const JOBS_FILTER: StrKey = StrKey::new("egui-pop-jobs-filter", "Filter the jobs");
1181/// A source's toggle in the filter bar, as assistive technologies name it.
1182pub const JOBS_FILTER_SOURCE: StrKey =
1183    StrKey::new("egui-pop-jobs-filter-source", "Show { $source }");
1184/// A state's choice in the filter bar, as assistive technologies name it.
1185pub const JOBS_FILTER_STATE: StrKey = StrKey::new("egui-pop-jobs-filter-state", "Show: { $state }");
1186/// The filter bar's states.
1187pub const JOBS_STATE_ALL: StrKey = StrKey::new("egui-pop-jobs-state-all", "All");
1188pub const JOBS_STATE_ACTIVE: StrKey = StrKey::new("egui-pop-jobs-state-active", "Active");
1189pub const JOBS_STATE_DONE: StrKey = StrKey::new("egui-pop-jobs-state-done", "Done");
1190pub const JOBS_STATE_FAILED: StrKey = StrKey::new("egui-pop-jobs-state-failed", "Failed");
1191
1192// The theme editor.
1193
1194pub const THEME_EDITOR_MISSING: StrKey = StrKey::new(
1195    "egui-pop-theme-editor-missing",
1196    "The theme editor plugin is not connected.",
1197);
1198pub const THEME_EDITOR_START: StrKey = StrKey::new("egui-pop-theme-editor-start", "Start from");
1199pub const THEME_EDITOR_UNDO: StrKey = StrKey::new("egui-pop-theme-editor-undo", "Undo");
1200pub const THEME_EDITOR_REDO: StrKey = StrKey::new("egui-pop-theme-editor-redo", "Redo");
1201pub const THEME_EDITOR_CHANGE_OF: StrKey = StrKey::new(
1202    "egui-pop-theme-editor-change-of",
1203    "The change of { $token }",
1204);
1205pub const THEME_EDITOR_CHANGED_COUNT: StrKey = StrKey::new(
1206    "egui-pop-theme-editor-changed-count",
1207    "Tokens changed: { $count }",
1208);
1209pub const THEME_EDITOR_FILTER: StrKey =
1210    StrKey::new("egui-pop-theme-editor-filter", "Filter tokens");
1211pub const THEME_EDITOR_SURFACES: StrKey = StrKey::new("egui-pop-theme-editor-surfaces", "Surfaces");
1212pub const THEME_EDITOR_TEXT: StrKey = StrKey::new("egui-pop-theme-editor-text", "Text");
1213pub const THEME_EDITOR_ACCENT: StrKey =
1214    StrKey::new("egui-pop-theme-editor-accent", "Accent and focus");
1215pub const THEME_EDITOR_STATES: StrKey = StrKey::new("egui-pop-theme-editor-states", "States");
1216pub const THEME_EDITOR_BORDERS: StrKey = StrKey::new("egui-pop-theme-editor-borders", "Borders");
1217pub const THEME_EDITOR_SHAPE: StrKey = StrKey::new(
1218    "egui-pop-theme-editor-shape",
1219    "Shape, space, type and motion",
1220);
1221pub const THEME_EDITOR_COMPONENTS: StrKey =
1222    StrKey::new("egui-pop-theme-editor-components", "Components");
1223pub const THEME_EDITOR_PALETTE: StrKey = StrKey::new("egui-pop-theme-editor-palette", "Palette");
1224pub const THEME_EDITOR_EDITED: StrKey = StrKey::new("egui-pop-theme-editor-edited", "changed");
1225pub const THEME_EDITOR_PICK: StrKey =
1226    StrKey::new("egui-pop-theme-editor-pick", "Pick a token in the list.");
1227/// A step of the theme editor's history (ADR 0014): one token set.
1228pub const THEME_EDITOR_STEP: StrKey = StrKey::new("egui-pop-theme-editor-step", "Set { $token }");
1229/// A step of the theme editor's history: tokens set together (a scale).
1230pub const THEME_EDITOR_STEP_MANY: StrKey = StrKey::new(
1231    "egui-pop-theme-editor-step-many",
1232    "Set { $token } and { $more } more",
1233);
1234pub const THEME_EDITOR_TYPE: StrKey = StrKey::new("egui-pop-theme-editor-type", "Type: { $type }");
1235pub const THEME_EDITOR_OWN: StrKey =
1236    StrKey::new("egui-pop-theme-editor-own", "Changed in this theme");
1237pub const THEME_EDITOR_FROM: StrKey = StrKey::new("egui-pop-theme-editor-from", "As in { $theme }");
1238pub const THEME_EDITOR_ALIAS_OF: StrKey =
1239    StrKey::new("egui-pop-theme-editor-alias-of", "Alias of { $token }");
1240pub const THEME_EDITOR_VALUE: StrKey = StrKey::new("egui-pop-theme-editor-value", "Value");
1241pub const THEME_EDITOR_VALUE_OF: StrKey =
1242    StrKey::new("egui-pop-theme-editor-value-of", "Value of { $token }");
1243pub const THEME_EDITOR_ADJUST_OF: StrKey =
1244    StrKey::new("egui-pop-theme-editor-adjust-of", "Adjust { $token }");
1245pub const THEME_EDITOR_NOT_A_VALUE: StrKey = StrKey::new(
1246    "egui-pop-theme-editor-not-a-value",
1247    "Not a { $type } value, nor an alias of a token",
1248);
1249pub const THEME_EDITOR_RESET: StrKey =
1250    StrKey::new("egui-pop-theme-editor-reset", "Reset to { $theme }");
1251pub const THEME_EDITOR_CONTRAST: StrKey = StrKey::new("egui-pop-theme-editor-contrast", "Contrast");
1252pub const THEME_EDITOR_NO_PAIRS: StrKey = StrKey::new(
1253    "egui-pop-theme-editor-no-pairs",
1254    "No contrast pair uses this token.",
1255);
1256pub const THEME_EDITOR_PAIR: StrKey = StrKey::new("egui-pop-theme-editor-pair", "Pair");
1257pub const THEME_EDITOR_PAIR_ON: StrKey = StrKey::new(
1258    "egui-pop-theme-editor-pair-on",
1259    "{ $foreground } on { $background }",
1260);
1261pub const THEME_EDITOR_RATIO: StrKey = StrKey::new("egui-pop-theme-editor-ratio", "Ratio");
1262pub const THEME_EDITOR_THEME_NEEDS: StrKey =
1263    StrKey::new("egui-pop-theme-editor-theme-needs", "This theme needs");
1264pub const THEME_EDITOR_PASS: StrKey = StrKey::new("egui-pop-theme-editor-pass", "pass");
1265pub const THEME_EDITOR_FAIL: StrKey = StrKey::new("egui-pop-theme-editor-fail", "fail");
1266pub const THEME_EDITOR_NOT_APPLICABLE: StrKey =
1267    StrKey::new("egui-pop-theme-editor-not-applicable", "n/a");
1268pub const THEME_EDITOR_GENERATE_TITLE: StrKey = StrKey::new(
1269    "egui-pop-theme-editor-generate-title",
1270    "Generate this scale from a colour",
1271);
1272pub const THEME_EDITOR_SEED_OF: StrKey =
1273    StrKey::new("egui-pop-theme-editor-seed-of", "Seed colour of { $scale }");
1274pub const THEME_EDITOR_SEED_HEX_OF: StrKey = StrKey::new(
1275    "egui-pop-theme-editor-seed-hex-of",
1276    "Hex of the seed colour of { $scale }",
1277);
1278pub const THEME_EDITOR_GENERATE: StrKey =
1279    StrKey::new("egui-pop-theme-editor-generate", "Generate { $scale }");
1280pub const THEME_EDITOR_GENERATED: StrKey = StrKey::new(
1281    "egui-pop-theme-editor-generated",
1282    "{ $count } tokens of { $scale } generated; one undo takes them back.",
1283);
1284pub const THEME_EDITOR_SEED_CLAMPED: StrKey = StrKey::new(
1285    "egui-pop-theme-editor-seed-clamped",
1286    "Too dark, too light or too vivid for a ramp: { $color } is used.",
1287);
1288pub const THEME_EDITOR_GENERATE_VARIANT: StrKey = StrKey::new(
1289    "egui-pop-theme-editor-generate-variant",
1290    "Written in the variant edited only; the other keeps its own scale (switch to it, or generate the other variant).",
1291);
1292pub const THEME_EDITOR_VARIANT: StrKey =
1293    StrKey::new("egui-pop-theme-editor-variant", "Variant edited");
1294pub const THEME_EDITOR_VARIANT_HINT: StrKey = StrKey::new(
1295    "egui-pop-theme-editor-variant-hint",
1296    "The light and dark variants are edited as a pair, each with its own changes and history: switching shows and edits the other one.",
1297);
1298pub const THEME_EDITOR_DARK: StrKey = StrKey::new("egui-pop-theme-editor-dark", "Dark");
1299pub const THEME_EDITOR_LIGHT: StrKey = StrKey::new("egui-pop-theme-editor-light", "Light");
1300pub const THEME_EDITOR_OTHER: StrKey =
1301    StrKey::new("egui-pop-theme-editor-other", "Generate the other variant");
1302pub const THEME_EDITOR_OTHER_HINT: StrKey = StrKey::new(
1303    "egui-pop-theme-editor-other-hint",
1304    "Proposes { $theme } from this variant: colours mirrored (the same hue and saturation, the lightness inverted), aliases and other values as they are. Nothing changes until applied.",
1305);
1306pub const THEME_EDITOR_OTHER_TITLE: StrKey = StrKey::new(
1307    "egui-pop-theme-editor-other-title",
1308    "Proposed for { $theme }",
1309);
1310pub const THEME_EDITOR_OTHER_PREVIEWED: StrKey = StrKey::new(
1311    "egui-pop-theme-editor-other-previewed",
1312    "The preview pane shows the proposal.",
1313);
1314pub const THEME_EDITOR_OTHER_NONE: StrKey = StrKey::new(
1315    "egui-pop-theme-editor-other-none",
1316    "Nothing to change: { $theme } already matches this variant.",
1317);
1318pub const THEME_EDITOR_OTHER_APPLY: StrKey =
1319    StrKey::new("egui-pop-theme-editor-other-apply", "Apply to { $theme }");
1320pub const THEME_EDITOR_OTHER_CANCEL: StrKey =
1321    StrKey::new("egui-pop-theme-editor-other-cancel", "Cancel");
1322pub const THEME_EDITOR_OTHER_WRITTEN: StrKey = StrKey::new(
1323    "egui-pop-theme-editor-other-written",
1324    "{ $count } tokens of { $theme } written; one undo there takes them back.",
1325);
1326pub const THEME_EDITOR_PREVIEW_ONLY: StrKey =
1327    StrKey::new("egui-pop-theme-editor-preview-only", "Preview only");
1328pub const THEME_EDITOR_PREVIEW_ONLY_HINT: StrKey = StrKey::new(
1329    "egui-pop-theme-editor-preview-only-hint",
1330    "Changes stay in the preview pane until applied; the rest of the window keeps the theme installed.",
1331);
1332pub const THEME_EDITOR_APPLY: StrKey = StrKey::new("egui-pop-theme-editor-apply", "Apply");
1333pub const THEME_EDITOR_DISCARD: StrKey = StrKey::new("egui-pop-theme-editor-discard", "Discard");
1334pub const THEME_EDITOR_PREVIEW: StrKey = StrKey::new("egui-pop-theme-editor-preview", "Preview");
1335pub const THEME_EDITOR_NOT_APPLIED: StrKey = StrKey::new(
1336    "egui-pop-theme-editor-not-applied",
1337    "Not applied yet: only this pane shows the draft.",
1338);
1339pub const THEME_EDITOR_HEX_OF: StrKey =
1340    StrKey::new("egui-pop-theme-editor-hex-of", "Hex of { $token }");
1341pub const THEME_EDITOR_OPEN_FILE: StrKey =
1342    StrKey::new("egui-pop-theme-editor-open-file", "Open a file");
1343pub const THEME_EDITOR_SAVE_FILE: StrKey =
1344    StrKey::new("egui-pop-theme-editor-save-file", "Save as a file");
1345pub const THEME_EDITOR_SAVED: StrKey =
1346    StrKey::new("egui-pop-theme-editor-saved", "Saved to { $path }.");
1347pub const THEME_EDITOR_SAMPLE_HEADING: StrKey =
1348    StrKey::new("egui-pop-theme-editor-sample-heading", "A heading");
1349pub const THEME_EDITOR_SAMPLE_TEXT: StrKey = StrKey::new(
1350    "egui-pop-theme-editor-sample-text",
1351    "Body text, as most of an interface reads.",
1352);
1353pub const THEME_EDITOR_SAMPLE_MUTED: StrKey = StrKey::new(
1354    "egui-pop-theme-editor-sample-muted",
1355    "Muted text, for hints and details.",
1356);
1357pub const THEME_EDITOR_SAMPLE_BUTTON: StrKey =
1358    StrKey::new("egui-pop-theme-editor-sample-button", "A button");
1359pub const THEME_EDITOR_SAMPLE_PRIMARY: StrKey =
1360    StrKey::new("egui-pop-theme-editor-sample-primary", "Primary");
1361pub const THEME_EDITOR_SAMPLE_DANGER: StrKey =
1362    StrKey::new("egui-pop-theme-editor-sample-danger", "Delete");
1363pub const THEME_EDITOR_SAMPLE_DISABLED: StrKey =
1364    StrKey::new("egui-pop-theme-editor-sample-disabled", "Disabled");
1365pub const THEME_EDITOR_SAMPLE_CHECKBOX: StrKey =
1366    StrKey::new("egui-pop-theme-editor-sample-checkbox", "A checkbox");
1367pub const THEME_EDITOR_SAMPLE_OPTION_A: StrKey =
1368    StrKey::new("egui-pop-theme-editor-sample-option-a", "One option");
1369pub const THEME_EDITOR_SAMPLE_OPTION_B: StrKey =
1370    StrKey::new("egui-pop-theme-editor-sample-option-b", "Another");
1371pub const THEME_EDITOR_SAMPLE_SLIDER: StrKey =
1372    StrKey::new("egui-pop-theme-editor-sample-slider", "A slider");
1373pub const THEME_EDITOR_SAMPLE_FIELD: StrKey =
1374    StrKey::new("egui-pop-theme-editor-sample-field", "A field");
1375pub const THEME_EDITOR_SAMPLE_SELECTED: StrKey =
1376    StrKey::new("egui-pop-theme-editor-sample-selected", "A selected row");
1377pub const THEME_EDITOR_TAB_TOKENS: StrKey =
1378    StrKey::new("egui-pop-theme-editor-tab-tokens", "Tokens");
1379pub const THEME_EDITOR_TAB_FONTS: StrKey = StrKey::new("egui-pop-theme-editor-tab-fonts", "Fonts");
1380pub const THEME_EDITOR_FAMILIES: StrKey = StrKey::new("egui-pop-theme-editor-families", "Families");
1381pub const THEME_EDITOR_FAMILIES_HINT: StrKey = StrKey::new(
1382    "egui-pop-theme-editor-families-hint",
1383    "In order of priority: the first one found draws, the others are its fallbacks.",
1384);
1385pub const THEME_EDITOR_FAMILY_UI: StrKey = StrKey::new(
1386    "egui-pop-theme-editor-family-ui",
1387    "Interface text (font.family.ui)",
1388);
1389pub const THEME_EDITOR_FAMILY_MONO: StrKey = StrKey::new(
1390    "egui-pop-theme-editor-family-mono",
1391    "Values and code (font.family.mono)",
1392);
1393pub const THEME_EDITOR_MOVE_UP: StrKey =
1394    StrKey::new("egui-pop-theme-editor-move-up", "Move { $family } up");
1395pub const THEME_EDITOR_MOVE_DOWN: StrKey =
1396    StrKey::new("egui-pop-theme-editor-move-down", "Move { $family } down");
1397pub const THEME_EDITOR_REMOVE_FAMILY: StrKey =
1398    StrKey::new("egui-pop-theme-editor-remove-family", "Remove { $family }");
1399pub const THEME_EDITOR_ADD_FAMILY_TO: StrKey = StrKey::new(
1400    "egui-pop-theme-editor-add-family-to",
1401    "A family to add to { $role }",
1402);
1403pub const THEME_EDITOR_ADD: StrKey = StrKey::new("egui-pop-theme-editor-add", "Add");
1404pub const THEME_EDITOR_FONT_FILES: StrKey =
1405    StrKey::new("egui-pop-theme-editor-font-files", "Font files");
1406pub const THEME_EDITOR_NO_FONT_FILES: StrKey =
1407    StrKey::new("egui-pop-theme-editor-no-font-files", "No font file added.");
1408pub const THEME_EDITOR_REMOVE_FONT_FILE: StrKey = StrKey::new(
1409    "egui-pop-theme-editor-remove-font-file",
1410    "Remove the file of { $family }",
1411);
1412pub const THEME_EDITOR_ADD_FONT_FILE: StrKey =
1413    StrKey::new("egui-pop-theme-editor-add-font-file", "Add a font file");
1414pub const THEME_EDITOR_FONT_ADDED: StrKey = StrKey::new(
1415    "egui-pop-theme-editor-font-added",
1416    "{ $family } { $weight } added; apply to use it.",
1417);
1418pub const THEME_EDITOR_FONT_SAMPLE: StrKey =
1419    StrKey::new("egui-pop-theme-editor-font-sample", "Sample");
1420pub const THEME_EDITOR_FONT_SAMPLE_TEXT: StrKey = StrKey::new(
1421    "egui-pop-theme-editor-font-sample-text",
1422    "Sphinx of black quartz, judge my vow. 0123456789",
1423);
1424pub const THEME_EDITOR_FONT_SAMPLE_HINT: StrKey = StrKey::new(
1425    "egui-pop-theme-editor-font-sample-hint",
1426    "Drawn with the fonts edited, before they are applied; rest the pointer on a family to preview it first.",
1427);
1428pub const THEME_EDITOR_APPLY_FONTS: StrKey =
1429    StrKey::new("egui-pop-theme-editor-apply-fonts", "Apply the fonts");
1430pub const THEME_EDITOR_FAMILY_MISSING: StrKey = StrKey::new(
1431    "egui-pop-theme-editor-family-missing",
1432    "Not installed here: the next family draws",
1433);
1434pub const THEME_EDITOR_INSTALLED: StrKey =
1435    StrKey::new("egui-pop-theme-editor-installed", "Families installed");
1436pub const THEME_EDITOR_INSTALLED_HINT: StrKey = StrKey::new(
1437    "egui-pop-theme-editor-installed-hint",
1438    "Rest the pointer on a family to preview it; pick one to put it first. A theme names it by its family name: where it is missing, the next family of its list draws.",
1439);
1440pub const THEME_EDITOR_FOR_UI: StrKey =
1441    StrKey::new("egui-pop-theme-editor-for-ui", "For the interface");
1442pub const THEME_EDITOR_FOR_MONO: StrKey =
1443    StrKey::new("egui-pop-theme-editor-for-mono", "For monospace");
1444pub const THEME_EDITOR_SEARCH_FAMILIES: StrKey = StrKey::new(
1445    "egui-pop-theme-editor-search-families",
1446    "Search the families",
1447);
1448pub const THEME_EDITOR_NO_FAMILY_MATCHES: StrKey = StrKey::new(
1449    "egui-pop-theme-editor-no-family-matches",
1450    "No family matches.",
1451);
1452pub const THEME_EDITOR_CANCEL_FONTS: StrKey = StrKey::new(
1453    "egui-pop-theme-editor-cancel-fonts",
1454    "Cancel the font edits",
1455);
1456pub const THEME_EDITOR_APPLY_FONTS_HINT: StrKey = StrKey::new(
1457    "egui-pop-theme-editor-apply-fonts-hint",
1458    "Rebuilds the font atlas once, and applies the theme being edited.",
1459);
1460pub const THEME_EDITOR_LC_HINT: StrKey = StrKey::new(
1461    "egui-pop-theme-editor-lc-hint",
1462    "APCA lightness contrast, for information: 60 for ordinary text, 75 for body text; the theme is checked on WCAG.",
1463);
1464pub const THEME_EDITOR_FILE: StrKey =
1465    StrKey::new("egui-pop-theme-editor-file", "Export and import");
1466pub const THEME_EDITOR_NAME: StrKey = StrKey::new("egui-pop-theme-editor-name", "Theme name");
1467pub const THEME_EDITOR_EXPORT: StrKey = StrKey::new("egui-pop-theme-editor-export", "Export");
1468pub const THEME_EDITOR_IMPORT: StrKey = StrKey::new("egui-pop-theme-editor-import", "Import");
1469pub const THEME_EDITOR_FILE_TEXT: StrKey = StrKey::new(
1470    "egui-pop-theme-editor-file-text",
1471    "Theme file (.tokens.json)",
1472);
1473pub const THEME_EDITOR_IMPORTED: StrKey = StrKey::new(
1474    "egui-pop-theme-editor-imported",
1475    "Imported over { $theme }.",
1476);
1477pub const THEME_EDITOR_SKIPPED: StrKey =
1478    StrKey::new("egui-pop-theme-editor-skipped", "Left out: { $tokens }.");
1479pub const THEME_EDITOR_WARNINGS: StrKey = StrKey::new(
1480    "egui-pop-theme-editor-warnings",
1481    "Read with warnings: { $warnings }.",
1482);
1483pub const THEME_EDITOR_PROBLEMS: StrKey =
1484    StrKey::new("egui-pop-theme-editor-problems", "Problems in this theme");
1485
1486// Tips.
1487
1488pub const TIPS_OF_THE_DAY: StrKey = StrKey::new("egui-pop-tips-of-the-day", "Tip of the day");
1489pub const TIPS_HINT: StrKey = StrKey::new("egui-pop-tips-hint", "Tip");
1490pub const TIPS_PREVIOUS: StrKey = StrKey::new("egui-pop-tips-previous", "Previous tip");
1491pub const TIPS_NEXT: StrKey = StrKey::new("egui-pop-tips-next", "Next tip");
1492pub const TIPS_AT: StrKey = StrKey::new("egui-pop-tips-at", "{ $at } of { $count }");
1493pub const TIPS_DONT_SHOW: StrKey = StrKey::new("egui-pop-tips-dont-show", "Don't show again");
1494pub const TIPS_GOT_IT: StrKey = StrKey::new("egui-pop-tips-got-it", "Got it");
1495pub const TIPS_GOT_IT_NAME: StrKey = StrKey::new(
1496    "egui-pop-tips-got-it-name",
1497    "Got it: do not show { $tip } again",
1498);
1499pub const TIPS_DID_YOU_KNOW: StrKey = StrKey::new("egui-pop-tips-did-you-know", "Did you know?");
1500pub const TIPS_NOT_NOW: StrKey = StrKey::new("egui-pop-tips-not-now", "Not now");
1501pub const TIPS_NO_MORE: StrKey = StrKey::new("egui-pop-tips-no-more", "No more tips");
1502pub const TIPS_BROWSER: StrKey = StrKey::new("egui-pop-tips-browser", "Tips");
1503pub const TIPS_NONE: StrKey = StrKey::new("egui-pop-tips-none", "No tips are registered.");
1504pub const TIPS_ORIGIN_ON: StrKey = StrKey::new("egui-pop-tips-origin-on", "Show these tips");
1505pub const TIPS_ORIGIN_ON_NAME: StrKey = StrKey::new(
1506    "egui-pop-tips-origin-on-name",
1507    "Show the tips of { $origin }",
1508);
1509pub const TIPS_STATE_DISMISSED: StrKey = StrKey::new("egui-pop-tips-state-dismissed", "Dismissed");
1510pub const TIPS_STATE_USED: StrKey = StrKey::new("egui-pop-tips-state-used", "Its command was used");
1511pub const TIPS_SHOW: StrKey = StrKey::new("egui-pop-tips-show", "Show");
1512pub const TIPS_SHOW_NAME: StrKey = StrKey::new("egui-pop-tips-show-name", "Show the tip { $tip }");
1513
1514// About the application.
1515
1516/// The About dialog's title.
1517pub const ABOUT_TITLE: StrKey = StrKey::new("egui-pop-about-title", "About { $application }");
1518pub const ABOUT_VERSION: StrKey = StrKey::new("egui-pop-about-version", "Version { $version }");
1519pub const ABOUT_LICENCE: StrKey = StrKey::new("egui-pop-about-licence", "Licence");
1520pub const ABOUT_AUTHORS: StrKey = StrKey::new("egui-pop-about-authors", "Authors");
1521pub const ABOUT_REPOSITORY: StrKey = StrKey::new("egui-pop-about-repository", "Source code");
1522pub const ABOUT_WEBSITE: StrKey = StrKey::new("egui-pop-about-website", "Website");
1523pub const ABOUT_DOCS: StrKey = StrKey::new("egui-pop-about-docs", "Documentation");
1524pub const ABOUT_ISSUES: StrKey = StrKey::new("egui-pop-about-issues", "Report a problem");
1525pub const ABOUT_COPY: StrKey = StrKey::new("egui-pop-about-copy", "Copy version info");
1526pub const ABOUT_COPIED: StrKey = StrKey::new("egui-pop-about-copied", "Copied.");
1527pub const REPORT_INTRO: StrKey = StrKey::new(
1528    "egui-pop-report-intro",
1529    "Nothing has been sent. This report holds what the application did in the last { $minutes } minutes, with paths and private values hidden. Read it: the button copies it and opens the issue page, where you paste it.",
1530);
1531pub const REPORT_SEND: StrKey = StrKey::new("egui-pop-report-send", "Copy and open the issue");
1532
1533// The context stack.
1534
1535/// The breadcrumb's first crumb, the root.
1536pub const CONTEXT_ROOT: StrKey = StrKey::new("egui-pop-context-root", "Home");
1537/// A mode chip's button turning the mode off.
1538pub const CONTEXT_LEAVE_MODE: StrKey =
1539    StrKey::new("egui-pop-context-leave-mode", "Leave { $mode }");
1540/// A mode switch's choice of no mode of the group.
1541pub const CONTEXT_NO_MODE: StrKey = StrKey::new("egui-pop-context-no-mode", "None");
1542/// A transition refused, as a toast says it.
1543pub const CONTEXT_REFUSED: StrKey = StrKey::new("egui-pop-context-refused", "Not now: { $reason }");
1544/// What screen readers hear after a transition.
1545pub const CONTEXT_NOW_IN: StrKey = StrKey::new("egui-pop-context-now-in", "Now in { $place }");
1546/// An undo made in another place than the one shown.
1547pub const CONTEXT_UNDONE_IN: StrKey =
1548    StrKey::new("egui-pop-context-undone-in", "Undone in { $place }");
1549/// A redo made in another place than the one shown.
1550pub const CONTEXT_REDONE_IN: StrKey =
1551    StrKey::new("egui-pop-context-redone-in", "Redone in { $place }");
1552/// The toast's action going to where an undo or a redo happened.
1553pub const CONTEXT_GO_THERE: StrKey = StrKey::new("egui-pop-context-go-there", "Go there");
1554/// The history panel without any history.
1555pub const HISTORY_NONE: StrKey = StrKey::new("egui-pop-history-none", "No history");
1556/// Ctrl+Z under focus routing before any view was focused: it does
1557/// nothing, and says why.
1558pub const HISTORY_NOTHING_FOCUSED: StrKey = StrKey::new(
1559    "egui-pop-history-nothing-focused",
1560    "Nothing to undo here: click a view first",
1561);
1562/// Ctrl+Shift+Z under focus routing before any view was focused.
1563pub const HISTORY_NOTHING_FOCUSED_REDO: StrKey = StrKey::new(
1564    "egui-pop-history-nothing-focused-redo",
1565    "Nothing to redo here: click a view first",
1566);
1567/// The history panel's first row: before the first step.
1568pub const HISTORY_START: StrKey = StrKey::new("egui-pop-history-start", "Start");
1569/// A step of the history panel made by an agent, a script or another
1570/// process.
1571pub const HISTORY_BY: StrKey = StrKey::new("egui-pop-history-by", "{ $label } ({ $origin })");
1572/// What a row of the history panel does.
1573pub const HISTORY_JUMP: StrKey =
1574    StrKey::new("egui-pop-history-jump", "Go back or forward to this step");
1575/// The history panel's snapshots, as a heading.
1576pub const HISTORY_SNAPSHOTS: StrKey = StrKey::new("egui-pop-history-snapshots", "Snapshots");
1577/// The history panel's button pinning the current state.
1578pub const HISTORY_TAKE_SNAPSHOT: StrKey =
1579    StrKey::new("egui-pop-history-take-snapshot", "Take a snapshot");
1580/// A new snapshot's name, numbered.
1581pub const HISTORY_SNAPSHOT_NAME: StrKey =
1582    StrKey::new("egui-pop-history-snapshot-name", "Snapshot { $n }");
1583/// A snapshot row's action, and its context menu's first item.
1584pub const HISTORY_RESTORE: StrKey = StrKey::new("egui-pop-history-restore", "Restore");
1585/// What a snapshot row does.
1586pub const HISTORY_RESTORE_HINT: StrKey = StrKey::new(
1587    "egui-pop-history-restore-hint",
1588    "Go back to this snapshot (a new step)",
1589);
1590/// A snapshot not kept yet: its row's text.
1591pub const HISTORY_SNAPSHOT_PENDING: StrKey = StrKey::new(
1592    "egui-pop-history-snapshot-pending",
1593    "{ $name } (not saved yet)",
1594);
1595/// A snapshot not kept yet: what its row's tooltip adds.
1596pub const HISTORY_SNAPSHOT_PENDING_HINT: StrKey = StrKey::new(
1597    "egui-pop-history-snapshot-pending-hint",
1598    "Kept at the next save; lost if the application quits first",
1599);
1600/// A snapshot row's context menu: delete it.
1601pub const HISTORY_DELETE_SNAPSHOT: StrKey =
1602    StrKey::new("egui-pop-history-delete-snapshot", "Delete the snapshot");
1603/// A step row's context menu: undo that one step, out of order.
1604pub const HISTORY_UNDO_THIS: StrKey = StrKey::new("egui-pop-history-undo-this", "Undo this step");
1605/// The history panel's toggle showing the steps new steps replaced.
1606pub const HISTORY_SHOW_REPLACED: StrKey =
1607    StrKey::new("egui-pop-history-show-replaced", "Show replaced steps");
1608/// A step a new step dropped from the redo list.
1609pub const HISTORY_REPLACED: StrKey =
1610    StrKey::new("egui-pop-history-replaced", "{ $label } (replaced)");
1611/// One line of a row's preview: a value there, and now.
1612pub const HISTORY_PREVIEW_CHANGE: StrKey = StrKey::new(
1613    "egui-pop-history-preview-change",
1614    "{ $what }: { $then } (now { $now })",
1615);
1616/// A crumb of the status bar's breadcrumb, going back to its place.
1617pub const CONTEXT_GO_TO: StrKey = StrKey::new("egui-pop-context-go-to", "Go to { $place }");
1618/// The status bar's last crumb, where the user is.
1619pub const CONTEXT_HERE: StrKey = StrKey::new("egui-pop-context-here", "You are in { $place }");
1620/// The status bar's `…` crumb, a menu of the places collapsed in it.
1621pub const CONTEXT_MORE_PLACES: StrKey = StrKey::new("egui-pop-context-more-places", "Places above");
1622/// A pushed mode's chip in the status bar, going back to what it replaced.
1623pub const CONTEXT_BACK_FROM_MODE: StrKey =
1624    StrKey::new("egui-pop-context-back-from-mode", "Back from { $mode }");
1625/// A chip whose mode refuses to be left now, with the guard's reason.
1626pub const CONTEXT_CANNOT_LEAVE: StrKey = StrKey::new(
1627    "egui-pop-context-cannot-leave",
1628    "{ $mode } stays on: { $reason }",
1629);
1630
1631// The status bar.
1632
1633/// A status item's context menu: hides it here.
1634pub const STATUS_HIDE: StrKey = StrKey::new("egui-pop-status-hide", "Hide { $item }");
1635/// The status bar's context menu: shows a hidden item again.
1636pub const STATUS_SHOW: StrKey = StrKey::new("egui-pop-status-show", "Show { $item }");
1637/// A status item's context menu: moves it one step towards the bar's start.
1638pub const STATUS_MOVE_START: StrKey =
1639    StrKey::new("egui-pop-status-move-start", "Move towards the start");
1640/// A status item's context menu: moves it one step towards the bar's end.
1641pub const STATUS_MOVE_END: StrKey = StrKey::new("egui-pop-status-move-end", "Move towards the end");
1642/// The status bar's overflow button: the items that gave way on a
1643/// narrow bar.
1644pub const STATUS_MORE: StrKey = StrKey::new("egui-pop-status-more", "More status items");
1645/// A status item's error count, as a screen reader says it.
1646pub const STATUS_ERRORS: StrKey = StrKey::new("egui-pop-status-errors", "Errors: { $count }");
1647/// A status item's warning count, as a screen reader says it.
1648pub const STATUS_WARNINGS: StrKey = StrKey::new("egui-pop-status-warnings", "Warnings: { $count }");
1649/// Announced once when a status item turns to errors.
1650pub const STATUS_ANNOUNCE: StrKey =
1651    StrKey::new("egui-pop-status-announce", "{ $item }: { $state }");
1652/// Frames of the saved stack that could not come back at start.
1653pub const CONTEXT_DROPPED: StrKey =
1654    StrKey::new("egui-pop-context-dropped", "Not restored: { $frames }");
1655
1656// The clipboard.
1657
1658/// A copy made with parts left out at the boundary, as a toast says it.
1659pub const CLIPBOARD_COPIED_STRIPPED: StrKey = StrKey::new(
1660    "egui-pop-clipboard-copied-stripped",
1661    "Copied; left out: { $what }",
1662);
1663/// A paste through a lossy transform, as a toast says it.
1664pub const CLIPBOARD_PASTED_LOSSY: StrKey =
1665    StrKey::new("egui-pop-clipboard-pasted-lossy", "Pasted; lost: { $what }");
1666/// A copy refused or vetoed, as a toast says it.
1667pub const CLIPBOARD_NOT_COPIED: StrKey =
1668    StrKey::new("egui-pop-clipboard-not-copied", "Not copied: { $reason }");
1669/// A paste refused or vetoed, as a toast says it.
1670pub const CLIPBOARD_NOT_PASTED: StrKey =
1671    StrKey::new("egui-pop-clipboard-not-pasted", "Not pasted: { $reason }");
1672/// Paste special's dialog title.
1673pub const CLIPBOARD_PASTE_SPECIAL: StrKey =
1674    StrKey::new("egui-pop-clipboard-paste-special", "Paste special");
1675/// A way to paste: in a format.
1676pub const CLIPBOARD_AS: StrKey = StrKey::new("egui-pop-clipboard-as", "As { $format }");
1677/// A way to paste: in a format, through a transform.
1678pub const CLIPBOARD_AS_THROUGH: StrKey = StrKey::new(
1679    "egui-pop-clipboard-as-through",
1680    "As { $format }, through { $transform }",
1681);
1682/// A way to paste: one part of the item alone.
1683pub const CLIPBOARD_ONLY_PART: StrKey =
1684    StrKey::new("egui-pop-clipboard-only-part", "Only { $part }");
1685/// What a lossy way to paste loses.
1686pub const CLIPBOARD_LOSES: StrKey = StrKey::new("egui-pop-clipboard-loses", "loses { $what }");
1687/// A paste's undo step, by the item's title.
1688pub const CLIPBOARD_PASTE_STEP: StrKey =
1689    StrKey::new("egui-pop-clipboard-paste-step", "Paste { $title }");
1690/// A cut's undo step, by the item's title.
1691pub const CLIPBOARD_CUT_STEP: StrKey = StrKey::new("egui-pop-clipboard-cut-step", "Cut { $title }");
1692/// Plain text, as a format and as the title of text from outside.
1693pub const CLIPBOARD_TEXT: StrKey = StrKey::new("egui-pop-clipboard-text", "text");
1694
1695// Links.
1696
1697/// A link's context menu: open it its kind's way.
1698pub const LINKS_OPEN: StrKey = StrKey::new("egui-pop-links-open", "Open");
1699/// A link's context menu: open it outside the application.
1700pub const LINKS_OPEN_OUTSIDE: StrKey = StrKey::new("egui-pop-links-open-outside", "Open outside");
1701/// A link's context menu, a toast's action: the file in its folder.
1702pub const LINKS_REVEAL: StrKey = StrKey::new("egui-pop-links-reveal", "Show in folder");
1703/// A link's context menu, the confirmation, a toast's action.
1704pub const LINKS_COPY: StrKey = StrKey::new("egui-pop-links-copy", "Copy link");
1705/// A link's hover and the confirmation: where it goes.
1706pub const LINKS_HOST: StrKey = StrKey::new("egui-pop-links-host", "Host: { $host }");
1707/// The confirmation's title for a link.
1708pub const LINKS_CONFIRM_TITLE: StrKey =
1709    StrKey::new("egui-pop-links-confirm-title", "Open this link?");
1710/// The confirmation's title for a local file.
1711pub const LINKS_CONFIRM_FILE: StrKey =
1712    StrKey::new("egui-pop-links-confirm-file", "Open this file?");
1713/// The confirmation's title for showing a file in its folder.
1714pub const LINKS_CONFIRM_REVEAL: StrKey = StrKey::new(
1715    "egui-pop-links-confirm-reveal",
1716    "Show this file in its folder?",
1717);
1718/// The confirmation's title for an agent's request.
1719pub const LINKS_CONFIRM_AGENT: StrKey = StrKey::new(
1720    "egui-pop-links-confirm-agent",
1721    "{ $agent } asks to open this",
1722);
1723/// The confirmation, when the link's text shows another address.
1724pub const LINKS_CONFIRM_DISGUISED: StrKey = StrKey::new(
1725    "egui-pop-links-confirm-disguised",
1726    "Its text said { $label }, but it goes elsewhere.",
1727);
1728/// The confirmation, for a link found in content.
1729pub const LINKS_CONFIRM_CONTENT: StrKey = StrKey::new(
1730    "egui-pop-links-confirm-content",
1731    "This link comes from the content, not from the application.",
1732);
1733/// The confirmation: trust the link's host until the application quits.
1734pub const LINKS_TRUST: StrKey =
1735    StrKey::new("egui-pop-links-trust", "Trust { $host } for this session");
1736/// A link that could not be opened, as a toast says it.
1737pub const LINKS_NOT_OPENED: StrKey =
1738    StrKey::new("egui-pop-links-not-opened", "Not opened: { $reason }");
1739
1740/// Every string of this module, for catalogues and tests.
1741/// The fallback page of a window that painted nothing: its title.
1742pub const EMPTY_WINDOW_TITLE: StrKey =
1743    StrKey::new("egui-pop-empty-window-title", "Nothing to show here");
1744/// The fallback page's sentence.
1745pub const EMPTY_WINDOW_BODY: StrKey = StrKey::new(
1746    "egui-pop-empty-window-body",
1747    "This window had nothing to draw. The log says what held it.",
1748);
1749/// The fallback page's action: the arrangement reset.
1750pub const EMPTY_WINDOW_RESET: StrKey =
1751    StrKey::new("egui-pop-empty-window-reset", "Reset the layout");
1752/// The fallback page's second action: the first place.
1753pub const EMPTY_WINDOW_BACK: StrKey =
1754    StrKey::new("egui-pop-empty-window-back", "Back to the start");
1755
1756pub const ALL: &[StrKey] = &[
1757    EMPTY_WINDOW_TITLE,
1758    EMPTY_WINDOW_BODY,
1759    EMPTY_WINDOW_RESET,
1760    EMPTY_WINDOW_BACK,
1761    COMMAND_LABEL,
1762    COMMAND_WITH_CHANGE,
1763    NOTHING_MATCHES,
1764    MENU_TOO_DEEP,
1765    MENU_EMPTY,
1766    MENU_MORE,
1767    MENU_MAIN,
1768    TOOLBAR_MORE,
1769    TOOLBAR_MORE_IN,
1770    TOOLBAR_WITH_KEY,
1771    MENU_DOES_NOT_APPLY,
1772    MENU_NOT_AVAILABLE,
1773    MENU_IN_WINDOW,
1774    MENU_NO_COMMAND,
1775    MENU_RUNNING,
1776    MENU_LAST_RUN_FAILED,
1777    PALETTE_TITLE,
1778    PALETTE_HINT,
1779    PALETTE_RECENT,
1780    PALETTE_RECENT_KEYS,
1781    PALETTE_NO_MATCH,
1782    PALETTE_PICK_NO_MATCH,
1783    PALETTE_ARGUMENT_TITLE,
1784    PALETTE_ARGUMENT_HELP,
1785    PALETTE_NOT_BOOL,
1786    PALETTE_NOT_NUMBER,
1787    PALETTE_NOT_JSON,
1788    ADMIN_SEARCH_HINT,
1789    ADMIN_SHOW_ITEM,
1790    ADMIN_SHOW_ITEM_NAME,
1791    ADMIN_POP_OUT,
1792    ADMIN_POP_OUT_TIP,
1793    ADMIN_POP_IN,
1794    ADMIN_CLOSE,
1795    ADMIN_SCOPES,
1796    ADMIN_SECTIONS,
1797    ADMIN_NAV_RESIZE,
1798    ADMIN_RESET_SECTION,
1799    ADMIN_MODIFIED_COUNT,
1800    ADMIN_QUICK_TITLE,
1801    ADMIN_QUICK_HINT,
1802    ADMIN_QUICK_MARKED,
1803    ADMIN_QUICK_RECENT,
1804    ADMIN_QUICK_NONE,
1805    ADMIN_QUICK_NO_HIT,
1806    ADMIN_QUICK_OPEN,
1807    ADMIN_QUICK_OPEN_NAME,
1808    ADMIN_FOCUS,
1809    ADMIN_FOCUS_TIP,
1810    ADMIN_SET_FOR,
1811    ADMIN_SET_FOR_NAME,
1812    ADMIN_FOR_APP,
1813    ADMIN_FOR_APP_ABOUT,
1814    ADMIN_SET_FOR_TIP,
1815    ADMIN_ORIGIN_RUN,
1816    ADMIN_ORIGIN_TIP,
1817    ADMIN_RUN_READ_ONLY,
1818    ADMIN_SESSION_ONLY,
1819    ADMIN_STORE_ERROR,
1820    ADMIN_MODIFIED,
1821    ADMIN_NO_WIDGET,
1822    ADMIN_SECTION_GESTURES,
1823    ADMIN_SECTION_ADVANCED,
1824    ADMIN_ADVANCED_ABOUT,
1825    ADMIN_ADVANCED_OPEN,
1826    ADMIN_NO_RECORDS,
1827    ADMIN_REFRESHING,
1828    ADMIN_DETAIL_OPEN,
1829    ADMIN_SCOPE_GENERAL,
1830    ADMIN_SCOPE_INTERFACE,
1831    ADMIN_SCOPE_INPUT,
1832    ADMIN_SCOPE_DEVELOPER,
1833    ADMIN_WIZARD_NEXT,
1834    ADMIN_WIZARD_BACK,
1835    ADMIN_WIZARD_SKIP,
1836    ADMIN_WIZARD_CANCEL,
1837    ADMIN_WIZARD_FINISH,
1838    ADMIN_WIZARD_STEPS,
1839    ADMIN_WIZARD_STEP_OF,
1840    ADMIN_WIZARD_DONE,
1841    ADMIN_WIZARD_LATER,
1842    ADMIN_WIZARD_OPTIONAL,
1843    ADMIN_WIZARD_SUMMARY,
1844    ADMIN_WIZARD_SUMMARY_ABOUT,
1845    ADMIN_WIZARD_CHANGE,
1846    ADMIN_WIZARD_CHANGE_NAME,
1847    ADMIN_WIZARD_YES,
1848    ADMIN_WIZARD_NO,
1849    ADMIN_WIZARD_NOT_SET,
1850    ADMIN_WIZARD_ALL,
1851    ADMIN_WIZARD_NO_CHOICES,
1852    ADMIN_WIZARD_REQUIRED,
1853    ADMIN_WIZARD_BELOW,
1854    ADMIN_WIZARD_ABOVE,
1855    ADMIN_WIZARD_NOT_A_CHOICE,
1856    ADMIN_WIZARD_CANCEL_TITLE,
1857    ADMIN_WIZARD_CANCEL_TEXT,
1858    ADMIN_WIZARD_CANCEL_VERB,
1859    SETTINGS_TITLE,
1860    SETTINGS_SEARCH_HINT,
1861    SETTINGS_SHORTCUTS,
1862    SETTINGS_FONTS,
1863    FONTS_THEMES,
1864    FONTS_PREVIEW,
1865    FONTS_NUMBERS,
1866    FONTS_PICKER_HINT,
1867    FONTS_ORIGIN_BUNDLED,
1868    FONTS_ORIGIN_REGISTERED,
1869    FONTS_ORIGIN_FILE,
1870    FONTS_ORIGIN_SYSTEM,
1871    SETTINGS_UNDO,
1872    SETTINGS_REDO,
1873    SETTINGS_UNDO_STEP,
1874    SETTINGS_REDO_STEP,
1875    SETTINGS_NOTHING_TO_UNDO,
1876    SETTINGS_NOTHING_TO_REDO,
1877    SETTINGS_UNDO_NAME,
1878    SETTINGS_REDO_NAME,
1879    SETTINGS_RESET_SETTING,
1880    SETTINGS_AT_DEFAULT,
1881    SETTINGS_RESET_PAGE,
1882    SETTINGS_RESET_PAGE_NAME,
1883    SETTINGS_PAGE_AT_DEFAULT,
1884    SETTINGS_OPEN_PAGE,
1885    SETTINGS_OPEN_PAGE_NAME,
1886    SHORTCUTS_SEARCH_BY_KEY,
1887    SHORTCUTS_PRESS_TO_SEARCH,
1888    SHORTCUTS_BOUND_TO,
1889    SHORTCUTS_SHOW_ALL,
1890    SHORTCUTS_POINTER_PROFILE,
1891    SHORTCUTS_POINTER_PROFILE_CHANGED,
1892    SHORTCUTS_POINTER_ONLY,
1893    SHORTCUTS_POINTER_ADD,
1894    SHORTCUTS_POINTER_ADD_NAME,
1895    SHORTCUTS_POINTER_REMOVE_NAME,
1896    SHORTCUTS_POINTER_PAD,
1897    SHORTCUTS_POINTER_PAD_NAME,
1898    SHORTCUTS_POINTER_USE,
1899    SHORTCUTS_POINTER_ALT,
1900    SHORTCUTS_WIDGET_USES,
1901    SHORTCUTS_WIDGET_USES_NOTE,
1902    POINTER_OVERRIDES_TITLE,
1903    POINTER_OVERRIDES_DETAIL,
1904    POINTER_KEEP,
1905    POINTER_DROP,
1906    SHORTCUTS_CONFLICTS,
1907    SHORTCUTS_CONFLICT_IN_SCOPE,
1908    SHORTCUTS_PRESS_NEW_KEYS,
1909    SHORTCUTS_GOES_TO,
1910    SHORTCUTS_ALSO_BOUND,
1911    SHORTCUTS_SYSTEM_ON,
1912    SHORTCUTS_SYSTEM_PENDING,
1913    SHORTCUTS_SYSTEM_FAILED,
1914    SHORTCUTS_SYSTEM_UNAVAILABLE,
1915    SHORTCUTS_SYSTEM_NO_PLUGIN,
1916    SHORTCUTS_CHANGE,
1917    SHORTCUTS_CHANGE_NAME,
1918    SHORTCUTS_NO_KEY,
1919    SHORTCUTS_NO_KEY_NAME,
1920    SHORTCUTS_DEFAULT_NAME,
1921    SHORTCUTS_FROM_WORKSPACE,
1922    SHORTCUTS_FROM_USER,
1923    SHORTCUTS_KEY_FROM,
1924    SHORTCUTS_KEY_IN,
1925    SHORTCUTS_SCOPE_MAIN_WINDOW,
1926    SHORTCUTS_SCOPE_WINDOW,
1927    SHORTCUTS_SCOPE_PANEL,
1928    SHORTCUTS_DORMANT,
1929    SHORTCUTS_DORMANT_NOTE,
1930    SHORTCUTS_DORMANT_PLUGIN,
1931    SHORTCUTS_TARGET,
1932    SHORTCUTS_TARGET_USER,
1933    SHORTCUTS_TARGET_WORKSPACE,
1934    DIALOG_FILTER,
1935    DIALOG_BROWSE,
1936    DIALOG_COPY,
1937    DIALOG_COPIED,
1938    DIALOG_DETAILS,
1939    PICKER_UP,
1940    PICKER_CHOOSE_FOLDER,
1941    PICKER_CLOSE,
1942    FILES_FILTER,
1943    FILES_NAME,
1944    FILES_BOOKMARK,
1945    FILES_UNBOOKMARK,
1946    FILES_HOME,
1947    FILES_RECENT,
1948    FILES_BOOKMARKS,
1949    FILES_DESKTOP,
1950    FILES_DOCUMENTS,
1951    FILES_DOWNLOADS,
1952    FILES_PICTURES,
1953    FILES_MUSIC,
1954    FILES_VIDEOS,
1955    FILES_DEVICES,
1956    FILES_PLACES,
1957    FILES_PLACE_DIMMED,
1958    FILES_RENAME_BOOKMARK,
1959    FILES_MOVE_UP,
1960    FILES_MOVE_DOWN,
1961    FILES_BOOKMARK_NAME,
1962    FILES_TYPE,
1963    FILES_ALL,
1964    FILES_HIDDEN,
1965    FILES_OPEN,
1966    FILES_SAVE,
1967    FILES_NEW_FOLDER,
1968    FILES_FOLDER_NAME,
1969    FILES_CREATE,
1970    FILES_FOLDER_NAME_EMPTY,
1971    FILES_FOLDER_NAME_INVALID,
1972    FILES_FOLDER_EXISTS,
1973    FILES_FOLDER_FAILED,
1974    FILES_FOLDER_READ_ONLY,
1975    FILES_REPLACE_TITLE,
1976    FILES_REPLACE_DETAIL,
1977    FILES_REPLACE,
1978    FILES_REPLACE_NO_DIALOGS,
1979    FILES_VIEW_LIST,
1980    FILES_VIEW_GRID,
1981    FILES_THUMBNAIL_SIZE,
1982    FILES_MODES,
1983    FILES_MODE_DETAILS,
1984    FILES_MODE_THUMBNAILS,
1985    FILES_MODE_COLUMNS,
1986    FILES_MODE_FILMSTRIP,
1987    FILES_MODE_CAROUSEL,
1988    FILES_MODE_AGENDA,
1989    FILES_MODE_LIBRARY,
1990    FILES_AGENDA_UNDATED,
1991    FILES_PREVIEW_OF,
1992    FILES_QUICK_LOOK,
1993    FILES_AGENDA_DAY,
1994    FILES_AGENDA_MONTH,
1995    FILES_AGENDA_YEAR,
1996    FILES_LISTING,
1997    FILES_DROP_INTO,
1998    FILES_DROP_REFUSED,
1999    FILES_DROP_HERE,
2000    FILES_DROP_NOWHERE,
2001    FILES_CRUMB_OPEN,
2002    FILES_CRUMB_CURRENT,
2003    FILES_CRUMB_SUBFOLDERS,
2004    FILES_CRUMB_COLLAPSED,
2005    FILES_CRUMB_NONE,
2006    FILES_CRUMB_UNREADABLE,
2007    FILES_COLUMN_NAME,
2008    FILES_COLUMN_SIZE,
2009    FILES_COLUMN_MODIFIED,
2010    FILES_COLUMN_TYPE,
2011    FILES_COLUMN_TAKEN,
2012    FILES_SORT_BY,
2013    FILES_KIND_FOLDER,
2014    FILES_KIND_FILE,
2015    FILES_SORTED_UP,
2016    FILES_SORTED_DOWN,
2017    FILES_SORT_RANKED,
2018    FILES_FOLDERS_FIRST,
2019    FILES_GROUP,
2020    FILES_GROUP_TIP,
2021    FILES_GROUP_WITH,
2022    FILES_GROUP_MEMBERS,
2023    FILES_GROUP_STAND_IN,
2024    FILES_PREVIEW,
2025    FILES_PREVIEW_RESIZE,
2026    FILES_SELECTED,
2027    FILES_SELECTED_NOT_SHOWN,
2028    FILES_SELECT_FOLDER,
2029    FILES_SELECT_ALL_NONE,
2030    FILES_OPEN_ONE_FILE,
2031    FILES_OPEN_FILES,
2032    FILES_CHOOSE_NAMED,
2033    FILES_READOUT_FILE,
2034    FILES_READOUT_ENTER,
2035    FILES_READOUT_SAVE,
2036    FILES_NAME_NEEDED,
2037    FILES_NOTHING_TO_OPEN,
2038    FILES_EMPTY_FOLDER,
2039    FILES_NO_SUBFOLDERS,
2040    FILES_NO_RESULTS,
2041    FILES_NO_RESULTS_FOR,
2042    FILES_NO_RESULTS_TYPE,
2043    FILES_CLEAR_FILTER,
2044    FILES_SHOW_ALL,
2045    FILES_UNREADABLE,
2046    FILES_RETRY,
2047    FILES_GO_UP,
2048    FILES_PREVIEW_LOADING,
2049    FILES_PREVIEW_NONE,
2050    FILES_PREVIEW_FAILED,
2051    FILES_SIZE,
2052    FILES_ITEMS,
2053    FILES_FOLDER_OPENED,
2054    FILES_ENTRIES_OF,
2055    FILES_DIMENSIONS,
2056    FILES_PAGES,
2057    FILES_TAKEN,
2058    FILES_CAMERA,
2059    FILES_LENS,
2060    FILES_EXPOSURE,
2061    FILES_FOCAL_LENGTH,
2062    FILES_RATING,
2063    FILES_RATING_VALUE,
2064    FILES_MODIFIED,
2065    TOAST_INFO,
2066    TOAST_SUCCESS,
2067    TOAST_WARNING,
2068    TOAST_ERROR,
2069    TOAST_CLOSE,
2070    TOAST_COPY,
2071    COMMAND_FAILED,
2072    NOTICE_CLOSE,
2073    NOTICES_TITLE,
2074    NOTICES_ERRORS_ONE,
2075    NOTICES_ERRORS,
2076    NOTICES_WARNINGS_ONE,
2077    NOTICES_WARNINGS,
2078    NOTICES_UNSEEN,
2079    NOTICES_NONE_UNSEEN,
2080    NOTICES_EMPTY,
2081    NOTICES_SEVERITY,
2082    NOTICES_ALL_SEVERITIES,
2083    NOTICES_ORIGIN,
2084    NOTICES_ALL_ORIGINS,
2085    NOTICES_NODE,
2086    NOTICES_ALL_NODES,
2087    NOTICES_SEARCH,
2088    NOTICES_ORIGIN_USER,
2089    NOTICES_ORIGIN_BACKGROUND,
2090    NOTICES_ORIGIN_NODE,
2091    NOTICES_ORIGIN_SYSTEM,
2092    NOTICES_MARK_SEEN,
2093    NOTICES_COPY_ALL,
2094    NOTICES_CLEAR_SEEN,
2095    NOTICES_DISMISS,
2096    NOTICES_RESOLVED,
2097    TOAST_ACTION_GONE,
2098    JOBS_ACTIVE,
2099    JOBS_ACTIVE_PERCENT,
2100    JOBS_FAILED,
2101    JOBS_TITLE,
2102    JOBS_NONE,
2103    JOBS_HISTORY,
2104    JOBS_CLEAR,
2105    JOBS_OPEN_PANEL,
2106    JOB_RUNNING,
2107    JOB_PAUSED,
2108    JOB_CANCELLING,
2109    JOB_DONE,
2110    JOB_FAILED,
2111    JOB_CANCELLED,
2112    JOB_ASKED,
2113    JOB_ORPHANED,
2114    JOB_OF,
2115    JOB_ETA_SECONDS,
2116    JOB_ETA_MINUTES,
2117    JOB_PAUSE,
2118    JOB_RESUME,
2119    JOB_DISMISS,
2120    JOB_ACTION_NAME,
2121    JOB_ACTIONS_NAME,
2122    JOB_SHOW_LOG,
2123    JOB_HIDE_LOG,
2124    JOB_REFUSED,
2125    JOB_NO_LOG,
2126    JOB_QUEUED,
2127    JOB_WAITING,
2128    JOB_OPEN,
2129    JOB_ROW_NAME,
2130    JOBS_FILTER,
2131    JOBS_FILTER_SOURCE,
2132    JOBS_FILTER_STATE,
2133    JOBS_STATE_ALL,
2134    JOBS_STATE_ACTIVE,
2135    JOBS_STATE_DONE,
2136    JOBS_STATE_FAILED,
2137    FRAME_WINDOW_MENU,
2138    FRAME_LOGO,
2139    WINDOW_EXIT_FULLSCREEN,
2140    WINDOW_PLACED_BY_SYSTEM,
2141    AREA_CENTER,
2142    AREA_START_SIDE,
2143    AREA_END_SIDE,
2144    AREA_BOTTOM,
2145    AREA_RESIZE,
2146    AREA_TITLE_CENTER,
2147    AREA_TITLE_START_SIDE,
2148    AREA_TITLE_END_SIDE,
2149    AREA_TITLE_BOTTOM,
2150    WORKBENCH_DOCK_TITLE,
2151    AREA_ACTIVITY_BAR,
2152    WORKBENCH_MOVE_TO,
2153    WORKBENCH_DOCK_IN,
2154    WORKBENCH_DROP_HERE,
2155    WORKBENCH_STAYS_OUT,
2156    WORKBENCH_DETACH,
2157    WORKBENCH_CLOSE_PANEL,
2158    WORKBENCH_ZEN_PANEL,
2159    WORKBENCH_NEW_INSTANCE,
2160    WORKBENCH_PICK_TITLE,
2161    WORKBENCH_PICK_HINT,
2162    WORKBENCH_NEW_WINDOW,
2163    WORKBENCH_MOVE_GROUP,
2164    WORKBENCH_EJECT_GROUP,
2165    WORKBENCH_NOTHING_TO_OPEN,
2166    WORKBENCH_MOVE_WINDOW,
2167    WORKBENCH_STAYS_DOCKED,
2168    WORKBENCH_FLOAT,
2169    WORKBENCH_FLOAT_REFUSED,
2170    WORKBENCH_FLOAT_PALETTES_ONLY,
2171    WORKBENCH_FLOAT_GROUP,
2172    WORKBENCH_DOCK_BACK,
2173    PANEL_STATE_UPDATING,
2174    PANEL_STATE_FAILED,
2175    PANEL_KIND_CONTROL,
2176    PANEL_KIND_MIXED,
2177    WORKBENCH_UNFOLD,
2178    WORKBENCH_FOLD,
2179    WORKBENCH_FLYOUT_PIN,
2180    PALETTE_CLOSE,
2181    PALETTE_CLOSE_GROUP,
2182    PALETTE_GROUP_MENU,
2183    PALETTE_ROLL_UP,
2184    PALETTE_ROLL_DOWN,
2185    PALETTE_PIN,
2186    PALETTE_DRAG_HOLD_TO_DOCK,
2187    PALETTE_DRAG_RELEASE_TO_MOVE,
2188    PALETTE_DRAG_HOLD_TO_FLOAT,
2189    PALETTE_DRAG_REST,
2190    PALETTE_UNPIN,
2191    WORKBENCH_WINDOW_TITLE,
2192    ZEN_HINT,
2193    ZEN_HINT_NO_KEY,
2194    LAYOUT_CUSTOMIZE,
2195    LAYOUT_WITH_KEY,
2196    LAYOUT_SAVE_AS,
2197    LAYOUT_SIDE_BAR_LEFT,
2198    LAYOUT_SIDE_BAR_RIGHT,
2199    LAYOUT_PANEL_CENTER,
2200    LAYOUT_PANEL_JUSTIFY,
2201    ARRANGEMENT_SAVE_TITLE,
2202    ARRANGEMENT_SAVE_VERB,
2203    ARRANGEMENT_NAME,
2204    ARRANGEMENT_SUGGESTED,
2205    PANEL_FOCUS_TITLE,
2206    PANEL_FOCUS_DESCRIPTION,
2207    PANEL_TOGGLE_TITLE,
2208    PANEL_TOGGLE_DESCRIPTION,
2209    DEVTOOLS_OFF,
2210    DEVTOOLS_TAB_KEYS,
2211    DEVTOOLS_TAB_JOURNAL,
2212    DEVTOOLS_TAB_STEPS,
2213    DEVTOOLS_TAB_FOCUS,
2214    DEVTOOLS_TAB_SCALE,
2215    DEVTOOLS_TAB_COLLECTORS,
2216    DEVTOOLS_WAITING,
2217    DEVTOOLS_PRESS_A_KEY,
2218    DEVTOOLS_NO_HOOKS,
2219    DEVTOOLS_HOOK_BY,
2220    DEVTOOLS_FOCUS_CHAIN,
2221    DEVTOOLS_OVERLAYS,
2222    DEVTOOLS_CONTEXT_KEYS,
2223    DEVTOOLS_ARGUMENTS,
2224    DEVTOOLS_MUTATES,
2225    INSPECT_BUTTON,
2226    INSPECT_HINT,
2227    INSPECT_TITLE,
2228    INSPECT_COPY,
2229    INSPECT_COPIED,
2230    INSPECT_REPORT,
2231    INSPECT_REPORT_HOVER,
2232    INSPECT_PICK_ANOTHER,
2233    THEME_EDITOR_MISSING,
2234    THEME_EDITOR_START,
2235    THEME_EDITOR_UNDO,
2236    THEME_EDITOR_REDO,
2237    THEME_EDITOR_CHANGE_OF,
2238    THEME_EDITOR_CHANGED_COUNT,
2239    THEME_EDITOR_FILTER,
2240    THEME_EDITOR_SURFACES,
2241    THEME_EDITOR_TEXT,
2242    THEME_EDITOR_ACCENT,
2243    THEME_EDITOR_STATES,
2244    THEME_EDITOR_BORDERS,
2245    THEME_EDITOR_SHAPE,
2246    THEME_EDITOR_COMPONENTS,
2247    THEME_EDITOR_PALETTE,
2248    THEME_EDITOR_EDITED,
2249    THEME_EDITOR_PICK,
2250    THEME_EDITOR_STEP,
2251    THEME_EDITOR_STEP_MANY,
2252    THEME_EDITOR_TYPE,
2253    THEME_EDITOR_OWN,
2254    THEME_EDITOR_FROM,
2255    THEME_EDITOR_ALIAS_OF,
2256    THEME_EDITOR_VALUE,
2257    THEME_EDITOR_VALUE_OF,
2258    THEME_EDITOR_ADJUST_OF,
2259    THEME_EDITOR_NOT_A_VALUE,
2260    THEME_EDITOR_RESET,
2261    THEME_EDITOR_CONTRAST,
2262    THEME_EDITOR_NO_PAIRS,
2263    THEME_EDITOR_PAIR,
2264    THEME_EDITOR_PAIR_ON,
2265    THEME_EDITOR_RATIO,
2266    THEME_EDITOR_THEME_NEEDS,
2267    THEME_EDITOR_PASS,
2268    THEME_EDITOR_FAIL,
2269    THEME_EDITOR_NOT_APPLICABLE,
2270    THEME_EDITOR_FILE,
2271    THEME_EDITOR_NAME,
2272    THEME_EDITOR_EXPORT,
2273    THEME_EDITOR_IMPORT,
2274    THEME_EDITOR_FILE_TEXT,
2275    THEME_EDITOR_GENERATE_TITLE,
2276    THEME_EDITOR_SEED_OF,
2277    THEME_EDITOR_SEED_HEX_OF,
2278    THEME_EDITOR_GENERATE,
2279    THEME_EDITOR_GENERATED,
2280    THEME_EDITOR_SEED_CLAMPED,
2281    THEME_EDITOR_GENERATE_VARIANT,
2282    THEME_EDITOR_VARIANT,
2283    THEME_EDITOR_VARIANT_HINT,
2284    THEME_EDITOR_DARK,
2285    THEME_EDITOR_LIGHT,
2286    THEME_EDITOR_OTHER,
2287    THEME_EDITOR_OTHER_HINT,
2288    THEME_EDITOR_OTHER_TITLE,
2289    THEME_EDITOR_OTHER_PREVIEWED,
2290    THEME_EDITOR_OTHER_NONE,
2291    THEME_EDITOR_OTHER_APPLY,
2292    THEME_EDITOR_OTHER_CANCEL,
2293    THEME_EDITOR_OTHER_WRITTEN,
2294    THEME_EDITOR_LC_HINT,
2295    THEME_EDITOR_TAB_TOKENS,
2296    THEME_EDITOR_TAB_FONTS,
2297    THEME_EDITOR_FAMILIES,
2298    THEME_EDITOR_FAMILIES_HINT,
2299    THEME_EDITOR_FAMILY_UI,
2300    THEME_EDITOR_FAMILY_MONO,
2301    THEME_EDITOR_MOVE_UP,
2302    THEME_EDITOR_MOVE_DOWN,
2303    THEME_EDITOR_REMOVE_FAMILY,
2304    THEME_EDITOR_ADD_FAMILY_TO,
2305    THEME_EDITOR_ADD,
2306    THEME_EDITOR_FONT_FILES,
2307    THEME_EDITOR_NO_FONT_FILES,
2308    THEME_EDITOR_REMOVE_FONT_FILE,
2309    THEME_EDITOR_ADD_FONT_FILE,
2310    THEME_EDITOR_FONT_ADDED,
2311    THEME_EDITOR_FONT_SAMPLE,
2312    THEME_EDITOR_FONT_SAMPLE_TEXT,
2313    THEME_EDITOR_FONT_SAMPLE_HINT,
2314    THEME_EDITOR_APPLY_FONTS,
2315    THEME_EDITOR_CANCEL_FONTS,
2316    THEME_EDITOR_FAMILY_MISSING,
2317    THEME_EDITOR_INSTALLED,
2318    THEME_EDITOR_INSTALLED_HINT,
2319    THEME_EDITOR_FOR_UI,
2320    THEME_EDITOR_FOR_MONO,
2321    THEME_EDITOR_SEARCH_FAMILIES,
2322    THEME_EDITOR_NO_FAMILY_MATCHES,
2323    THEME_EDITOR_APPLY_FONTS_HINT,
2324    THEME_EDITOR_PREVIEW_ONLY,
2325    THEME_EDITOR_PREVIEW_ONLY_HINT,
2326    THEME_EDITOR_APPLY,
2327    THEME_EDITOR_DISCARD,
2328    THEME_EDITOR_PREVIEW,
2329    THEME_EDITOR_NOT_APPLIED,
2330    THEME_EDITOR_HEX_OF,
2331    THEME_EDITOR_OPEN_FILE,
2332    THEME_EDITOR_SAVE_FILE,
2333    THEME_EDITOR_SAVED,
2334    THEME_EDITOR_SAMPLE_HEADING,
2335    THEME_EDITOR_SAMPLE_TEXT,
2336    THEME_EDITOR_SAMPLE_MUTED,
2337    THEME_EDITOR_SAMPLE_BUTTON,
2338    THEME_EDITOR_SAMPLE_PRIMARY,
2339    THEME_EDITOR_SAMPLE_DANGER,
2340    THEME_EDITOR_SAMPLE_DISABLED,
2341    THEME_EDITOR_SAMPLE_CHECKBOX,
2342    THEME_EDITOR_SAMPLE_OPTION_A,
2343    THEME_EDITOR_SAMPLE_OPTION_B,
2344    THEME_EDITOR_SAMPLE_SLIDER,
2345    THEME_EDITOR_SAMPLE_FIELD,
2346    THEME_EDITOR_SAMPLE_SELECTED,
2347    THEME_EDITOR_IMPORTED,
2348    THEME_EDITOR_SKIPPED,
2349    THEME_EDITOR_WARNINGS,
2350    THEME_EDITOR_PROBLEMS,
2351    TIPS_OF_THE_DAY,
2352    TIPS_HINT,
2353    TIPS_PREVIOUS,
2354    TIPS_NEXT,
2355    TIPS_AT,
2356    TIPS_DONT_SHOW,
2357    TIPS_GOT_IT,
2358    TIPS_GOT_IT_NAME,
2359    TIPS_DID_YOU_KNOW,
2360    TIPS_NOT_NOW,
2361    TIPS_NO_MORE,
2362    TIPS_BROWSER,
2363    TIPS_NONE,
2364    TIPS_ORIGIN_ON,
2365    TIPS_ORIGIN_ON_NAME,
2366    TIPS_STATE_DISMISSED,
2367    TIPS_STATE_USED,
2368    TIPS_SHOW,
2369    TIPS_SHOW_NAME,
2370    ABOUT_TITLE,
2371    ABOUT_VERSION,
2372    ABOUT_LICENCE,
2373    ABOUT_AUTHORS,
2374    ABOUT_REPOSITORY,
2375    ABOUT_WEBSITE,
2376    ABOUT_DOCS,
2377    ABOUT_ISSUES,
2378    ABOUT_COPY,
2379    ABOUT_COPIED,
2380    REPORT_INTRO,
2381    REPORT_SEND,
2382    CONTEXT_ROOT,
2383    CONTEXT_LEAVE_MODE,
2384    CONTEXT_NO_MODE,
2385    CONTEXT_REFUSED,
2386    CONTEXT_NOW_IN,
2387    CONTEXT_UNDONE_IN,
2388    CONTEXT_REDONE_IN,
2389    CONTEXT_GO_THERE,
2390    HISTORY_NONE,
2391    HISTORY_NOTHING_FOCUSED,
2392    HISTORY_NOTHING_FOCUSED_REDO,
2393    HISTORY_START,
2394    HISTORY_BY,
2395    HISTORY_JUMP,
2396    HISTORY_SNAPSHOTS,
2397    HISTORY_TAKE_SNAPSHOT,
2398    HISTORY_SNAPSHOT_NAME,
2399    HISTORY_RESTORE,
2400    HISTORY_RESTORE_HINT,
2401    HISTORY_SNAPSHOT_PENDING,
2402    HISTORY_SNAPSHOT_PENDING_HINT,
2403    HISTORY_DELETE_SNAPSHOT,
2404    HISTORY_UNDO_THIS,
2405    HISTORY_SHOW_REPLACED,
2406    HISTORY_REPLACED,
2407    HISTORY_PREVIEW_CHANGE,
2408    CONTEXT_GO_TO,
2409    CONTEXT_HERE,
2410    CONTEXT_MORE_PLACES,
2411    CONTEXT_BACK_FROM_MODE,
2412    CONTEXT_CANNOT_LEAVE,
2413    CONTEXT_DROPPED,
2414    STATUS_HIDE,
2415    STATUS_SHOW,
2416    STATUS_MOVE_START,
2417    STATUS_MOVE_END,
2418    CLIPBOARD_COPIED_STRIPPED,
2419    CLIPBOARD_PASTED_LOSSY,
2420    CLIPBOARD_NOT_COPIED,
2421    CLIPBOARD_NOT_PASTED,
2422    CLIPBOARD_PASTE_SPECIAL,
2423    CLIPBOARD_AS,
2424    CLIPBOARD_AS_THROUGH,
2425    CLIPBOARD_ONLY_PART,
2426    CLIPBOARD_LOSES,
2427    CLIPBOARD_PASTE_STEP,
2428    CLIPBOARD_CUT_STEP,
2429    CLIPBOARD_TEXT,
2430    LINKS_OPEN,
2431    LINKS_OPEN_OUTSIDE,
2432    LINKS_REVEAL,
2433    LINKS_COPY,
2434    LINKS_HOST,
2435    LINKS_CONFIRM_TITLE,
2436    LINKS_CONFIRM_FILE,
2437    LINKS_CONFIRM_REVEAL,
2438    LINKS_CONFIRM_AGENT,
2439    LINKS_CONFIRM_DISGUISED,
2440    LINKS_CONFIRM_CONTENT,
2441    LINKS_TRUST,
2442    LINKS_NOT_OPENED,
2443    STATUS_MORE,
2444    STATUS_ERRORS,
2445    STATUS_WARNINGS,
2446    STATUS_ANNOUNCE,
2447];
2448
2449#[cfg(test)]
2450mod tests {
2451    use super::*;
2452
2453    fn is_fluent_id(key: &str) -> bool {
2454        key.strip_prefix("egui-pop-").is_some_and(|rest| {
2455            !rest.is_empty()
2456                && rest
2457                    .chars()
2458                    .all(|c| c.is_ascii_lowercase() || c.is_ascii_digit() || c == '-')
2459        })
2460    }
2461
2462    /// The `{ $name }` placeholders of a text; `Err` on a brace that
2463    /// opens none.
2464    fn placeholders(text: &str) -> Result<Vec<&str>, String> {
2465        let mut out = Vec::new();
2466        let mut rest = text;
2467        while let Some(at) = rest.find(['{', '}']) {
2468            let tail = &rest[at..];
2469            if tail.starts_with('}') {
2470                return Err(format!("a lone `}}` in {text:?}"));
2471            }
2472            let end = tail
2473                .find('}')
2474                .ok_or_else(|| format!("an unclosed `{{` in {text:?}"))?;
2475            let inner = &tail[1..end];
2476            let name = inner
2477                .strip_prefix(" $")
2478                .and_then(|n| n.strip_suffix(' '))
2479                .filter(|n| {
2480                    n.starts_with(|c: char| c.is_ascii_lowercase())
2481                        && n.chars()
2482                            .all(|c| c.is_ascii_lowercase() || c.is_ascii_digit() || c == '-')
2483                })
2484                .ok_or_else(|| format!("`{{{inner}}}` is not `{{ $name }}` in {text:?}"))?;
2485            out.push(name);
2486            rest = &tail[end + 1..];
2487        }
2488        Ok(out)
2489    }
2490
2491    #[test]
2492    fn keys_are_unique_fluent_ids_with_well_formed_placeholders() {
2493        let mut seen = std::collections::BTreeSet::new();
2494        for k in ALL {
2495            assert!(seen.insert(k.key), "`{}` listed twice", k.key);
2496            assert!(is_fluent_id(k.key), "`{}` is not a Fluent id", k.key);
2497            assert!(!k.fallback.is_empty(), "`{}` has no English", k.key);
2498            if let Err(e) = placeholders(k.fallback) {
2499                panic!("`{}`: {e}", k.key);
2500            }
2501        }
2502        for k in egui_pop_core::strings::ALL {
2503            assert!(!seen.contains(k.key), "`{}` is core's", k.key);
2504        }
2505        for k in DEVTOOLS_TABS {
2506            assert!(ALL.contains(&k));
2507        }
2508    }
2509
2510    #[test]
2511    fn placeholders_are_checked() {
2512        assert_eq!(placeholders("Close { $panel }"), Ok(vec!["panel"]));
2513        assert!(placeholders("Close {panel}").is_err());
2514        assert!(placeholders("Close { $panel").is_err());
2515        assert!(placeholders("Close }").is_err());
2516    }
2517}