1use egui_pop_core::strings::StrKey;
18
19pub const COMMAND_LABEL: StrKey =
23 StrKey::new("egui-pop-command-label", "{ $category }: { $title }");
24pub const COMMAND_WITH_CHANGE: StrKey =
26 StrKey::new("egui-pop-command-with-change", "{ $title } { $change }");
27pub const NOTHING_MATCHES: StrKey = StrKey::new("egui-pop-nothing-matches", "Nothing matches.");
29
30pub 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");
37pub const TOOLBAR_MORE: StrKey = StrKey::new("egui-pop-toolbar-more", "More tools");
39pub const TOOLBAR_MORE_IN: StrKey =
41 StrKey::new("egui-pop-toolbar-more-in", "More tools: { $toolbar }");
42pub 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");
51pub 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
61pub 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.");
70pub const PALETTE_PICK_NO_MATCH: StrKey =
72 StrKey::new("egui-pop-palette-pick-no-match", "Nothing matches.");
73pub 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
93pub 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);
159pub 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);
164pub 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.");
175pub const ADMIN_REFRESHING: StrKey = StrKey::new("egui-pop-admin-refreshing", "Refreshing…");
178pub 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
198pub 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
251pub 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);
258pub 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");
302pub 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);
309pub const SETTINGS_RESET_PAGE: StrKey =
311 StrKey::new("egui-pop-settings-reset-page", "Reset the page");
312pub 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);
319pub 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
326pub 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 }");
336pub const SHORTCUTS_POINTER_PROFILE: StrKey = StrKey::new(
338 "egui-pop-shortcuts-pointer-profile",
339 "Pointer profile: { $profile }",
340);
341pub 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);
358pub 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 }");
367pub 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);
372pub const SHORTCUTS_WIDGET_USES: StrKey =
375 StrKey::new("egui-pop-shortcuts-widget-uses", "Widgets' own gestures");
376pub 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);
381pub 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);
412pub const SHORTCUTS_SYSTEM_ON: StrKey = StrKey::new(
414 "egui-pop-shortcuts-system-on",
415 "{ $keys } also works outside the window",
416);
417pub const SHORTCUTS_SYSTEM_PENDING: StrKey = StrKey::new(
419 "egui-pop-shortcuts-system-pending",
420 "{ $keys } outside the window: waiting for the desktop",
421);
422pub const SHORTCUTS_SYSTEM_FAILED: StrKey = StrKey::new(
424 "egui-pop-shortcuts-system-failed",
425 "{ $keys } does not work outside the window: { $reason }",
426);
427pub const SHORTCUTS_SYSTEM_UNAVAILABLE: StrKey = StrKey::new(
429 "egui-pop-shortcuts-system-unavailable",
430 "{ $keys } works only in the window: { $reason }",
431);
432pub 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);
451pub 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");
455pub const SHORTCUTS_KEY_FROM: StrKey =
457 StrKey::new("egui-pop-shortcuts-key-from", "{ $keys } ({ $source })");
458pub const SHORTCUTS_KEY_IN: StrKey =
460 StrKey::new("egui-pop-shortcuts-key-in", "{ $keys } in { $scope }");
461pub 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");
469pub 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);
475pub const SHORTCUTS_DORMANT_PLUGIN: StrKey = StrKey::new(
477 "egui-pop-shortcuts-dormant-plugin",
478 "dormant: plugin { $plugin } is off",
479);
480pub 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
488pub 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
500pub 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");
510pub 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");
517pub const FILES_DEVICES: StrKey = StrKey::new("egui-pop-files-devices", "Devices");
519pub const FILES_PLACES: StrKey = StrKey::new("egui-pop-files-places", "Places");
521pub const FILES_PLACE_DIMMED: StrKey = StrKey::new("egui-pop-files-place-dimmed", "Unavailable");
524pub 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");
528pub 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");
536pub const FILES_NEW_FOLDER: StrKey = StrKey::new("egui-pop-files-new-folder", "New folder");
538pub const FILES_FOLDER_NAME: StrKey = StrKey::new("egui-pop-files-folder-name", "Folder name");
540pub 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);
556pub 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);
561pub const FILES_REPLACE_TITLE: StrKey =
563 StrKey::new("egui-pop-files-replace-title", "Replace { $name }?");
564pub 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);
569pub const FILES_REPLACE: StrKey = StrKey::new("egui-pop-files-replace", "Replace");
571pub 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);
576pub const FILES_SELECTED: StrKey = StrKey::new("egui-pop-files-selected", "Selected: { $count }");
578pub const FILES_SELECTED_NOT_SHOWN: StrKey = StrKey::new(
580 "egui-pop-files-selected-not-shown",
581 "Selected: { $count } ({ $hidden } not shown)",
582);
583pub 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);
588pub const FILES_SELECT_ALL_NONE: StrKey = StrKey::new(
590 "egui-pop-files-select-all-none",
591 "No file is shown to select",
592);
593pub 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");
597pub const FILES_CHOOSE_NAMED: StrKey =
599 StrKey::new("egui-pop-files-choose-named", "Choose “{ $name }”");
600pub const FILES_READOUT_FILE: StrKey =
602 StrKey::new("egui-pop-files-readout-file", "File: { $name }");
603pub const FILES_READOUT_ENTER: StrKey =
605 StrKey::new("egui-pop-files-readout-enter", "Goes into { $name }");
606pub const FILES_READOUT_SAVE: StrKey =
608 StrKey::new("egui-pop-files-readout-save", "{ $name } in { $folder }");
609pub const FILES_NAME_NEEDED: StrKey =
611 StrKey::new("egui-pop-files-name-needed", "Type a name to save under");
612pub const FILES_NOTHING_TO_OPEN: StrKey =
614 StrKey::new("egui-pop-files-nothing-to-open", "Nothing here to open");
615pub 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");
633pub 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");
638pub 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");
647pub const FILES_MODE_LIBRARY: StrKey = StrKey::new("egui-pop-files-mode-library", "Library grid");
649pub const FILES_AGENDA_UNDATED: StrKey = StrKey::new("egui-pop-files-agenda-undated", "No date");
651pub 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 }");
656pub 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");
660pub const FILES_LISTING: StrKey = StrKey::new("egui-pop-files-listing", "Listing…");
662pub 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");
666pub 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");
671pub 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);
686pub 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");
692pub const FILES_COLUMN_TAKEN: StrKey = StrKey::new("egui-pop-files-column-taken", "Taken");
694pub 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");
698pub 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);
705pub 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");
712pub const FILES_GROUP: StrKey = StrKey::new("egui-pop-files-group", "Group files");
714pub 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);
719pub const FILES_GROUP_WITH: StrKey =
721 StrKey::new("egui-pop-files-group-with", "Grouped with { $members }");
722pub const FILES_GROUP_MEMBERS: StrKey = StrKey::new("egui-pop-files-group-members", "Grouped with");
724pub 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");
737pub const FILES_ENTRIES_OF: StrKey =
739 StrKey::new("egui-pop-files-entries-of", "Files in { $folder }");
740pub 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");
747pub 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");
754pub 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
761pub 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");
767pub const TOAST_CLOSE: StrKey = StrKey::new("egui-pop-toast-close", "Close: { $text }");
769pub const TOAST_COPY: StrKey = StrKey::new("egui-pop-toast-copy", "Copy: { $text }");
771pub const COMMAND_FAILED: StrKey =
774 StrKey::new("egui-pop-command-failed", "{ $command } did not work");
775pub const NOTICE_CLOSE: StrKey = StrKey::new("egui-pop-notice-close", "Close: { $text }");
777pub const NOTICES_TITLE: StrKey = StrKey::new("egui-pop-notices-title", "Notices");
779pub const NOTICES_ERRORS_ONE: StrKey = StrKey::new("egui-pop-notices-errors-one", "1 error");
781pub const NOTICES_ERRORS: StrKey = StrKey::new("egui-pop-notices-errors", "{ $count } errors");
783pub const NOTICES_WARNINGS_ONE: StrKey = StrKey::new("egui-pop-notices-warnings-one", "1 warning");
785pub const NOTICES_WARNINGS: StrKey =
787 StrKey::new("egui-pop-notices-warnings", "{ $count } warnings");
788pub const NOTICES_UNSEEN: StrKey =
790 StrKey::new("egui-pop-notices-unseen", "{ $counts } not yet seen");
791pub const NOTICES_NONE_UNSEEN: StrKey =
793 StrKey::new("egui-pop-notices-none-unseen", "No new errors or warnings");
794pub const NOTICES_EMPTY: StrKey = StrKey::new("egui-pop-notices-empty", "No notices.");
796pub const NOTICES_SEVERITY: StrKey = StrKey::new("egui-pop-notices-severity", "Severity");
798pub const NOTICES_ALL_SEVERITIES: StrKey =
800 StrKey::new("egui-pop-notices-all-severities", "All severities");
801pub const NOTICES_ORIGIN: StrKey = StrKey::new("egui-pop-notices-origin", "Origin");
803pub const NOTICES_ALL_ORIGINS: StrKey = StrKey::new("egui-pop-notices-all-origins", "All origins");
805pub const NOTICES_NODE: StrKey = StrKey::new("egui-pop-notices-node", "Node");
807pub const NOTICES_ALL_NODES: StrKey = StrKey::new("egui-pop-notices-all-nodes", "All nodes");
809pub const NOTICES_SEARCH: StrKey = StrKey::new("egui-pop-notices-search", "Search notices");
811pub const NOTICES_ORIGIN_USER: StrKey = StrKey::new("egui-pop-notices-origin-user", "You");
813pub const NOTICES_ORIGIN_BACKGROUND: StrKey =
815 StrKey::new("egui-pop-notices-origin-background", "Background");
816pub const NOTICES_ORIGIN_NODE: StrKey = StrKey::new("egui-pop-notices-origin-node", "Other nodes");
818pub const NOTICES_ORIGIN_SYSTEM: StrKey = StrKey::new("egui-pop-notices-origin-system", "System");
820pub const NOTICES_MARK_SEEN: StrKey = StrKey::new("egui-pop-notices-mark-seen", "Mark all seen");
822pub const NOTICES_COPY_ALL: StrKey = StrKey::new("egui-pop-notices-copy-all", "Copy all");
824pub const NOTICES_CLEAR_SEEN: StrKey = StrKey::new("egui-pop-notices-clear-seen", "Clear seen");
826pub const NOTICES_DISMISS: StrKey = StrKey::new("egui-pop-notices-dismiss", "Dismiss: { $text }");
828pub const NOTICES_RESOLVED: StrKey = StrKey::new("egui-pop-notices-resolved", "Resolved");
830pub const TOAST_ACTION_GONE: StrKey = StrKey::new(
832 "egui-pop-toast-action-gone",
833 "Its plugin { $plugin } is disconnected",
834);
835
836pub const FRAME_WINDOW_MENU: StrKey = StrKey::new("egui-pop-frame-window-menu", "Window menu");
839pub 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
848pub 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 }");
855pub 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");
861pub const WORKBENCH_DOCK_TITLE: StrKey =
864 StrKey::new("egui-pop-workbench-dock-title", "{ $area } ({ $panels })");
865pub 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 }");
877pub const WORKBENCH_ZEN_PANEL: StrKey =
879 StrKey::new("egui-pop-workbench-zen-panel", "Zen this panel");
880pub const WORKBENCH_NEW_INSTANCE: StrKey =
883 StrKey::new("egui-pop-workbench-new-instance", "New { $panel }");
884pub 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");
888pub const WORKBENCH_NEW_WINDOW: StrKey = StrKey::new("egui-pop-workbench-new-window", "New window");
890pub const WORKBENCH_MOVE_GROUP: StrKey = StrKey::new("egui-pop-workbench-move-group", "Move group");
893pub const WORKBENCH_EJECT_GROUP: StrKey =
896 StrKey::new("egui-pop-workbench-eject-group", "Eject group");
897pub const WORKBENCH_NOTHING_TO_OPEN: StrKey = StrKey::new(
899 "egui-pop-workbench-nothing-to-open",
900 "No closed panel can open here",
901);
902pub const WORKBENCH_MOVE_WINDOW: StrKey =
904 StrKey::new("egui-pop-workbench-move-window", "Move window");
905pub 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");
911pub const WORKBENCH_FLOAT_REFUSED: StrKey = StrKey::new(
914 "egui-pop-workbench-float-refused",
915 "Float ({ $panel } cannot float)",
916);
917pub const WORKBENCH_FLOAT_PALETTES_ONLY: StrKey = StrKey::new(
920 "egui-pop-workbench-float-palettes-only",
921 "Float (only palettes float)",
922);
923pub const WORKBENCH_FLOAT_GROUP: StrKey =
925 StrKey::new("egui-pop-workbench-float-group", "Float group");
926pub const WORKBENCH_DOCK_BACK: StrKey = StrKey::new("egui-pop-workbench-dock-back", "Dock back");
929pub const WORKBENCH_DOCK_IN: StrKey =
932 StrKey::new("egui-pop-workbench-dock-in", "Dock in { $area }");
933pub const WORKBENCH_DROP_HERE: StrKey =
935 StrKey::new("egui-pop-workbench-drop-here", "Drop a panel here");
936pub const PANEL_STATE_UPDATING: StrKey = StrKey::new("egui-pop-panel-state-updating", "Updating…");
939pub const PANEL_STATE_FAILED: StrKey =
942 StrKey::new("egui-pop-panel-state-failed", "Update failed: { $reason }");
943pub const PANEL_KIND_CONTROL: StrKey =
945 StrKey::new("egui-pop-panel-kind-control", "Edits your work");
946pub 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 }");
952pub const WORKBENCH_FLYOUT_PIN: StrKey =
955 StrKey::new("egui-pop-workbench-flyout-pin", "Pin { $panel }");
956
957pub 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 }");
963pub const PALETTE_GROUP_MENU: StrKey =
965 StrKey::new("egui-pop-palette-group-menu", "{ $palette } menu");
966pub 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 }");
969pub const PALETTE_DRAG_HOLD_TO_DOCK: StrKey = StrKey::new(
972 "egui-pop-palette-drag-hold-to-dock",
973 "Hold { $keys } to dock",
974);
975pub const PALETTE_DRAG_RELEASE_TO_MOVE: StrKey = StrKey::new(
978 "egui-pop-palette-drag-release-to-move",
979 "Release { $keys } to move only",
980);
981pub 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);
987pub 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 }");
992pub const WORKBENCH_WINDOW_TITLE: StrKey = StrKey::new(
994 "egui-pop-workbench-window-title",
995 "{ $panel } — { $application }",
996);
997pub const ZEN_HINT: StrKey = StrKey::new("egui-pop-zen-hint", "Zen mode: { $keys } to leave");
999pub 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);
1004pub 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
1018pub const LAYOUT_CUSTOMIZE: StrKey = StrKey::new("egui-pop-layout-customize", "Customize layout");
1022pub const LAYOUT_WITH_KEY: StrKey =
1024 StrKey::new("egui-pop-layout-with-key", "{ $action } ({ $keys })");
1025pub 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);
1044pub 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");
1052pub const ARRANGEMENT_SUGGESTED: StrKey =
1054 StrKey::new("egui-pop-arrangement-suggested", "Arrangement { $n }");
1055
1056pub 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");
1069pub 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)");
1097pub const INSPECT_BUTTON: StrKey = StrKey::new("egui-pop-inspect-button", "Inspect an element");
1099pub 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);
1104pub 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
1116pub const JOBS_ACTIVE: StrKey = StrKey::new("egui-pop-jobs-active", "Jobs: { $count }");
1120pub const JOBS_ACTIVE_PERCENT: StrKey = StrKey::new(
1122 "egui-pop-jobs-active-percent",
1123 "Jobs: { $count } ({ $percent }%)",
1124);
1125pub const JOBS_FAILED: StrKey = StrKey::new("egui-pop-jobs-failed", "Failed: { $count }");
1127
1128pub const JOBS_TITLE: StrKey = StrKey::new("egui-pop-jobs-title", "Jobs");
1130pub const JOBS_NONE: StrKey = StrKey::new("egui-pop-jobs-none", "No jobs.");
1131pub const JOBS_HISTORY: StrKey = StrKey::new("egui-pop-jobs-history", "History");
1133pub const JOBS_CLEAR: StrKey = StrKey::new("egui-pop-jobs-clear", "Clear finished");
1134pub const JOBS_OPEN_PANEL: StrKey = StrKey::new("egui-pop-jobs-open-panel", "Open the panel");
1136pub 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");
1143pub const JOB_ASKED: StrKey = StrKey::new("egui-pop-job-asked", "{ $state }, waiting for the host");
1145pub const JOB_ORPHANED: StrKey = StrKey::new(
1147 "egui-pop-job-orphaned",
1148 "{ $state }, its plugin { $plugin } is off",
1149);
1150pub const JOB_OF: StrKey = StrKey::new("egui-pop-job-of", "{ $done } of { $total }");
1152pub 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");
1156pub 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");
1160pub const JOB_ACTION_NAME: StrKey =
1162 StrKey::new("egui-pop-job-action-name", "{ $action }: { $job }");
1163pub const JOB_ACTIONS_NAME: StrKey = StrKey::new("egui-pop-job-actions-name", "Actions: { $job }");
1166pub 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 }");
1169pub 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.");
1172pub const JOB_QUEUED: StrKey = StrKey::new("egui-pop-job-queued", "queued");
1174pub const JOB_WAITING: StrKey = StrKey::new("egui-pop-job-waiting", "waiting");
1175pub const JOB_OPEN: StrKey = StrKey::new("egui-pop-job-open", "Open");
1177pub const JOB_ROW_NAME: StrKey = StrKey::new("egui-pop-job-row-name", "{ $job }, { $state }");
1179pub const JOBS_FILTER: StrKey = StrKey::new("egui-pop-jobs-filter", "Filter the jobs");
1181pub const JOBS_FILTER_SOURCE: StrKey =
1183 StrKey::new("egui-pop-jobs-filter-source", "Show { $source }");
1184pub const JOBS_FILTER_STATE: StrKey = StrKey::new("egui-pop-jobs-filter-state", "Show: { $state }");
1186pub 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
1192pub 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.");
1227pub const THEME_EDITOR_STEP: StrKey = StrKey::new("egui-pop-theme-editor-step", "Set { $token }");
1229pub 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
1486pub 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
1514pub 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
1533pub const CONTEXT_ROOT: StrKey = StrKey::new("egui-pop-context-root", "Home");
1537pub const CONTEXT_LEAVE_MODE: StrKey =
1539 StrKey::new("egui-pop-context-leave-mode", "Leave { $mode }");
1540pub const CONTEXT_NO_MODE: StrKey = StrKey::new("egui-pop-context-no-mode", "None");
1542pub const CONTEXT_REFUSED: StrKey = StrKey::new("egui-pop-context-refused", "Not now: { $reason }");
1544pub const CONTEXT_NOW_IN: StrKey = StrKey::new("egui-pop-context-now-in", "Now in { $place }");
1546pub const CONTEXT_UNDONE_IN: StrKey =
1548 StrKey::new("egui-pop-context-undone-in", "Undone in { $place }");
1549pub const CONTEXT_REDONE_IN: StrKey =
1551 StrKey::new("egui-pop-context-redone-in", "Redone in { $place }");
1552pub const CONTEXT_GO_THERE: StrKey = StrKey::new("egui-pop-context-go-there", "Go there");
1554pub const HISTORY_NONE: StrKey = StrKey::new("egui-pop-history-none", "No history");
1556pub const HISTORY_NOTHING_FOCUSED: StrKey = StrKey::new(
1559 "egui-pop-history-nothing-focused",
1560 "Nothing to undo here: click a view first",
1561);
1562pub 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);
1567pub const HISTORY_START: StrKey = StrKey::new("egui-pop-history-start", "Start");
1569pub const HISTORY_BY: StrKey = StrKey::new("egui-pop-history-by", "{ $label } ({ $origin })");
1572pub const HISTORY_JUMP: StrKey =
1574 StrKey::new("egui-pop-history-jump", "Go back or forward to this step");
1575pub const HISTORY_SNAPSHOTS: StrKey = StrKey::new("egui-pop-history-snapshots", "Snapshots");
1577pub const HISTORY_TAKE_SNAPSHOT: StrKey =
1579 StrKey::new("egui-pop-history-take-snapshot", "Take a snapshot");
1580pub const HISTORY_SNAPSHOT_NAME: StrKey =
1582 StrKey::new("egui-pop-history-snapshot-name", "Snapshot { $n }");
1583pub const HISTORY_RESTORE: StrKey = StrKey::new("egui-pop-history-restore", "Restore");
1585pub const HISTORY_RESTORE_HINT: StrKey = StrKey::new(
1587 "egui-pop-history-restore-hint",
1588 "Go back to this snapshot (a new step)",
1589);
1590pub const HISTORY_SNAPSHOT_PENDING: StrKey = StrKey::new(
1592 "egui-pop-history-snapshot-pending",
1593 "{ $name } (not saved yet)",
1594);
1595pub 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);
1600pub const HISTORY_DELETE_SNAPSHOT: StrKey =
1602 StrKey::new("egui-pop-history-delete-snapshot", "Delete the snapshot");
1603pub const HISTORY_UNDO_THIS: StrKey = StrKey::new("egui-pop-history-undo-this", "Undo this step");
1605pub const HISTORY_SHOW_REPLACED: StrKey =
1607 StrKey::new("egui-pop-history-show-replaced", "Show replaced steps");
1608pub const HISTORY_REPLACED: StrKey =
1610 StrKey::new("egui-pop-history-replaced", "{ $label } (replaced)");
1611pub const HISTORY_PREVIEW_CHANGE: StrKey = StrKey::new(
1613 "egui-pop-history-preview-change",
1614 "{ $what }: { $then } (now { $now })",
1615);
1616pub const CONTEXT_GO_TO: StrKey = StrKey::new("egui-pop-context-go-to", "Go to { $place }");
1618pub const CONTEXT_HERE: StrKey = StrKey::new("egui-pop-context-here", "You are in { $place }");
1620pub const CONTEXT_MORE_PLACES: StrKey = StrKey::new("egui-pop-context-more-places", "Places above");
1622pub const CONTEXT_BACK_FROM_MODE: StrKey =
1624 StrKey::new("egui-pop-context-back-from-mode", "Back from { $mode }");
1625pub const CONTEXT_CANNOT_LEAVE: StrKey = StrKey::new(
1627 "egui-pop-context-cannot-leave",
1628 "{ $mode } stays on: { $reason }",
1629);
1630
1631pub const STATUS_HIDE: StrKey = StrKey::new("egui-pop-status-hide", "Hide { $item }");
1635pub const STATUS_SHOW: StrKey = StrKey::new("egui-pop-status-show", "Show { $item }");
1637pub const STATUS_MOVE_START: StrKey =
1639 StrKey::new("egui-pop-status-move-start", "Move towards the start");
1640pub const STATUS_MOVE_END: StrKey = StrKey::new("egui-pop-status-move-end", "Move towards the end");
1642pub const STATUS_MORE: StrKey = StrKey::new("egui-pop-status-more", "More status items");
1645pub const STATUS_ERRORS: StrKey = StrKey::new("egui-pop-status-errors", "Errors: { $count }");
1647pub const STATUS_WARNINGS: StrKey = StrKey::new("egui-pop-status-warnings", "Warnings: { $count }");
1649pub const STATUS_ANNOUNCE: StrKey =
1651 StrKey::new("egui-pop-status-announce", "{ $item }: { $state }");
1652pub const CONTEXT_DROPPED: StrKey =
1654 StrKey::new("egui-pop-context-dropped", "Not restored: { $frames }");
1655
1656pub const CLIPBOARD_COPIED_STRIPPED: StrKey = StrKey::new(
1660 "egui-pop-clipboard-copied-stripped",
1661 "Copied; left out: { $what }",
1662);
1663pub const CLIPBOARD_PASTED_LOSSY: StrKey =
1665 StrKey::new("egui-pop-clipboard-pasted-lossy", "Pasted; lost: { $what }");
1666pub const CLIPBOARD_NOT_COPIED: StrKey =
1668 StrKey::new("egui-pop-clipboard-not-copied", "Not copied: { $reason }");
1669pub const CLIPBOARD_NOT_PASTED: StrKey =
1671 StrKey::new("egui-pop-clipboard-not-pasted", "Not pasted: { $reason }");
1672pub const CLIPBOARD_PASTE_SPECIAL: StrKey =
1674 StrKey::new("egui-pop-clipboard-paste-special", "Paste special");
1675pub const CLIPBOARD_AS: StrKey = StrKey::new("egui-pop-clipboard-as", "As { $format }");
1677pub const CLIPBOARD_AS_THROUGH: StrKey = StrKey::new(
1679 "egui-pop-clipboard-as-through",
1680 "As { $format }, through { $transform }",
1681);
1682pub const CLIPBOARD_ONLY_PART: StrKey =
1684 StrKey::new("egui-pop-clipboard-only-part", "Only { $part }");
1685pub const CLIPBOARD_LOSES: StrKey = StrKey::new("egui-pop-clipboard-loses", "loses { $what }");
1687pub const CLIPBOARD_PASTE_STEP: StrKey =
1689 StrKey::new("egui-pop-clipboard-paste-step", "Paste { $title }");
1690pub const CLIPBOARD_CUT_STEP: StrKey = StrKey::new("egui-pop-clipboard-cut-step", "Cut { $title }");
1692pub const CLIPBOARD_TEXT: StrKey = StrKey::new("egui-pop-clipboard-text", "text");
1694
1695pub const LINKS_OPEN: StrKey = StrKey::new("egui-pop-links-open", "Open");
1699pub const LINKS_OPEN_OUTSIDE: StrKey = StrKey::new("egui-pop-links-open-outside", "Open outside");
1701pub const LINKS_REVEAL: StrKey = StrKey::new("egui-pop-links-reveal", "Show in folder");
1703pub const LINKS_COPY: StrKey = StrKey::new("egui-pop-links-copy", "Copy link");
1705pub const LINKS_HOST: StrKey = StrKey::new("egui-pop-links-host", "Host: { $host }");
1707pub const LINKS_CONFIRM_TITLE: StrKey =
1709 StrKey::new("egui-pop-links-confirm-title", "Open this link?");
1710pub const LINKS_CONFIRM_FILE: StrKey =
1712 StrKey::new("egui-pop-links-confirm-file", "Open this file?");
1713pub const LINKS_CONFIRM_REVEAL: StrKey = StrKey::new(
1715 "egui-pop-links-confirm-reveal",
1716 "Show this file in its folder?",
1717);
1718pub const LINKS_CONFIRM_AGENT: StrKey = StrKey::new(
1720 "egui-pop-links-confirm-agent",
1721 "{ $agent } asks to open this",
1722);
1723pub const LINKS_CONFIRM_DISGUISED: StrKey = StrKey::new(
1725 "egui-pop-links-confirm-disguised",
1726 "Its text said { $label }, but it goes elsewhere.",
1727);
1728pub 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);
1733pub const LINKS_TRUST: StrKey =
1735 StrKey::new("egui-pop-links-trust", "Trust { $host } for this session");
1736pub const LINKS_NOT_OPENED: StrKey =
1738 StrKey::new("egui-pop-links-not-opened", "Not opened: { $reason }");
1739
1740pub const EMPTY_WINDOW_TITLE: StrKey =
1743 StrKey::new("egui-pop-empty-window-title", "Nothing to show here");
1744pub 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);
1749pub const EMPTY_WINDOW_RESET: StrKey =
1751 StrKey::new("egui-pop-empty-window-reset", "Reset the layout");
1752pub 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 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}