@jant/core 0.6.1 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/app-BX2XKxq0.js +6 -0
  2. package/dist/{app-DYQdDMs8.js → app-CyysIxj_.js} +464 -240
  3. package/dist/client/.vite/manifest.json +3 -3
  4. package/dist/client/_assets/client-BMPMuwvV.css +2 -0
  5. package/dist/client/_assets/client-CTrEFM5W.js +275 -0
  6. package/dist/client/_assets/{client-auth-CSNcTJwP.js → client-auth-LBSZxqNC.js} +24 -24
  7. package/dist/{env-C7e2Nlnt.js → env-CoSe-1y4.js} +1 -1
  8. package/dist/{export-Bbn86HmS.js → export-CzuQyg5h.js} +32 -19
  9. package/dist/{github-api-Bh0PH3zr.js → github-api-UD4u_7fa.js} +1 -1
  10. package/dist/{github-app-D0GvNnqp.js → github-app-DeX6Td1O.js} +1 -1
  11. package/dist/{github-sync-dXsiZa_e.js → github-sync-CerNYCAn.js} +3 -3
  12. package/dist/{github-sync-CBQPRZ8H.js → github-sync-Dbrb1DS5.js} +7 -4
  13. package/dist/index.js +5 -5
  14. package/dist/node.js +6 -6
  15. package/dist/{url-umUptr5z.js → url-XF0GbKGO.js} +22 -1
  16. package/package.json +1 -1
  17. package/src/__tests__/export-service.test.ts +127 -0
  18. package/src/client/__tests__/image-processor.test.ts +64 -0
  19. package/src/client/components/__tests__/jant-collection-directory.test.ts +0 -42
  20. package/src/client/components/__tests__/jant-media-lightbox.test.ts +79 -8
  21. package/src/client/components/collection-manager-types.ts +0 -2
  22. package/src/client/components/jant-collection-directory.ts +0 -23
  23. package/src/client/components/jant-compose-editor.ts +2 -2
  24. package/src/client/components/jant-media-lightbox.ts +33 -5
  25. package/src/client/image-processor.ts +89 -30
  26. package/src/client/media-scroll-hint.ts +62 -9
  27. package/src/i18n/coverage.generated.ts +2 -2
  28. package/src/i18n/locales/public/en.po +0 -12
  29. package/src/i18n/locales/public/zh-Hans.po +0 -12
  30. package/src/i18n/locales/public/zh-Hant.po +0 -12
  31. package/src/i18n/locales/settings/zh-Hans.po +24 -24
  32. package/src/i18n/locales/settings/zh-Hans.ts +1 -1
  33. package/src/i18n/locales/settings/zh-Hant.po +24 -24
  34. package/src/i18n/locales/settings/zh-Hant.ts +1 -1
  35. package/src/lib/__tests__/structured-data.test.ts +87 -0
  36. package/src/lib/github-sync-site-config.ts +4 -2
  37. package/src/lib/post-display.ts +78 -1
  38. package/src/lib/render.tsx +28 -0
  39. package/src/lib/structured-data.ts +113 -0
  40. package/src/lib/url.ts +26 -0
  41. package/src/routes/api/internal/__tests__/sites.test.ts +65 -0
  42. package/src/routes/api/internal/sites.ts +19 -0
  43. package/src/routes/pages/home.tsx +21 -1
  44. package/src/routes/pages/page.tsx +53 -2
  45. package/src/services/export-theme/assets/client-site.css +1 -1
  46. package/src/services/export-theme/assets/client-site.js +30 -29
  47. package/src/services/export-theme/layouts/partials/media-gallery.html +16 -7
  48. package/src/services/export-theme/styles/main.css +4 -3
  49. package/src/services/export.ts +47 -17
  50. package/src/services/github-sync.ts +8 -2
  51. package/src/services/site-admin.ts +53 -1
  52. package/src/styles/site-media.css +70 -24
  53. package/src/styles/ui.css +30 -48
  54. package/src/ui/layouts/BaseLayout.tsx +110 -16
  55. package/src/ui/layouts/__tests__/BaseLayout.test.tsx +146 -0
  56. package/src/ui/pages/CollectionsPage.tsx +0 -22
  57. package/src/ui/shared/CollectionsManager.tsx +6 -41
  58. package/src/ui/shared/MediaGallery.tsx +50 -7
  59. package/src/ui/shared/__tests__/media-gallery.test.ts +31 -0
  60. package/dist/app-CMSW_AYG.js +0 -6
  61. package/dist/client/_assets/client-BRTh1ii1.js +0 -274
  62. package/dist/client/_assets/client-CO4b-RKd.css +0 -2
@@ -140,6 +140,7 @@ export class JantMediaLightbox extends LitElement {
140
140
  _videoCurrentTime: { state: true },
141
141
  _videoDuration: { state: true },
142
142
  _videoMuted: { state: true },
143
+ _imageZoomed: { state: true },
143
144
  };
144
145
 
145
146
  declare _images: LightboxImage[];
@@ -150,6 +151,7 @@ export class JantMediaLightbox extends LitElement {
150
151
  declare _videoCurrentTime: number;
151
152
  declare _videoDuration: number;
152
153
  declare _videoMuted: boolean;
154
+ declare _imageZoomed: boolean;
153
155
 
154
156
  createRenderRoot() {
155
157
  this.innerHTML = "";
@@ -167,6 +169,7 @@ export class JantMediaLightbox extends LitElement {
167
169
  this._videoCurrentTime = 0;
168
170
  this._videoDuration = 0;
169
171
  this._videoMuted = false;
172
+ this._imageZoomed = false;
170
173
  }
171
174
 
172
175
  connectedCallback() {
@@ -188,6 +191,7 @@ export class JantMediaLightbox extends LitElement {
188
191
  this._images = images;
189
192
  this._currentIndex = Math.max(0, Math.min(index, images.length - 1));
190
193
  this.#resetShortVideoState(this._images[this._currentIndex]);
194
+ this._imageZoomed = false;
191
195
  this._open = true;
192
196
  document.dispatchEvent(
193
197
  new CustomEvent(MEDIA_LIGHTBOX_TOGGLE_EVENT, {
@@ -267,6 +271,7 @@ export class JantMediaLightbox extends LitElement {
267
271
  #prev() {
268
272
  if (this._images.length <= 1) return;
269
273
  this.#pauseCurrentVideo();
274
+ this._imageZoomed = false;
270
275
  this._currentIndex =
271
276
  (this._currentIndex - 1 + this._images.length) % this._images.length;
272
277
  }
@@ -274,9 +279,22 @@ export class JantMediaLightbox extends LitElement {
274
279
  #next() {
275
280
  if (this._images.length <= 1) return;
276
281
  this.#pauseCurrentVideo();
282
+ this._imageZoomed = false;
277
283
  this._currentIndex = (this._currentIndex + 1) % this._images.length;
278
284
  }
279
285
 
286
+ #handleImageClick = (e: Event) => {
287
+ const img = this._images[this._currentIndex];
288
+ const eligible = shouldUseScrollableLightboxImage(
289
+ img,
290
+ this._viewportWidth,
291
+ this._viewportHeight,
292
+ );
293
+ if (!eligible) return;
294
+ e.stopPropagation();
295
+ this._imageZoomed = !this._imageZoomed;
296
+ };
297
+
280
298
  #handleKeydown = (e: Event) => {
281
299
  const ke = e as globalThis.KeyboardEvent;
282
300
  const target = e.target as HTMLElement | null;
@@ -531,14 +549,22 @@ export class JantMediaLightbox extends LitElement {
531
549
  super.updated(changed);
532
550
 
533
551
  if (!this._open) return;
534
- if (!changed.has("_currentIndex") && !changed.has("_open")) return;
552
+ if (
553
+ !changed.has("_currentIndex") &&
554
+ !changed.has("_open") &&
555
+ !changed.has("_imageZoomed")
556
+ ) {
557
+ return;
558
+ }
535
559
 
536
560
  const stage = this.querySelector<HTMLElement>(".media-lightbox-stage");
537
561
  if (!stage) return;
538
562
  stage.scrollTop = 0;
539
563
  stage.scrollLeft = 0;
540
- this.#syncCurrentVideo();
541
- this.#focusCurrentMedia();
564
+ if (changed.has("_currentIndex") || changed.has("_open")) {
565
+ this.#syncCurrentVideo();
566
+ this.#focusCurrentMedia();
567
+ }
542
568
  }
543
569
 
544
570
  render() {
@@ -548,11 +574,12 @@ export class JantMediaLightbox extends LitElement {
548
574
  const multiple = this._images.length > 1;
549
575
  const isVideo = img?.mimeType?.startsWith("video/");
550
576
  const usesShortVideoControls = shouldUseShortVideoExperience(img);
551
- const isScrollableImage = shouldUseScrollableLightboxImage(
577
+ const isScrollableEligible = shouldUseScrollableLightboxImage(
552
578
  img,
553
579
  this._viewportWidth,
554
580
  this._viewportHeight,
555
581
  );
582
+ const isScrollableImage = isScrollableEligible && this._imageZoomed;
556
583
  const shortVideoFrameSize = usesShortVideoControls
557
584
  ? getContainedLightboxMediaSize(
558
585
  img,
@@ -683,9 +710,10 @@ export class JantMediaLightbox extends LitElement {
683
710
  @focus=${this.#handleVideoFocus}
684
711
  ></video>`
685
712
  : html`<img
686
- class=${`media-lightbox-img${isScrollableImage ? " media-lightbox-img-scroll" : ""}`}
713
+ class=${`media-lightbox-img${isScrollableEligible ? " media-lightbox-img-zoomable" : ""}${isScrollableImage ? " media-lightbox-img-scroll" : ""}`}
687
714
  src=${img?.url ?? ""}
688
715
  alt=${img?.alt ?? ""}
716
+ @click=${this.#handleImageClick}
689
717
  />`}
690
718
  </div>
691
719
  ${multiple
@@ -2,18 +2,35 @@
2
2
  * Client-side Image Processor
3
3
  *
4
4
  * Processes images before upload:
5
- * - Resizes to max dimensions
5
+ * - Resizes oversized images (caps the short side; the long side rides free)
6
6
  * - Strips all metadata (privacy)
7
7
  * - Converts to WebP format (JPEG fallback when WebP encoding is unavailable)
8
8
  *
9
9
  * EXIF orientation is handled automatically by the browser — modern
10
10
  * engines (Chrome 81+, Safari 13.1+, Firefox 93+) apply orientation
11
11
  * both in `<img>` rendering and in canvas `drawImage`.
12
+ *
13
+ * Long and wide screenshots (chat logs, articles, wide tables) lose their
14
+ * text legibility if the short side is scaled down, so the resize step caps
15
+ * only the *short* side and leaves the long side alone. Images whose long
16
+ * side exceeds the safe canvas limit can't be redrawn at all — those upload
17
+ * untouched, so images of any length are supported.
18
+ */
19
+
20
+ /** Cap for the shorter image side — the side that determines text sharpness. */
21
+ const MAX_SHORT_SIDE = 1920;
22
+
23
+ /**
24
+ * Largest long side we can still redraw on a canvas. A canvas bounded by
25
+ * MAX_SHORT_SIDE × MAX_LONG_SIDE (1920 × 8192 ≈ 15.7M px) stays under the
26
+ * ~16.7M-pixel area limit older mobile Safari enforces. Anything longer
27
+ * can't be re-encoded, so it uploads as-is.
12
28
  */
29
+ const MAX_LONG_SIDE = 8192;
13
30
 
14
31
  const DEFAULT_OPTIONS = {
15
- maxWidth: 1920,
16
- maxHeight: 1920,
32
+ maxShortSide: MAX_SHORT_SIDE,
33
+ maxLongSide: MAX_LONG_SIDE,
17
34
  quality: 0.85,
18
35
  mimeType: "image/webp" as const,
19
36
  };
@@ -35,23 +52,52 @@ function loadImage(file: File): Promise<HTMLImageElement> {
35
52
  });
36
53
  }
37
54
 
55
+ export interface ImageProcessPlan {
56
+ /** When true, upload the original file untouched (too large to re-encode). */
57
+ passthrough: boolean;
58
+ /** Target dimensions — equal to the source dimensions when `passthrough`. */
59
+ width: number;
60
+ height: number;
61
+ }
62
+
38
63
  /**
39
- * Calculate output dimensions maintaining aspect ratio
64
+ * Decide how to handle an image given its source dimensions.
65
+ *
66
+ * - Long side over `maxLongSide` → `passthrough` (canvas can't redraw it).
67
+ * - Short side within `maxShortSide` → keep dimensions, just re-encode.
68
+ * - Otherwise → scale down so the short side hits `maxShortSide`.
69
+ *
70
+ * @param sourceWidth - Natural image width in pixels
71
+ * @param sourceHeight - Natural image height in pixels
72
+ * @param options - `maxShortSide` and `maxLongSide` caps
73
+ * @returns The processing plan
74
+ *
75
+ * @example
76
+ * ```ts
77
+ * planImageProcessing(1080, 6000, { maxShortSide: 1920, maxLongSide: 8192 });
78
+ * // { passthrough: false, width: 1080, height: 6000 }
79
+ * ```
40
80
  */
41
- function calculateDimensions(
42
- width: number,
43
- height: number,
44
- maxWidth: number,
45
- maxHeight: number,
46
- ): { width: number; height: number } {
47
- if (width <= maxWidth && height <= maxHeight) {
48
- return { width, height };
81
+ export function planImageProcessing(
82
+ sourceWidth: number,
83
+ sourceHeight: number,
84
+ options: { maxShortSide: number; maxLongSide: number },
85
+ ): ImageProcessPlan {
86
+ const longSide = Math.max(sourceWidth, sourceHeight);
87
+ if (longSide > options.maxLongSide) {
88
+ return { passthrough: true, width: sourceWidth, height: sourceHeight };
89
+ }
90
+
91
+ const shortSide = Math.min(sourceWidth, sourceHeight);
92
+ if (shortSide <= options.maxShortSide) {
93
+ return { passthrough: false, width: sourceWidth, height: sourceHeight };
49
94
  }
50
95
 
51
- const ratio = Math.min(maxWidth / width, maxHeight / height);
96
+ const scale = options.maxShortSide / shortSide;
52
97
  return {
53
- width: Math.round(width * ratio),
54
- height: Math.round(height * ratio),
98
+ passthrough: false,
99
+ width: Math.round(sourceWidth * scale),
100
+ height: Math.round(sourceHeight * scale),
55
101
  };
56
102
  }
57
103
 
@@ -92,6 +138,8 @@ export interface ProcessResult {
92
138
  blob: Blob;
93
139
  width: number;
94
140
  height: number;
141
+ /** False when `blob` is the untouched original (too large to re-encode). */
142
+ processed: boolean;
95
143
  }
96
144
 
97
145
  export interface ProcessToFileResult {
@@ -112,26 +160,32 @@ async function process(
112
160
  const img = await loadImage(file);
113
161
 
114
162
  // img.width / img.height already reflect EXIF orientation in modern browsers
115
- const { width, height } = calculateDimensions(
116
- img.width,
117
- img.height,
118
- opts.maxWidth,
119
- opts.maxHeight,
120
- );
163
+ const plan = planImageProcessing(img.width, img.height, opts);
164
+
165
+ // Too large to redraw on a canvas without crushing detail — keep the
166
+ // original bytes so images of any length upload at full quality.
167
+ if (plan.passthrough) {
168
+ return {
169
+ blob: file,
170
+ width: plan.width,
171
+ height: plan.height,
172
+ processed: false,
173
+ };
174
+ }
121
175
 
122
176
  const canvas = document.createElement("canvas");
123
- canvas.width = width;
124
- canvas.height = height;
177
+ canvas.width = plan.width;
178
+ canvas.height = plan.height;
125
179
 
126
180
  const ctx = canvas.getContext("2d");
127
181
  if (!ctx) throw new Error("Failed to get canvas context");
128
182
 
129
183
  // drawImage respects EXIF orientation — no manual rotation needed
130
- ctx.drawImage(img, 0, 0, width, height);
184
+ ctx.drawImage(img, 0, 0, plan.width, plan.height);
131
185
 
132
186
  const blob = await canvasToBlob(canvas, opts.mimeType, opts.quality);
133
187
 
134
- return { blob, width, height };
188
+ return { blob, width: plan.width, height: plan.height, processed: true };
135
189
  }
136
190
 
137
191
  /**
@@ -141,7 +195,12 @@ async function processToFile(
141
195
  file: File,
142
196
  options: ProcessOptions = {},
143
197
  ): Promise<ProcessToFileResult> {
144
- const { blob, width, height } = await process(file, options);
198
+ const result = await process(file, options);
199
+
200
+ // Original kept untouched — upload the file as-is.
201
+ if (!result.processed) {
202
+ return { file, width: result.width, height: result.height };
203
+ }
145
204
 
146
205
  // Use actual blob type — Safari falls back to JPEG when WebP encoding isn't supported
147
206
  const EXT_MAP: Record<string, string> = {
@@ -149,14 +208,14 @@ async function processToFile(
149
208
  "image/jpeg": "jpg",
150
209
  "image/png": "png",
151
210
  };
152
- const ext = EXT_MAP[blob.type] ?? "png";
211
+ const ext = EXT_MAP[result.blob.type] ?? "png";
153
212
  const originalName = file.name.replace(/\.[^.]+$/, "");
154
213
  const newName = `${originalName}.${ext}`;
155
214
 
156
215
  return {
157
- file: new File([blob], newName, { type: blob.type }),
158
- width,
159
- height,
216
+ file: new File([result.blob], newName, { type: result.blob.type }),
217
+ width: result.width,
218
+ height: result.height,
160
219
  };
161
220
  }
162
221
 
@@ -1,16 +1,24 @@
1
1
  /**
2
- * Media gallery horizontal scroll fade hints.
2
+ * Media gallery horizontal scroll affordances.
3
3
  *
4
- * Toggles `.can-scroll-start` / `.can-scroll-end` on `.media-gallery-scroll-wrap`
5
- * based on the inner scroller's scroll position.
4
+ * The gallery strip (`[data-post-media]` inside `.media-gallery-scroll-wrap`)
5
+ * is trackpad- and touch-friendly, but its scrollbar is hidden, so a plain
6
+ * mouse or the keyboard has no obvious way to scroll it. This module:
7
+ *
8
+ * - Toggles `.can-scroll-start` / `.can-scroll-end` on the wrap so CSS can
9
+ * fade the edge that has hidden content and reveal the matching arrow.
10
+ * - Wires the prev/next arrow buttons to scroll the strip by one page.
11
+ * - Scrolls the strip with Arrow / Home / End keys while it is focused.
6
12
  */
7
13
 
8
14
  const THRESHOLD = 4; // px tolerance for "at edge"
9
15
 
16
+ function getScroller(wrap: HTMLElement): HTMLElement | null {
17
+ return wrap.querySelector("[data-post-media]");
18
+ }
19
+
10
20
  function updateHints(wrap: HTMLElement): void {
11
- const scroller = wrap.querySelector(
12
- "[data-post-media]",
13
- ) as HTMLElement | null;
21
+ const scroller = getScroller(wrap);
14
22
  if (!scroller) return;
15
23
 
16
24
  const { scrollLeft, scrollWidth, clientWidth } = scroller;
@@ -21,16 +29,61 @@ function updateHints(wrap: HTMLElement): void {
21
29
  );
22
30
  }
23
31
 
32
+ /** Horizontal distance moved per arrow-button click or arrow keypress. */
33
+ function pageStep(scroller: HTMLElement): number {
34
+ return Math.max(160, Math.round(scroller.clientWidth * 0.85));
35
+ }
36
+
37
+ function scrollByStep(scroller: HTMLElement, direction: 1 | -1): void {
38
+ scroller.scrollBy({
39
+ left: direction * pageStep(scroller),
40
+ behavior: "smooth",
41
+ });
42
+ }
43
+
24
44
  function initWrap(wrap: HTMLElement): void {
25
- const scroller = wrap.querySelector("[data-post-media]");
45
+ // Guard against double-init (initAll + the MutationObserver can overlap).
46
+ if (wrap.dataset.scrollHintReady === "1") return;
47
+ const scroller = getScroller(wrap);
26
48
  if (!scroller) return;
49
+ wrap.dataset.scrollHintReady = "1";
27
50
 
28
- // Initial check
51
+ // Initial check + keep edge hints in sync while scrolling.
29
52
  updateHints(wrap);
30
-
31
53
  scroller.addEventListener("scroll", () => updateHints(wrap), {
32
54
  passive: true,
33
55
  });
56
+
57
+ // Prev/next arrow buttons — the mouse affordance.
58
+ wrap
59
+ .querySelector(".media-gallery-nav-prev")
60
+ ?.addEventListener("click", () => scrollByStep(scroller, -1));
61
+ wrap
62
+ .querySelector(".media-gallery-nav-next")
63
+ ?.addEventListener("click", () => scrollByStep(scroller, 1));
64
+
65
+ // Keyboard scrolling while the strip itself is focused.
66
+ scroller.addEventListener("keydown", (event) => {
67
+ if (event.target !== scroller) return;
68
+ switch (event.key) {
69
+ case "ArrowRight":
70
+ event.preventDefault();
71
+ scrollByStep(scroller, 1);
72
+ break;
73
+ case "ArrowLeft":
74
+ event.preventDefault();
75
+ scrollByStep(scroller, -1);
76
+ break;
77
+ case "Home":
78
+ event.preventDefault();
79
+ scroller.scrollTo({ left: 0, behavior: "smooth" });
80
+ break;
81
+ case "End":
82
+ event.preventDefault();
83
+ scroller.scrollTo({ left: scroller.scrollWidth, behavior: "smooth" });
84
+ break;
85
+ }
86
+ });
34
87
  }
35
88
 
36
89
  // Init all existing galleries
@@ -12,6 +12,6 @@ import type { Locale } from "./locales.js";
12
12
 
13
13
  export const SETTINGS_TRANSLATION_COVERAGE: Record<Locale, number> = {
14
14
  en: 1,
15
- "zh-Hans": 0.9254658385093167,
16
- "zh-Hant": 0.9254658385093167,
15
+ "zh-Hans": 1,
16
+ "zh-Hant": 1,
17
17
  } as const;
@@ -371,14 +371,8 @@ msgstr "Clear filter"
371
371
  msgid "Close menu"
372
372
  msgstr "Close menu"
373
373
 
374
- #. @context: Singular collection count label
375
- #. @context: Singular collection count label
376
- #. @context: Singular collection count label
377
374
  #. @context: Singular collection count label on an aggregate collection page
378
375
  #: src/ui/pages/CollectionPage.tsx
379
- #: src/ui/pages/CollectionsPage.tsx
380
- #: src/ui/shared/CollectionsManager.tsx
381
- #: src/ui/shared/CollectionsManager.tsx
382
376
  msgid "collection"
383
377
  msgstr "collection"
384
378
 
@@ -412,14 +406,8 @@ msgstr "Collection order updated."
412
406
  msgid "Collection saved."
413
407
  msgstr "Collection saved."
414
408
 
415
- #. @context: Plural collection count label
416
- #. @context: Plural collection count label
417
- #. @context: Plural collection count label
418
409
  #. @context: Plural collection count label on an aggregate collection page
419
410
  #: src/ui/pages/CollectionPage.tsx
420
- #: src/ui/pages/CollectionsPage.tsx
421
- #: src/ui/shared/CollectionsManager.tsx
422
- #: src/ui/shared/CollectionsManager.tsx
423
411
  msgid "collections"
424
412
  msgstr "collections"
425
413
 
@@ -371,14 +371,8 @@ msgstr ""
371
371
  msgid "Close menu"
372
372
  msgstr ""
373
373
 
374
- #. @context: Singular collection count label
375
- #. @context: Singular collection count label
376
- #. @context: Singular collection count label
377
374
  #. @context: Singular collection count label on an aggregate collection page
378
375
  #: src/ui/pages/CollectionPage.tsx
379
- #: src/ui/pages/CollectionsPage.tsx
380
- #: src/ui/shared/CollectionsManager.tsx
381
- #: src/ui/shared/CollectionsManager.tsx
382
376
  msgid "collection"
383
377
  msgstr ""
384
378
 
@@ -412,14 +406,8 @@ msgstr ""
412
406
  msgid "Collection saved."
413
407
  msgstr ""
414
408
 
415
- #. @context: Plural collection count label
416
- #. @context: Plural collection count label
417
- #. @context: Plural collection count label
418
409
  #. @context: Plural collection count label on an aggregate collection page
419
410
  #: src/ui/pages/CollectionPage.tsx
420
- #: src/ui/pages/CollectionsPage.tsx
421
- #: src/ui/shared/CollectionsManager.tsx
422
- #: src/ui/shared/CollectionsManager.tsx
423
411
  msgid "collections"
424
412
  msgstr ""
425
413
 
@@ -371,14 +371,8 @@ msgstr ""
371
371
  msgid "Close menu"
372
372
  msgstr ""
373
373
 
374
- #. @context: Singular collection count label
375
- #. @context: Singular collection count label
376
- #. @context: Singular collection count label
377
374
  #. @context: Singular collection count label on an aggregate collection page
378
375
  #: src/ui/pages/CollectionPage.tsx
379
- #: src/ui/pages/CollectionsPage.tsx
380
- #: src/ui/shared/CollectionsManager.tsx
381
- #: src/ui/shared/CollectionsManager.tsx
382
376
  msgid "collection"
383
377
  msgstr ""
384
378
 
@@ -412,14 +406,8 @@ msgstr ""
412
406
  msgid "Collection saved."
413
407
  msgstr ""
414
408
 
415
- #. @context: Plural collection count label
416
- #. @context: Plural collection count label
417
- #. @context: Plural collection count label
418
409
  #. @context: Plural collection count label on an aggregate collection page
419
410
  #: src/ui/pages/CollectionPage.tsx
420
- #: src/ui/pages/CollectionsPage.tsx
421
- #: src/ui/shared/CollectionsManager.tsx
422
- #: src/ui/shared/CollectionsManager.tsx
423
411
  msgid "collections"
424
412
  msgstr ""
425
413