@jant/core 0.3.8 → 0.3.9
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.
- package/dist/app.js +7 -4
- package/dist/db/schema.js +2 -1
- package/dist/lib/image.js +39 -15
- package/dist/lib/media-helpers.js +14 -8
- package/dist/lib/storage.js +164 -0
- package/dist/routes/api/posts.js +12 -7
- package/dist/routes/api/timeline.js +3 -2
- package/dist/routes/api/upload.js +27 -20
- package/dist/routes/dash/media.js +24 -14
- package/dist/routes/dash/posts.js +4 -1
- package/dist/routes/feed/rss.js +3 -2
- package/dist/routes/pages/home.js +3 -2
- package/dist/routes/pages/post.js +9 -5
- package/dist/services/media.js +7 -5
- package/dist/theme/components/PostForm.js +4 -3
- package/dist/types.js +32 -0
- package/package.json +2 -1
- package/src/__tests__/helpers/app.ts +1 -0
- package/src/__tests__/helpers/db.ts +10 -0
- package/src/app.tsx +8 -7
- package/src/db/migrations/0004_add_storage_provider.sql +3 -0
- package/src/db/migrations/meta/_journal.json +7 -0
- package/src/db/schema.ts +2 -1
- package/src/i18n/locales/en.po +67 -67
- package/src/i18n/locales/zh-Hans.po +67 -67
- package/src/i18n/locales/zh-Hant.po +67 -67
- package/src/lib/__tests__/image.test.ts +96 -0
- package/src/lib/__tests__/storage.test.ts +162 -0
- package/src/lib/image.ts +46 -16
- package/src/lib/media-helpers.ts +29 -18
- package/src/lib/storage.ts +236 -0
- package/src/routes/api/__tests__/posts.test.ts +8 -8
- package/src/routes/api/posts.ts +20 -6
- package/src/routes/api/timeline.tsx +8 -1
- package/src/routes/api/upload.ts +44 -21
- package/src/routes/dash/media.tsx +40 -8
- package/src/routes/dash/posts.tsx +5 -0
- package/src/routes/feed/rss.ts +3 -2
- package/src/routes/pages/home.tsx +8 -1
- package/src/routes/pages/post.tsx +29 -17
- package/src/services/__tests__/media.test.ts +44 -26
- package/src/services/media.ts +10 -7
- package/src/theme/components/PostForm.tsx +13 -2
- package/src/types.ts +41 -1
package/src/i18n/locales/en.po
CHANGED
|
@@ -51,7 +51,7 @@ msgid "Account"
|
|
|
51
51
|
msgstr "Account"
|
|
52
52
|
|
|
53
53
|
#. @context: Button to open media picker
|
|
54
|
-
#: src/theme/components/PostForm.tsx:
|
|
54
|
+
#: src/theme/components/PostForm.tsx:189
|
|
55
55
|
msgid "Add Media"
|
|
56
56
|
msgstr "Add Media"
|
|
57
57
|
|
|
@@ -79,7 +79,7 @@ msgstr "Are you sure you want to delete this post? This cannot be undone."
|
|
|
79
79
|
#. @context: Post type label - article
|
|
80
80
|
#. @context: Post type option
|
|
81
81
|
#: src/routes/pages/archive.tsx:28
|
|
82
|
-
#: src/theme/components/PostForm.tsx:
|
|
82
|
+
#: src/theme/components/PostForm.tsx:73
|
|
83
83
|
#: src/theme/components/TypeBadge.tsx:20
|
|
84
84
|
msgid "Article"
|
|
85
85
|
msgstr "Article"
|
|
@@ -90,12 +90,12 @@ msgid "Articles"
|
|
|
90
90
|
msgstr "Articles"
|
|
91
91
|
|
|
92
92
|
#. @context: Hint for image post type media requirement
|
|
93
|
-
#: src/theme/components/PostForm.tsx:
|
|
93
|
+
#: src/theme/components/PostForm.tsx:136
|
|
94
94
|
msgid "At least 1 image required for image posts."
|
|
95
95
|
msgstr "At least 1 image required for image posts."
|
|
96
96
|
|
|
97
97
|
#. @context: Button to go back to media list
|
|
98
|
-
#: src/routes/dash/media.tsx:
|
|
98
|
+
#: src/routes/dash/media.tsx:266
|
|
99
99
|
msgid "Back"
|
|
100
100
|
msgstr "Back"
|
|
101
101
|
|
|
@@ -119,7 +119,7 @@ msgstr "Back"
|
|
|
119
119
|
#: src/routes/dash/navigation.tsx:182
|
|
120
120
|
#: src/routes/dash/redirects.tsx:167
|
|
121
121
|
#: src/theme/components/PageForm.tsx:161
|
|
122
|
-
#: src/theme/components/PostForm.tsx:
|
|
122
|
+
#: src/theme/components/PostForm.tsx:323
|
|
123
123
|
msgid "Cancel"
|
|
124
124
|
msgstr "Cancel"
|
|
125
125
|
|
|
@@ -131,7 +131,7 @@ msgid "Change Password"
|
|
|
131
131
|
msgstr "Change Password"
|
|
132
132
|
|
|
133
133
|
#. @context: Hint to click image for lightbox
|
|
134
|
-
#: src/routes/dash/media.tsx:
|
|
134
|
+
#: src/routes/dash/media.tsx:299
|
|
135
135
|
msgid "Click image to view full size"
|
|
136
136
|
msgstr "Click image to view full size"
|
|
137
137
|
|
|
@@ -143,7 +143,7 @@ msgid "Collections"
|
|
|
143
143
|
msgstr "Collections"
|
|
144
144
|
|
|
145
145
|
#. @context: Post form field - assign to collections
|
|
146
|
-
#: src/theme/components/PostForm.tsx:
|
|
146
|
+
#: src/theme/components/PostForm.tsx:272
|
|
147
147
|
msgid "Collections (optional)"
|
|
148
148
|
msgstr "Collections (optional)"
|
|
149
149
|
|
|
@@ -153,7 +153,7 @@ msgid "Color theme"
|
|
|
153
153
|
msgstr "Color theme"
|
|
154
154
|
|
|
155
155
|
#. @context: Setup form submit button
|
|
156
|
-
#: src/app.tsx:
|
|
156
|
+
#: src/app.tsx:251
|
|
157
157
|
msgid "Complete Setup"
|
|
158
158
|
msgstr "Complete Setup"
|
|
159
159
|
|
|
@@ -163,21 +163,21 @@ msgid "Confirm New Password"
|
|
|
163
163
|
msgstr "Confirm New Password"
|
|
164
164
|
|
|
165
165
|
#. @context: Password reset form field
|
|
166
|
-
#: src/app.tsx:
|
|
166
|
+
#: src/app.tsx:493
|
|
167
167
|
msgid "Confirm Password"
|
|
168
168
|
msgstr "Confirm Password"
|
|
169
169
|
|
|
170
170
|
#. @context: Page form field label - content
|
|
171
171
|
#. @context: Post form field
|
|
172
172
|
#: src/theme/components/PageForm.tsx:95
|
|
173
|
-
#: src/theme/components/PostForm.tsx:
|
|
173
|
+
#: src/theme/components/PostForm.tsx:109
|
|
174
174
|
msgid "Content"
|
|
175
175
|
msgstr "Content"
|
|
176
176
|
|
|
177
177
|
#. @context: Button to copy Markdown to clipboard
|
|
178
178
|
#. @context: Button to copy URL to clipboard
|
|
179
|
-
#: src/routes/dash/media.tsx:
|
|
180
|
-
#: src/routes/dash/media.tsx:
|
|
179
|
+
#: src/routes/dash/media.tsx:337
|
|
180
|
+
#: src/routes/dash/media.tsx:374
|
|
181
181
|
msgid "Copy"
|
|
182
182
|
msgstr "Copy"
|
|
183
183
|
|
|
@@ -202,7 +202,7 @@ msgid "Create Redirect"
|
|
|
202
202
|
msgstr "Create Redirect"
|
|
203
203
|
|
|
204
204
|
#. @context: Setup page description
|
|
205
|
-
#: src/app.tsx:
|
|
205
|
+
#: src/app.tsx:193
|
|
206
206
|
msgid "Create your admin account."
|
|
207
207
|
msgstr "Create your admin account."
|
|
208
208
|
|
|
@@ -222,7 +222,7 @@ msgid "Current Password"
|
|
|
222
222
|
msgstr "Current Password"
|
|
223
223
|
|
|
224
224
|
#. @context: Post form field
|
|
225
|
-
#: src/theme/components/PostForm.tsx:
|
|
225
|
+
#: src/theme/components/PostForm.tsx:296
|
|
226
226
|
msgid "Custom Path (optional)"
|
|
227
227
|
msgstr "Custom Path (optional)"
|
|
228
228
|
|
|
@@ -253,7 +253,7 @@ msgid "Delete Collection"
|
|
|
253
253
|
msgstr "Delete Collection"
|
|
254
254
|
|
|
255
255
|
#. @context: Button to delete media
|
|
256
|
-
#: src/routes/dash/media.tsx:
|
|
256
|
+
#: src/routes/dash/media.tsx:385
|
|
257
257
|
msgid "Delete Media"
|
|
258
258
|
msgstr "Delete Media"
|
|
259
259
|
|
|
@@ -263,12 +263,12 @@ msgid "Delete Page"
|
|
|
263
263
|
msgstr "Delete Page"
|
|
264
264
|
|
|
265
265
|
#. @context: Warning message before deleting media
|
|
266
|
-
#: src/routes/dash/media.tsx:
|
|
266
|
+
#: src/routes/dash/media.tsx:391
|
|
267
267
|
msgid "Deleting this media will remove it permanently from storage."
|
|
268
268
|
msgstr "Deleting this media will remove it permanently from storage."
|
|
269
269
|
|
|
270
270
|
#. @context: Hint shown on signin page when demo credentials are pre-filled
|
|
271
|
-
#: src/app.tsx:
|
|
271
|
+
#: src/app.tsx:342
|
|
272
272
|
msgid "Demo account pre-filled. Just click Sign In."
|
|
273
273
|
msgstr "Demo account pre-filled. Just click Sign In."
|
|
274
274
|
|
|
@@ -285,7 +285,7 @@ msgid "Display text for the link"
|
|
|
285
285
|
msgstr "Display text for the link"
|
|
286
286
|
|
|
287
287
|
#. @context: Close media picker button
|
|
288
|
-
#: src/theme/components/PostForm.tsx:
|
|
288
|
+
#: src/theme/components/PostForm.tsx:345
|
|
289
289
|
msgid "Done"
|
|
290
290
|
msgstr "Done"
|
|
291
291
|
|
|
@@ -293,7 +293,7 @@ msgstr "Done"
|
|
|
293
293
|
#. @context: Post visibility badge - draft
|
|
294
294
|
#. @context: Post visibility option
|
|
295
295
|
#: src/theme/components/PageForm.tsx:132
|
|
296
|
-
#: src/theme/components/PostForm.tsx:
|
|
296
|
+
#: src/theme/components/PostForm.tsx:260
|
|
297
297
|
#: src/theme/components/VisibilityBadge.tsx:38
|
|
298
298
|
msgid "Draft"
|
|
299
299
|
msgstr "Draft"
|
|
@@ -304,7 +304,7 @@ msgid "Drafts"
|
|
|
304
304
|
msgstr "Drafts"
|
|
305
305
|
|
|
306
306
|
#. @context: Source name placeholder
|
|
307
|
-
#: src/theme/components/PostForm.tsx:
|
|
307
|
+
#: src/theme/components/PostForm.tsx:225
|
|
308
308
|
msgid "e.g. The Verge, John Doe"
|
|
309
309
|
msgstr "e.g. The Verge, John Doe"
|
|
310
310
|
|
|
@@ -343,7 +343,7 @@ msgid "Edit Page"
|
|
|
343
343
|
msgstr "Edit Page"
|
|
344
344
|
|
|
345
345
|
#. @context: Page heading
|
|
346
|
-
#: src/routes/dash/posts.tsx:
|
|
346
|
+
#: src/routes/dash/posts.tsx:187
|
|
347
347
|
msgid "Edit Post"
|
|
348
348
|
msgstr "Edit Post"
|
|
349
349
|
|
|
@@ -358,19 +358,19 @@ msgstr "Edit Post"
|
|
|
358
358
|
|
|
359
359
|
#. @context: Setup/signin form field - email
|
|
360
360
|
#. @context: Setup/signin form field - email
|
|
361
|
-
#: src/app.tsx:
|
|
362
|
-
#: src/app.tsx:
|
|
361
|
+
#: src/app.tsx:222
|
|
362
|
+
#: src/app.tsx:356
|
|
363
363
|
msgid "Email"
|
|
364
364
|
msgstr "Email"
|
|
365
365
|
|
|
366
366
|
#. @context: Password reset page description
|
|
367
|
-
#: src/app.tsx:
|
|
367
|
+
#: src/app.tsx:463
|
|
368
368
|
msgid "Enter your new password."
|
|
369
369
|
msgstr "Enter your new password."
|
|
370
370
|
|
|
371
371
|
#. @context: Post visibility badge - featured
|
|
372
372
|
#. @context: Post visibility option
|
|
373
|
-
#: src/theme/components/PostForm.tsx:
|
|
373
|
+
#: src/theme/components/PostForm.tsx:248
|
|
374
374
|
#: src/theme/components/VisibilityBadge.tsx:26
|
|
375
375
|
msgid "Featured"
|
|
376
376
|
msgstr "Featured"
|
|
@@ -401,7 +401,7 @@ msgstr "General"
|
|
|
401
401
|
#. @context: Post type label - image
|
|
402
402
|
#. @context: Post type option
|
|
403
403
|
#: src/routes/pages/archive.tsx:37
|
|
404
|
-
#: src/theme/components/PostForm.tsx:
|
|
404
|
+
#: src/theme/components/PostForm.tsx:82
|
|
405
405
|
#: src/theme/components/TypeBadge.tsx:29
|
|
406
406
|
msgid "Image"
|
|
407
407
|
msgstr "Image"
|
|
@@ -412,12 +412,12 @@ msgid "Images"
|
|
|
412
412
|
msgstr "Images"
|
|
413
413
|
|
|
414
414
|
#. @context: Media upload instructions - auto optimization
|
|
415
|
-
#: src/routes/dash/media.tsx:
|
|
415
|
+
#: src/routes/dash/media.tsx:171
|
|
416
416
|
msgid "Images are automatically optimized: resized to max 1920px, converted to WebP, and metadata stripped."
|
|
417
417
|
msgstr "Images are automatically optimized: resized to max 1920px, converted to WebP, and metadata stripped."
|
|
418
418
|
|
|
419
419
|
#. @context: Password reset error heading
|
|
420
|
-
#: src/app.tsx:
|
|
420
|
+
#: src/app.tsx:528
|
|
421
421
|
msgid "Invalid or Expired Link"
|
|
422
422
|
msgstr "Invalid or Expired Link"
|
|
423
423
|
|
|
@@ -440,7 +440,7 @@ msgstr "Language"
|
|
|
440
440
|
#. @context: Post type label - link
|
|
441
441
|
#. @context: Post type option
|
|
442
442
|
#: src/routes/pages/archive.tsx:32
|
|
443
|
-
#: src/theme/components/PostForm.tsx:
|
|
443
|
+
#: src/theme/components/PostForm.tsx:76
|
|
444
444
|
#: src/theme/components/TypeBadge.tsx:24
|
|
445
445
|
msgid "Link"
|
|
446
446
|
msgstr "Link"
|
|
@@ -458,7 +458,7 @@ msgid "Load more"
|
|
|
458
458
|
msgstr "Load more"
|
|
459
459
|
|
|
460
460
|
#. @context: Loading state for media picker
|
|
461
|
-
#: src/theme/components/PostForm.tsx:
|
|
461
|
+
#: src/theme/components/PostForm.tsx:356
|
|
462
462
|
msgid "Loading..."
|
|
463
463
|
msgstr "Loading..."
|
|
464
464
|
|
|
@@ -468,15 +468,15 @@ msgid "Lowercase letters, numbers, and hyphens only"
|
|
|
468
468
|
msgstr "Lowercase letters, numbers, and hyphens only"
|
|
469
469
|
|
|
470
470
|
#. @context: Media detail section - Markdown snippet
|
|
471
|
-
#: src/routes/dash/media.tsx:
|
|
471
|
+
#: src/routes/dash/media.tsx:355
|
|
472
472
|
msgid "Markdown"
|
|
473
473
|
msgstr "Markdown"
|
|
474
474
|
|
|
475
475
|
#. @context: Dashboard navigation - media library
|
|
476
476
|
#. @context: Media main heading
|
|
477
477
|
#. @context: Post form field - media attachments
|
|
478
|
-
#: src/routes/dash/media.tsx:
|
|
479
|
-
#: src/theme/components/PostForm.tsx:
|
|
478
|
+
#: src/routes/dash/media.tsx:151
|
|
479
|
+
#: src/theme/components/PostForm.tsx:127
|
|
480
480
|
#: src/theme/layouts/DashLayout.tsx:105
|
|
481
481
|
msgid "Media"
|
|
482
482
|
msgstr "Media"
|
|
@@ -535,7 +535,7 @@ msgstr "New Page"
|
|
|
535
535
|
|
|
536
536
|
#. @context: Password form field
|
|
537
537
|
#. @context: Password reset form field
|
|
538
|
-
#: src/app.tsx:
|
|
538
|
+
#: src/app.tsx:477
|
|
539
539
|
#: src/routes/dash/settings.tsx:417
|
|
540
540
|
msgid "New Password"
|
|
541
541
|
msgstr "New Password"
|
|
@@ -571,7 +571,7 @@ msgid "No collections yet."
|
|
|
571
571
|
msgstr "No collections yet."
|
|
572
572
|
|
|
573
573
|
#. @context: Empty state message when no media exists
|
|
574
|
-
#: src/routes/dash/media.tsx:
|
|
574
|
+
#: src/routes/dash/media.tsx:186
|
|
575
575
|
msgid "No media uploaded yet."
|
|
576
576
|
msgstr "No media uploaded yet."
|
|
577
577
|
|
|
@@ -618,7 +618,7 @@ msgstr "No results found."
|
|
|
618
618
|
#. @context: Post type label - note
|
|
619
619
|
#. @context: Post type option
|
|
620
620
|
#: src/routes/pages/archive.tsx:27
|
|
621
|
-
#: src/theme/components/PostForm.tsx:
|
|
621
|
+
#: src/theme/components/PostForm.tsx:70
|
|
622
622
|
#: src/theme/components/TypeBadge.tsx:19
|
|
623
623
|
msgid "Note"
|
|
624
624
|
msgstr "Note"
|
|
@@ -663,8 +663,8 @@ msgstr "Pages"
|
|
|
663
663
|
|
|
664
664
|
#. @context: Setup/signin form field - password
|
|
665
665
|
#. @context: Setup/signin form field - password
|
|
666
|
-
#: src/app.tsx:
|
|
667
|
-
#: src/app.tsx:
|
|
666
|
+
#: src/app.tsx:237
|
|
667
|
+
#: src/app.tsx:365
|
|
668
668
|
msgid "Password"
|
|
669
669
|
msgstr "Password"
|
|
670
670
|
|
|
@@ -680,7 +680,7 @@ msgstr "Path (e.g. /archive) or full URL (e.g. https://example.com)"
|
|
|
680
680
|
|
|
681
681
|
#. @context: Link to individual post in thread
|
|
682
682
|
#. @context: Link to permanent URL of post
|
|
683
|
-
#: src/routes/pages/post.tsx:
|
|
683
|
+
#: src/routes/pages/post.tsx:56
|
|
684
684
|
#: src/theme/components/ThreadView.tsx:68
|
|
685
685
|
msgid "Permalink"
|
|
686
686
|
msgstr "Permalink"
|
|
@@ -691,7 +691,7 @@ msgid "Post"
|
|
|
691
691
|
msgstr "Post"
|
|
692
692
|
|
|
693
693
|
#. @context: Post title placeholder
|
|
694
|
-
#: src/theme/components/PostForm.tsx:
|
|
694
|
+
#: src/theme/components/PostForm.tsx:99
|
|
695
695
|
msgid "Post title..."
|
|
696
696
|
msgstr "Post title..."
|
|
697
697
|
|
|
@@ -708,7 +708,7 @@ msgid "Posts in Collection ({count})"
|
|
|
708
708
|
msgstr "Posts in Collection ({count})"
|
|
709
709
|
|
|
710
710
|
#. @context: Media detail section - preview
|
|
711
|
-
#: src/routes/dash/media.tsx:
|
|
711
|
+
#: src/routes/dash/media.tsx:278
|
|
712
712
|
msgid "Preview"
|
|
713
713
|
msgstr "Preview"
|
|
714
714
|
|
|
@@ -720,7 +720,7 @@ msgid "Previous"
|
|
|
720
720
|
msgstr "Previous"
|
|
721
721
|
|
|
722
722
|
#. @context: Upload status - processing
|
|
723
|
-
#: src/routes/dash/media.tsx:
|
|
723
|
+
#: src/routes/dash/media.tsx:119
|
|
724
724
|
msgid "Processing..."
|
|
725
725
|
msgstr "Processing..."
|
|
726
726
|
|
|
@@ -730,7 +730,7 @@ msgid "Profile"
|
|
|
730
730
|
msgstr "Profile"
|
|
731
731
|
|
|
732
732
|
#. @context: Button to publish new post
|
|
733
|
-
#: src/theme/components/PostForm.tsx:
|
|
733
|
+
#: src/theme/components/PostForm.tsx:317
|
|
734
734
|
msgid "Publish"
|
|
735
735
|
msgstr "Publish"
|
|
736
736
|
|
|
@@ -757,7 +757,7 @@ msgid "Quiet"
|
|
|
757
757
|
msgstr "Quiet"
|
|
758
758
|
|
|
759
759
|
#. @context: Post visibility option
|
|
760
|
-
#: src/theme/components/PostForm.tsx:
|
|
760
|
+
#: src/theme/components/PostForm.tsx:242
|
|
761
761
|
msgid "Quiet (normal)"
|
|
762
762
|
msgstr "Quiet (normal)"
|
|
763
763
|
|
|
@@ -765,7 +765,7 @@ msgstr "Quiet (normal)"
|
|
|
765
765
|
#. @context: Post type label - quote
|
|
766
766
|
#. @context: Post type option
|
|
767
767
|
#: src/routes/pages/archive.tsx:33
|
|
768
|
-
#: src/theme/components/PostForm.tsx:
|
|
768
|
+
#: src/theme/components/PostForm.tsx:79
|
|
769
769
|
#: src/theme/components/TypeBadge.tsx:25
|
|
770
770
|
msgid "Quote"
|
|
771
771
|
msgstr "Quote"
|
|
@@ -785,14 +785,14 @@ msgstr "Redirects"
|
|
|
785
785
|
#. @context: Button to remove post from collection
|
|
786
786
|
#. @context: Remove media attachment button
|
|
787
787
|
#: src/routes/dash/collections.tsx:257
|
|
788
|
-
#: src/theme/components/PostForm.tsx:
|
|
788
|
+
#: src/theme/components/PostForm.tsx:172
|
|
789
789
|
msgid "Remove"
|
|
790
790
|
msgstr "Remove"
|
|
791
791
|
|
|
792
792
|
#. @context: Password reset form submit button
|
|
793
793
|
#. @context: Password reset page heading
|
|
794
|
-
#: src/app.tsx:
|
|
795
|
-
#: src/app.tsx:
|
|
794
|
+
#: src/app.tsx:457
|
|
795
|
+
#: src/app.tsx:508
|
|
796
796
|
msgid "Reset Password"
|
|
797
797
|
msgstr "Reset Password"
|
|
798
798
|
|
|
@@ -829,7 +829,7 @@ msgid "Search posts..."
|
|
|
829
829
|
msgstr "Search posts..."
|
|
830
830
|
|
|
831
831
|
#. @context: Media picker dialog title
|
|
832
|
-
#: src/theme/components/PostForm.tsx:
|
|
832
|
+
#: src/theme/components/PostForm.tsx:335
|
|
833
833
|
msgid "Select Media"
|
|
834
834
|
msgstr "Select Media"
|
|
835
835
|
|
|
@@ -857,8 +857,8 @@ msgstr "Show {remainingCount} more {0}"
|
|
|
857
857
|
|
|
858
858
|
#. @context: Sign in form submit button
|
|
859
859
|
#. @context: Sign in page heading
|
|
860
|
-
#: src/app.tsx:
|
|
861
|
-
#: src/app.tsx:
|
|
860
|
+
#: src/app.tsx:333
|
|
861
|
+
#: src/app.tsx:378
|
|
862
862
|
msgid "Sign In"
|
|
863
863
|
msgstr "Sign In"
|
|
864
864
|
|
|
@@ -885,12 +885,12 @@ msgid "Slug"
|
|
|
885
885
|
msgstr "Slug"
|
|
886
886
|
|
|
887
887
|
#. @context: Post form field - name of the source website or author
|
|
888
|
-
#: src/theme/components/PostForm.tsx:
|
|
888
|
+
#: src/theme/components/PostForm.tsx:215
|
|
889
889
|
msgid "Source Name (optional)"
|
|
890
890
|
msgstr "Source Name (optional)"
|
|
891
891
|
|
|
892
892
|
#. @context: Post form field
|
|
893
|
-
#: src/theme/components/PostForm.tsx:
|
|
893
|
+
#: src/theme/components/PostForm.tsx:199
|
|
894
894
|
msgid "Source URL (optional)"
|
|
895
895
|
msgstr "Source URL (optional)"
|
|
896
896
|
|
|
@@ -920,7 +920,7 @@ msgid "The URL path for this page. Use lowercase letters, numbers, and hyphens."
|
|
|
920
920
|
msgstr "The URL path for this page. Use lowercase letters, numbers, and hyphens."
|
|
921
921
|
|
|
922
922
|
#. @context: Password reset error description
|
|
923
|
-
#: src/app.tsx:
|
|
923
|
+
#: src/app.tsx:536
|
|
924
924
|
msgid "This password reset link is invalid or has expired. Please generate a new one."
|
|
925
925
|
msgstr "This password reset link is invalid or has expired. Please generate a new one."
|
|
926
926
|
|
|
@@ -954,7 +954,7 @@ msgid "Title"
|
|
|
954
954
|
msgstr "Title"
|
|
955
955
|
|
|
956
956
|
#. @context: Post form field
|
|
957
|
-
#: src/theme/components/PostForm.tsx:
|
|
957
|
+
#: src/theme/components/PostForm.tsx:90
|
|
958
958
|
msgid "Title (optional)"
|
|
959
959
|
msgstr "Title (optional)"
|
|
960
960
|
|
|
@@ -966,13 +966,13 @@ msgstr "To Path"
|
|
|
966
966
|
#. @context: Post form field - post type
|
|
967
967
|
#. @context: Redirect form field
|
|
968
968
|
#: src/routes/dash/redirects.tsx:141
|
|
969
|
-
#: src/theme/components/PostForm.tsx:
|
|
969
|
+
#: src/theme/components/PostForm.tsx:63
|
|
970
970
|
msgid "Type"
|
|
971
971
|
msgstr "Type"
|
|
972
972
|
|
|
973
973
|
#. @context: Post visibility badge - unlisted
|
|
974
974
|
#. @context: Post visibility option
|
|
975
|
-
#: src/theme/components/PostForm.tsx:
|
|
975
|
+
#: src/theme/components/PostForm.tsx:254
|
|
976
976
|
#: src/theme/components/VisibilityBadge.tsx:34
|
|
977
977
|
msgid "Unlisted"
|
|
978
978
|
msgstr "Unlisted"
|
|
@@ -985,7 +985,7 @@ msgid "Untitled"
|
|
|
985
985
|
msgstr "Untitled"
|
|
986
986
|
|
|
987
987
|
#. @context: Button to update existing post
|
|
988
|
-
#: src/theme/components/PostForm.tsx:
|
|
988
|
+
#: src/theme/components/PostForm.tsx:313
|
|
989
989
|
msgid "Update"
|
|
990
990
|
msgstr "Update"
|
|
991
991
|
|
|
@@ -1000,12 +1000,12 @@ msgid "Update Page"
|
|
|
1000
1000
|
msgstr "Update Page"
|
|
1001
1001
|
|
|
1002
1002
|
#. @context: Button to upload media file
|
|
1003
|
-
#: src/routes/dash/media.tsx:
|
|
1003
|
+
#: src/routes/dash/media.tsx:127
|
|
1004
1004
|
msgid "Upload"
|
|
1005
1005
|
msgstr "Upload"
|
|
1006
1006
|
|
|
1007
1007
|
#. @context: Upload error message
|
|
1008
|
-
#: src/routes/dash/media.tsx:
|
|
1008
|
+
#: src/routes/dash/media.tsx:131
|
|
1009
1009
|
msgid "Upload failed. Please try again."
|
|
1010
1010
|
msgstr "Upload failed. Please try again."
|
|
1011
1011
|
|
|
@@ -1015,13 +1015,13 @@ msgstr "Upload failed. Please try again."
|
|
|
1015
1015
|
#~ msgstr "Upload images via the API: POST /api/upload with a file form field."
|
|
1016
1016
|
|
|
1017
1017
|
#. @context: Upload status - uploading
|
|
1018
|
-
#: src/routes/dash/media.tsx:
|
|
1018
|
+
#: src/routes/dash/media.tsx:123
|
|
1019
1019
|
msgid "Uploading..."
|
|
1020
1020
|
msgstr "Uploading..."
|
|
1021
1021
|
|
|
1022
1022
|
#. @context: Media detail section - URL
|
|
1023
1023
|
#. @context: Navigation link form field
|
|
1024
|
-
#: src/routes/dash/media.tsx:
|
|
1024
|
+
#: src/routes/dash/media.tsx:318
|
|
1025
1025
|
#: src/routes/dash/navigation.tsx:148
|
|
1026
1026
|
msgid "URL"
|
|
1027
1027
|
msgstr "URL"
|
|
@@ -1032,7 +1032,7 @@ msgid "URL-safe identifier (lowercase, numbers, hyphens)"
|
|
|
1032
1032
|
msgstr "URL-safe identifier (lowercase, numbers, hyphens)"
|
|
1033
1033
|
|
|
1034
1034
|
#. @context: Media URL helper text
|
|
1035
|
-
#: src/routes/dash/media.tsx:
|
|
1035
|
+
#: src/routes/dash/media.tsx:344
|
|
1036
1036
|
msgid "Use this URL to embed the media in your posts."
|
|
1037
1037
|
msgstr "Use this URL to embed the media in your posts."
|
|
1038
1038
|
|
|
@@ -1064,17 +1064,17 @@ msgid "View Site"
|
|
|
1064
1064
|
msgstr "View Site"
|
|
1065
1065
|
|
|
1066
1066
|
#. @context: Post form field
|
|
1067
|
-
#: src/theme/components/PostForm.tsx:
|
|
1067
|
+
#: src/theme/components/PostForm.tsx:235
|
|
1068
1068
|
msgid "Visibility"
|
|
1069
1069
|
msgstr "Visibility"
|
|
1070
1070
|
|
|
1071
1071
|
#. @context: Setup page welcome heading
|
|
1072
|
-
#: src/app.tsx:
|
|
1072
|
+
#: src/app.tsx:187
|
|
1073
1073
|
msgid "Welcome to Jant"
|
|
1074
1074
|
msgstr "Welcome to Jant"
|
|
1075
1075
|
|
|
1076
1076
|
#. @context: Post content placeholder
|
|
1077
|
-
#: src/theme/components/PostForm.tsx:
|
|
1077
|
+
#: src/theme/components/PostForm.tsx:114
|
|
1078
1078
|
msgid "What's on your mind?"
|
|
1079
1079
|
msgstr "What's on your mind?"
|
|
1080
1080
|
|
|
@@ -1084,6 +1084,6 @@ msgid "What's this collection about?"
|
|
|
1084
1084
|
msgstr "What's this collection about?"
|
|
1085
1085
|
|
|
1086
1086
|
#. @context: Setup form field - user name
|
|
1087
|
-
#: src/app.tsx:
|
|
1087
|
+
#: src/app.tsx:207
|
|
1088
1088
|
msgid "Your Name"
|
|
1089
1089
|
msgstr "Your Name"
|