@kernhq/module-quire 0.11.1 → 0.12.0
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/contract/models.d.ts +46 -0
- package/dist/contract/models.d.ts.map +1 -1
- package/dist/contract/models.js +73 -0
- package/dist/contract/models.js.map +1 -1
- package/dist/contract/permissions.d.ts +17 -1
- package/dist/contract/permissions.d.ts.map +1 -1
- package/dist/contract/permissions.js +34 -0
- package/dist/contract/permissions.js.map +1 -1
- package/dist/contract/router.d.ts +670 -0
- package/dist/contract/router.d.ts.map +1 -1
- package/dist/contract/router.js +273 -2
- package/dist/contract/router.js.map +1 -1
- package/dist/server/_impl.d.ts +770 -0
- package/dist/server/_impl.d.ts.map +1 -1
- package/dist/server/_impl.js +264 -2
- package/dist/server/_impl.js.map +1 -1
- package/dist/server/schema.d.ts +318 -1
- package/dist/server/schema.d.ts.map +1 -1
- package/dist/server/schema.js +86 -0
- package/dist/server/schema.js.map +1 -1
- package/dist/server/services/access.d.ts +1 -0
- package/dist/server/services/access.d.ts.map +1 -1
- package/dist/server/services/index.d.ts +3 -0
- package/dist/server/services/index.d.ts.map +1 -1
- package/dist/server/services/index.js +5 -1
- package/dist/server/services/index.js.map +1 -1
- package/dist/server/services/pages.d.ts.map +1 -1
- package/dist/server/services/pages.js +6 -0
- package/dist/server/services/pages.js.map +1 -1
- package/dist/server/services/publications.d.ts +177 -0
- package/dist/server/services/publications.d.ts.map +1 -0
- package/dist/server/services/publications.js +553 -0
- package/dist/server/services/publications.js.map +1 -0
- package/dist/server/services/versions.d.ts +4 -0
- package/dist/server/services/versions.d.ts.map +1 -1
- package/migrations/0008_publications.sql +140 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/src/client/components/PublishDialog.svelte +857 -0
- package/src/client/i18n.ts +434 -0
- package/src/client/index.ts +21 -0
- package/src/client/mock.ts +426 -2
- package/src/client/pages/PageView.svelte +139 -0
- package/src/client/public-url.ts +64 -0
- package/src/client/query.ts +16 -0
- package/src/contract/models.ts +77 -0
- package/src/contract/permissions.ts +53 -1
- package/src/contract/router.ts +302 -1
package/src/client/i18n.ts
CHANGED
|
@@ -418,6 +418,110 @@ export const en: Record<string, Message> = {
|
|
|
418
418
|
one: '{n} person is watching',
|
|
419
419
|
other: '{n} people are watching',
|
|
420
420
|
},
|
|
421
|
+
|
|
422
|
+
/*
|
|
423
|
+
* Sharing a page to the web.
|
|
424
|
+
*
|
|
425
|
+
* The one screen in Quire where a misunderstanding is a data leak, so the wording is doing real
|
|
426
|
+
* work rather than labelling controls. Three rules held here and worth keeping:
|
|
427
|
+
*
|
|
428
|
+
* - **Say "without signing in".** "Public" is the word every product uses and half of the people
|
|
429
|
+
* reading it hear "public to my workspace". The sentence has to name the absence of an
|
|
430
|
+
* account, because that is the part that surprises somebody afterwards.
|
|
431
|
+
* - **Name the subtree, every time.** Publishing takes children with it. A sentence about "this
|
|
432
|
+
* page" is true and incomplete, and incomplete is what a leak is made of.
|
|
433
|
+
* - **Nothing here is in the future tense once it is true.** Before the button, "would be
|
|
434
|
+
* public"; after it, "is public". A screen that keeps saying "will be" about something already
|
|
435
|
+
* on the internet is teaching somebody it has not happened yet.
|
|
436
|
+
*/
|
|
437
|
+
'quire.share_web': 'Share to web',
|
|
438
|
+
'quire.share_title': 'Share to web',
|
|
439
|
+
'quire.share_warn_title': 'Anyone with the link can read this, without signing in',
|
|
440
|
+
'quire.share_warn_body':
|
|
441
|
+
'Publishing puts this page, and every page nested under it, on the public internet. There is no account to make and no invitation to accept: whoever has the address can read it, and so can anyone they pass it to.',
|
|
442
|
+
'quire.share_warn_version':
|
|
443
|
+
'Readers are served the last version you published — never the draft you are writing.',
|
|
444
|
+
'quire.share_warn_unpublished':
|
|
445
|
+
'A page that has never been published stays private, even when it sits under one that is.',
|
|
446
|
+
'quire.share_warn_search': 'Search engines are allowed to list it unless you turn that off below.',
|
|
447
|
+
'quire.share_needs_publish':
|
|
448
|
+
'This page has no published version yet, so the site would have nothing to show. Publish the page first.',
|
|
449
|
+
'quire.share_address': 'Address',
|
|
450
|
+
'quire.share_address_hint': 'Lowercase letters, digits and dashes.',
|
|
451
|
+
'quire.share_address_invalid': 'Between 2 and 64 lowercase letters, digits or dashes.',
|
|
452
|
+
/*
|
|
453
|
+
* The address is *beside* this sentence, never interpolated into it.
|
|
454
|
+
*
|
|
455
|
+
* A Latin URL dropped into an Arabic or Persian paragraph is laid out by the bidi algorithm
|
|
456
|
+
* against the surrounding direction, and a string full of slashes and dots comes apart — the
|
|
457
|
+
* scheme ends up at the wrong end of the line. Rendering it as its own `dir="ltr"` element is the
|
|
458
|
+
* only way it survives, and a placeholder in the message cannot be one.
|
|
459
|
+
*/
|
|
460
|
+
'quire.share_address_pending':
|
|
461
|
+
'When you save, the site moves here. The link above is the live one until then.',
|
|
462
|
+
'quire.share_link': 'Link',
|
|
463
|
+
'quire.share_copy': 'Copy link',
|
|
464
|
+
'quire.share_copied': 'Link copied',
|
|
465
|
+
'quire.share_copy_manually': 'The browser would not copy it. Select the link and copy it by hand.',
|
|
466
|
+
'quire.share_open': 'Open the published site',
|
|
467
|
+
'quire.share_include': 'Include the pages nested under this one',
|
|
468
|
+
'quire.share_include_desc': 'Off publishes this page on its own.',
|
|
469
|
+
'quire.share_count': {
|
|
470
|
+
one: '{n} page is nested under this one',
|
|
471
|
+
other: '{n} pages are nested under this one',
|
|
472
|
+
},
|
|
473
|
+
'quire.share_publish': 'Publish to the web',
|
|
474
|
+
'quire.share_published': 'This page is public',
|
|
475
|
+
'quire.share_published_when': 'Published {when}',
|
|
476
|
+
'quire.share_published_toast': 'This page is public. Anyone with the link can read it.',
|
|
477
|
+
'quire.share_check_running': 'Checking what a signed-out visitor sees…',
|
|
478
|
+
'quire.share_check_ok': {
|
|
479
|
+
one: 'A signed-out visitor sees {n} page.',
|
|
480
|
+
other: 'A signed-out visitor sees {n} pages.',
|
|
481
|
+
},
|
|
482
|
+
'quire.share_check_locked': 'A signed-out visitor is asked for the password before anything is shown.',
|
|
483
|
+
'quire.share_check_failed': 'A signed-out visitor cannot open this address yet.',
|
|
484
|
+
'quire.share_more': 'More options',
|
|
485
|
+
'quire.share_less': 'Fewer options',
|
|
486
|
+
'quire.share_password': 'Password',
|
|
487
|
+
'quire.share_password_hint':
|
|
488
|
+
'At least 6 characters. Readers are asked for it before they see anything at all, including the list of pages.',
|
|
489
|
+
'quire.share_password_keep': 'Leave this empty to keep the password already set.',
|
|
490
|
+
'quire.share_password_on': 'A password is set',
|
|
491
|
+
'quire.share_password_remove': 'Remove the password',
|
|
492
|
+
'quire.share_expires': 'Stop working on',
|
|
493
|
+
'quire.share_expires_hint': 'The link stops opening after this date. Leave it empty and it never expires.',
|
|
494
|
+
'quire.share_indexable': 'Let search engines list it',
|
|
495
|
+
'quire.share_indexable_desc':
|
|
496
|
+
'Off asks crawlers to leave it out. Public and findable are not the same request.',
|
|
497
|
+
'quire.share_seo_title': 'Title in search results',
|
|
498
|
+
'quire.share_seo_title_hint': 'Empty uses the page’s own title.',
|
|
499
|
+
'quire.share_seo_description': 'Description in search results',
|
|
500
|
+
'quire.share_og_image': 'Link preview image',
|
|
501
|
+
'quire.share_og_image_hint': 'Shown when somebody pastes the link into a chat. Paste the image’s address.',
|
|
502
|
+
'quire.share_theme': 'Theme',
|
|
503
|
+
'quire.share_theme_auto': 'Follow the reader’s own setting',
|
|
504
|
+
'quire.share_theme_light': 'Light',
|
|
505
|
+
'quire.share_theme_dark': 'Dark',
|
|
506
|
+
'quire.share_children': 'Pages inside this one',
|
|
507
|
+
'quire.share_children_desc':
|
|
508
|
+
'Turn one off to keep it, and everything under it, out of every published site — this one and any made later.',
|
|
509
|
+
'quire.share_children_none': 'Nothing is nested under this page.',
|
|
510
|
+
'quire.share_children_off': 'Only this page is published, so nothing nested under it is public.',
|
|
511
|
+
'quire.share_child_private': 'Kept private',
|
|
512
|
+
'quire.share_child_blocked': 'Under a page that is kept private',
|
|
513
|
+
'quire.share_child_draft': 'Never published',
|
|
514
|
+
'quire.share_child_archived': 'Archived',
|
|
515
|
+
'quire.share_save': 'Save changes',
|
|
516
|
+
'quire.share_saved': 'Saved',
|
|
517
|
+
'quire.share_unpublish': 'Unpublish',
|
|
518
|
+
'quire.share_unpublish_ask':
|
|
519
|
+
'Take the site down? The link stops working for everybody. Nothing you have written is deleted.',
|
|
520
|
+
'quire.share_unpublish_done': 'The site has been taken down',
|
|
521
|
+
'quire.share_done': 'Done',
|
|
522
|
+
'quire.public_chip': 'Public',
|
|
523
|
+
'quire.public_chip_root': 'Anyone with the link can read this page and everything under it',
|
|
524
|
+
'quire.public_chip_child': 'This page is part of a published site anyone can read',
|
|
421
525
|
}
|
|
422
526
|
|
|
423
527
|
export type QuireMessageKey = keyof typeof en
|
|
@@ -864,6 +968,90 @@ const ar: Record<string, Message> = {
|
|
|
864
968
|
many: 'يتابعها {n} شخصًا',
|
|
865
969
|
other: 'يتابعها {n} شخص',
|
|
866
970
|
},
|
|
971
|
+
|
|
972
|
+
'quire.share_web': 'النشر على الويب',
|
|
973
|
+
'quire.share_title': 'النشر على الويب',
|
|
974
|
+
'quire.share_warn_title': 'كل من يملك الرابط يقرأ هذا دون تسجيل دخول',
|
|
975
|
+
'quire.share_warn_body':
|
|
976
|
+
'النشر يضع هذه الصفحة، وكل صفحة تحتها، على الإنترنت العام. لا حساب يُنشأ ولا دعوة تُقبل: من يملك العنوان يقرأ، ومن يعطيه العنوان يقرأ أيضًا.',
|
|
977
|
+
'quire.share_warn_version': 'يرى القرّاء آخر نسخة نشرتها، لا المسودّة التي تكتبها.',
|
|
978
|
+
'quire.share_warn_unpublished': 'الصفحة التي لم تُنشر قط تبقى خاصة، حتى لو كانت تحت صفحة منشورة.',
|
|
979
|
+
'quire.share_warn_search': 'محرّكات البحث مسموح لها بإدراجه ما لم توقف ذلك في الأسفل.',
|
|
980
|
+
'quire.share_needs_publish':
|
|
981
|
+
'لا توجد نسخة منشورة من هذه الصفحة بعد، فلن يجد الموقع ما يعرضه. انشر الصفحة أولًا.',
|
|
982
|
+
'quire.share_address': 'العنوان',
|
|
983
|
+
'quire.share_address_hint': 'حروف لاتينية صغيرة وأرقام وشرطات.',
|
|
984
|
+
'quire.share_address_invalid': 'من ٢ إلى ٦٤ حرفًا لاتينيًا صغيرًا أو رقمًا أو شرطة.',
|
|
985
|
+
'quire.share_address_pending': 'عند الحفظ ينتقل الموقع إلى هنا. الرابط أعلاه هو العامل حتى ذلك الحين.',
|
|
986
|
+
'quire.share_link': 'الرابط',
|
|
987
|
+
'quire.share_copy': 'نسخ الرابط',
|
|
988
|
+
'quire.share_copied': 'نُسخ الرابط',
|
|
989
|
+
'quire.share_copy_manually': 'المتصفّح رفض النسخ. حدّد الرابط وانسخه بنفسك.',
|
|
990
|
+
'quire.share_open': 'فتح الموقع المنشور',
|
|
991
|
+
'quire.share_include': 'ضمّ الصفحات المتفرّعة عن هذه الصفحة',
|
|
992
|
+
'quire.share_include_desc': 'إيقافه ينشر هذه الصفحة وحدها.',
|
|
993
|
+
'quire.share_count': {
|
|
994
|
+
zero: 'لا صفحات متفرّعة عن هذه الصفحة',
|
|
995
|
+
one: 'صفحة واحدة متفرّعة عن هذه الصفحة',
|
|
996
|
+
two: 'صفحتان متفرّعتان عن هذه الصفحة',
|
|
997
|
+
few: '{n} صفحات متفرّعة عن هذه الصفحة',
|
|
998
|
+
many: '{n} صفحة متفرّعة عن هذه الصفحة',
|
|
999
|
+
other: '{n} صفحة متفرّعة عن هذه الصفحة',
|
|
1000
|
+
},
|
|
1001
|
+
'quire.share_publish': 'انشرها على الويب',
|
|
1002
|
+
'quire.share_published': 'هذه الصفحة عامة',
|
|
1003
|
+
'quire.share_published_when': 'نُشرت {when}',
|
|
1004
|
+
'quire.share_published_toast': 'هذه الصفحة عامة الآن. كل من يملك الرابط يقرؤها.',
|
|
1005
|
+
'quire.share_check_running': 'جارٍ التحقّق ممّا يراه زائر غير مسجّل…',
|
|
1006
|
+
'quire.share_check_ok': {
|
|
1007
|
+
zero: 'الزائر غير المسجّل لا يرى أي صفحة.',
|
|
1008
|
+
one: 'الزائر غير المسجّل يرى صفحة واحدة.',
|
|
1009
|
+
two: 'الزائر غير المسجّل يرى صفحتين.',
|
|
1010
|
+
few: 'الزائر غير المسجّل يرى {n} صفحات.',
|
|
1011
|
+
many: 'الزائر غير المسجّل يرى {n} صفحة.',
|
|
1012
|
+
other: 'الزائر غير المسجّل يرى {n} صفحة.',
|
|
1013
|
+
},
|
|
1014
|
+
'quire.share_check_locked': 'يُطلب من الزائر غير المسجّل كلمة المرور قبل أن يرى أي شيء.',
|
|
1015
|
+
'quire.share_check_failed': 'الزائر غير المسجّل لا يستطيع فتح هذا العنوان بعد.',
|
|
1016
|
+
'quire.share_more': 'خيارات أخرى',
|
|
1017
|
+
'quire.share_less': 'خيارات أقل',
|
|
1018
|
+
'quire.share_password': 'كلمة المرور',
|
|
1019
|
+
'quire.share_password_hint':
|
|
1020
|
+
'ستة محارف على الأقل. تُطلب من القارئ قبل أن يرى أي شيء، بما في ذلك قائمة الصفحات.',
|
|
1021
|
+
'quire.share_password_keep': 'اتركه فارغًا للإبقاء على كلمة المرور الحالية.',
|
|
1022
|
+
'quire.share_password_on': 'كلمة المرور مضبوطة',
|
|
1023
|
+
'quire.share_password_remove': 'إزالة كلمة المرور',
|
|
1024
|
+
'quire.share_expires': 'يتوقّف في',
|
|
1025
|
+
'quire.share_expires_hint': 'يتوقّف الرابط عن الفتح بعد هذا التاريخ. اتركه فارغًا فلا ينتهي أبدًا.',
|
|
1026
|
+
'quire.share_indexable': 'اسمح لمحرّكات البحث بإدراجه',
|
|
1027
|
+
'quire.share_indexable_desc': 'إيقافه يطلب من الزواحف تجاهله. «عام» و«يمكن العثور عليه» ليسا الطلب نفسه.',
|
|
1028
|
+
'quire.share_seo_title': 'العنوان في نتائج البحث',
|
|
1029
|
+
'quire.share_seo_title_hint': 'الفراغ يستخدم عنوان الصفحة نفسها.',
|
|
1030
|
+
'quire.share_seo_description': 'الوصف في نتائج البحث',
|
|
1031
|
+
'quire.share_og_image': 'صورة معاينة الرابط',
|
|
1032
|
+
'quire.share_og_image_hint': 'تظهر حين يلصق أحدهم الرابط في محادثة. الصق عنوان الصورة.',
|
|
1033
|
+
'quire.share_theme': 'المظهر',
|
|
1034
|
+
'quire.share_theme_auto': 'اتّباع إعداد القارئ',
|
|
1035
|
+
'quire.share_theme_light': 'فاتح',
|
|
1036
|
+
'quire.share_theme_dark': 'داكن',
|
|
1037
|
+
'quire.share_children': 'الصفحات داخل هذه الصفحة',
|
|
1038
|
+
'quire.share_children_desc':
|
|
1039
|
+
'أوقف واحدة لتبقى هي وكل ما تحتها خارج أي موقع منشور: هذا الموقع وما يُنشأ لاحقًا.',
|
|
1040
|
+
'quire.share_children_none': 'لا شيء متفرّع عن هذه الصفحة.',
|
|
1041
|
+
'quire.share_children_off': 'هذه الصفحة وحدها منشورة، فلا شيء متفرّع عنها عام.',
|
|
1042
|
+
'quire.share_child_private': 'محفوظة خاصة',
|
|
1043
|
+
'quire.share_child_blocked': 'تحت صفحة محفوظة خاصة',
|
|
1044
|
+
'quire.share_child_draft': 'لم تُنشر قط',
|
|
1045
|
+
'quire.share_child_archived': 'مؤرشفة',
|
|
1046
|
+
'quire.share_save': 'حفظ التغييرات',
|
|
1047
|
+
'quire.share_saved': 'حُفظ',
|
|
1048
|
+
'quire.share_unpublish': 'إلغاء النشر',
|
|
1049
|
+
'quire.share_unpublish_ask': 'هل تُنزل الموقع؟ يتوقّف الرابط عن العمل للجميع. لا يُحذف شيء ممّا كتبته.',
|
|
1050
|
+
'quire.share_unpublish_done': 'أُنزل الموقع',
|
|
1051
|
+
'quire.share_done': 'تمّ',
|
|
1052
|
+
'quire.public_chip': 'عام',
|
|
1053
|
+
'quire.public_chip_root': 'كل من يملك الرابط يقرأ هذه الصفحة وكل ما تحتها',
|
|
1054
|
+
'quire.public_chip_child': 'هذه الصفحة جزء من موقع منشور يقرؤه الجميع',
|
|
867
1055
|
}
|
|
868
1056
|
|
|
869
1057
|
const de: Record<string, Message> = {
|
|
@@ -1279,6 +1467,91 @@ const de: Record<string, Message> = {
|
|
|
1279
1467
|
one: '{n} Person beobachtet die Seite',
|
|
1280
1468
|
other: '{n} Personen beobachten die Seite',
|
|
1281
1469
|
},
|
|
1470
|
+
|
|
1471
|
+
'quire.share_web': 'Im Web veröffentlichen',
|
|
1472
|
+
'quire.share_title': 'Im Web veröffentlichen',
|
|
1473
|
+
'quire.share_warn_title': 'Wer den Link hat, kann das ohne Anmeldung lesen',
|
|
1474
|
+
'quire.share_warn_body':
|
|
1475
|
+
'Veröffentlichen stellt diese Seite und jede darunter liegende Seite ins öffentliche Internet. Kein Konto, keine Einladung: Wer die Adresse hat, liest mit — und wer sie von dort bekommt, ebenso.',
|
|
1476
|
+
'quire.share_warn_version':
|
|
1477
|
+
'Lesende bekommen die zuletzt veröffentlichte Fassung, nie den Entwurf, an dem du schreibst.',
|
|
1478
|
+
'quire.share_warn_unpublished':
|
|
1479
|
+
'Eine nie veröffentlichte Seite bleibt privat, auch wenn sie unter einer veröffentlichten liegt.',
|
|
1480
|
+
'quire.share_warn_search': 'Suchmaschinen dürfen die Seite listen, solange du das unten nicht abschaltest.',
|
|
1481
|
+
'quire.share_needs_publish':
|
|
1482
|
+
'Diese Seite hat noch keine veröffentlichte Fassung, die Website hätte also nichts zu zeigen. Veröffentliche zuerst die Seite.',
|
|
1483
|
+
'quire.share_address': 'Adresse',
|
|
1484
|
+
'quire.share_address_hint': 'Kleinbuchstaben, Ziffern und Bindestriche.',
|
|
1485
|
+
'quire.share_address_invalid': '2 bis 64 Kleinbuchstaben, Ziffern oder Bindestriche.',
|
|
1486
|
+
'quire.share_address_pending':
|
|
1487
|
+
'Beim Speichern zieht die Website hierher um. Bis dahin ist der Link oben der aktive.',
|
|
1488
|
+
'quire.share_link': 'Link',
|
|
1489
|
+
'quire.share_copy': 'Link kopieren',
|
|
1490
|
+
'quire.share_copied': 'Link kopiert',
|
|
1491
|
+
'quire.share_copy_manually':
|
|
1492
|
+
'Der Browser hat das Kopieren abgelehnt. Markiere den Link und kopiere ihn selbst.',
|
|
1493
|
+
'quire.share_open': 'Veröffentlichte Website öffnen',
|
|
1494
|
+
'quire.share_include': 'Die darunter liegenden Seiten mitveröffentlichen',
|
|
1495
|
+
'quire.share_include_desc': 'Aus veröffentlicht nur diese eine Seite.',
|
|
1496
|
+
'quire.share_count': {
|
|
1497
|
+
one: '{n} Seite liegt unter dieser',
|
|
1498
|
+
other: '{n} Seiten liegen unter dieser',
|
|
1499
|
+
},
|
|
1500
|
+
'quire.share_publish': 'Im Web veröffentlichen',
|
|
1501
|
+
'quire.share_published': 'Diese Seite ist öffentlich',
|
|
1502
|
+
'quire.share_published_when': 'Veröffentlicht {when}',
|
|
1503
|
+
'quire.share_published_toast': 'Diese Seite ist öffentlich. Wer den Link hat, kann sie lesen.',
|
|
1504
|
+
'quire.share_check_running': 'Wird geprüft, was ein abgemeldeter Besuch sieht …',
|
|
1505
|
+
'quire.share_check_ok': {
|
|
1506
|
+
one: 'Ein abgemeldeter Besuch sieht {n} Seite.',
|
|
1507
|
+
other: 'Ein abgemeldeter Besuch sieht {n} Seiten.',
|
|
1508
|
+
},
|
|
1509
|
+
'quire.share_check_locked':
|
|
1510
|
+
'Ein abgemeldeter Besuch wird nach dem Passwort gefragt, bevor irgendetwas zu sehen ist.',
|
|
1511
|
+
'quire.share_check_failed': 'Ein abgemeldeter Besuch kann diese Adresse noch nicht öffnen.',
|
|
1512
|
+
'quire.share_more': 'Mehr Einstellungen',
|
|
1513
|
+
'quire.share_less': 'Weniger Einstellungen',
|
|
1514
|
+
'quire.share_password': 'Passwort',
|
|
1515
|
+
'quire.share_password_hint':
|
|
1516
|
+
'Mindestens 6 Zeichen. Lesende werden danach gefragt, bevor sie irgendetwas sehen — auch die Seitenliste.',
|
|
1517
|
+
'quire.share_password_keep': 'Leer lassen, um das bisherige Passwort zu behalten.',
|
|
1518
|
+
'quire.share_password_on': 'Ein Passwort ist gesetzt',
|
|
1519
|
+
'quire.share_password_remove': 'Passwort entfernen',
|
|
1520
|
+
'quire.share_expires': 'Läuft ab am',
|
|
1521
|
+
'quire.share_expires_hint':
|
|
1522
|
+
'Nach diesem Datum öffnet der Link nicht mehr. Leer lassen, und er läuft nie ab.',
|
|
1523
|
+
'quire.share_indexable': 'Von Suchmaschinen listen lassen',
|
|
1524
|
+
'quire.share_indexable_desc':
|
|
1525
|
+
'Aus bittet Crawler, sie auszulassen. Öffentlich und auffindbar sind zwei verschiedene Wünsche.',
|
|
1526
|
+
'quire.share_seo_title': 'Titel in Suchergebnissen',
|
|
1527
|
+
'quire.share_seo_title_hint': 'Leer nimmt den Titel der Seite selbst.',
|
|
1528
|
+
'quire.share_seo_description': 'Beschreibung in Suchergebnissen',
|
|
1529
|
+
'quire.share_og_image': 'Vorschaubild des Links',
|
|
1530
|
+
'quire.share_og_image_hint':
|
|
1531
|
+
'Wird gezeigt, wenn jemand den Link in einen Chat einfügt. Adresse des Bildes einfügen.',
|
|
1532
|
+
'quire.share_theme': 'Erscheinungsbild',
|
|
1533
|
+
'quire.share_theme_auto': 'Der Einstellung der Lesenden folgen',
|
|
1534
|
+
'quire.share_theme_light': 'Hell',
|
|
1535
|
+
'quire.share_theme_dark': 'Dunkel',
|
|
1536
|
+
'quire.share_children': 'Seiten unter dieser',
|
|
1537
|
+
'quire.share_children_desc':
|
|
1538
|
+
'Schalte eine ab, damit sie — und alles darunter — aus jeder veröffentlichten Website herausbleibt: aus dieser und aus später angelegten.',
|
|
1539
|
+
'quire.share_children_none': 'Unter dieser Seite liegt nichts.',
|
|
1540
|
+
'quire.share_children_off': 'Nur diese Seite ist veröffentlicht, alles darunter bleibt privat.',
|
|
1541
|
+
'quire.share_child_private': 'Bleibt privat',
|
|
1542
|
+
'quire.share_child_blocked': 'Unter einer Seite, die privat bleibt',
|
|
1543
|
+
'quire.share_child_draft': 'Nie veröffentlicht',
|
|
1544
|
+
'quire.share_child_archived': 'Archiviert',
|
|
1545
|
+
'quire.share_save': 'Änderungen speichern',
|
|
1546
|
+
'quire.share_saved': 'Gespeichert',
|
|
1547
|
+
'quire.share_unpublish': 'Veröffentlichung beenden',
|
|
1548
|
+
'quire.share_unpublish_ask':
|
|
1549
|
+
'Die Website abschalten? Der Link funktioniert dann für niemanden mehr. Nichts von dem, was du geschrieben hast, wird gelöscht.',
|
|
1550
|
+
'quire.share_unpublish_done': 'Die Website ist abgeschaltet',
|
|
1551
|
+
'quire.share_done': 'Fertig',
|
|
1552
|
+
'quire.public_chip': 'Öffentlich',
|
|
1553
|
+
'quire.public_chip_root': 'Wer den Link hat, kann diese Seite und alles darunter lesen',
|
|
1554
|
+
'quire.public_chip_child': 'Diese Seite gehört zu einer veröffentlichten Website, die jeder lesen kann',
|
|
1282
1555
|
}
|
|
1283
1556
|
|
|
1284
1557
|
const fa: Record<string, Message> = {
|
|
@@ -1682,6 +1955,85 @@ const fa: Record<string, Message> = {
|
|
|
1682
1955
|
one: '{n} نفر دنبال میکند',
|
|
1683
1956
|
other: '{n} نفر دنبال میکنند',
|
|
1684
1957
|
},
|
|
1958
|
+
|
|
1959
|
+
'quire.share_web': 'انتشار روی وب',
|
|
1960
|
+
'quire.share_title': 'انتشار روی وب',
|
|
1961
|
+
'quire.share_warn_title': 'هر کس پیوند را داشته باشد، بدون ورود این را میخواند',
|
|
1962
|
+
'quire.share_warn_body':
|
|
1963
|
+
'انتشار، این صفحه و هر صفحهٔ زیر آن را روی اینترنت عمومی میگذارد. نه حسابی ساخته میشود و نه دعوتی پذیرفته: هر کس نشانی را داشته باشد میخواند و هر کس نشانی را از او بگیرد هم میخواند.',
|
|
1964
|
+
'quire.share_warn_version':
|
|
1965
|
+
'خواننده آخرین نسخهای را میبیند که منتشر کردهاید، نه پیشنویسی که در حال نوشتنش هستید.',
|
|
1966
|
+
'quire.share_warn_unpublished': 'صفحهای که هرگز منتشر نشده خصوصی میماند، حتی اگر زیر صفحهای منتشرشده باشد.',
|
|
1967
|
+
'quire.share_warn_search': 'موتورهای جستوجو اجازه دارند آن را فهرست کنند، مگر پایینتر این را خاموش کنید.',
|
|
1968
|
+
'quire.share_needs_publish':
|
|
1969
|
+
'این صفحه هنوز نسخهٔ منتشرشدهای ندارد، پس سایت چیزی برای نشاندادن نخواهد داشت. نخست صفحه را منتشر کنید.',
|
|
1970
|
+
'quire.share_address': 'نشانی',
|
|
1971
|
+
'quire.share_address_hint': 'حروف کوچک لاتین، رقم و خط تیره.',
|
|
1972
|
+
'quire.share_address_invalid': 'بین ۲ تا ۶۴ حرف کوچک لاتین، رقم یا خط تیره.',
|
|
1973
|
+
'quire.share_address_pending': 'با ذخیره، سایت به اینجا میرود. تا آن وقت پیوند بالا همان پیوند زنده است.',
|
|
1974
|
+
'quire.share_link': 'پیوند',
|
|
1975
|
+
'quire.share_copy': 'رونوشت پیوند',
|
|
1976
|
+
'quire.share_copied': 'پیوند رونوشت شد',
|
|
1977
|
+
'quire.share_copy_manually': 'مرورگر رونوشت را انجام نداد. پیوند را انتخاب و خودتان رونوشت کنید.',
|
|
1978
|
+
'quire.share_open': 'گشودن سایت منتشرشده',
|
|
1979
|
+
'quire.share_include': 'صفحههای زیر این صفحه هم منتشر شوند',
|
|
1980
|
+
'quire.share_include_desc': 'خاموش، تنها همین یک صفحه را منتشر میکند.',
|
|
1981
|
+
'quire.share_count': {
|
|
1982
|
+
one: '{n} صفحه زیر این صفحه است',
|
|
1983
|
+
other: '{n} صفحه زیر این صفحه است',
|
|
1984
|
+
},
|
|
1985
|
+
'quire.share_publish': 'انتشار روی وب',
|
|
1986
|
+
'quire.share_published': 'این صفحه عمومی است',
|
|
1987
|
+
'quire.share_published_when': '{when} منتشر شد',
|
|
1988
|
+
'quire.share_published_toast': 'این صفحه عمومی شد. هر کس پیوند را داشته باشد میخواند.',
|
|
1989
|
+
'quire.share_check_running': 'بررسی آنچه بازدیدکنندهٔ واردنشده میبیند…',
|
|
1990
|
+
'quire.share_check_ok': {
|
|
1991
|
+
one: 'بازدیدکنندهٔ واردنشده {n} صفحه میبیند.',
|
|
1992
|
+
other: 'بازدیدکنندهٔ واردنشده {n} صفحه میبیند.',
|
|
1993
|
+
},
|
|
1994
|
+
'quire.share_check_locked': 'پیش از آنکه چیزی نشان داده شود، از بازدیدکنندهٔ واردنشده گذرواژه خواسته میشود.',
|
|
1995
|
+
'quire.share_check_failed': 'بازدیدکنندهٔ واردنشده هنوز نمیتواند این نشانی را باز کند.',
|
|
1996
|
+
'quire.share_more': 'گزینههای بیشتر',
|
|
1997
|
+
'quire.share_less': 'گزینههای کمتر',
|
|
1998
|
+
'quire.share_password': 'گذرواژه',
|
|
1999
|
+
'quire.share_password_hint':
|
|
2000
|
+
'دستکم ۶ نویسه. پیش از آنکه خواننده چیزی ببیند — حتی فهرست صفحهها — از او خواسته میشود.',
|
|
2001
|
+
'quire.share_password_keep': 'برای نگهداشتن گذرواژهٔ کنونی، خالی بگذارید.',
|
|
2002
|
+
'quire.share_password_on': 'گذرواژه تنظیم شده است',
|
|
2003
|
+
'quire.share_password_remove': 'برداشتن گذرواژه',
|
|
2004
|
+
'quire.share_expires': 'پایان کار در',
|
|
2005
|
+
'quire.share_expires_hint': 'پس از این تاریخ پیوند باز نمیشود. خالی بگذارید تا هرگز منقضی نشود.',
|
|
2006
|
+
'quire.share_indexable': 'موتورهای جستوجو آن را فهرست کنند',
|
|
2007
|
+
'quire.share_indexable_desc':
|
|
2008
|
+
'خاموش، از خزندهها میخواهد کنارش بگذارند. «عمومی» و «یافتنی» دو خواستهٔ جدا هستند.',
|
|
2009
|
+
'quire.share_seo_title': 'عنوان در نتایج جستوجو',
|
|
2010
|
+
'quire.share_seo_title_hint': 'خالی، عنوان خودِ صفحه را میگیرد.',
|
|
2011
|
+
'quire.share_seo_description': 'توضیح در نتایج جستوجو',
|
|
2012
|
+
'quire.share_og_image': 'تصویر پیشنمایش پیوند',
|
|
2013
|
+
'quire.share_og_image_hint': 'وقتی کسی پیوند را در گفتوگویی میچسباند دیده میشود. نشانی تصویر را بچسبانید.',
|
|
2014
|
+
'quire.share_theme': 'پوسته',
|
|
2015
|
+
'quire.share_theme_auto': 'پیروی از تنظیم خودِ خواننده',
|
|
2016
|
+
'quire.share_theme_light': 'روشن',
|
|
2017
|
+
'quire.share_theme_dark': 'تیره',
|
|
2018
|
+
'quire.share_children': 'صفحههای درون این صفحه',
|
|
2019
|
+
'quire.share_children_desc':
|
|
2020
|
+
'یکی را خاموش کنید تا خودش و هر چه زیر اوست از هر سایت منتشرشده بیرون بماند: همین یکی و هر چه بعدها ساخته شود.',
|
|
2021
|
+
'quire.share_children_none': 'چیزی زیر این صفحه نیست.',
|
|
2022
|
+
'quire.share_children_off': 'تنها همین صفحه منتشر شده است، پس چیزی زیر آن عمومی نیست.',
|
|
2023
|
+
'quire.share_child_private': 'خصوصی میماند',
|
|
2024
|
+
'quire.share_child_blocked': 'زیر صفحهای که خصوصی مانده است',
|
|
2025
|
+
'quire.share_child_draft': 'هرگز منتشر نشده',
|
|
2026
|
+
'quire.share_child_archived': 'بایگانیشده',
|
|
2027
|
+
'quire.share_save': 'ذخیرهٔ تغییرها',
|
|
2028
|
+
'quire.share_saved': 'ذخیره شد',
|
|
2029
|
+
'quire.share_unpublish': 'پایان انتشار',
|
|
2030
|
+
'quire.share_unpublish_ask':
|
|
2031
|
+
'سایت پایین آورده شود؟ پیوند برای همه از کار میافتد. چیزی از آنچه نوشتهاید حذف نمیشود.',
|
|
2032
|
+
'quire.share_unpublish_done': 'سایت پایین آورده شد',
|
|
2033
|
+
'quire.share_done': 'تمام',
|
|
2034
|
+
'quire.public_chip': 'عمومی',
|
|
2035
|
+
'quire.public_chip_root': 'هر کس پیوند را داشته باشد این صفحه و هر چه زیر آن است را میخواند',
|
|
2036
|
+
'quire.public_chip_child': 'این صفحه بخشی از سایتی منتشرشده است که همه میخوانند',
|
|
1685
2037
|
}
|
|
1686
2038
|
|
|
1687
2039
|
const tr: Record<string, Message> = {
|
|
@@ -2088,6 +2440,88 @@ const tr: Record<string, Message> = {
|
|
|
2088
2440
|
one: '{n} kişi izliyor',
|
|
2089
2441
|
other: '{n} kişi izliyor',
|
|
2090
2442
|
},
|
|
2443
|
+
|
|
2444
|
+
'quire.share_web': 'Web’de yayımla',
|
|
2445
|
+
'quire.share_title': 'Web’de yayımla',
|
|
2446
|
+
'quire.share_warn_title': 'Bağlantıya sahip olan herkes, oturum açmadan okuyabilir',
|
|
2447
|
+
'quire.share_warn_body':
|
|
2448
|
+
'Yayımlamak bu sayfayı ve altındaki her sayfayı açık internete koyar. Hesap açmak da davet kabul etmek de gerekmez: adresi olan okur, adresi ondan alan da okur.',
|
|
2449
|
+
'quire.share_warn_version':
|
|
2450
|
+
'Okuyanlara yayımladığınız son sürüm gösterilir, yazmakta olduğunuz taslak değil.',
|
|
2451
|
+
'quire.share_warn_unpublished':
|
|
2452
|
+
'Hiç yayımlanmamış bir sayfa, yayımlanmış bir sayfanın altında olsa bile özel kalır.',
|
|
2453
|
+
'quire.share_warn_search': 'Aşağıdan kapatmazsanız arama motorları listeleyebilir.',
|
|
2454
|
+
'quire.share_needs_publish':
|
|
2455
|
+
'Bu sayfanın henüz yayımlanmış bir sürümü yok, dolayısıyla sitenin gösterecek bir şeyi olmaz. Önce sayfayı yayımlayın.',
|
|
2456
|
+
'quire.share_address': 'Adres',
|
|
2457
|
+
'quire.share_address_hint': 'Küçük harf, rakam ve tire.',
|
|
2458
|
+
'quire.share_address_invalid': '2 ile 64 arasında küçük harf, rakam veya tire.',
|
|
2459
|
+
'quire.share_address_pending':
|
|
2460
|
+
'Kaydettiğinizde site buraya taşınır. O ana kadar canlı bağlantı yukarıdakidir.',
|
|
2461
|
+
'quire.share_link': 'Bağlantı',
|
|
2462
|
+
'quire.share_copy': 'Bağlantıyı kopyala',
|
|
2463
|
+
'quire.share_copied': 'Bağlantı kopyalandı',
|
|
2464
|
+
'quire.share_copy_manually': 'Tarayıcı kopyalamadı. Bağlantıyı seçip elle kopyalayın.',
|
|
2465
|
+
'quire.share_open': 'Yayımlanan siteyi aç',
|
|
2466
|
+
'quire.share_include': 'Bu sayfanın altındaki sayfaları da yayımla',
|
|
2467
|
+
'quire.share_include_desc': 'Kapalıyken yalnızca bu sayfa yayımlanır.',
|
|
2468
|
+
'quire.share_count': {
|
|
2469
|
+
one: 'Bu sayfanın altında {n} sayfa var',
|
|
2470
|
+
other: 'Bu sayfanın altında {n} sayfa var',
|
|
2471
|
+
},
|
|
2472
|
+
'quire.share_publish': 'Web’de yayımla',
|
|
2473
|
+
'quire.share_published': 'Bu sayfa herkese açık',
|
|
2474
|
+
'quire.share_published_when': '{when} yayımlandı',
|
|
2475
|
+
'quire.share_published_toast': 'Bu sayfa herkese açık. Bağlantısı olan herkes okuyabilir.',
|
|
2476
|
+
'quire.share_check_running': 'Oturum açmamış bir ziyaretçinin ne gördüğü denetleniyor…',
|
|
2477
|
+
'quire.share_check_ok': {
|
|
2478
|
+
one: 'Oturum açmamış bir ziyaretçi {n} sayfa görüyor.',
|
|
2479
|
+
other: 'Oturum açmamış bir ziyaretçi {n} sayfa görüyor.',
|
|
2480
|
+
},
|
|
2481
|
+
'quire.share_check_locked': 'Oturum açmamış bir ziyaretçiye hiçbir şey gösterilmeden önce parola sorulur.',
|
|
2482
|
+
'quire.share_check_failed': 'Oturum açmamış bir ziyaretçi bu adresi henüz açamıyor.',
|
|
2483
|
+
'quire.share_more': 'Daha fazla seçenek',
|
|
2484
|
+
'quire.share_less': 'Daha az seçenek',
|
|
2485
|
+
'quire.share_password': 'Parola',
|
|
2486
|
+
'quire.share_password_hint':
|
|
2487
|
+
'En az 6 karakter. Okuyana, sayfa listesi dâhil hiçbir şey gösterilmeden önce sorulur.',
|
|
2488
|
+
'quire.share_password_keep': 'Mevcut parolayı korumak için boş bırakın.',
|
|
2489
|
+
'quire.share_password_on': 'Bir parola tanımlı',
|
|
2490
|
+
'quire.share_password_remove': 'Parolayı kaldır',
|
|
2491
|
+
'quire.share_expires': 'Şu tarihte kapansın',
|
|
2492
|
+
'quire.share_expires_hint': 'Bu tarihten sonra bağlantı açılmaz. Boş bırakırsanız hiç sona ermez.',
|
|
2493
|
+
'quire.share_indexable': 'Arama motorları listeleyebilsin',
|
|
2494
|
+
'quire.share_indexable_desc':
|
|
2495
|
+
'Kapalıyken tarayıcı botlarından atlamaları istenir. Herkese açık olmak ile bulunabilir olmak aynı istek değildir.',
|
|
2496
|
+
'quire.share_seo_title': 'Arama sonuçlarındaki başlık',
|
|
2497
|
+
'quire.share_seo_title_hint': 'Boş bırakılırsa sayfanın kendi başlığı kullanılır.',
|
|
2498
|
+
'quire.share_seo_description': 'Arama sonuçlarındaki açıklama',
|
|
2499
|
+
'quire.share_og_image': 'Bağlantı önizleme görseli',
|
|
2500
|
+
'quire.share_og_image_hint':
|
|
2501
|
+
'Bağlantı bir sohbete yapıştırıldığında görünür. Görselin adresini yapıştırın.',
|
|
2502
|
+
'quire.share_theme': 'Görünüm',
|
|
2503
|
+
'quire.share_theme_auto': 'Okuyanın kendi ayarına uy',
|
|
2504
|
+
'quire.share_theme_light': 'Açık',
|
|
2505
|
+
'quire.share_theme_dark': 'Koyu',
|
|
2506
|
+
'quire.share_children': 'Bu sayfanın içindeki sayfalar',
|
|
2507
|
+
'quire.share_children_desc':
|
|
2508
|
+
'Birini kapatınca o sayfa ve altındaki her şey, bu site de sonra kurulacaklar da dâhil hiçbir yayımlanmış siteye girmez.',
|
|
2509
|
+
'quire.share_children_none': 'Bu sayfanın altında bir şey yok.',
|
|
2510
|
+
'quire.share_children_off': 'Yalnızca bu sayfa yayımlandı, altındaki hiçbir şey herkese açık değil.',
|
|
2511
|
+
'quire.share_child_private': 'Özel kalıyor',
|
|
2512
|
+
'quire.share_child_blocked': 'Özel kalan bir sayfanın altında',
|
|
2513
|
+
'quire.share_child_draft': 'Hiç yayımlanmadı',
|
|
2514
|
+
'quire.share_child_archived': 'Arşivlendi',
|
|
2515
|
+
'quire.share_save': 'Değişiklikleri kaydet',
|
|
2516
|
+
'quire.share_saved': 'Kaydedildi',
|
|
2517
|
+
'quire.share_unpublish': 'Yayımdan kaldır',
|
|
2518
|
+
'quire.share_unpublish_ask':
|
|
2519
|
+
'Site kapatılsın mı? Bağlantı herkes için çalışmaz olur. Yazdıklarınızdan hiçbiri silinmez.',
|
|
2520
|
+
'quire.share_unpublish_done': 'Site kapatıldı',
|
|
2521
|
+
'quire.share_done': 'Tamam',
|
|
2522
|
+
'quire.public_chip': 'Herkese açık',
|
|
2523
|
+
'quire.public_chip_root': 'Bağlantısı olan herkes bu sayfayı ve altındaki her şeyi okuyabilir',
|
|
2524
|
+
'quire.public_chip_child': 'Bu sayfa, herkesin okuyabildiği yayımlanmış bir sitenin parçası',
|
|
2091
2525
|
}
|
|
2092
2526
|
|
|
2093
2527
|
/** In the shape `defineClientModule().messages` expects. */
|
package/src/client/index.ts
CHANGED
|
@@ -36,6 +36,14 @@ export {
|
|
|
36
36
|
type PageKind,
|
|
37
37
|
type PageNode,
|
|
38
38
|
type PageVersion,
|
|
39
|
+
type Publication,
|
|
40
|
+
type PublicationTheme,
|
|
41
|
+
type PublicBreadcrumb,
|
|
42
|
+
type PublicNavEntry,
|
|
43
|
+
type PublicPage,
|
|
44
|
+
type PublicSearchHit,
|
|
45
|
+
type PublicSite,
|
|
46
|
+
type PublicSiteDetail,
|
|
39
47
|
quirePermissions,
|
|
40
48
|
type RecentEntry,
|
|
41
49
|
type RecentView,
|
|
@@ -120,3 +128,16 @@ export { __setQuireApi, getQuireApi } from './api-instance.js'
|
|
|
120
128
|
export { type QuireMessageKey, quireMessageBundles, t } from './i18n.js'
|
|
121
129
|
export { quireClientModule, quireClientModule as default } from './module.js'
|
|
122
130
|
export { canQuire, QUIRE_PERMISSIONS, type QuirePermission } from './permissions.js'
|
|
131
|
+
/**
|
|
132
|
+
* Where a published site lives.
|
|
133
|
+
*
|
|
134
|
+
* Exported for the same reason `pageDocumentName` above is: the module owns the naming of its own
|
|
135
|
+
* objects, and this is the only definition of a publication's address. Whatever ends up rendering a
|
|
136
|
+
* published page reads it from here rather than writing the prefix out again.
|
|
137
|
+
*/
|
|
138
|
+
export {
|
|
139
|
+
PUBLIC_SITE_PREFIX,
|
|
140
|
+
type PublicSiteAddress,
|
|
141
|
+
publicSiteBasePath,
|
|
142
|
+
publicSiteUrl,
|
|
143
|
+
} from './public-url.js'
|