1use egui_pop_core::strings::StrKey;
7
8pub const TREE: StrKey = StrKey::new("egui-pop-views-tree", "Tree");
10pub const TREE_FILTER: StrKey = StrKey::new("egui-pop-views-tree-filter", "Filter");
12pub const TREE_FILTER_COUNT: StrKey = StrKey::new(
14 "egui-pop-views-tree-filter-count",
15 "{ $count } of { $total }",
16);
17pub const TREE_FILTER_NONE: StrKey = StrKey::new("egui-pop-views-tree-filter-none", "No match");
20pub const TREE_FILTER_ANNOUNCE: StrKey = StrKey::new(
22 "egui-pop-views-tree-filter-announce",
23 "{ $count } of { $total } match the filter",
24);
25pub const LIST: StrKey = StrKey::new("egui-pop-views-list", "List");
27pub const TABLE: StrKey = StrKey::new("egui-pop-views-table", "Table");
29pub const LOADING: StrKey = StrKey::new("egui-pop-views-loading", "Loading…");
31pub const FAILED: StrKey = StrKey::new("egui-pop-views-failed", "Could not load: { $reason }");
33pub const EMPTY: StrKey = StrKey::new("egui-pop-views-empty", "Empty");
35pub const RENAME: StrKey = StrKey::new("egui-pop-views-rename", "Rename { $name }");
37pub const ITEM_MOVE: StrKey = StrKey::new("egui-pop-views-item-move", "Move { $name }");
39pub const SORTED_UP: StrKey =
41 StrKey::new("egui-pop-views-sorted-up", "{ $column }, sorted ascending");
42pub const SORTED_DOWN: StrKey = StrKey::new(
44 "egui-pop-views-sorted-down",
45 "{ $column }, sorted descending",
46);
47pub const SORT_ASCENDING: StrKey = StrKey::new("egui-pop-views-sort-ascending", "Sort ascending");
49pub const SORT_DESCENDING: StrKey =
51 StrKey::new("egui-pop-views-sort-descending", "Sort descending");
52pub const SORT_CLEAR: StrKey = StrKey::new("egui-pop-views-sort-clear", "Unsorted");
54pub const PLOT: StrKey = StrKey::new("egui-pop-views-plot", "Chart");
56pub const PLOT_LINE: StrKey = StrKey::new("egui-pop-views-plot-line", "line");
58pub const PLOT_POINTS: StrKey = StrKey::new("egui-pop-views-plot-points", "points");
60pub const PLOT_BARS: StrKey = StrKey::new("egui-pop-views-plot-bars", "bars");
62pub const PLOT_STEPS: StrKey = StrKey::new("egui-pop-views-plot-steps", "steps");
64pub const PLOT_CURSOR: StrKey = StrKey::new("egui-pop-views-plot-cursor", "Time cursor");
66pub const PLOT_SERIES: StrKey = StrKey::new(
68 "egui-pop-views-plot-series",
69 "{ $name } ({ $kind }): { $count } points, x from { $x_min } to { $x_max }, y from { $y_min } to { $y_max }",
70);
71pub const PLOT_SERIES_EMPTY: StrKey = StrKey::new(
73 "egui-pop-views-plot-series-empty",
74 "{ $name } ({ $kind }): no points",
75);
76pub const PLOT_TIME_CURSOR: StrKey = StrKey::new(
78 "egui-pop-views-plot-time-cursor",
79 "Time cursor at { $time }",
80);
81
82pub const LIBRARY: StrKey = StrKey::new("egui-pop-views-library", "Library");
84pub const FILMSTRIP: StrKey = StrKey::new("egui-pop-views-filmstrip", "Filmstrip");
86pub const COMPARE: StrKey = StrKey::new("egui-pop-views-compare", "Compare");
88pub const RATING: StrKey = StrKey::new("egui-pop-views-rating", "Rating");
90pub const RATE_STARS: StrKey = StrKey::new("egui-pop-views-rate-stars", "Rate { $stars } of 5");
95pub const LIBRARY_RATED: StrKey =
97 StrKey::new("egui-pop-views-library-rated", "Rated { $stars } of 5");
98pub const RED: StrKey = StrKey::new("egui-pop-views-red", "Red");
100pub const YELLOW: StrKey = StrKey::new("egui-pop-views-yellow", "Yellow");
101pub const GREEN: StrKey = StrKey::new("egui-pop-views-green", "Green");
102pub const BLUE: StrKey = StrKey::new("egui-pop-views-blue", "Blue");
103pub const PURPLE: StrKey = StrKey::new("egui-pop-views-purple", "Purple");
104pub const LABEL_TOGGLE: StrKey = StrKey::new("egui-pop-views-label-toggle", "{ $label } label");
106pub const MARK_WITH_KEY: StrKey =
108 StrKey::new("egui-pop-views-mark-with-key", "{ $mark } ({ $key })");
109pub const LABEL: StrKey = StrKey::new("egui-pop-views-label", "Label");
111pub const FLAG: StrKey = StrKey::new("egui-pop-views-flag", "Flag");
113pub const PICK: StrKey = StrKey::new("egui-pop-views-pick", "Pick");
115pub const REJECT: StrKey = StrKey::new("egui-pop-views-reject", "Reject");
116pub const UNFLAGGED: StrKey = StrKey::new("egui-pop-views-unflagged", "Unflagged");
117pub const EXPAND_STACK: StrKey = StrKey::new(
119 "egui-pop-views-expand-stack",
120 "Expand the stack of { $count }",
121);
122pub const COLLAPSE_STACK: StrKey = StrKey::new(
124 "egui-pop-views-collapse-stack",
125 "Collapse the stack of { $count }",
126);
127pub const LOADING_IMAGE: StrKey = StrKey::new(
130 "egui-pop-views-loading-image",
131 "Loading image { $number } of { $total }",
132);
133pub const REMOVE: StrKey = StrKey::new("egui-pop-views-remove", "Remove { $item }");
135pub const ADD_TAG: StrKey = StrKey::new("egui-pop-views-add-tag", "Add a tag");
137pub const SEARCH: StrKey = StrKey::new("egui-pop-views-search", "Search");
139pub const ADD_FILTER: StrKey = StrKey::new("egui-pop-views-add-filter", "Add a filter");
141pub const CLEAR_FILTERS: StrKey = StrKey::new("egui-pop-views-clear-filters", "Clear the search");
143pub const SUGGESTIONS: StrKey = StrKey::new("egui-pop-views-suggestions", "Suggestions");
145pub const FILTER_RATING: StrKey =
147 StrKey::new("egui-pop-views-filter-rating", "Rating ≥ { $rating }");
148pub const FILTER_LABEL: StrKey = StrKey::new("egui-pop-views-filter-label", "Label: { $label }");
149pub const FILTER_FLAG: StrKey = StrKey::new("egui-pop-views-filter-flag", "Flag: { $flag }");
150pub const FILTER_TAG: StrKey = StrKey::new("egui-pop-views-filter-tag", "Tag: { $tag }");
151pub const FILTER_DATES: StrKey = StrKey::new("egui-pop-views-filter-dates", "{ $from } to { $to }");
152pub const FILTER_FROM: StrKey = StrKey::new("egui-pop-views-filter-from", "From { $from }");
153pub const FILTER_TO: StrKey = StrKey::new("egui-pop-views-filter-to", "Until { $to }");
154pub const MARK_BEST: StrKey = StrKey::new("egui-pop-views-mark-best", "Best of the comparison");
156pub const COMPARE_EMPTY: StrKey = StrKey::new(
158 "egui-pop-views-compare-empty",
159 "Drop images here to compare them",
160);
161pub const COMPARE_REMOVE: StrKey = StrKey::new(
163 "egui-pop-views-compare-remove",
164 "Remove { $name } from the comparison",
165);
166pub const COMPARE_NOT_IMAGES: StrKey =
168 StrKey::new("egui-pop-views-compare-not-images", "Not images to compare");
169pub const COMPARE_FULL: StrKey =
171 StrKey::new("egui-pop-views-compare-full", "The comparison is full");
172
173pub const VIEWER_BACK: StrKey = StrKey::new("egui-pop-views-viewer-back", "Back");
175pub const VIEWER_FORWARD: StrKey = StrKey::new("egui-pop-views-viewer-forward", "Forward");
177pub const VIEWER_RELOAD: StrKey = StrKey::new("egui-pop-views-viewer-reload", "Reload");
179pub const VIEWER_ADDRESS: StrKey = StrKey::new("egui-pop-views-viewer-address", "Address");
181pub const VIEWER_FIND: StrKey = StrKey::new("egui-pop-views-viewer-find", "Find in page");
183pub const VIEWER_FIND_COUNT: StrKey =
185 StrKey::new("egui-pop-views-viewer-find-count", "{ $at } of { $count }");
186pub const VIEWER_FIND_NONE: StrKey = StrKey::new("egui-pop-views-viewer-find-none", "No match");
188pub const VIEWER_FIND_PREVIOUS: StrKey =
189 StrKey::new("egui-pop-views-viewer-find-previous", "Previous match");
190pub const VIEWER_FIND_NEXT: StrKey = StrKey::new("egui-pop-views-viewer-find-next", "Next match");
191pub const VIEWER_FIND_CLOSE: StrKey =
192 StrKey::new("egui-pop-views-viewer-find-close", "Close the search");
193pub const VIEWER_ZOOM: StrKey = StrKey::new("egui-pop-views-viewer-zoom", "Page zoom: { $zoom }");
195pub const VIEWER_ZOOM_IN: StrKey = StrKey::new("egui-pop-views-viewer-zoom-in", "Zoom in");
196pub const VIEWER_ZOOM_OUT: StrKey = StrKey::new("egui-pop-views-viewer-zoom-out", "Zoom out");
197pub const VIEWER_EMPTY: StrKey = StrKey::new(
199 "egui-pop-views-viewer-empty",
200 "Nothing is open. Help pages and images open here.",
201);
202pub const VIEWER_LOADING: StrKey =
204 StrKey::new("egui-pop-views-viewer-loading", "Loading { $target }…");
205pub const VIEWER_IMAGES_BLOCKED: StrKey = StrKey::new(
207 "egui-pop-views-viewer-images-blocked",
208 "Images from { $host } are not loaded.",
209);
210pub const VIEWER_IMAGES_LOAD: StrKey = StrKey::new(
212 "egui-pop-views-viewer-images-load",
213 "Load images from { $host }",
214);
215pub const VIEWER_SIMPLIFIED: StrKey = StrKey::new(
217 "egui-pop-views-viewer-simplified",
218 "Not shown here: { $what }. Open outside shows the page whole.",
219);
220pub const VIEWER_IMAGE_MISSING: StrKey = StrKey::new(
222 "egui-pop-views-viewer-image-missing",
223 "Image not shown: { $alt }",
224);
225pub const VIEWER_NOT_FOUND: StrKey = StrKey::new(
227 "egui-pop-views-viewer-not-found",
228 "This page does not exist",
229);
230pub const VIEWER_NO_CONNECTION: StrKey = StrKey::new(
231 "egui-pop-views-viewer-no-connection",
232 "This page could not be loaded",
233);
234pub const VIEWER_TOO_LARGE: StrKey = StrKey::new(
235 "egui-pop-views-viewer-too-large",
236 "This page is too large to show here",
237);
238pub const VIEWER_UNSUPPORTED: StrKey = StrKey::new(
239 "egui-pop-views-viewer-unsupported",
240 "This page cannot be shown here",
241);
242pub const VIEWER_VIDEO_PLAY: StrKey = StrKey::new("egui-pop-views-viewer-video-play", "Play");
244pub const VIEWER_VIDEO_PAUSE: StrKey = StrKey::new("egui-pop-views-viewer-video-pause", "Pause");
246pub const VIEWER_VIDEO_POSITION: StrKey =
248 StrKey::new("egui-pop-views-viewer-video-position", "Position");
249pub const VIEWER_VIDEO_VOLUME: StrKey = StrKey::new("egui-pop-views-viewer-video-volume", "Volume");
251pub const VIEWER_VIDEO_TIME: StrKey = StrKey::new(
253 "egui-pop-views-viewer-video-time",
254 "{ $elapsed } / { $total }",
255);
256pub const VIEWER_VIDEO_PICTURE: StrKey =
258 StrKey::new("egui-pop-views-viewer-video-picture", "Video: { $name }");
259pub const VIEWER_VIDEO_LOADING: StrKey =
261 StrKey::new("egui-pop-views-viewer-video-loading", "Opening the video…");
262pub const VIEWER_EMBED_OWN_WINDOW: StrKey = StrKey::new(
264 "egui-pop-views-viewer-embed-own-window",
265 "This video plays in a window of its own",
266);
267pub const VIEWER_EMBED_SHOW: StrKey =
269 StrKey::new("egui-pop-views-viewer-embed-show", "Show the video");
270pub const VIEWER_EMBED_TOO_SMALL: StrKey = StrKey::new(
273 "egui-pop-views-viewer-embed-too-small",
274 "The panel is too small for YouTube's player",
275);
276pub const VIEWER_EMBED_TOO_SMALL_DETAIL: StrKey = StrKey::new(
278 "egui-pop-views-viewer-embed-too-small-detail",
279 "YouTube's player needs at least { $min } by { $min } pixels; here it would get { $width } by { $height }. Enlarge the panel, or open the video outside.",
280);
281pub const VIEWER_VIDEO_FAILED: StrKey = StrKey::new(
284 "egui-pop-views-viewer-video-failed",
285 "This video cannot be played here",
286);
287pub const VIDEO_NO_PLAYER: StrKey = StrKey::new(
290 "egui-pop-views-video-no-player",
291 "This application has no video player",
292);
293pub const VIEWER_PAGE: StrKey = StrKey::new("egui-pop-views-viewer-page", "Page");
295pub const VIEWER_CODE_BLOCK: StrKey = StrKey::new("egui-pop-views-viewer-code-block", "Code block");
297
298pub const TEXT_LOG: StrKey = StrKey::new("egui-pop-views-text-log", "Text log");
300pub const TEXT_LOG_TIME: StrKey = StrKey::new("egui-pop-views-text-log-time", "Time");
302pub const TEXT_LOG_ENTITY: StrKey = StrKey::new("egui-pop-views-text-log-entity", "Entity");
304pub const TEXT_LOG_LEVEL: StrKey = StrKey::new("egui-pop-views-text-log-level", "Level");
306pub const TEXT_LOG_BODY: StrKey = StrKey::new("egui-pop-views-text-log-body", "Body");
308pub const TEXT_LOG_FILTER: StrKey = StrKey::new("egui-pop-views-text-log-filter", "Filter");
310pub const TEXT_LOG_SHOW_LEVEL: StrKey = StrKey::new(
312 "egui-pop-views-text-log-show-level",
313 "Show { $level } lines",
314);
315pub const TEXT_LOG_FOLLOW: StrKey = StrKey::new("egui-pop-views-text-log-follow", "Follow");
317pub const TEXT_LOG_COUNT: StrKey = StrKey::new(
319 "egui-pop-views-text-log-count",
320 "{ $count } of { $total } lines",
321);
322pub const TEXT_LOG_EXPAND: StrKey = StrKey::new(
324 "egui-pop-views-text-log-expand",
325 "Show all { $count } lines",
326);
327pub const TEXT_LOG_COLLAPSE: StrKey =
329 StrKey::new("egui-pop-views-text-log-collapse", "Show the first line");
330pub const TEXT_LOG_MORE: StrKey = StrKey::new("egui-pop-views-text-log-more", "+{ $count } lines");
332
333pub const TIMELINE: StrKey = StrKey::new("egui-pop-views-timeline", "Timeline");
335pub const TIMELINE_MARKER: StrKey = StrKey::new(
338 "egui-pop-views-timeline-marker",
339 "Marker { $label } at { $time }",
340);
341pub const TIMELINE_CUE: StrKey =
343 StrKey::new("egui-pop-views-timeline-cue", "Cue { $label } at { $time }");
344pub const TIMELINE_NEW_MARKER: StrKey =
346 StrKey::new("egui-pop-views-timeline-new-marker", "Marker { $number }");
347pub const TIMELINE_ADD_MARKER: StrKey =
349 StrKey::new("egui-pop-views-timeline-add-marker", "Add marker");
350pub const TIMELINE_MOVE_MARKER: StrKey =
351 StrKey::new("egui-pop-views-timeline-move-marker", "Move marker");
352pub const TIMELINE_REMOVE_MARKER: StrKey =
353 StrKey::new("egui-pop-views-timeline-remove-marker", "Remove marker");
354pub const TIMELINE_SET_RANGE: StrKey =
355 StrKey::new("egui-pop-views-timeline-set-range", "Set range");
356pub const TIMELINE_CLEAR_RANGE: StrKey =
357 StrKey::new("egui-pop-views-timeline-clear-range", "Clear range");
358pub const TIMELINE_LOOP_ON: StrKey =
359 StrKey::new("egui-pop-views-timeline-loop-on", "Loop the range");
360pub const TIMELINE_LOOP_OFF: StrKey =
361 StrKey::new("egui-pop-views-timeline-loop-off", "Stop looping");
362pub const TIMELINE_CLIP: StrKey = StrKey::new(
365 "egui-pop-views-timeline-clip",
366 "Clip { $label } on { $track }, { $start } to { $end }",
367);
368pub const TIMELINE_ADD_CLIP: StrKey = StrKey::new("egui-pop-views-timeline-add-clip", "Add clip");
370pub const TIMELINE_MOVE_CLIP: StrKey =
371 StrKey::new("egui-pop-views-timeline-move-clip", "Move clip");
372pub const TIMELINE_MOVE_CLIPS: StrKey =
373 StrKey::new("egui-pop-views-timeline-move-clips", "Move clips");
374pub const TIMELINE_TRIM_CLIP: StrKey =
375 StrKey::new("egui-pop-views-timeline-trim-clip", "Trim clip");
376pub const TIMELINE_REMOVE_CLIP: StrKey =
377 StrKey::new("egui-pop-views-timeline-remove-clip", "Remove clip");
378pub const TIMELINE_REMOVE_CLIPS: StrKey =
379 StrKey::new("egui-pop-views-timeline-remove-clips", "Remove clips");
380pub const TIMELINE_SPLIT_CLIP: StrKey =
381 StrKey::new("egui-pop-views-timeline-split-clip", "Split clip");
382pub const TIMELINE_SPLIT_CLIPS: StrKey =
383 StrKey::new("egui-pop-views-timeline-split-clips", "Split clips");
384pub const TIMELINE_RIPPLE_DELETE: StrKey =
385 StrKey::new("egui-pop-views-timeline-ripple-delete", "Ripple delete");
386pub const TIMELINE_SPEED: StrKey = StrKey::new("egui-pop-views-timeline-speed", "{ $speed }×");
388pub const TRANSPORT_START: StrKey = StrKey::new("egui-pop-views-transport-start", "Go to start");
390pub const TRANSPORT_STEP_BACK: StrKey =
391 StrKey::new("egui-pop-views-transport-step-back", "Step back");
392pub const TRANSPORT_PLAY_BACKWARD: StrKey =
393 StrKey::new("egui-pop-views-transport-play-backward", "Play backward");
394pub const TRANSPORT_STOP: StrKey = StrKey::new("egui-pop-views-transport-stop", "Stop");
395pub const TRANSPORT_PLAY: StrKey = StrKey::new("egui-pop-views-transport-play", "Play");
396pub const TRANSPORT_PAUSE: StrKey = StrKey::new("egui-pop-views-transport-pause", "Pause");
397pub const TRANSPORT_STEP_FORWARD: StrKey =
398 StrKey::new("egui-pop-views-transport-step-forward", "Step forward");
399pub const TRANSPORT_END: StrKey = StrKey::new("egui-pop-views-transport-end", "Go to end");
400pub const TRANSPORT_LOOP: StrKey = StrKey::new("egui-pop-views-transport-loop", "Loop");
401pub const TRANSPORT_KEYS: StrKey =
403 StrKey::new("egui-pop-views-transport-keys", "{ $action } ({ $keys })");
404
405pub const ALL: &[StrKey] = &[
407 TEXT_LOG,
408 TEXT_LOG_TIME,
409 TEXT_LOG_ENTITY,
410 TEXT_LOG_LEVEL,
411 TEXT_LOG_BODY,
412 TEXT_LOG_FILTER,
413 TEXT_LOG_SHOW_LEVEL,
414 TEXT_LOG_FOLLOW,
415 TEXT_LOG_COUNT,
416 TEXT_LOG_EXPAND,
417 TEXT_LOG_COLLAPSE,
418 TEXT_LOG_MORE,
419 TREE,
420 TREE_FILTER,
421 TREE_FILTER_COUNT,
422 TREE_FILTER_NONE,
423 TREE_FILTER_ANNOUNCE,
424 LIST,
425 TABLE,
426 LOADING,
427 FAILED,
428 EMPTY,
429 RENAME,
430 ITEM_MOVE,
431 SORTED_UP,
432 SORTED_DOWN,
433 SORT_ASCENDING,
434 SORT_DESCENDING,
435 SORT_CLEAR,
436 PLOT,
437 PLOT_LINE,
438 PLOT_POINTS,
439 PLOT_BARS,
440 PLOT_STEPS,
441 PLOT_CURSOR,
442 PLOT_SERIES,
443 PLOT_SERIES_EMPTY,
444 PLOT_TIME_CURSOR,
445 LIBRARY,
446 FILMSTRIP,
447 COMPARE,
448 RATING,
449 RATE_STARS,
450 LIBRARY_RATED,
451 RED,
452 YELLOW,
453 GREEN,
454 BLUE,
455 PURPLE,
456 LABEL_TOGGLE,
457 MARK_WITH_KEY,
458 LABEL,
459 FLAG,
460 PICK,
461 REJECT,
462 UNFLAGGED,
463 EXPAND_STACK,
464 COLLAPSE_STACK,
465 LOADING_IMAGE,
466 REMOVE,
467 ADD_TAG,
468 SEARCH,
469 ADD_FILTER,
470 CLEAR_FILTERS,
471 SUGGESTIONS,
472 FILTER_RATING,
473 FILTER_LABEL,
474 FILTER_FLAG,
475 FILTER_TAG,
476 FILTER_DATES,
477 FILTER_FROM,
478 FILTER_TO,
479 MARK_BEST,
480 COMPARE_EMPTY,
481 COMPARE_REMOVE,
482 COMPARE_NOT_IMAGES,
483 COMPARE_FULL,
484 VIEWER_BACK,
485 VIEWER_CODE_BLOCK,
486 VIEWER_FORWARD,
487 VIEWER_RELOAD,
488 VIEWER_ADDRESS,
489 VIEWER_FIND,
490 VIEWER_FIND_COUNT,
491 VIEWER_FIND_NONE,
492 VIEWER_FIND_PREVIOUS,
493 VIEWER_FIND_NEXT,
494 VIEWER_FIND_CLOSE,
495 VIEWER_ZOOM,
496 VIEWER_ZOOM_IN,
497 VIEWER_ZOOM_OUT,
498 VIEWER_EMPTY,
499 VIEWER_LOADING,
500 VIEWER_IMAGES_BLOCKED,
501 VIEWER_IMAGES_LOAD,
502 VIEWER_SIMPLIFIED,
503 VIEWER_IMAGE_MISSING,
504 VIEWER_NOT_FOUND,
505 VIEWER_NO_CONNECTION,
506 VIEWER_TOO_LARGE,
507 VIEWER_UNSUPPORTED,
508 VIEWER_PAGE,
509 VIEWER_VIDEO_PLAY,
510 VIEWER_VIDEO_PAUSE,
511 VIEWER_VIDEO_POSITION,
512 VIEWER_VIDEO_VOLUME,
513 VIEWER_VIDEO_TIME,
514 VIEWER_VIDEO_PICTURE,
515 VIEWER_VIDEO_LOADING,
516 VIEWER_VIDEO_FAILED,
517 VIDEO_NO_PLAYER,
518 VIEWER_EMBED_OWN_WINDOW,
519 VIEWER_EMBED_SHOW,
520 VIEWER_EMBED_TOO_SMALL,
521 VIEWER_EMBED_TOO_SMALL_DETAIL,
522 TIMELINE,
523 TIMELINE_MARKER,
524 TIMELINE_CUE,
525 TIMELINE_NEW_MARKER,
526 TIMELINE_ADD_MARKER,
527 TIMELINE_MOVE_MARKER,
528 TIMELINE_REMOVE_MARKER,
529 TIMELINE_SET_RANGE,
530 TIMELINE_CLEAR_RANGE,
531 TIMELINE_LOOP_ON,
532 TIMELINE_LOOP_OFF,
533 TIMELINE_SPEED,
534 TRANSPORT_START,
535 TRANSPORT_STEP_BACK,
536 TRANSPORT_PLAY_BACKWARD,
537 TRANSPORT_STOP,
538 TRANSPORT_PLAY,
539 TRANSPORT_PAUSE,
540 TRANSPORT_STEP_FORWARD,
541 TRANSPORT_END,
542 TRANSPORT_LOOP,
543 TRANSPORT_KEYS,
544 TIMELINE_CLIP,
545 TIMELINE_ADD_CLIP,
546 TIMELINE_MOVE_CLIP,
547 TIMELINE_MOVE_CLIPS,
548 TIMELINE_TRIM_CLIP,
549 TIMELINE_REMOVE_CLIP,
550 TIMELINE_REMOVE_CLIPS,
551 TIMELINE_SPLIT_CLIP,
552 TIMELINE_SPLIT_CLIPS,
553 TIMELINE_RIPPLE_DELETE,
554];
555
556#[cfg(test)]
557mod tests {
558 use super::*;
559
560 #[test]
561 fn keys_are_unique_fluent_ids() {
562 let mut seen = std::collections::BTreeSet::new();
563 for k in ALL {
564 assert!(seen.insert(k.key), "`{}` twice", k.key);
565 assert!(k.key.starts_with("egui-pop-views-"), "{}", k.key);
566 assert!(
567 k.key
568 .chars()
569 .all(|c| c.is_ascii_lowercase() || c.is_ascii_digit() || c == '-'),
570 "{}",
571 k.key
572 );
573 }
574 }
575}