@open-pencil/cloud 0.17.0-beta.2 → 0.17.0-beta.5
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/README.md +3 -2
- package/dist/bin/server.mjs +1 -1
- package/dist/bin/server.mjs.map +1 -1
- package/dist/bin/{ai-relay.mjs → services.mjs} +9 -9
- package/dist/bin/services.mjs.map +1 -0
- package/dist/client.d.ts +525 -66
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1257 -654
- package/dist/client.js.map +1 -1
- package/dist/contract.d.ts +2 -2
- package/dist/contract.js +2 -2
- package/dist/contract2.js +1028 -481
- package/dist/contract2.js.map +1 -1
- package/dist/email.d.ts +1780 -31
- package/dist/email.d.ts.map +1 -1
- package/dist/email.js +3556 -325
- package/dist/email.js.map +1 -1
- package/dist/errors.d.ts +2 -0
- package/dist/errors.js +48 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +929 -72
- package/dist/index.d.ts.map +1 -1
- package/dist/index2.d.ts +35 -0
- package/dist/index2.d.ts.map +1 -0
- package/dist/listen.mjs +802 -927
- package/dist/listen.mjs.map +1 -1
- package/dist/runtime-cloudflare.d.ts +89 -0
- package/dist/runtime-cloudflare.d.ts.map +1 -0
- package/dist/runtime-cloudflare.js +15667 -0
- package/dist/runtime-cloudflare.js.map +1 -0
- package/dist/runtime-node.d.mts +7166 -3101
- package/dist/runtime-node.d.mts.map +1 -1
- package/dist/runtime-node.mjs +6 -5
- package/dist/runtime-node.mjs.map +1 -1
- package/dist/server.d.ts +6525 -2205
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +12500 -7613
- package/dist/server.js.map +1 -1
- package/dist/server.mjs +8625 -2878
- package/dist/server.mjs.map +1 -1
- package/dist/server2.mjs +101 -79
- package/dist/server2.mjs.map +1 -1
- package/package.json +27 -9
- package/src/admin/api/routes.ts +59 -0
- package/src/admin/audit/service.ts +27 -8
- package/src/admin/documents/service.ts +431 -0
- package/src/admin/errors.ts +9 -1
- package/src/admin/index.ts +6 -0
- package/src/admin/operations/service.ts +7 -0
- package/src/admin/reports/service.ts +153 -0
- package/src/admin/schema.ts +6 -0
- package/src/client/api.ts +28 -461
- package/src/client/auth/client.ts +22 -3
- package/src/client/auth/navigation.ts +6 -5
- package/src/client/billing.ts +80 -0
- package/src/client/community.ts +40 -0
- package/src/client/discovery.ts +35 -9
- package/src/client/documents.ts +160 -0
- package/src/client/index.ts +14 -7
- package/src/client/portal/account.ts +79 -2
- package/src/client/portal/administration.ts +56 -0
- package/src/client/portal/request.ts +2 -0
- package/src/client/response.ts +21 -0
- package/src/client/schema.ts +8 -0
- package/src/client/services.ts +118 -0
- package/src/client/sharing.ts +262 -0
- package/src/client/versions.ts +104 -0
- package/src/contract/account.ts +108 -2
- package/src/contract/admin/index.ts +67 -3
- package/src/contract/billing.ts +166 -0
- package/src/contract/collaboration.ts +11 -1
- package/src/contract/community.ts +60 -0
- package/src/contract/discovery.ts +83 -4
- package/src/contract/documents.ts +27 -0
- package/src/contract/entitlements.ts +12 -2
- package/src/contract/index.ts +114 -39
- package/src/contract/links.ts +57 -4
- package/src/contract/locale.ts +27 -0
- package/src/contract/portal.ts +12 -1
- package/src/contract/relay.ts +6 -0
- package/src/contract/reports.ts +42 -0
- package/src/contract/routes.ts +10 -0
- package/src/contract/services.ts +235 -0
- package/src/contract/sharing.ts +3 -9
- package/src/email/i18n.ts +174 -0
- package/src/email/index.ts +13 -2
- package/src/email/locales/ar.json +141 -0
- package/src/email/locales/de.json +141 -0
- package/src/email/locales/es.json +141 -0
- package/src/email/locales/fr.json +141 -0
- package/src/email/locales/it.json +141 -0
- package/src/email/locales/ja.json +141 -0
- package/src/email/locales/pl.json +141 -0
- package/src/email/locales/pt-br.json +141 -0
- package/src/email/locales/ru.json +141 -0
- package/src/email/locales/zh-cn.json +141 -0
- package/src/email/messages.ts +200 -0
- package/src/email/render.ts +138 -246
- package/src/email/samples.ts +115 -0
- package/src/email/schema.ts +79 -5
- package/src/email/templates/BrandEmail.vue +54 -0
- package/src/email/templates/DocumentBlocked.vue +45 -0
- package/src/email/templates/DocumentInvitation.vue +24 -0
- package/src/email/templates/DocumentReport.vue +32 -0
- package/src/email/templates/DocumentReportDecided.vue +36 -0
- package/src/email/templates/DocumentReportReceived.vue +18 -0
- package/src/email/templates/DocumentRestored.vue +24 -0
- package/src/email/templates/EmailChangeRequested.vue +24 -0
- package/src/email/templates/EmailRoot.vue +19 -0
- package/src/email/templates/EmailText.vue +9 -0
- package/src/email/templates/EmailVerification.vue +38 -0
- package/src/email/templates/EnrollmentNotification.vue +24 -0
- package/src/email/templates/EnrollmentUpdate.vue +52 -0
- package/src/email/templates/NewSignIn.vue +37 -0
- package/src/email/templates/PasswordChanged.vue +22 -0
- package/src/email/templates/PasswordReset.vue +23 -0
- package/src/email/templates/StorageLimitReached.vue +28 -0
- package/src/email/templates/TwoStepChanged.vue +32 -0
- package/src/email/templates/WaitlistConfirmation.vue +29 -0
- package/src/email/templates/WorkspaceInvitation.vue +28 -0
- package/src/email/templates/brand.ts +9 -61
- package/src/email/templates/localization.ts +17 -0
- package/src/errors/index.ts +6 -0
- package/src/errors/posthog.ts +80 -0
- package/src/global.d.ts +7 -0
- package/src/runtime/cloudflare/environment.ts +22 -11
- package/src/runtime/cloudflare/index.ts +1 -1
- package/src/runtime/cloudflare/logging.ts +15 -0
- package/src/runtime/cloudflare/maintenance.ts +31 -0
- package/src/runtime/cloudflare/relay/index.ts +69 -15
- package/src/runtime/cloudflare/tsconfig.json +2 -1
- package/src/runtime/cloudflare/worker.ts +46 -13
- package/src/runtime/node/application.ts +5 -3
- package/src/runtime/node/bootstrap.ts +15 -4
- package/src/runtime/node/cleanup.ts +20 -3
- package/src/runtime/node/email/transport.ts +13 -10
- package/src/runtime/node/entitlements/main.ts +14 -11
- package/src/runtime/node/index.ts +1 -1
- package/src/runtime/node/main.ts +1 -1
- package/src/runtime/node/migrate.ts +5 -1
- package/src/runtime/node/relay.ts +8 -2
- package/src/runtime/node/request-id.ts +13 -0
- package/src/runtime/node/server.ts +50 -16
- package/src/runtime/node/{ai-relay → services}/main.ts +7 -7
- package/src/runtime/node/{ai-relay → services}/server.ts +18 -18
- package/src/runtime/postgres/database.ts +20 -1
- package/src/runtime/posthog/errors.ts +15 -30
- package/src/runtime/s3/objects.ts +41 -1
- package/src/runtime/site/community.ts +101 -0
- package/src/runtime/site/server.ts +49 -6
- package/src/server/account/actions.ts +5 -0
- package/src/server/account/deletion.ts +304 -0
- package/src/server/account/routes.ts +281 -206
- package/src/server/account/terms.ts +42 -0
- package/src/server/account/tokens.ts +57 -0
- package/src/server/api/router.ts +32 -5
- package/src/server/api/types.ts +2 -0
- package/src/server/app/checks.ts +84 -0
- package/src/server/app/editors.ts +20 -0
- package/src/server/app/index.ts +128 -0
- package/src/server/app/indexing.ts +40 -0
- package/src/server/app/limiters.ts +53 -0
- package/src/server/app/routes.ts +114 -0
- package/src/server/app/services.ts +185 -0
- package/src/server/auth/access-control.ts +63 -0
- package/src/server/auth/access-tokens.ts +62 -0
- package/src/server/auth/adapter.ts +32 -1
- package/src/server/auth/email.ts +4 -1
- package/src/server/auth/endpoints.ts +5 -1
- package/src/server/auth/enrollment.ts +116 -0
- package/src/server/auth/factory.ts +116 -132
- package/src/server/auth/index.ts +10 -1
- package/src/server/auth/logger.ts +23 -0
- package/src/server/auth/mfa-assurance.ts +51 -0
- package/src/server/auth/passwords.ts +43 -0
- package/src/server/auth/session.ts +2 -0
- package/src/server/billing/index.ts +6 -0
- package/src/server/billing/routes.ts +27 -0
- package/src/server/billing/tokens.ts +37 -0
- package/src/server/cleanup/configured.ts +27 -7
- package/src/server/cleanup/documents.ts +165 -71
- package/src/server/cleanup/revisions.ts +16 -5
- package/src/server/cleanup/uploads.ts +8 -2
- package/src/server/cleanup/worker.ts +15 -3
- package/src/server/collaboration/relay/connection.ts +4 -3
- package/src/server/collaboration/relay/documents.ts +13 -10
- package/src/server/collaboration/relay/hub.ts +77 -122
- package/src/server/collaboration/relay/log.ts +5 -2
- package/src/server/collaboration/relay/room.ts +154 -0
- package/src/server/collaboration/service.ts +48 -33
- package/src/server/community/index.ts +2 -0
- package/src/server/community/routes.ts +93 -0
- package/src/server/community/service.ts +134 -0
- package/src/server/config/deployment.ts +41 -9
- package/src/server/config/index.ts +1 -1
- package/src/server/config/public.ts +11 -4
- package/src/server/config/schema.ts +91 -277
- package/src/server/config/toml/schema.ts +307 -0
- package/src/server/db/expressions.ts +15 -1
- package/src/server/db/index.ts +1 -0
- package/src/server/db/migrate.ts +46 -116
- package/src/server/db/migrations/001_accounts.ts +79 -0
- package/src/server/db/migrations/002_workspaces.ts +48 -0
- package/src/server/db/migrations/003_storage.ts +44 -0
- package/src/server/db/migrations/004_documents.ts +193 -0
- package/src/server/db/migrations/005_sharing.ts +95 -0
- package/src/server/db/migrations/006_operations.ts +110 -0
- package/src/server/db/migrations/007_trash.ts +33 -0
- package/src/server/db/migrations/008_terms.ts +18 -0
- package/src/server/db/migrations/009_access_tokens.ts +47 -0
- package/src/server/db/migrations/010_storage_limit_notices.ts +50 -0
- package/src/server/db/migrations/011_account_ids.ts +30 -0
- package/src/server/db/migrations/012_email_locales.ts +34 -0
- package/src/server/db/migrations/013_document_block_emails.ts +40 -0
- package/src/server/db/migrations/014_report_replies.ts +28 -0
- package/src/server/db/migrations/schema.ts +96 -0
- package/src/server/db/tables.ts +82 -4
- package/src/server/db/users.ts +22 -0
- package/src/server/documents/access.ts +66 -55
- package/src/server/documents/errors.ts +7 -0
- package/src/server/documents/images.ts +2 -1
- package/src/server/documents/index.ts +1 -1
- package/src/server/documents/limits.ts +14 -8
- package/src/server/documents/purge.ts +75 -0
- package/src/server/documents/repository.ts +2 -0
- package/src/server/documents/routes.ts +26 -0
- package/src/server/documents/service.ts +30 -406
- package/src/server/documents/summary.ts +1 -0
- package/src/server/documents/trash.ts +203 -0
- package/src/server/documents/uploads.ts +450 -0
- package/src/server/documents/versions/checkpoint.ts +2 -1
- package/src/server/documents/versions/history.ts +11 -7
- package/src/server/documents/versions/service.ts +94 -28
- package/src/server/email/invitations.ts +1 -0
- package/src/server/email/service.ts +31 -4
- package/src/server/email/types.ts +12 -0
- package/src/server/errors/index.ts +51 -16
- package/src/server/index.ts +52 -16
- package/src/server/internal/index.ts +3 -3
- package/src/server/internal/routes.ts +7 -10
- package/src/server/internal/schema.ts +1 -1
- package/src/server/internal/service.ts +17 -23
- package/src/server/invitations/budget.ts +66 -0
- package/src/server/invitations/index.ts +1 -0
- package/src/server/invitations/types.ts +5 -1
- package/src/server/logging.ts +76 -0
- package/src/server/objects/types.ts +5 -0
- package/src/server/pictures/service.ts +2 -1
- package/src/server/policy/configured.ts +9 -3
- package/src/server/policy/database.ts +52 -27
- package/src/server/policy/index.ts +2 -1
- package/src/server/policy/keys.ts +5 -2
- package/src/server/policy/policy.ts +40 -12
- package/src/server/policy/schema.ts +2 -2
- package/src/server/policy/service.ts +78 -56
- package/src/server/policy/static.ts +5 -5
- package/src/server/policy/storage.ts +33 -0
- package/src/server/policy/workspace.ts +41 -0
- package/src/server/quota/index.ts +6 -0
- package/src/server/quota/notices.ts +121 -0
- package/src/server/quota/reconcile.ts +2 -0
- package/src/server/quota/storage.ts +74 -31
- package/src/server/rate-limit/cleanup.ts +17 -5
- package/src/server/rate-limit/middleware.ts +6 -2
- package/src/server/reports/index.ts +9 -0
- package/src/server/reports/replies.ts +55 -0
- package/src/server/reports/routes.ts +39 -0
- package/src/server/reports/service.ts +145 -0
- package/src/server/services/errors.ts +7 -0
- package/src/server/services/index.ts +8 -0
- package/src/server/{ai → services}/keys.ts +11 -11
- package/src/server/services/routes.ts +47 -0
- package/src/server/{ai/service.ts → services/tokens.ts} +23 -20
- package/src/server/sharing/capabilities/service.ts +68 -23
- package/src/server/sharing/grants/service.ts +11 -18
- package/src/server/sharing/http.ts +4 -0
- package/src/server/sharing/invitations/service.ts +35 -15
- package/src/server/sharing/policy.ts +9 -14
- package/src/server/sharing/routes.ts +0 -16
- package/src/server/sharing/service.ts +1 -17
- package/src/server/validation.ts +4 -0
- package/src/server/workspaces/index.ts +1 -0
- package/src/server/workspaces/members.ts +91 -52
- package/src/server/workspaces/repository.ts +2 -1
- package/src/server/workspaces/routes.ts +4 -0
- package/src/{ai-relay → services}/app.ts +46 -44
- package/src/{ai-relay → services}/config.ts +26 -19
- package/src/services/db/index.ts +10 -0
- package/src/services/db/migrate.ts +37 -0
- package/src/{ai-relay/db/migrations/001_usage.ts → services/db/migrations/001_baseline.ts} +18 -7
- package/src/services/db/schema.ts +22 -0
- package/src/services/index.ts +18 -0
- package/src/{ai-relay → services}/metering.ts +2 -2
- package/src/{ai-relay → services}/usage.ts +35 -19
- package/dist/bin/ai-relay.mjs.map +0 -1
- package/src/ai-relay/db/index.ts +0 -10
- package/src/ai-relay/db/migrate.ts +0 -32
- package/src/ai-relay/db/schema.ts +0 -20
- package/src/ai-relay/index.ts +0 -18
- package/src/client/ai.ts +0 -96
- package/src/contract/ai.ts +0 -150
- package/src/email/templates/document-invitation.ts +0 -35
- package/src/email/templates/enrollment.ts +0 -27
- package/src/email/templates/layout.ts +0 -18
- package/src/server/ai/errors.ts +0 -7
- package/src/server/ai/index.ts +0 -4
- package/src/server/ai/routes.ts +0 -43
- package/src/server/app.ts +0 -379
- package/src/server/auth/workspace-access.ts +0 -23
- package/src/server/db/migrations/001_foundation.ts +0 -164
- package/src/server/db/migrations/002_upload_cleanup_claims.ts +0 -34
- package/src/server/db/migrations/003_document_cleanup_claims.ts +0 -23
- package/src/server/db/migrations/004_document_sharing.ts +0 -82
- package/src/server/db/migrations/005_document_collaboration_epoch.ts +0 -13
- package/src/server/db/migrations/006_invitation_continuation.ts +0 -27
- package/src/server/db/migrations/007_collaboration_state.ts +0 -25
- package/src/server/db/migrations/008_storage_reservations.ts +0 -37
- package/src/server/db/migrations/009_workspace_entitlements.ts +0 -22
- package/src/server/db/migrations/010_upload_finalization.ts +0 -22
- package/src/server/db/migrations/011_upload_finalization_lease.ts +0 -12
- package/src/server/db/migrations/012_transactional_email.ts +0 -48
- package/src/server/db/migrations/013_admin_enrollment.ts +0 -54
- package/src/server/db/migrations/014_enrollment_email_kinds.ts +0 -30
- package/src/server/db/migrations/015_cloud_rate_limit.ts +0 -22
- package/src/server/db/migrations/016_auth_schema.ts +0 -16
- package/src/server/db/migrations/017_authentication_email_kinds.ts +0 -32
- package/src/server/db/migrations/018_authentication_mfa.ts +0 -78
- package/src/server/db/migrations/019_better_auth_account_issuer.ts +0 -42
- package/src/server/db/migrations/020_workspace_invitations.ts +0 -57
- package/src/server/db/migrations/021_document_versions.ts +0 -66
- package/src/server/db/migrations/022_entitlement_external_version.ts +0 -17
- package/src/server/db/migrations/023_document_images.ts +0 -61
- package/src/server/db/migrations/024_account_activity.ts +0 -66
- package/src/server/db/migrations/025_table_names.ts +0 -58
- package/src/server/db/migrations/026_user_picture.ts +0 -30
- package/src/server/db/migrations/027_document_kind.ts +0 -19
- package/src/server/db/migrations/028_collaboration_updates.ts +0 -84
- package/src/server/db/migrations/helpers.ts +0 -78
- /package/dist/bin/{ai-relay.d.mts → services.d.mts} +0 -0
package/dist/email.js
CHANGED
|
@@ -1,9 +1,1714 @@
|
|
|
1
|
+
import { createI18n, params } from "@nanostores/i18n";
|
|
2
|
+
import { mapValues } from "es-toolkit";
|
|
3
|
+
import { parseAccept } from "hono/utils/accept";
|
|
4
|
+
import { atom } from "nanostores";
|
|
1
5
|
import { render } from "@vue-email/render";
|
|
2
|
-
import {
|
|
3
|
-
import { defineComponent, h } from "vue";
|
|
6
|
+
import { createBlock, createCommentVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, inject, normalizeProps, normalizeStyle, openBlock, provide, renderSlot, resolveDynamicComponent, toDisplayString, withCtx } from "vue";
|
|
4
7
|
import { Body, Button, Container, Head, Heading, Html, Img, Link, Preview, Section, Text } from "@vue-email/components";
|
|
5
8
|
import * as v from "valibot";
|
|
9
|
+
//#region src/email/locales/ar.json
|
|
10
|
+
var ar_default = {
|
|
11
|
+
greeting: "مرحبًا {name}،",
|
|
12
|
+
greetingWithoutName: "مرحبًا،",
|
|
13
|
+
someone: "شخص ما",
|
|
14
|
+
openCloud: "فتح OpenPencil Cloud",
|
|
15
|
+
footer: "OpenPencil، محرّر التصميم مفتوح المصدر",
|
|
16
|
+
invitationExpires: "تنتهي صلاحية هذه الدعوة في {date}.",
|
|
17
|
+
documentInvitationHeading: "لديك دعوة إلى مستند",
|
|
18
|
+
documentInvitationViewSubject: "دعاك {inviter} إلى عرض «{document}»",
|
|
19
|
+
documentInvitationEditSubject: "دعاك {inviter} إلى تعديل «{document}»",
|
|
20
|
+
documentInvitationView: "دعاك {inviter} إلى عرض «{document}» على OpenPencil Cloud.",
|
|
21
|
+
documentInvitationEdit: "دعاك {inviter} إلى تعديل «{document}» على OpenPencil Cloud.",
|
|
22
|
+
documentInvitationAction: "فتح المستند",
|
|
23
|
+
workspaceInvitationSubject: "دعاك {inviter} إلى {workspace}",
|
|
24
|
+
workspaceInvitationHeading: "انضم إلى {workspace}",
|
|
25
|
+
workspaceInvitationAdmin: "دعاك {inviter} إلى إدارة مساحة العمل «{workspace}» على OpenPencil Cloud.",
|
|
26
|
+
workspaceInvitationEditor: "دعاك {inviter} إلى التعديل في مساحة العمل «{workspace}» على OpenPencil Cloud.",
|
|
27
|
+
workspaceInvitationViewer: "دعاك {inviter} إلى عرض مساحة العمل «{workspace}» على OpenPencil Cloud.",
|
|
28
|
+
workspaceInvitationHome: "بعد انضمامك، ستجد مستنداتها في الصفحة الرئيسية.",
|
|
29
|
+
workspaceInvitationAction: "الانضمام إلى مساحة العمل",
|
|
30
|
+
enrollmentRequestedSubject: "استلمنا طلبك للوصول إلى OpenPencil Cloud",
|
|
31
|
+
enrollmentRequestedHeading: "تم استلام الطلب",
|
|
32
|
+
enrollmentRequestedPreview: "طلبك للوصول إلى OpenPencil Cloud بانتظار المراجعة.",
|
|
33
|
+
enrollmentRequested: "طلبك بانتظار المراجعة. سنراسلك مجددًا عند البتّ فيه.",
|
|
34
|
+
enrollmentApprovedSubject: "وصولك إلى OpenPencil Cloud جاهز",
|
|
35
|
+
enrollmentApprovedHeading: "تمت الموافقة على الوصول",
|
|
36
|
+
enrollmentApprovedPreview: "يمكنك الآن تسجيل الدخول إلى OpenPencil Cloud.",
|
|
37
|
+
enrollmentApproved: "تمت الموافقة على طلب الوصول، فيمكنك تسجيل الدخول الآن.",
|
|
38
|
+
enrollmentApprovedAction: "تسجيل الدخول",
|
|
39
|
+
enrollmentRejectedSubject: "تمت مراجعة طلبك للوصول إلى OpenPencil Cloud",
|
|
40
|
+
enrollmentRejectedHeading: "تمت مراجعة الطلب",
|
|
41
|
+
enrollmentRejectedPreview: "لم تتم الموافقة على طلب الوصول.",
|
|
42
|
+
enrollmentRejected: "لم تتم الموافقة على طلب الوصول هذه المرة.",
|
|
43
|
+
enrollmentRejectedAction: "طلب الوصول مجددًا",
|
|
44
|
+
enrollmentRevokedSubject: "تغيّر وصولك إلى OpenPencil Cloud",
|
|
45
|
+
enrollmentRevokedHeading: "تغيّر الوصول",
|
|
46
|
+
enrollmentRevokedPreview: "لم يعد وصولك إلى OpenPencil Cloud نشطًا.",
|
|
47
|
+
enrollmentRevoked: "لم يعد وصولك إلى OpenPencil Cloud نشطًا.",
|
|
48
|
+
enrollmentRevokedAction: "فتح OpenPencil",
|
|
49
|
+
enrollmentNotificationSubject: "طلب وصول جديد إلى OpenPencil Cloud",
|
|
50
|
+
enrollmentNotificationHeading: "طلب وصول جديد",
|
|
51
|
+
enrollmentNotificationPreview: "طلب {email} الوصول إلى OpenPencil Cloud.",
|
|
52
|
+
enrollmentNotification: "طلب {name} ({email}) الوصول وكتب:",
|
|
53
|
+
enrollmentNotificationAction: "مراجعة الطلب",
|
|
54
|
+
documentReportSubject: "تم الإبلاغ عن مستند مُشارك على OpenPencil Cloud",
|
|
55
|
+
documentReportHeading: "تم الإبلاغ عن مستند مُشارك",
|
|
56
|
+
documentReportPreview: "تم الإبلاغ عن «{document}» بسبب {reason}.",
|
|
57
|
+
documentReport: "فتح شخص «{document}» من رابط مشاركة وأبلغ عنه بسبب {reason}، وكتب:",
|
|
58
|
+
documentReportAction: "مراجعة البلاغ",
|
|
59
|
+
reportReasonSpamPhishing: "رسائل مزعجة أو تصيّد احتيالي",
|
|
60
|
+
reportReasonIllegal: "محتوى غير قانوني",
|
|
61
|
+
reportReasonCopyright: "انتهاك حقوق النشر",
|
|
62
|
+
reportReasonHarassment: "التحرّش",
|
|
63
|
+
reportReasonOther: "أمر آخر",
|
|
64
|
+
verifyAccountSubject: "أكّد بريدك الإلكتروني على OpenPencil Cloud",
|
|
65
|
+
verifyAccountHeading: "أكّد بريدك الإلكتروني",
|
|
66
|
+
verifyAccountPreview: "نقرة واحدة لإكمال إنشاء حسابك على OpenPencil Cloud.",
|
|
67
|
+
verifyAccount: "أكّد هذا العنوان لإكمال إنشاء حسابك على OpenPencil Cloud. ثم عُد إلى OpenPencil، وسيُسجَّل دخولك تلقائيًا.",
|
|
68
|
+
verifyAccountNote: "لم تُنشئ حسابًا؟ تجاهل هذه الرسالة ولن يحدث شيء.",
|
|
69
|
+
verifyChangeSubject: "أكّد بريدك الإلكتروني الجديد على OpenPencil Cloud",
|
|
70
|
+
verifyChangeHeading: "أكّد بريدك الإلكتروني الجديد",
|
|
71
|
+
verifyChangePreview: "نقرة واحدة لنقل حسابك على OpenPencil Cloud إلى هذا العنوان.",
|
|
72
|
+
verifyChange: "أكّد هذا العنوان ليصبح البريد الإلكتروني لحسابك على OpenPencil Cloud. يبقى عنوانك القديم مُستخدمًا إلى أن تفعل ذلك.",
|
|
73
|
+
verifyChangeNote: "لم تطلب ذلك؟ تجاهل هذه الرسالة ولن يتغيّر شيء.",
|
|
74
|
+
verifyAction: "تأكيد البريد الإلكتروني",
|
|
75
|
+
passwordResetSubject: "أعد تعيين كلمة مرورك على OpenPencil Cloud",
|
|
76
|
+
passwordResetHeading: "إعادة تعيين كلمة المرور",
|
|
77
|
+
passwordResetPreview: "استخدم هذا الرابط الآمن لاختيار كلمة مرور جديدة.",
|
|
78
|
+
passwordReset: "استخدم الرابط أدناه لاختيار كلمة مرور جديدة.",
|
|
79
|
+
passwordResetNote: "لم تطلب ذلك؟ تجاهل هذه الرسالة وستبقى كلمة مرورك كما هي.",
|
|
80
|
+
passwordResetAction: "إعادة تعيين كلمة المرور",
|
|
81
|
+
passwordChangedSubject: "تم تغيير كلمة مرورك على OpenPencil Cloud",
|
|
82
|
+
passwordChangedHeading: "تم تغيير كلمة المرور",
|
|
83
|
+
passwordChangedPreview: "تم تغيير كلمة مرورك على OpenPencil Cloud.",
|
|
84
|
+
passwordChanged: "تم تغيير كلمة مرورك. إن لم تكن أنت من فعل ذلك، فتواصل مع المسؤول.",
|
|
85
|
+
emailChangeSubject: "بريدك الإلكتروني على OpenPencil Cloud سيتغيّر",
|
|
86
|
+
emailChangeHeading: "بريدك الإلكتروني سيتغيّر",
|
|
87
|
+
emailChangePreview: "سيتغيّر بريدك الإلكتروني على OpenPencil Cloud إلى {email}.",
|
|
88
|
+
emailChange: "طلب شخص مسجّل الدخول إلى حسابك تغيير بريده الإلكتروني إلى {email}. سيتم التغيير بمجرد أن يؤكّده ذلك العنوان.",
|
|
89
|
+
emailChangeNotYou: "إن لم تكن أنت، فغيّر كلمة مرورك وسجّل الخروج من جلساتك الأخرى.",
|
|
90
|
+
reviewAccount: "مراجعة حسابك",
|
|
91
|
+
newSignInSubject: "تسجيل دخول جديد إلى حسابك على OpenPencil Cloud",
|
|
92
|
+
newSignInHeading: "تسجيل دخول جديد إلى حسابك",
|
|
93
|
+
newSignInPreview: "تم تسجيل الدخول إلى حسابك على OpenPencil Cloud باستخدام {device}.",
|
|
94
|
+
newSignIn: "تم تسجيل الدخول إلى حسابك باستخدام {device} في {date}.",
|
|
95
|
+
newSignInFrom: "تم تسجيل الدخول إلى حسابك باستخدام {device} من {address} في {date}.",
|
|
96
|
+
newSignInNotYou: "إن كنت أنت، فلا داعي لفعل شيء. وإن لم تكن، فسجّل الخروج من تلك الجلسة وغيّر كلمة مرورك.",
|
|
97
|
+
newSignInApp: "تطبيق OpenPencil",
|
|
98
|
+
newSignInBrowser: "{browser} على {system}",
|
|
99
|
+
newSignInUnknownBrowser: "متصفح غير معروف",
|
|
100
|
+
reviewSessions: "مراجعة الجلسات",
|
|
101
|
+
twoStepSubject: "تغيّرت طريقة تسجيل دخولك إلى OpenPencil Cloud",
|
|
102
|
+
authenticatorOnHeading: "تم تشغيل تطبيق المصادقة",
|
|
103
|
+
authenticatorOn: "أصبح تطبيق مصادقة يؤكّد عمليات تسجيل دخولك.",
|
|
104
|
+
authenticatorOffHeading: "تم إيقاف تطبيق المصادقة",
|
|
105
|
+
authenticatorOff: "لم يعد تسجيل الدخول يطلب رمزًا من تطبيق مصادقة.",
|
|
106
|
+
passkeyAddedHeading: "تمت إضافة مفتاح مرور",
|
|
107
|
+
passkeyAdded: "تمت إضافة مفتاح مرور إلى حسابك.",
|
|
108
|
+
passkeyRemovedHeading: "تمت إزالة مفتاح مرور",
|
|
109
|
+
passkeyRemoved: "تمت إزالة مفتاح مرور من حسابك.",
|
|
110
|
+
twoStepResetHeading: "تمت إعادة تعيين تسجيل الدخول بخطوتين",
|
|
111
|
+
twoStepReset: "أزال أحد المسؤولين تطبيق المصادقة ورموز الاستعادة ومفاتيح المرور الخاصة بك، لتتمكن من إعدادها مجددًا.",
|
|
112
|
+
twoStepNotYou: "إن لم تكن أنت، فغيّر كلمة مرورك وتواصل مع المسؤول.",
|
|
113
|
+
reviewSecurity: "مراجعة الأمان",
|
|
114
|
+
storageFullSubject: "ملفاتك على OpenPencil Cloud للقراءة فقط",
|
|
115
|
+
storageFullHeading: "مساحة التخزين ممتلئة",
|
|
116
|
+
storageFullPreview: "تستخدم ملفاتك على OpenPencil Cloud مساحة {used} من أصل {limit}، لذا أصبحت للقراءة فقط.",
|
|
117
|
+
storageFull: "تشغل مساحات عملك {used}، وتتضمن خطتك {limit}. وإلى أن يقل ما تشغله، يمكن فتح مستنداتك وتنزيلها، لكن لا يمكن تعديلها أو إضافة ملفات جديدة إليها.",
|
|
118
|
+
storageFullUpgrade: "احصل على مزيد من التخزين، أو احذف مستندات وأفرغ سلة المهملات، لتتمكن من التعديل مجددًا.",
|
|
119
|
+
storageFullFreeSpace: "احذف مستندات وأفرغ سلة المهملات لتتمكن من التعديل مجددًا.",
|
|
120
|
+
storageFullAction: "الحصول على مزيد من التخزين",
|
|
121
|
+
documentBlockedSubject: "تم حظر مستندك «{document}»",
|
|
122
|
+
documentBlockedHeading: "تم حظر أحد مستنداتك",
|
|
123
|
+
documentBlocked: "حظر أحد مسؤولي OpenPencil Cloud مستندك «{document}». لا يمكن لأحد فتحه، بما في ذلك أنت، حتى تتم استعادته. لم يُحذف أي شيء من محتواه.",
|
|
124
|
+
documentBlockedReason: "السبب المذكور: {reason}",
|
|
125
|
+
documentBlockedContest: "إذا كنت تعتقد أن هذا خطأ، فراسل {email} لإعادة النظر فيه.",
|
|
126
|
+
documentBlockedContestAdministrators: "إذا كنت تعتقد أن هذا خطأ، فاطلب من مسؤولي الخادم إعادة النظر فيه.",
|
|
127
|
+
documentRestoredSubject: "مستندك «{document}» متاح مجددًا",
|
|
128
|
+
documentRestoredHeading: "مستندك متاح مجددًا",
|
|
129
|
+
documentRestored: "استعاد أحد المسؤولين مستندك «{document}». يمكنك أنت وكل من شاركته معه فتحه مجددًا.",
|
|
130
|
+
openHome: "فتح الصفحة الرئيسية",
|
|
131
|
+
reportReceivedSubject: "تلقّينا بلاغك بشأن «{document}»",
|
|
132
|
+
reportReceivedHeading: "تم استلام البلاغ",
|
|
133
|
+
reportReceived: "شكرًا لإبلاغك عن «{document}». يراجع مسؤولو الخادم كل بلاغ ويقرّرون ما إذا كان يخالف القواعد. سنراسلك مجددًا عندما يتخذون قرارهم.",
|
|
134
|
+
reportDecidedSubject: "بلاغك بشأن «{document}»",
|
|
135
|
+
reportBlockedHeading: "تم حظر المستند",
|
|
136
|
+
reportBlocked: "راجع المسؤولون بلاغك وحظروا «{document}»، فلا يمكن لأحد فتحه حتى تتم استعادته.",
|
|
137
|
+
reportActionedHeading: "تم اتخاذ إجراء بشأن بلاغك",
|
|
138
|
+
reportActioned: "راجع المسؤولون بلاغك بشأن «{document}» واتخذوا إجراءً بشأنه.",
|
|
139
|
+
reportDismissedHeading: "يبقى المستند متاحًا",
|
|
140
|
+
reportDismissed: "راجع المسؤولون بلاغك بشأن «{document}» ووجدوا أنه لا يخالف القواعد، لذا سيبقى كما هو.",
|
|
141
|
+
reportDisagree: "إذا كنت لا توافق على ذلك، فراسل {email}.",
|
|
142
|
+
reportDisagreeAdministrators: "إذا كنت لا توافق على ذلك، فاطلب من مسؤولي الخادم إعادة النظر فيه.",
|
|
143
|
+
waitlistSubject: "أكّد مكانك في قائمة انتظار OpenPencil Cloud",
|
|
144
|
+
waitlistHeading: "أكّد بريدك الإلكتروني",
|
|
145
|
+
waitlistPreview: "نقرة واحدة للانضمام إلى قائمة انتظار OpenPencil Cloud.",
|
|
146
|
+
waitlist: "شكرًا لاهتمامك بـOpenPencil Cloud. أكّد هذا العنوان للانضمام إلى قائمة الانتظار، وسنراسلك مرة واحدة فقط، عندما يصبح Cloud جاهزًا لك.",
|
|
147
|
+
waitlistAction: "الانضمام إلى قائمة الانتظار",
|
|
148
|
+
waitlistNote: "لم تسجّل؟ تجاهل هذه الرسالة وسيُحذف العنوان خلال سبعة أيام، أو {link}.",
|
|
149
|
+
waitlistLeave: "احذفه الآن"
|
|
150
|
+
};
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/email/locales/de.json
|
|
153
|
+
var de_default = {
|
|
154
|
+
greeting: "Hallo {name},",
|
|
155
|
+
greetingWithoutName: "Hallo,",
|
|
156
|
+
someone: "Jemand",
|
|
157
|
+
openCloud: "OpenPencil Cloud öffnen",
|
|
158
|
+
footer: "OpenPencil, der Open-Source-Designeditor",
|
|
159
|
+
invitationExpires: "Diese Einladung läuft am {date} ab.",
|
|
160
|
+
documentInvitationHeading: "Du wurdest zu einem Dokument eingeladen",
|
|
161
|
+
documentInvitationViewSubject: "{inviter} hat dich eingeladen, „{document}“ anzusehen",
|
|
162
|
+
documentInvitationEditSubject: "{inviter} hat dich eingeladen, „{document}“ zu bearbeiten",
|
|
163
|
+
documentInvitationView: "{inviter} hat dich eingeladen, „{document}“ in OpenPencil Cloud anzusehen.",
|
|
164
|
+
documentInvitationEdit: "{inviter} hat dich eingeladen, „{document}“ in OpenPencil Cloud zu bearbeiten.",
|
|
165
|
+
documentInvitationAction: "Dokument öffnen",
|
|
166
|
+
workspaceInvitationSubject: "{inviter} hat dich zu {workspace} eingeladen",
|
|
167
|
+
workspaceInvitationHeading: "{workspace} beitreten",
|
|
168
|
+
workspaceInvitationAdmin: "{inviter} hat dich eingeladen, den Arbeitsbereich „{workspace}“ in OpenPencil Cloud zu verwalten.",
|
|
169
|
+
workspaceInvitationEditor: "{inviter} hat dich eingeladen, Dokumente im Arbeitsbereich „{workspace}“ in OpenPencil Cloud zu bearbeiten.",
|
|
170
|
+
workspaceInvitationViewer: "{inviter} hat dich eingeladen, den Arbeitsbereich „{workspace}“ in OpenPencil Cloud anzusehen.",
|
|
171
|
+
workspaceInvitationHome: "Sobald du beigetreten bist, siehst du seine Dokumente auf der Startseite.",
|
|
172
|
+
workspaceInvitationAction: "Arbeitsbereich beitreten",
|
|
173
|
+
enrollmentRequestedSubject: "Wir haben deine Anfrage für OpenPencil Cloud erhalten",
|
|
174
|
+
enrollmentRequestedHeading: "Anfrage erhalten",
|
|
175
|
+
enrollmentRequestedPreview: "Deine Zugangsanfrage für OpenPencil Cloud wartet auf Prüfung.",
|
|
176
|
+
enrollmentRequested: "Deine Anfrage wartet auf Prüfung. Wir melden uns wieder, sobald entschieden ist.",
|
|
177
|
+
enrollmentApprovedSubject: "Dein Zugang zu OpenPencil Cloud ist bereit",
|
|
178
|
+
enrollmentApprovedHeading: "Zugang genehmigt",
|
|
179
|
+
enrollmentApprovedPreview: "Du kannst dich jetzt bei OpenPencil Cloud anmelden.",
|
|
180
|
+
enrollmentApproved: "Deine Zugangsanfrage wurde genehmigt, du kannst dich also jetzt anmelden.",
|
|
181
|
+
enrollmentApprovedAction: "Anmelden",
|
|
182
|
+
enrollmentRejectedSubject: "Deine Anfrage für OpenPencil Cloud wurde geprüft",
|
|
183
|
+
enrollmentRejectedHeading: "Anfrage geprüft",
|
|
184
|
+
enrollmentRejectedPreview: "Deine Zugangsanfrage wurde nicht genehmigt.",
|
|
185
|
+
enrollmentRejected: "Deine Zugangsanfrage wurde diesmal nicht genehmigt.",
|
|
186
|
+
enrollmentRejectedAction: "Erneut Zugang anfragen",
|
|
187
|
+
enrollmentRevokedSubject: "Dein Zugang zu OpenPencil Cloud hat sich geändert",
|
|
188
|
+
enrollmentRevokedHeading: "Zugang geändert",
|
|
189
|
+
enrollmentRevokedPreview: "Dein Zugang zu OpenPencil Cloud ist nicht mehr aktiv.",
|
|
190
|
+
enrollmentRevoked: "Dein Zugang zu OpenPencil Cloud ist nicht mehr aktiv.",
|
|
191
|
+
enrollmentRevokedAction: "OpenPencil öffnen",
|
|
192
|
+
enrollmentNotificationSubject: "Neue Zugangsanfrage für OpenPencil Cloud",
|
|
193
|
+
enrollmentNotificationHeading: "Neue Zugangsanfrage",
|
|
194
|
+
enrollmentNotificationPreview: "{email} hat Zugang zu OpenPencil Cloud angefragt.",
|
|
195
|
+
enrollmentNotification: "{name} ({email}) hat Zugang angefragt und schreibt:",
|
|
196
|
+
enrollmentNotificationAction: "Anfrage prüfen",
|
|
197
|
+
documentReportSubject: "Ein geteiltes Dokument in OpenPencil Cloud wurde gemeldet",
|
|
198
|
+
documentReportHeading: "Ein geteiltes Dokument wurde gemeldet",
|
|
199
|
+
documentReportPreview: "„{document}“ wurde gemeldet. Grund: {reason}.",
|
|
200
|
+
documentReport: "Jemand hat „{document}“ über einen Freigabelink geöffnet und gemeldet (Grund: {reason}). Dazu schreibt die Person:",
|
|
201
|
+
documentReportAction: "Meldung prüfen",
|
|
202
|
+
reportReasonSpamPhishing: "Spam oder Phishing",
|
|
203
|
+
reportReasonIllegal: "illegale Inhalte",
|
|
204
|
+
reportReasonCopyright: "Urheberrechtsverletzung",
|
|
205
|
+
reportReasonHarassment: "Belästigung",
|
|
206
|
+
reportReasonOther: "Sonstiges",
|
|
207
|
+
verifyAccountSubject: "Bestätige deine E-Mail-Adresse für OpenPencil Cloud",
|
|
208
|
+
verifyAccountHeading: "Bestätige deine E-Mail-Adresse",
|
|
209
|
+
verifyAccountPreview: "Ein Klick, und dein Konto bei OpenPencil Cloud ist eingerichtet.",
|
|
210
|
+
verifyAccount: "Bestätige diese Adresse, um dein Konto bei OpenPencil Cloud fertig einzurichten. Kehr dann zu OpenPencil zurück – du wirst automatisch angemeldet.",
|
|
211
|
+
verifyAccountNote: "Du hast kein Konto erstellt? Ignoriere diese E-Mail, dann passiert nichts.",
|
|
212
|
+
verifyChangeSubject: "Bestätige deine neue E-Mail-Adresse für OpenPencil Cloud",
|
|
213
|
+
verifyChangeHeading: "Bestätige deine neue E-Mail-Adresse",
|
|
214
|
+
verifyChangePreview: "Ein Klick, und dein Konto bei OpenPencil Cloud nutzt diese Adresse.",
|
|
215
|
+
verifyChange: "Bestätige diese Adresse, damit sie die E-Mail-Adresse deines Kontos bei OpenPencil Cloud wird. Bis dahin bleibt deine alte Adresse bestehen.",
|
|
216
|
+
verifyChangeNote: "Das warst nicht du? Ignoriere diese E-Mail, dann ändert sich nichts.",
|
|
217
|
+
verifyAction: "E-Mail-Adresse bestätigen",
|
|
218
|
+
passwordResetSubject: "Setze dein Passwort für OpenPencil Cloud zurück",
|
|
219
|
+
passwordResetHeading: "Passwort zurücksetzen",
|
|
220
|
+
passwordResetPreview: "Wähle über diesen sicheren Link ein neues Passwort.",
|
|
221
|
+
passwordReset: "Wähle über den Link unten ein neues Passwort.",
|
|
222
|
+
passwordResetNote: "Das warst nicht du? Ignoriere diese E-Mail, dann bleibt dein Passwort unverändert.",
|
|
223
|
+
passwordResetAction: "Passwort zurücksetzen",
|
|
224
|
+
passwordChangedSubject: "Dein Passwort für OpenPencil Cloud wurde geändert",
|
|
225
|
+
passwordChangedHeading: "Passwort geändert",
|
|
226
|
+
passwordChangedPreview: "Dein Passwort für OpenPencil Cloud wurde geändert.",
|
|
227
|
+
passwordChanged: "Dein Passwort wurde geändert. Wenn du das nicht warst, wende dich an deinen Administrator.",
|
|
228
|
+
emailChangeSubject: "Deine E-Mail-Adresse für OpenPencil Cloud wird geändert",
|
|
229
|
+
emailChangeHeading: "Deine E-Mail-Adresse wird geändert",
|
|
230
|
+
emailChangePreview: "Deine E-Mail-Adresse für OpenPencil Cloud wird zu {email} geändert.",
|
|
231
|
+
emailChange: "Jemand, der in deinem Konto angemeldet ist, möchte dessen E-Mail-Adresse zu {email} ändern. Die Änderung gilt, sobald diese Adresse sie bestätigt.",
|
|
232
|
+
emailChangeNotYou: "Wenn du das nicht warst, ändere dein Passwort und melde deine anderen Sitzungen ab.",
|
|
233
|
+
reviewAccount: "Konto überprüfen",
|
|
234
|
+
newSignInSubject: "Neue Anmeldung bei deinem Konto in OpenPencil Cloud",
|
|
235
|
+
newSignInHeading: "Neue Anmeldung bei deinem Konto",
|
|
236
|
+
newSignInPreview: "Dein Konto in OpenPencil Cloud wurde mit {device} angemeldet.",
|
|
237
|
+
newSignIn: "Am {date} wurde dein Konto mit {device} angemeldet.",
|
|
238
|
+
newSignInFrom: "Am {date} wurde dein Konto mit {device} von {address} aus angemeldet.",
|
|
239
|
+
newSignInNotYou: "Wenn du das warst, musst du nichts tun. Falls nicht, melde diese Sitzung ab und ändere dein Passwort.",
|
|
240
|
+
newSignInApp: "der OpenPencil-App",
|
|
241
|
+
newSignInBrowser: "{browser} unter {system}",
|
|
242
|
+
newSignInUnknownBrowser: "einem unbekannten Browser",
|
|
243
|
+
reviewSessions: "Sitzungen überprüfen",
|
|
244
|
+
twoStepSubject: "Deine Anmeldung bei OpenPencil Cloud hat sich geändert",
|
|
245
|
+
authenticatorOnHeading: "Authenticator-App aktiviert",
|
|
246
|
+
authenticatorOn: "Deine Anmeldungen werden jetzt mit einer Authenticator-App bestätigt.",
|
|
247
|
+
authenticatorOffHeading: "Authenticator-App deaktiviert",
|
|
248
|
+
authenticatorOff: "Bei der Anmeldung wird kein Code aus einer Authenticator-App mehr abgefragt.",
|
|
249
|
+
passkeyAddedHeading: "Passkey hinzugefügt",
|
|
250
|
+
passkeyAdded: "Deinem Konto wurde ein Passkey hinzugefügt.",
|
|
251
|
+
passkeyRemovedHeading: "Passkey entfernt",
|
|
252
|
+
passkeyRemoved: "Ein Passkey wurde aus deinem Konto entfernt.",
|
|
253
|
+
twoStepResetHeading: "Zweistufige Anmeldung zurückgesetzt",
|
|
254
|
+
twoStepReset: "Ein Administrator hat deine Authenticator-App, Wiederherstellungscodes und Passkeys entfernt, damit du sie neu einrichten kannst.",
|
|
255
|
+
twoStepNotYou: "Wenn du das nicht warst, ändere dein Passwort und wende dich an deinen Administrator.",
|
|
256
|
+
reviewSecurity: "Sicherheit überprüfen",
|
|
257
|
+
storageFullSubject: "Deine Dateien in OpenPencil Cloud sind schreibgeschützt",
|
|
258
|
+
storageFullHeading: "Dein Speicher ist voll",
|
|
259
|
+
storageFullPreview: "Deine Dateien in OpenPencil Cloud belegen {used} von {limit} und sind daher schreibgeschützt.",
|
|
260
|
+
storageFull: "Deine Arbeitsbereiche belegen {used}, dein Tarif umfasst {limit}. Bis sie weniger belegen, lassen sich deine Dokumente öffnen und herunterladen, aber weder bearbeiten noch um neue Dateien ergänzen.",
|
|
261
|
+
storageFullUpgrade: "Hol dir mehr Speicher oder lösche Dokumente und leere den Papierkorb, um wieder bearbeiten zu können.",
|
|
262
|
+
storageFullFreeSpace: "Lösche Dokumente und leere den Papierkorb, um wieder bearbeiten zu können.",
|
|
263
|
+
storageFullAction: "Mehr Speicher holen",
|
|
264
|
+
documentBlockedSubject: "Dein Dokument „{document}“ wurde gesperrt",
|
|
265
|
+
documentBlockedHeading: "Eines deiner Dokumente wurde gesperrt",
|
|
266
|
+
documentBlocked: "Ein Administrator von OpenPencil Cloud hat dein Dokument „{document}“ gesperrt. Bis es wiederhergestellt ist, kann niemand es öffnen, auch du nicht. Gelöscht wurde nichts davon.",
|
|
267
|
+
documentBlockedReason: "Angegebener Grund: {reason}",
|
|
268
|
+
documentBlockedContest: "Wenn du das für einen Fehler hältst, schreib an {email}, damit es noch einmal geprüft wird.",
|
|
269
|
+
documentBlockedContestAdministrators: "Wenn du das für einen Fehler hältst, bitte die Administratoren des Servers, es noch einmal zu prüfen.",
|
|
270
|
+
documentRestoredSubject: "Dein Dokument „{document}“ ist wieder da",
|
|
271
|
+
documentRestoredHeading: "Dein Dokument ist wieder da",
|
|
272
|
+
documentRestored: "Ein Administrator hat dein Dokument „{document}“ wiederhergestellt. Du und alle, mit denen du es geteilt hast, könnt es wieder öffnen.",
|
|
273
|
+
openHome: "Startseite öffnen",
|
|
274
|
+
reportReceivedSubject: "Wir haben deine Meldung zu „{document}“ erhalten",
|
|
275
|
+
reportReceivedHeading: "Meldung erhalten",
|
|
276
|
+
reportReceived: "Danke, dass du „{document}“ gemeldet hast. Die Administratoren des Servers prüfen jede Meldung und entscheiden, ob ein Regelverstoß vorliegt. Wir melden uns wieder, sobald sie entschieden haben.",
|
|
277
|
+
reportDecidedSubject: "Deine Meldung zu „{document}“",
|
|
278
|
+
reportBlockedHeading: "Das Dokument wurde gesperrt",
|
|
279
|
+
reportBlocked: "Die Administratoren haben deine Meldung geprüft und „{document}“ gesperrt. Bis es wiederhergestellt ist, kann niemand es öffnen.",
|
|
280
|
+
reportActionedHeading: "Zu deiner Meldung wurden Maßnahmen ergriffen",
|
|
281
|
+
reportActioned: "Die Administratoren haben deine Meldung zu „{document}“ geprüft und Maßnahmen ergriffen.",
|
|
282
|
+
reportDismissedHeading: "Das Dokument bleibt bestehen",
|
|
283
|
+
reportDismissed: "Die Administratoren haben deine Meldung zu „{document}“ geprüft und keinen Regelverstoß festgestellt. Das Dokument bleibt daher unverändert.",
|
|
284
|
+
reportDisagree: "Wenn du anderer Meinung bist, schreib an {email}.",
|
|
285
|
+
reportDisagreeAdministrators: "Wenn du anderer Meinung bist, bitte die Administratoren des Servers, es noch einmal zu prüfen.",
|
|
286
|
+
waitlistSubject: "Bestätige deinen Platz auf der Warteliste für OpenPencil Cloud",
|
|
287
|
+
waitlistHeading: "Bestätige deine E-Mail-Adresse",
|
|
288
|
+
waitlistPreview: "Ein Klick, und du stehst auf der Warteliste für OpenPencil Cloud.",
|
|
289
|
+
waitlist: "Danke für dein Interesse an OpenPencil Cloud. Bestätige diese Adresse, um auf die Warteliste zu kommen. Wir schreiben dir genau einmal: sobald Cloud für dich bereit ist.",
|
|
290
|
+
waitlistAction: "Auf die Warteliste",
|
|
291
|
+
waitlistNote: "Du hast dich nicht eingetragen? Ignoriere diese E-Mail, dann wird die Adresse in sieben Tagen gelöscht – oder {link}.",
|
|
292
|
+
waitlistLeave: "lösche sie gleich jetzt"
|
|
293
|
+
};
|
|
294
|
+
//#endregion
|
|
295
|
+
//#region src/email/locales/es.json
|
|
296
|
+
var es_default = {
|
|
297
|
+
greeting: "Hola, {name}:",
|
|
298
|
+
greetingWithoutName: "Hola:",
|
|
299
|
+
someone: "Alguien",
|
|
300
|
+
openCloud: "Abrir OpenPencil Cloud",
|
|
301
|
+
footer: "OpenPencil, el editor de diseño de código abierto",
|
|
302
|
+
invitationExpires: "Esta invitación caduca el {date}.",
|
|
303
|
+
documentInvitationHeading: "Te han invitado a un documento",
|
|
304
|
+
documentInvitationViewSubject: "{inviter} te ha invitado a ver «{document}»",
|
|
305
|
+
documentInvitationEditSubject: "{inviter} te ha invitado a editar «{document}»",
|
|
306
|
+
documentInvitationView: "{inviter} te ha invitado a ver «{document}» en OpenPencil Cloud.",
|
|
307
|
+
documentInvitationEdit: "{inviter} te ha invitado a editar «{document}» en OpenPencil Cloud.",
|
|
308
|
+
documentInvitationAction: "Abrir documento",
|
|
309
|
+
workspaceInvitationSubject: "{inviter} te ha invitado a {workspace}",
|
|
310
|
+
workspaceInvitationHeading: "Únete a {workspace}",
|
|
311
|
+
workspaceInvitationAdmin: "{inviter} te ha invitado a administrar el espacio de trabajo «{workspace}» en OpenPencil Cloud.",
|
|
312
|
+
workspaceInvitationEditor: "{inviter} te ha invitado a editar en el espacio de trabajo «{workspace}» en OpenPencil Cloud.",
|
|
313
|
+
workspaceInvitationViewer: "{inviter} te ha invitado a ver el espacio de trabajo «{workspace}» en OpenPencil Cloud.",
|
|
314
|
+
workspaceInvitationHome: "Cuando te unas, verás sus documentos en Inicio.",
|
|
315
|
+
workspaceInvitationAction: "Unirse al espacio",
|
|
316
|
+
enrollmentRequestedSubject: "Hemos recibido tu solicitud de OpenPencil Cloud",
|
|
317
|
+
enrollmentRequestedHeading: "Solicitud recibida",
|
|
318
|
+
enrollmentRequestedPreview: "Tu solicitud de acceso a OpenPencil Cloud está pendiente de revisión.",
|
|
319
|
+
enrollmentRequested: "Tu solicitud está pendiente de revisión. Te escribiremos de nuevo cuando haya una decisión.",
|
|
320
|
+
enrollmentApprovedSubject: "Tu acceso a OpenPencil Cloud está listo",
|
|
321
|
+
enrollmentApprovedHeading: "Acceso aprobado",
|
|
322
|
+
enrollmentApprovedPreview: "Ya puedes iniciar sesión en OpenPencil Cloud.",
|
|
323
|
+
enrollmentApproved: "Se ha aprobado tu solicitud de acceso, así que ya puedes iniciar sesión.",
|
|
324
|
+
enrollmentApprovedAction: "Iniciar sesión",
|
|
325
|
+
enrollmentRejectedSubject: "Hemos revisado tu solicitud de OpenPencil Cloud",
|
|
326
|
+
enrollmentRejectedHeading: "Solicitud revisada",
|
|
327
|
+
enrollmentRejectedPreview: "Tu solicitud de acceso no se ha aprobado.",
|
|
328
|
+
enrollmentRejected: "Esta vez tu solicitud de acceso no se ha aprobado.",
|
|
329
|
+
enrollmentRejectedAction: "Volver a solicitar acceso",
|
|
330
|
+
enrollmentRevokedSubject: "Tu acceso a OpenPencil Cloud ha cambiado",
|
|
331
|
+
enrollmentRevokedHeading: "Acceso modificado",
|
|
332
|
+
enrollmentRevokedPreview: "Tu acceso a OpenPencil Cloud ya no está activo.",
|
|
333
|
+
enrollmentRevoked: "Tu acceso a OpenPencil Cloud ya no está activo.",
|
|
334
|
+
enrollmentRevokedAction: "Abrir OpenPencil",
|
|
335
|
+
enrollmentNotificationSubject: "Nueva solicitud de acceso a OpenPencil Cloud",
|
|
336
|
+
enrollmentNotificationHeading: "Nueva solicitud de acceso",
|
|
337
|
+
enrollmentNotificationPreview: "{email} ha solicitado acceso a OpenPencil Cloud.",
|
|
338
|
+
enrollmentNotification: "{name} ({email}) ha solicitado acceso y ha escrito:",
|
|
339
|
+
enrollmentNotificationAction: "Revisar solicitud",
|
|
340
|
+
documentReportSubject: "Se ha denunciado un documento compartido de OpenPencil Cloud",
|
|
341
|
+
documentReportHeading: "Se ha denunciado un documento compartido",
|
|
342
|
+
documentReportPreview: "«{document}» se ha denunciado por {reason}.",
|
|
343
|
+
documentReport: "Alguien que abrió «{document}» desde un enlace compartido lo ha denunciado por {reason} y ha escrito:",
|
|
344
|
+
documentReportAction: "Revisar denuncia",
|
|
345
|
+
reportReasonSpamPhishing: "spam o phishing",
|
|
346
|
+
reportReasonIllegal: "contenido ilegal",
|
|
347
|
+
reportReasonCopyright: "infringir derechos de autor",
|
|
348
|
+
reportReasonHarassment: "acoso",
|
|
349
|
+
reportReasonOther: "otro motivo",
|
|
350
|
+
verifyAccountSubject: "Confirma tu correo de OpenPencil Cloud",
|
|
351
|
+
verifyAccountHeading: "Confirma tu correo",
|
|
352
|
+
verifyAccountPreview: "Un clic para terminar de crear tu cuenta de OpenPencil Cloud.",
|
|
353
|
+
verifyAccount: "Confirma esta dirección para terminar de crear tu cuenta de OpenPencil Cloud. Después vuelve a OpenPencil: iniciará sesión por sí solo.",
|
|
354
|
+
verifyAccountNote: "¿No has creado una cuenta? Ignora este correo y no pasará nada.",
|
|
355
|
+
verifyChangeSubject: "Confirma tu nuevo correo de OpenPencil Cloud",
|
|
356
|
+
verifyChangeHeading: "Confirma tu nuevo correo",
|
|
357
|
+
verifyChangePreview: "Un clic para pasar tu cuenta de OpenPencil Cloud a esta dirección.",
|
|
358
|
+
verifyChange: "Confirma esta dirección para que sea el correo de tu cuenta de OpenPencil Cloud. Hasta entonces, se mantiene tu dirección anterior.",
|
|
359
|
+
verifyChangeNote: "¿No lo has pedido tú? Ignora este correo y no cambiará nada.",
|
|
360
|
+
verifyAction: "Confirmar correo",
|
|
361
|
+
passwordResetSubject: "Restablece tu contraseña de OpenPencil Cloud",
|
|
362
|
+
passwordResetHeading: "Restablece tu contraseña",
|
|
363
|
+
passwordResetPreview: "Usa este enlace seguro para elegir una contraseña nueva.",
|
|
364
|
+
passwordReset: "Usa el enlace de abajo para elegir una contraseña nueva.",
|
|
365
|
+
passwordResetNote: "¿No lo has pedido tú? Ignora este correo y tu contraseña seguirá igual.",
|
|
366
|
+
passwordResetAction: "Restablecer contraseña",
|
|
367
|
+
passwordChangedSubject: "Se ha cambiado tu contraseña de OpenPencil Cloud",
|
|
368
|
+
passwordChangedHeading: "Contraseña cambiada",
|
|
369
|
+
passwordChangedPreview: "Se ha cambiado tu contraseña de OpenPencil Cloud.",
|
|
370
|
+
passwordChanged: "Se ha cambiado tu contraseña. Si no has sido tú, ponte en contacto con tu administrador.",
|
|
371
|
+
emailChangeSubject: "Tu correo de OpenPencil Cloud va a cambiar",
|
|
372
|
+
emailChangeHeading: "Tu correo va a cambiar",
|
|
373
|
+
emailChangePreview: "Tu correo de OpenPencil Cloud va a cambiar a {email}.",
|
|
374
|
+
emailChange: "Alguien con sesión iniciada en tu cuenta ha pedido cambiar su correo a {email}. El cambio se aplicará cuando esa dirección lo confirme.",
|
|
375
|
+
emailChangeNotYou: "Si no has sido tú, cambia tu contraseña y cierra tus otras sesiones.",
|
|
376
|
+
reviewAccount: "Revisar tu cuenta",
|
|
377
|
+
newSignInSubject: "Nuevo inicio de sesión en tu cuenta de OpenPencil Cloud",
|
|
378
|
+
newSignInHeading: "Nuevo inicio de sesión en tu cuenta",
|
|
379
|
+
newSignInPreview: "Se ha iniciado sesión en tu cuenta de OpenPencil Cloud con {device}.",
|
|
380
|
+
newSignIn: "Se inició sesión en tu cuenta con {device} el {date}.",
|
|
381
|
+
newSignInFrom: "Se inició sesión en tu cuenta con {device} desde {address} el {date}.",
|
|
382
|
+
newSignInNotYou: "Si has sido tú, no tienes que hacer nada. Si no, cierra esa sesión y cambia tu contraseña.",
|
|
383
|
+
newSignInApp: "la app de OpenPencil",
|
|
384
|
+
newSignInBrowser: "{browser} en {system}",
|
|
385
|
+
newSignInUnknownBrowser: "un navegador desconocido",
|
|
386
|
+
reviewSessions: "Revisar sesiones",
|
|
387
|
+
twoStepSubject: "Ha cambiado cómo inicias sesión en OpenPencil Cloud",
|
|
388
|
+
authenticatorOnHeading: "App de autenticación activada",
|
|
389
|
+
authenticatorOn: "Ahora una app de autenticación confirma tus inicios de sesión.",
|
|
390
|
+
authenticatorOffHeading: "App de autenticación desactivada",
|
|
391
|
+
authenticatorOff: "Tus inicios de sesión ya no piden un código de una app de autenticación.",
|
|
392
|
+
passkeyAddedHeading: "Llave de acceso añadida",
|
|
393
|
+
passkeyAdded: "Se ha añadido una llave de acceso a tu cuenta.",
|
|
394
|
+
passkeyRemovedHeading: "Llave de acceso eliminada",
|
|
395
|
+
passkeyRemoved: "Se ha eliminado una llave de acceso de tu cuenta.",
|
|
396
|
+
twoStepResetHeading: "Se ha restablecido la verificación en dos pasos",
|
|
397
|
+
twoStepReset: "Un administrador ha eliminado tu app de autenticación, tus códigos de recuperación y tus llaves de acceso para que puedas volver a configurarlos.",
|
|
398
|
+
twoStepNotYou: "Si no has sido tú, cambia tu contraseña y ponte en contacto con tu administrador.",
|
|
399
|
+
reviewSecurity: "Revisar seguridad",
|
|
400
|
+
storageFullSubject: "Tus archivos de OpenPencil Cloud son de solo lectura",
|
|
401
|
+
storageFullHeading: "Tu almacenamiento está lleno",
|
|
402
|
+
storageFullPreview: "Tus archivos de OpenPencil Cloud ocupan {used} de {limit}, así que son de solo lectura.",
|
|
403
|
+
storageFull: "Tus espacios de trabajo ocupan {used} y tu plan incluye {limit}. Hasta que ocupen menos, tus documentos se pueden abrir y descargar, pero no editar ni recibir archivos nuevos.",
|
|
404
|
+
storageFullUpgrade: "Obtén más almacenamiento, o elimina documentos y vacía la papelera, para volver a editar.",
|
|
405
|
+
storageFullFreeSpace: "Elimina documentos y vacía la papelera para volver a editar.",
|
|
406
|
+
storageFullAction: "Obtener más almacenamiento",
|
|
407
|
+
documentBlockedSubject: "Se ha bloqueado tu documento «{document}»",
|
|
408
|
+
documentBlockedHeading: "Se ha bloqueado uno de tus documentos",
|
|
409
|
+
documentBlocked: "Un administrador de OpenPencil Cloud ha bloqueado tu documento «{document}». Nadie podrá abrirlo, ni siquiera tú, hasta que se restaure. No se ha eliminado nada de su contenido.",
|
|
410
|
+
documentBlockedReason: "Motivo indicado: {reason}",
|
|
411
|
+
documentBlockedContest: "Si crees que se trata de un error, escribe a {email} para que lo revisen de nuevo.",
|
|
412
|
+
documentBlockedContestAdministrators: "Si crees que se trata de un error, pide a los administradores del servidor que lo revisen de nuevo.",
|
|
413
|
+
documentRestoredSubject: "Tu documento «{document}» vuelve a estar disponible",
|
|
414
|
+
documentRestoredHeading: "Tu documento vuelve a estar disponible",
|
|
415
|
+
documentRestored: "Un administrador ha restaurado tu documento «{document}». Vuelve a estar disponible para ti y para todas las personas con las que lo compartiste.",
|
|
416
|
+
openHome: "Abrir Inicio",
|
|
417
|
+
reportReceivedSubject: "Hemos recibido tu denuncia sobre «{document}»",
|
|
418
|
+
reportReceivedHeading: "Denuncia recibida",
|
|
419
|
+
reportReceived: "Gracias por denunciar «{document}». Los administradores del servidor revisan cada denuncia y deciden si incumple las normas. Te escribiremos de nuevo cuando lo hayan hecho.",
|
|
420
|
+
reportDecidedSubject: "Tu denuncia sobre «{document}»",
|
|
421
|
+
reportBlockedHeading: "Se ha bloqueado el documento",
|
|
422
|
+
reportBlocked: "Los administradores han revisado tu denuncia y han bloqueado «{document}», así que nadie podrá abrirlo hasta que se restaure.",
|
|
423
|
+
reportActionedHeading: "Se han tomado medidas sobre tu denuncia",
|
|
424
|
+
reportActioned: "Los administradores han revisado tu denuncia sobre «{document}» y han tomado medidas al respecto.",
|
|
425
|
+
reportDismissedHeading: "El documento se mantiene",
|
|
426
|
+
reportDismissed: "Los administradores han revisado tu denuncia sobre «{document}» y han determinado que no incumple las normas, así que se mantiene tal como está.",
|
|
427
|
+
reportDisagree: "Si no estás de acuerdo, escribe a {email}.",
|
|
428
|
+
reportDisagreeAdministrators: "Si no estás de acuerdo, pide a los administradores del servidor que lo revisen de nuevo.",
|
|
429
|
+
waitlistSubject: "Confirma tu plaza en la lista de espera de OpenPencil Cloud",
|
|
430
|
+
waitlistHeading: "Confirma tu correo",
|
|
431
|
+
waitlistPreview: "Un clic para unirte a la lista de espera de OpenPencil Cloud.",
|
|
432
|
+
waitlist: "Gracias por tu interés en OpenPencil Cloud. Confirma esta dirección para unirte a la lista de espera; te escribiremos una sola vez, cuando Cloud esté listo para ti.",
|
|
433
|
+
waitlistAction: "Unirse a la lista de espera",
|
|
434
|
+
waitlistNote: "¿No te has apuntado? Ignora este correo y la dirección se eliminará en siete días, o {link}.",
|
|
435
|
+
waitlistLeave: "elimínala ahora"
|
|
436
|
+
};
|
|
437
|
+
//#endregion
|
|
438
|
+
//#region src/email/locales/fr.json
|
|
439
|
+
var fr_default = {
|
|
440
|
+
greeting: "Bonjour {name},",
|
|
441
|
+
greetingWithoutName: "Bonjour,",
|
|
442
|
+
someone: "Quelqu’un",
|
|
443
|
+
openCloud: "Ouvrir OpenPencil Cloud",
|
|
444
|
+
footer: "OpenPencil, l’éditeur de design open source",
|
|
445
|
+
invitationExpires: "Cette invitation expire le {date}.",
|
|
446
|
+
documentInvitationHeading: "Invitation à un document",
|
|
447
|
+
documentInvitationViewSubject: "{inviter} vous invite à consulter « {document} »",
|
|
448
|
+
documentInvitationEditSubject: "{inviter} vous invite à modifier « {document} »",
|
|
449
|
+
documentInvitationView: "{inviter} vous invite à consulter « {document} » sur OpenPencil Cloud.",
|
|
450
|
+
documentInvitationEdit: "{inviter} vous invite à modifier « {document} » sur OpenPencil Cloud.",
|
|
451
|
+
documentInvitationAction: "Ouvrir le document",
|
|
452
|
+
workspaceInvitationSubject: "{inviter} vous invite à rejoindre {workspace}",
|
|
453
|
+
workspaceInvitationHeading: "Rejoindre {workspace}",
|
|
454
|
+
workspaceInvitationAdmin: "{inviter} vous invite à gérer l’espace de travail « {workspace} » sur OpenPencil Cloud.",
|
|
455
|
+
workspaceInvitationEditor: "{inviter} vous invite à modifier les documents de l’espace de travail « {workspace} » sur OpenPencil Cloud.",
|
|
456
|
+
workspaceInvitationViewer: "{inviter} vous invite à consulter l’espace de travail « {workspace} » sur OpenPencil Cloud.",
|
|
457
|
+
workspaceInvitationHome: "Une fois que vous l’aurez rejoint, ses documents apparaîtront sur l’accueil.",
|
|
458
|
+
workspaceInvitationAction: "Rejoindre l’espace",
|
|
459
|
+
enrollmentRequestedSubject: "Nous avons reçu votre demande pour OpenPencil Cloud",
|
|
460
|
+
enrollmentRequestedHeading: "Demande reçue",
|
|
461
|
+
enrollmentRequestedPreview: "Votre demande d’accès à OpenPencil Cloud est en attente d’examen.",
|
|
462
|
+
enrollmentRequested: "Votre demande est en attente d’examen. Nous vous écrirons dès qu’une décision aura été prise.",
|
|
463
|
+
enrollmentApprovedSubject: "Votre accès à OpenPencil Cloud est prêt",
|
|
464
|
+
enrollmentApprovedHeading: "Accès approuvé",
|
|
465
|
+
enrollmentApprovedPreview: "Vous pouvez maintenant vous connecter à OpenPencil Cloud.",
|
|
466
|
+
enrollmentApproved: "Votre demande d’accès a été approuvée : vous pouvez vous connecter dès maintenant.",
|
|
467
|
+
enrollmentApprovedAction: "Se connecter",
|
|
468
|
+
enrollmentRejectedSubject: "Votre demande pour OpenPencil Cloud a été examinée",
|
|
469
|
+
enrollmentRejectedHeading: "Demande examinée",
|
|
470
|
+
enrollmentRejectedPreview: "Votre demande d’accès n’a pas été approuvée.",
|
|
471
|
+
enrollmentRejected: "Votre demande d’accès n’a pas été approuvée cette fois-ci.",
|
|
472
|
+
enrollmentRejectedAction: "Redemander l’accès",
|
|
473
|
+
enrollmentRevokedSubject: "Votre accès à OpenPencil Cloud a changé",
|
|
474
|
+
enrollmentRevokedHeading: "Accès modifié",
|
|
475
|
+
enrollmentRevokedPreview: "Votre accès à OpenPencil Cloud n’est plus actif.",
|
|
476
|
+
enrollmentRevoked: "Votre accès à OpenPencil Cloud n’est plus actif.",
|
|
477
|
+
enrollmentRevokedAction: "Ouvrir OpenPencil",
|
|
478
|
+
enrollmentNotificationSubject: "Nouvelle demande d’accès à OpenPencil Cloud",
|
|
479
|
+
enrollmentNotificationHeading: "Nouvelle demande d’accès",
|
|
480
|
+
enrollmentNotificationPreview: "{email} a demandé l’accès à OpenPencil Cloud.",
|
|
481
|
+
enrollmentNotification: "{name} ({email}) a demandé l’accès et a écrit :",
|
|
482
|
+
enrollmentNotificationAction: "Examiner la demande",
|
|
483
|
+
documentReportSubject: "Un document partagé sur OpenPencil Cloud a été signalé",
|
|
484
|
+
documentReportHeading: "Un document partagé a été signalé",
|
|
485
|
+
documentReportPreview: "« {document} » a été signalé pour {reason}.",
|
|
486
|
+
documentReport: "Une personne ayant ouvert « {document} » via un lien de partage l’a signalé pour {reason} et a écrit :",
|
|
487
|
+
documentReportAction: "Examiner le signalement",
|
|
488
|
+
reportReasonSpamPhishing: "spam ou hameçonnage",
|
|
489
|
+
reportReasonIllegal: "contenu illégal",
|
|
490
|
+
reportReasonCopyright: "atteinte au droit d’auteur",
|
|
491
|
+
reportReasonHarassment: "harcèlement",
|
|
492
|
+
reportReasonOther: "un autre motif",
|
|
493
|
+
verifyAccountSubject: "Confirmez votre adresse e-mail pour OpenPencil Cloud",
|
|
494
|
+
verifyAccountHeading: "Confirmez votre adresse e-mail",
|
|
495
|
+
verifyAccountPreview: "Un clic pour finaliser la création de votre compte OpenPencil Cloud.",
|
|
496
|
+
verifyAccount: "Confirmez cette adresse pour finaliser la création de votre compte OpenPencil Cloud. Revenez ensuite dans OpenPencil : la connexion se fera automatiquement.",
|
|
497
|
+
verifyAccountNote: "Vous n’avez pas créé de compte ? Ignorez cet e-mail, et rien ne se passera.",
|
|
498
|
+
verifyChangeSubject: "Confirmez votre nouvelle adresse e-mail pour OpenPencil Cloud",
|
|
499
|
+
verifyChangeHeading: "Confirmez votre nouvelle adresse e-mail",
|
|
500
|
+
verifyChangePreview: "Un clic pour associer votre compte OpenPencil Cloud à cette adresse.",
|
|
501
|
+
verifyChange: "Confirmez cette adresse pour en faire l’adresse e-mail de votre compte OpenPencil Cloud. D’ici là, votre ancienne adresse reste active.",
|
|
502
|
+
verifyChangeNote: "Vous n’avez rien demandé ? Ignorez cet e-mail, et rien ne changera.",
|
|
503
|
+
verifyAction: "Confirmer l’adresse e-mail",
|
|
504
|
+
passwordResetSubject: "Réinitialisez votre mot de passe OpenPencil Cloud",
|
|
505
|
+
passwordResetHeading: "Réinitialiser votre mot de passe",
|
|
506
|
+
passwordResetPreview: "Utilisez ce lien sécurisé pour choisir un nouveau mot de passe.",
|
|
507
|
+
passwordReset: "Utilisez le lien ci-dessous pour choisir un nouveau mot de passe.",
|
|
508
|
+
passwordResetNote: "Vous n’avez rien demandé ? Ignorez cet e-mail, et votre mot de passe restera inchangé.",
|
|
509
|
+
passwordResetAction: "Réinitialiser le mot de passe",
|
|
510
|
+
passwordChangedSubject: "Votre mot de passe OpenPencil Cloud a été modifié",
|
|
511
|
+
passwordChangedHeading: "Mot de passe modifié",
|
|
512
|
+
passwordChangedPreview: "Votre mot de passe OpenPencil Cloud a été modifié.",
|
|
513
|
+
passwordChanged: "Votre mot de passe a été modifié. Si ce n’était pas vous, contactez votre administrateur.",
|
|
514
|
+
emailChangeSubject: "Votre adresse e-mail OpenPencil Cloud va changer",
|
|
515
|
+
emailChangeHeading: "Votre adresse e-mail va changer",
|
|
516
|
+
emailChangePreview: "Votre adresse e-mail OpenPencil Cloud va devenir {email}.",
|
|
517
|
+
emailChange: "Une personne connectée à votre compte a demandé à remplacer son adresse e-mail par {email}. Le changement prendra effet dès que cette adresse l’aura confirmé.",
|
|
518
|
+
emailChangeNotYou: "Si ce n’était pas vous, changez votre mot de passe et déconnectez vos autres sessions.",
|
|
519
|
+
reviewAccount: "Vérifier votre compte",
|
|
520
|
+
newSignInSubject: "Nouvelle connexion à votre compte OpenPencil Cloud",
|
|
521
|
+
newSignInHeading: "Nouvelle connexion à votre compte",
|
|
522
|
+
newSignInPreview: "Une connexion à votre compte OpenPencil Cloud a eu lieu avec {device}.",
|
|
523
|
+
newSignIn: "Une connexion à votre compte a eu lieu avec {device} le {date}.",
|
|
524
|
+
newSignInFrom: "Une connexion à votre compte a eu lieu avec {device} depuis {address} le {date}.",
|
|
525
|
+
newSignInNotYou: "Si c’était vous, vous n’avez rien à faire. Sinon, déconnectez cette session et changez votre mot de passe.",
|
|
526
|
+
newSignInApp: "l’app OpenPencil",
|
|
527
|
+
newSignInBrowser: "{browser} sur {system}",
|
|
528
|
+
newSignInUnknownBrowser: "un navigateur inconnu",
|
|
529
|
+
reviewSessions: "Vérifier les sessions",
|
|
530
|
+
twoStepSubject: "Votre façon de vous connecter à OpenPencil Cloud a changé",
|
|
531
|
+
authenticatorOnHeading: "App d’authentification activée",
|
|
532
|
+
authenticatorOn: "Une app d’authentification confirme désormais vos connexions.",
|
|
533
|
+
authenticatorOffHeading: "App d’authentification désactivée",
|
|
534
|
+
authenticatorOff: "Vos connexions ne demandent plus de code d’une app d’authentification.",
|
|
535
|
+
passkeyAddedHeading: "Clé d’accès ajoutée",
|
|
536
|
+
passkeyAdded: "Une clé d’accès a été ajoutée à votre compte.",
|
|
537
|
+
passkeyRemovedHeading: "Clé d’accès supprimée",
|
|
538
|
+
passkeyRemoved: "Une clé d’accès a été supprimée de votre compte.",
|
|
539
|
+
twoStepResetHeading: "La connexion en deux étapes a été réinitialisée",
|
|
540
|
+
twoStepReset: "Un administrateur a supprimé votre app d’authentification, vos codes de récupération et vos clés d’accès pour que vous puissiez les configurer à nouveau.",
|
|
541
|
+
twoStepNotYou: "Si ce n’était pas vous, changez votre mot de passe et contactez votre administrateur.",
|
|
542
|
+
reviewSecurity: "Vérifier la sécurité",
|
|
543
|
+
storageFullSubject: "Vos fichiers OpenPencil Cloud sont en lecture seule",
|
|
544
|
+
storageFullHeading: "Votre stockage est plein",
|
|
545
|
+
storageFullPreview: "Vos fichiers OpenPencil Cloud occupent {used} sur {limit} : ils sont donc en lecture seule.",
|
|
546
|
+
storageFull: "Vos espaces de travail occupent {used} et votre forfait inclut {limit}. Tant qu’ils n’occuperont pas moins, vos documents pourront être ouverts et téléchargés, mais pas modifiés, et aucun nouveau fichier ne pourra être ajouté.",
|
|
547
|
+
storageFullUpgrade: "Obtenez plus de stockage, ou supprimez des documents et videz la corbeille, pour pouvoir modifier à nouveau.",
|
|
548
|
+
storageFullFreeSpace: "Supprimez des documents et videz la corbeille pour pouvoir modifier à nouveau.",
|
|
549
|
+
storageFullAction: "Obtenir plus de stockage",
|
|
550
|
+
documentBlockedSubject: "Votre document « {document} » a été bloqué",
|
|
551
|
+
documentBlockedHeading: "Un de vos documents a été bloqué",
|
|
552
|
+
documentBlocked: "Un administrateur d’OpenPencil Cloud a bloqué votre document « {document} ». Personne ne peut l’ouvrir, vous y compris, tant qu’il n’a pas été rétabli. Rien n’a été supprimé.",
|
|
553
|
+
documentBlockedReason: "Motif indiqué : {reason}",
|
|
554
|
+
documentBlockedContest: "Si vous pensez qu’il s’agit d’une erreur, écrivez à {email} pour demander un nouvel examen.",
|
|
555
|
+
documentBlockedContestAdministrators: "Si vous pensez qu’il s’agit d’une erreur, demandez aux administrateurs du serveur de le réexaminer.",
|
|
556
|
+
documentRestoredSubject: "Votre document « {document} » est de nouveau disponible",
|
|
557
|
+
documentRestoredHeading: "Votre document est de nouveau disponible",
|
|
558
|
+
documentRestored: "Un administrateur a rétabli votre document « {document} ». Vous et toutes les personnes avec qui vous l’avez partagé pouvez de nouveau l’ouvrir.",
|
|
559
|
+
openHome: "Ouvrir l’accueil",
|
|
560
|
+
reportReceivedSubject: "Nous avons bien reçu votre signalement concernant « {document} »",
|
|
561
|
+
reportReceivedHeading: "Signalement reçu",
|
|
562
|
+
reportReceived: "Merci d’avoir signalé « {document} ». Les administrateurs du serveur examinent chaque signalement et décident s’il enfreint les règles. Nous vous écrirons de nouveau une fois leur décision prise.",
|
|
563
|
+
reportDecidedSubject: "Votre signalement concernant « {document} »",
|
|
564
|
+
reportBlockedHeading: "Le document a été bloqué",
|
|
565
|
+
reportBlocked: "Les administrateurs ont examiné votre signalement et bloqué « {document} ». Personne ne peut l’ouvrir tant qu’il n’a pas été rétabli.",
|
|
566
|
+
reportActionedHeading: "Des mesures ont été prises suite à votre signalement",
|
|
567
|
+
reportActioned: "Les administrateurs ont examiné votre signalement concernant « {document} » et ont pris des mesures.",
|
|
568
|
+
reportDismissedHeading: "Le document est maintenu",
|
|
569
|
+
reportDismissed: "Les administrateurs ont examiné votre signalement concernant « {document} » et estimé qu’il n’enfreint pas les règles. Il reste donc tel quel.",
|
|
570
|
+
reportDisagree: "Si vous n’êtes pas d’accord, écrivez à {email}.",
|
|
571
|
+
reportDisagreeAdministrators: "Si vous n’êtes pas d’accord, demandez aux administrateurs du serveur de le réexaminer.",
|
|
572
|
+
waitlistSubject: "Confirmez votre place sur la liste d’attente d’OpenPencil Cloud",
|
|
573
|
+
waitlistHeading: "Confirmez votre adresse e-mail",
|
|
574
|
+
waitlistPreview: "Un clic pour rejoindre la liste d’attente d’OpenPencil Cloud.",
|
|
575
|
+
waitlist: "Merci de votre intérêt pour OpenPencil Cloud. Confirmez cette adresse pour rejoindre la liste d’attente : nous vous écrirons une seule fois, quand Cloud sera prêt pour vous.",
|
|
576
|
+
waitlistAction: "Rejoindre la liste d’attente",
|
|
577
|
+
waitlistNote: "Vous ne vous êtes pas inscrit ? Ignorez cet e-mail et l’adresse sera supprimée dans sept jours, ou {link}.",
|
|
578
|
+
waitlistLeave: "supprimez-la dès maintenant"
|
|
579
|
+
};
|
|
580
|
+
//#endregion
|
|
581
|
+
//#region src/email/locales/it.json
|
|
582
|
+
var it_default = {
|
|
583
|
+
greeting: "Ciao {name},",
|
|
584
|
+
greetingWithoutName: "Ciao,",
|
|
585
|
+
someone: "Qualcuno",
|
|
586
|
+
openCloud: "Apri OpenPencil Cloud",
|
|
587
|
+
footer: "OpenPencil, l’editor di design open source",
|
|
588
|
+
invitationExpires: "Questo invito scade il {date}.",
|
|
589
|
+
documentInvitationHeading: "Hai ricevuto un invito a un documento",
|
|
590
|
+
documentInvitationViewSubject: "{inviter} ti ha invitato a visualizzare «{document}»",
|
|
591
|
+
documentInvitationEditSubject: "{inviter} ti ha invitato a modificare «{document}»",
|
|
592
|
+
documentInvitationView: "{inviter} ti ha invitato a visualizzare «{document}» su OpenPencil Cloud.",
|
|
593
|
+
documentInvitationEdit: "{inviter} ti ha invitato a modificare «{document}» su OpenPencil Cloud.",
|
|
594
|
+
documentInvitationAction: "Apri documento",
|
|
595
|
+
workspaceInvitationSubject: "{inviter} ti ha invitato in {workspace}",
|
|
596
|
+
workspaceInvitationHeading: "Entra in {workspace}",
|
|
597
|
+
workspaceInvitationAdmin: "{inviter} ti ha invitato a gestire l’area di lavoro «{workspace}» su OpenPencil Cloud.",
|
|
598
|
+
workspaceInvitationEditor: "{inviter} ti ha invitato a modificare i contenuti dell’area di lavoro «{workspace}» su OpenPencil Cloud.",
|
|
599
|
+
workspaceInvitationViewer: "{inviter} ti ha invitato a visualizzare l’area di lavoro «{workspace}» su OpenPencil Cloud.",
|
|
600
|
+
workspaceInvitationHome: "Quando entri, vedrai i suoi documenti in Home.",
|
|
601
|
+
workspaceInvitationAction: "Entra nell’area di lavoro",
|
|
602
|
+
enrollmentRequestedSubject: "Abbiamo ricevuto la tua richiesta per OpenPencil Cloud",
|
|
603
|
+
enrollmentRequestedHeading: "Richiesta ricevuta",
|
|
604
|
+
enrollmentRequestedPreview: "La tua richiesta di accesso a OpenPencil Cloud è in attesa di revisione.",
|
|
605
|
+
enrollmentRequested: "La tua richiesta è in attesa di revisione. Ti scriveremo di nuovo quando sarà presa una decisione.",
|
|
606
|
+
enrollmentApprovedSubject: "Il tuo accesso a OpenPencil Cloud è pronto",
|
|
607
|
+
enrollmentApprovedHeading: "Accesso approvato",
|
|
608
|
+
enrollmentApprovedPreview: "Ora puoi accedere a OpenPencil Cloud.",
|
|
609
|
+
enrollmentApproved: "La tua richiesta di accesso è stata approvata: ora puoi accedere.",
|
|
610
|
+
enrollmentApprovedAction: "Accedi",
|
|
611
|
+
enrollmentRejectedSubject: "La tua richiesta per OpenPencil Cloud è stata esaminata",
|
|
612
|
+
enrollmentRejectedHeading: "Richiesta esaminata",
|
|
613
|
+
enrollmentRejectedPreview: "La tua richiesta di accesso non è stata approvata.",
|
|
614
|
+
enrollmentRejected: "Questa volta la tua richiesta di accesso non è stata approvata.",
|
|
615
|
+
enrollmentRejectedAction: "Richiedi di nuovo l’accesso",
|
|
616
|
+
enrollmentRevokedSubject: "Il tuo accesso a OpenPencil Cloud è cambiato",
|
|
617
|
+
enrollmentRevokedHeading: "Accesso modificato",
|
|
618
|
+
enrollmentRevokedPreview: "Il tuo accesso a OpenPencil Cloud non è più attivo.",
|
|
619
|
+
enrollmentRevoked: "Il tuo accesso a OpenPencil Cloud non è più attivo.",
|
|
620
|
+
enrollmentRevokedAction: "Apri OpenPencil",
|
|
621
|
+
enrollmentNotificationSubject: "Nuova richiesta di accesso a OpenPencil Cloud",
|
|
622
|
+
enrollmentNotificationHeading: "Nuova richiesta di accesso",
|
|
623
|
+
enrollmentNotificationPreview: "{email} ha richiesto l’accesso a OpenPencil Cloud.",
|
|
624
|
+
enrollmentNotification: "{name} ({email}) ha richiesto l’accesso e ha scritto:",
|
|
625
|
+
enrollmentNotificationAction: "Esamina la richiesta",
|
|
626
|
+
documentReportSubject: "Un documento condiviso su OpenPencil Cloud è stato segnalato",
|
|
627
|
+
documentReportHeading: "Un documento condiviso è stato segnalato",
|
|
628
|
+
documentReportPreview: "«{document}» è stato segnalato per {reason}.",
|
|
629
|
+
documentReport: "Una persona che ha aperto «{document}» da un link di condivisione l’ha segnalato per {reason} e ha scritto:",
|
|
630
|
+
documentReportAction: "Esamina la segnalazione",
|
|
631
|
+
reportReasonSpamPhishing: "spam o phishing",
|
|
632
|
+
reportReasonIllegal: "contenuti illegali",
|
|
633
|
+
reportReasonCopyright: "violazione del copyright",
|
|
634
|
+
reportReasonHarassment: "molestie",
|
|
635
|
+
reportReasonOther: "un altro motivo",
|
|
636
|
+
verifyAccountSubject: "Conferma la tua email per OpenPencil Cloud",
|
|
637
|
+
verifyAccountHeading: "Conferma la tua email",
|
|
638
|
+
verifyAccountPreview: "Un clic per completare la creazione del tuo account OpenPencil Cloud.",
|
|
639
|
+
verifyAccount: "Conferma questo indirizzo per completare la creazione del tuo account OpenPencil Cloud. Poi torna su OpenPencil: l’accesso avverrà automaticamente.",
|
|
640
|
+
verifyAccountNote: "Non hai creato un account? Ignora questa email e non succederà nulla.",
|
|
641
|
+
verifyChangeSubject: "Conferma la tua nuova email per OpenPencil Cloud",
|
|
642
|
+
verifyChangeHeading: "Conferma la tua nuova email",
|
|
643
|
+
verifyChangePreview: "Un clic per spostare il tuo account OpenPencil Cloud su questo indirizzo.",
|
|
644
|
+
verifyChange: "Conferma questo indirizzo per renderlo l’email del tuo account OpenPencil Cloud. Fino ad allora resta valido il vecchio indirizzo.",
|
|
645
|
+
verifyChangeNote: "Non l’hai chiesto tu? Ignora questa email e non cambierà nulla.",
|
|
646
|
+
verifyAction: "Conferma email",
|
|
647
|
+
passwordResetSubject: "Reimposta la password di OpenPencil Cloud",
|
|
648
|
+
passwordResetHeading: "Reimposta la password",
|
|
649
|
+
passwordResetPreview: "Usa questo link sicuro per scegliere una nuova password.",
|
|
650
|
+
passwordReset: "Usa il link qui sotto per scegliere una nuova password.",
|
|
651
|
+
passwordResetNote: "Non l’hai chiesto tu? Ignora questa email e la tua password resterà invariata.",
|
|
652
|
+
passwordResetAction: "Reimposta password",
|
|
653
|
+
passwordChangedSubject: "La tua password di OpenPencil Cloud è cambiata",
|
|
654
|
+
passwordChangedHeading: "Password modificata",
|
|
655
|
+
passwordChangedPreview: "La tua password di OpenPencil Cloud è stata modificata.",
|
|
656
|
+
passwordChanged: "La tua password è stata modificata. Se non sei stato tu, contatta il tuo amministratore.",
|
|
657
|
+
emailChangeSubject: "L’email del tuo account OpenPencil Cloud sta cambiando",
|
|
658
|
+
emailChangeHeading: "La tua email sta cambiando",
|
|
659
|
+
emailChangePreview: "L’email del tuo account OpenPencil Cloud sta per diventare {email}.",
|
|
660
|
+
emailChange: "Una persona che ha effettuato l’accesso al tuo account ha chiesto di cambiarne l’email in {email}. La modifica avverrà quando quell’indirizzo la confermerà.",
|
|
661
|
+
emailChangeNotYou: "Se non sei stato tu, cambia la password e disconnetti le altre sessioni.",
|
|
662
|
+
reviewAccount: "Controlla il tuo account",
|
|
663
|
+
newSignInSubject: "Nuovo accesso al tuo account OpenPencil Cloud",
|
|
664
|
+
newSignInHeading: "Nuovo accesso al tuo account",
|
|
665
|
+
newSignInPreview: "È stato effettuato l’accesso al tuo account OpenPencil Cloud con {device}.",
|
|
666
|
+
newSignIn: "È stato effettuato l’accesso al tuo account con {device} il {date}.",
|
|
667
|
+
newSignInFrom: "È stato effettuato l’accesso al tuo account con {device} da {address} il {date}.",
|
|
668
|
+
newSignInNotYou: "Se sei stato tu, non devi fare nulla. Altrimenti, disconnetti quella sessione e cambia la password.",
|
|
669
|
+
newSignInApp: "l’app OpenPencil",
|
|
670
|
+
newSignInBrowser: "{browser} su {system}",
|
|
671
|
+
newSignInUnknownBrowser: "un browser sconosciuto",
|
|
672
|
+
reviewSessions: "Controlla le sessioni",
|
|
673
|
+
twoStepSubject: "Il modo in cui accedi a OpenPencil Cloud è cambiato",
|
|
674
|
+
authenticatorOnHeading: "App di autenticazione attivata",
|
|
675
|
+
authenticatorOn: "Ora un’app di autenticazione conferma i tuoi accessi.",
|
|
676
|
+
authenticatorOffHeading: "App di autenticazione disattivata",
|
|
677
|
+
authenticatorOff: "I tuoi accessi non richiedono più un codice da un’app di autenticazione.",
|
|
678
|
+
passkeyAddedHeading: "Passkey aggiunta",
|
|
679
|
+
passkeyAdded: "Al tuo account è stata aggiunta una passkey.",
|
|
680
|
+
passkeyRemovedHeading: "Passkey rimossa",
|
|
681
|
+
passkeyRemoved: "Dal tuo account è stata rimossa una passkey.",
|
|
682
|
+
twoStepResetHeading: "La verifica in due passaggi è stata reimpostata",
|
|
683
|
+
twoStepReset: "Un amministratore ha rimosso la tua app di autenticazione, i codici di recupero e le passkey, così puoi configurarli di nuovo.",
|
|
684
|
+
twoStepNotYou: "Se non sei stato tu, cambia la password e contatta il tuo amministratore.",
|
|
685
|
+
reviewSecurity: "Controlla la sicurezza",
|
|
686
|
+
storageFullSubject: "I tuoi file su OpenPencil Cloud sono in sola lettura",
|
|
687
|
+
storageFullHeading: "Il tuo spazio di archiviazione è esaurito",
|
|
688
|
+
storageFullPreview: "I tuoi file su OpenPencil Cloud occupano {used} di {limit}, quindi sono in sola lettura.",
|
|
689
|
+
storageFull: "Le tue aree di lavoro occupano {used} e il tuo piano ne include {limit}. Finché non occuperanno meno spazio, i tuoi documenti si potranno aprire e scaricare, ma non modificare, e non potrai aggiungere nuovi file.",
|
|
690
|
+
storageFullUpgrade: "Per tornare a modificare, ottieni più spazio oppure elimina dei documenti e svuota il cestino.",
|
|
691
|
+
storageFullFreeSpace: "Per tornare a modificare, elimina dei documenti e svuota il cestino.",
|
|
692
|
+
storageFullAction: "Ottieni più spazio",
|
|
693
|
+
documentBlockedSubject: "Il tuo documento «{document}» è stato bloccato",
|
|
694
|
+
documentBlockedHeading: "Uno dei tuoi documenti è stato bloccato",
|
|
695
|
+
documentBlocked: "Un amministratore di OpenPencil Cloud ha bloccato il tuo documento «{document}». Nessuno può aprirlo, nemmeno tu, finché non verrà ripristinato. Non è stato eliminato nulla.",
|
|
696
|
+
documentBlockedReason: "Motivo indicato: {reason}",
|
|
697
|
+
documentBlockedContest: "Se pensi che si tratti di un errore, scrivi a {email} per chiedere un nuovo controllo.",
|
|
698
|
+
documentBlockedContestAdministrators: "Se pensi che si tratti di un errore, chiedi agli amministratori del server di ricontrollarlo.",
|
|
699
|
+
documentRestoredSubject: "Il tuo documento «{document}» è di nuovo disponibile",
|
|
700
|
+
documentRestoredHeading: "Il tuo documento è di nuovo disponibile",
|
|
701
|
+
documentRestored: "Un amministratore ha ripristinato il tuo documento «{document}». Tu e tutte le persone con cui l’hai condiviso potete aprirlo di nuovo.",
|
|
702
|
+
openHome: "Apri Home",
|
|
703
|
+
reportReceivedSubject: "Abbiamo ricevuto la tua segnalazione su «{document}»",
|
|
704
|
+
reportReceivedHeading: "Segnalazione ricevuta",
|
|
705
|
+
reportReceived: "Grazie per aver segnalato «{document}». Gli amministratori del server esaminano ogni segnalazione e decidono se viola le regole. Ti scriveremo di nuovo quando avranno deciso.",
|
|
706
|
+
reportDecidedSubject: "La tua segnalazione su «{document}»",
|
|
707
|
+
reportBlockedHeading: "Il documento è stato bloccato",
|
|
708
|
+
reportBlocked: "Gli amministratori hanno esaminato la tua segnalazione e hanno bloccato «{document}»: nessuno potrà aprirlo finché non verrà ripristinato.",
|
|
709
|
+
reportActionedHeading: "Sono stati presi provvedimenti sulla tua segnalazione",
|
|
710
|
+
reportActioned: "Gli amministratori hanno esaminato la tua segnalazione su «{document}» e hanno preso provvedimenti.",
|
|
711
|
+
reportDismissedHeading: "Il documento resta disponibile",
|
|
712
|
+
reportDismissed: "Gli amministratori hanno esaminato la tua segnalazione su «{document}» e hanno stabilito che non viola le regole, quindi resta com’è.",
|
|
713
|
+
reportDisagree: "Se non sei d’accordo, scrivi a {email}.",
|
|
714
|
+
reportDisagreeAdministrators: "Se non sei d’accordo, chiedi agli amministratori del server di ricontrollarlo.",
|
|
715
|
+
waitlistSubject: "Conferma il tuo posto nella lista d’attesa di OpenPencil Cloud",
|
|
716
|
+
waitlistHeading: "Conferma la tua email",
|
|
717
|
+
waitlistPreview: "Un clic per entrare nella lista d’attesa di OpenPencil Cloud.",
|
|
718
|
+
waitlist: "Grazie per l’interesse verso OpenPencil Cloud. Conferma questo indirizzo per entrare nella lista d’attesa: ti scriveremo una sola volta, quando Cloud sarà pronto per te.",
|
|
719
|
+
waitlistAction: "Entra nella lista d’attesa",
|
|
720
|
+
waitlistNote: "Non ti sei iscritto? Ignora questa email e l’indirizzo verrà eliminato tra sette giorni, oppure {link}.",
|
|
721
|
+
waitlistLeave: "rimuovilo subito"
|
|
722
|
+
};
|
|
723
|
+
//#endregion
|
|
724
|
+
//#region src/email/locales/ja.json
|
|
725
|
+
var ja_default = {
|
|
726
|
+
greeting: "{name} さん、こんにちは。",
|
|
727
|
+
greetingWithoutName: "こんにちは。",
|
|
728
|
+
someone: "誰か",
|
|
729
|
+
openCloud: "OpenPencil Cloud を開く",
|
|
730
|
+
footer: "OpenPencil:オープンソースのデザインエディター",
|
|
731
|
+
invitationExpires: "この招待の有効期限は {date} です。",
|
|
732
|
+
documentInvitationHeading: "ドキュメントへの招待が届きました",
|
|
733
|
+
documentInvitationViewSubject: "{inviter} から「{document}」の閲覧に招待されました",
|
|
734
|
+
documentInvitationEditSubject: "{inviter} から「{document}」の編集に招待されました",
|
|
735
|
+
documentInvitationView: "{inviter} から、OpenPencil Cloud の「{document}」の閲覧に招待されました。",
|
|
736
|
+
documentInvitationEdit: "{inviter} から、OpenPencil Cloud の「{document}」の編集に招待されました。",
|
|
737
|
+
documentInvitationAction: "ドキュメントを開く",
|
|
738
|
+
workspaceInvitationSubject: "{inviter} から {workspace} に招待されました",
|
|
739
|
+
workspaceInvitationHeading: "{workspace} に参加",
|
|
740
|
+
workspaceInvitationAdmin: "{inviter} から、OpenPencil Cloud のワークスペース「{workspace}」の管理に招待されました。",
|
|
741
|
+
workspaceInvitationEditor: "{inviter} から、OpenPencil Cloud のワークスペース「{workspace}」での編集に招待されました。",
|
|
742
|
+
workspaceInvitationViewer: "{inviter} から、OpenPencil Cloud のワークスペース「{workspace}」の閲覧に招待されました。",
|
|
743
|
+
workspaceInvitationHome: "参加すると、ワークスペースのドキュメントがホームに表示されます。",
|
|
744
|
+
workspaceInvitationAction: "ワークスペースに参加",
|
|
745
|
+
enrollmentRequestedSubject: "OpenPencil Cloud へのリクエストを受け付けました",
|
|
746
|
+
enrollmentRequestedHeading: "リクエストを受け付けました",
|
|
747
|
+
enrollmentRequestedPreview: "OpenPencil Cloud へのアクセスリクエストは審査待ちです。",
|
|
748
|
+
enrollmentRequested: "リクエストは審査待ちです。結果が決まりしだい、改めてご連絡します。",
|
|
749
|
+
enrollmentApprovedSubject: "OpenPencil Cloud を利用できるようになりました",
|
|
750
|
+
enrollmentApprovedHeading: "アクセスが承認されました",
|
|
751
|
+
enrollmentApprovedPreview: "OpenPencil Cloud にサインインできるようになりました。",
|
|
752
|
+
enrollmentApproved: "アクセスリクエストが承認されました。今すぐサインインできます。",
|
|
753
|
+
enrollmentApprovedAction: "サインイン",
|
|
754
|
+
enrollmentRejectedSubject: "OpenPencil Cloud へのリクエストの審査結果",
|
|
755
|
+
enrollmentRejectedHeading: "リクエストの審査結果",
|
|
756
|
+
enrollmentRejectedPreview: "アクセスリクエストは承認されませんでした。",
|
|
757
|
+
enrollmentRejected: "今回はアクセスリクエストが承認されませんでした。",
|
|
758
|
+
enrollmentRejectedAction: "もう一度アクセスをリクエスト",
|
|
759
|
+
enrollmentRevokedSubject: "OpenPencil Cloud へのアクセスが変更されました",
|
|
760
|
+
enrollmentRevokedHeading: "アクセスが変更されました",
|
|
761
|
+
enrollmentRevokedPreview: "OpenPencil Cloud へのアクセスは無効になりました。",
|
|
762
|
+
enrollmentRevoked: "OpenPencil Cloud へのアクセスは無効になりました。",
|
|
763
|
+
enrollmentRevokedAction: "OpenPencil を開く",
|
|
764
|
+
enrollmentNotificationSubject: "OpenPencil Cloud への新しいアクセスリクエスト",
|
|
765
|
+
enrollmentNotificationHeading: "新しいアクセスリクエスト",
|
|
766
|
+
enrollmentNotificationPreview: "{email} から OpenPencil Cloud へのアクセスリクエストが届きました。",
|
|
767
|
+
enrollmentNotification: "{name}({email})からアクセスリクエストが届きました。メッセージ:",
|
|
768
|
+
enrollmentNotificationAction: "リクエストを確認",
|
|
769
|
+
documentReportSubject: "共有された OpenPencil Cloud のドキュメントが報告されました",
|
|
770
|
+
documentReportHeading: "共有ドキュメントが報告されました",
|
|
771
|
+
documentReportPreview: "「{document}」が報告されました(理由:{reason})。",
|
|
772
|
+
documentReport: "共有リンクから「{document}」を開いた人が報告しました(理由:{reason})。メッセージ:",
|
|
773
|
+
documentReportAction: "報告を確認",
|
|
774
|
+
reportReasonSpamPhishing: "スパムまたはフィッシング",
|
|
775
|
+
reportReasonIllegal: "違法なコンテンツ",
|
|
776
|
+
reportReasonCopyright: "著作権侵害",
|
|
777
|
+
reportReasonHarassment: "嫌がらせ",
|
|
778
|
+
reportReasonOther: "その他",
|
|
779
|
+
verifyAccountSubject: "OpenPencil Cloud のメールアドレスを確認してください",
|
|
780
|
+
verifyAccountHeading: "メールアドレスを確認",
|
|
781
|
+
verifyAccountPreview: "ワンクリックで OpenPencil Cloud のアカウント作成が完了します。",
|
|
782
|
+
verifyAccount: "このアドレスを確認して、OpenPencil Cloud のアカウント作成を完了してください。その後 OpenPencil に戻ると、自動的にサインインされます。",
|
|
783
|
+
verifyAccountNote: "アカウントを作成した覚えがない場合は、このメールを無視してください。何も起こりません。",
|
|
784
|
+
verifyChangeSubject: "OpenPencil Cloud の新しいメールアドレスを確認してください",
|
|
785
|
+
verifyChangeHeading: "新しいメールアドレスを確認",
|
|
786
|
+
verifyChangePreview: "ワンクリックで OpenPencil Cloud アカウントのメールアドレスがこのアドレスに切り替わります。",
|
|
787
|
+
verifyChange: "このアドレスを確認すると、OpenPencil Cloud アカウントのメールアドレスになります。確認するまでは古いアドレスがそのまま使われます。",
|
|
788
|
+
verifyChangeNote: "心当たりがない場合は、このメールを無視してください。何も変更されません。",
|
|
789
|
+
verifyAction: "メールアドレスを確認",
|
|
790
|
+
passwordResetSubject: "OpenPencil Cloud のパスワードをリセット",
|
|
791
|
+
passwordResetHeading: "パスワードをリセット",
|
|
792
|
+
passwordResetPreview: "この安全なリンクから新しいパスワードを設定できます。",
|
|
793
|
+
passwordReset: "下のリンクから新しいパスワードを設定してください。",
|
|
794
|
+
passwordResetNote: "心当たりがない場合は、このメールを無視してください。パスワードは変わりません。",
|
|
795
|
+
passwordResetAction: "パスワードをリセット",
|
|
796
|
+
passwordChangedSubject: "OpenPencil Cloud のパスワードが変更されました",
|
|
797
|
+
passwordChangedHeading: "パスワードが変更されました",
|
|
798
|
+
passwordChangedPreview: "OpenPencil Cloud のパスワードが変更されました。",
|
|
799
|
+
passwordChanged: "パスワードが変更されました。心当たりがない場合は、管理者に連絡してください。",
|
|
800
|
+
emailChangeSubject: "OpenPencil Cloud のメールアドレスが変更されます",
|
|
801
|
+
emailChangeHeading: "メールアドレスが変更されます",
|
|
802
|
+
emailChangePreview: "OpenPencil Cloud のメールアドレスが {email} に変更されます。",
|
|
803
|
+
emailChange: "あなたのアカウントにサインインしている人が、メールアドレスを {email} に変更するようリクエストしました。そのアドレスで確認が済むと変更されます。",
|
|
804
|
+
emailChangeNotYou: "心当たりがない場合は、パスワードを変更し、ほかのセッションからサインアウトしてください。",
|
|
805
|
+
reviewAccount: "アカウントを確認",
|
|
806
|
+
newSignInSubject: "OpenPencil Cloud アカウントへの新しいサインイン",
|
|
807
|
+
newSignInHeading: "アカウントへの新しいサインイン",
|
|
808
|
+
newSignInPreview: "{device} で OpenPencil Cloud アカウントにサインインがありました。",
|
|
809
|
+
newSignIn: "{date} に {device} でアカウントにサインインがありました。",
|
|
810
|
+
newSignInFrom: "{date} に {address} から {device} でアカウントにサインインがありました。",
|
|
811
|
+
newSignInNotYou: "ご自身によるものなら、何もする必要はありません。心当たりがない場合は、そのセッションをサインアウトし、パスワードを変更してください。",
|
|
812
|
+
newSignInApp: "OpenPencil アプリ",
|
|
813
|
+
newSignInBrowser: "{browser}({system})",
|
|
814
|
+
newSignInUnknownBrowser: "不明なブラウザー",
|
|
815
|
+
reviewSessions: "セッションを確認",
|
|
816
|
+
twoStepSubject: "OpenPencil Cloud へのサインイン方法が変更されました",
|
|
817
|
+
authenticatorOnHeading: "認証アプリが有効になりました",
|
|
818
|
+
authenticatorOn: "サインイン時に認証アプリで確認するようになりました。",
|
|
819
|
+
authenticatorOffHeading: "認証アプリが無効になりました",
|
|
820
|
+
authenticatorOff: "サインイン時に認証アプリのコードを求められなくなりました。",
|
|
821
|
+
passkeyAddedHeading: "パスキーが追加されました",
|
|
822
|
+
passkeyAdded: "アカウントにパスキーが追加されました。",
|
|
823
|
+
passkeyRemovedHeading: "パスキーが削除されました",
|
|
824
|
+
passkeyRemoved: "アカウントからパスキーが削除されました。",
|
|
825
|
+
twoStepResetHeading: "2段階認証がリセットされました",
|
|
826
|
+
twoStepReset: "管理者があなたの認証アプリ、リカバリーコード、パスキーを削除しました。もう一度設定できます。",
|
|
827
|
+
twoStepNotYou: "心当たりがない場合は、パスワードを変更し、管理者に連絡してください。",
|
|
828
|
+
reviewSecurity: "セキュリティを確認",
|
|
829
|
+
storageFullSubject: "OpenPencil Cloud のファイルが読み取り専用になりました",
|
|
830
|
+
storageFullHeading: "ストレージがいっぱいです",
|
|
831
|
+
storageFullPreview: "OpenPencil Cloud のファイルが {limit} のうち {used} を使用しているため、読み取り専用になっています。",
|
|
832
|
+
storageFull: "ワークスペースの使用量は {used} で、プランに含まれる容量は {limit} です。使用量が減るまで、ドキュメントを開いたりダウンロードしたりはできますが、編集や新しいファイルの追加はできません。",
|
|
833
|
+
storageFullUpgrade: "編集を再開するには、ストレージを追加するか、ドキュメントを削除してゴミ箱を空にしてください。",
|
|
834
|
+
storageFullFreeSpace: "編集を再開するには、ドキュメントを削除してゴミ箱を空にしてください。",
|
|
835
|
+
storageFullAction: "ストレージを追加",
|
|
836
|
+
documentBlockedSubject: "ドキュメント「{document}」がブロックされました",
|
|
837
|
+
documentBlockedHeading: "あなたのドキュメントがブロックされました",
|
|
838
|
+
documentBlocked: "OpenPencil Cloud の管理者が、あなたのドキュメント「{document}」をブロックしました。復元されるまで、あなたを含め誰も開くことができません。内容は削除されていません。",
|
|
839
|
+
documentBlockedReason: "管理者が示した理由:{reason}",
|
|
840
|
+
documentBlockedContest: "誤りだと思われる場合は、{email} に連絡して再確認を依頼してください。",
|
|
841
|
+
documentBlockedContestAdministrators: "誤りだと思われる場合は、サーバーの管理者に再確認を依頼してください。",
|
|
842
|
+
documentRestoredSubject: "ドキュメント「{document}」が復元されました",
|
|
843
|
+
documentRestoredHeading: "ドキュメントが復元されました",
|
|
844
|
+
documentRestored: "管理者が、あなたのドキュメント「{document}」を復元しました。あなたも、共有したすべての相手も、再び開けるようになりました。",
|
|
845
|
+
openHome: "ホームを開く",
|
|
846
|
+
reportReceivedSubject: "「{document}」に関する報告を受け付けました",
|
|
847
|
+
reportReceivedHeading: "報告を受け付けました",
|
|
848
|
+
reportReceived: "「{document}」を報告していただき、ありがとうございます。サーバーの管理者がすべての報告を確認し、ルールに違反しているかどうかを判断します。判断が出たら、改めてご連絡します。",
|
|
849
|
+
reportDecidedSubject: "「{document}」に関するご報告について",
|
|
850
|
+
reportBlockedHeading: "ドキュメントはブロックされました",
|
|
851
|
+
reportBlocked: "管理者があなたの報告を確認し、「{document}」をブロックしました。復元されるまで、誰も開くことができません。",
|
|
852
|
+
reportActionedHeading: "あなたの報告への対応が行われました",
|
|
853
|
+
reportActioned: "管理者が「{document}」に関するあなたの報告を確認し、対応を行いました。",
|
|
854
|
+
reportDismissedHeading: "ドキュメントはそのまま残ります",
|
|
855
|
+
reportDismissed: "管理者が「{document}」に関するあなたの報告を確認し、ルールに違反していないと判断しました。そのため、ドキュメントはそのまま残ります。",
|
|
856
|
+
reportDisagree: "この判断に同意できない場合は、{email} にご連絡ください。",
|
|
857
|
+
reportDisagreeAdministrators: "この判断に同意できない場合は、サーバーの管理者に再確認を依頼してください。",
|
|
858
|
+
waitlistSubject: "OpenPencil Cloud のウェイトリストへの登録を確認してください",
|
|
859
|
+
waitlistHeading: "メールアドレスを確認",
|
|
860
|
+
waitlistPreview: "ワンクリックで OpenPencil Cloud のウェイトリストに登録できます。",
|
|
861
|
+
waitlist: "OpenPencil Cloud に興味を持っていただきありがとうございます。このアドレスを確認するとウェイトリストに登録されます。ご利用の準備が整ったときに、一度だけご連絡します。",
|
|
862
|
+
waitlistAction: "ウェイトリストに登録",
|
|
863
|
+
waitlistNote: "登録した覚えがない場合は、このメールを無視してください。アドレスは7日後に削除されます。{link}こともできます。",
|
|
864
|
+
waitlistLeave: "今すぐ削除する"
|
|
865
|
+
};
|
|
866
|
+
//#endregion
|
|
867
|
+
//#region src/email/locales/pl.json
|
|
868
|
+
var pl_default = {
|
|
869
|
+
greeting: "Cześć {name},",
|
|
870
|
+
greetingWithoutName: "Cześć,",
|
|
871
|
+
someone: "Ktoś",
|
|
872
|
+
openCloud: "Otwórz OpenPencil Cloud",
|
|
873
|
+
footer: "OpenPencil — otwartoźródłowy edytor do projektowania",
|
|
874
|
+
invitationExpires: "To zaproszenie wygasa {date}.",
|
|
875
|
+
documentInvitationHeading: "Zaproszenie do dokumentu",
|
|
876
|
+
documentInvitationViewSubject: "{inviter} zaprasza Cię do wyświetlenia dokumentu „{document}”",
|
|
877
|
+
documentInvitationEditSubject: "{inviter} zaprasza Cię do edycji dokumentu „{document}”",
|
|
878
|
+
documentInvitationView: "{inviter} zaprasza Cię do wyświetlenia dokumentu „{document}” w OpenPencil Cloud.",
|
|
879
|
+
documentInvitationEdit: "{inviter} zaprasza Cię do edycji dokumentu „{document}” w OpenPencil Cloud.",
|
|
880
|
+
documentInvitationAction: "Otwórz dokument",
|
|
881
|
+
workspaceInvitationSubject: "{inviter} zaprasza Cię do obszaru {workspace}",
|
|
882
|
+
workspaceInvitationHeading: "Dołącz do obszaru {workspace}",
|
|
883
|
+
workspaceInvitationAdmin: "{inviter} zaprasza Cię do zarządzania obszarem roboczym „{workspace}” w OpenPencil Cloud.",
|
|
884
|
+
workspaceInvitationEditor: "{inviter} zaprasza Cię do edytowania w obszarze roboczym „{workspace}” w OpenPencil Cloud.",
|
|
885
|
+
workspaceInvitationViewer: "{inviter} zaprasza Cię do przeglądania obszaru roboczego „{workspace}” w OpenPencil Cloud.",
|
|
886
|
+
workspaceInvitationHome: "Po dołączeniu jego dokumenty zobaczysz na stronie głównej.",
|
|
887
|
+
workspaceInvitationAction: "Dołącz do obszaru",
|
|
888
|
+
enrollmentRequestedSubject: "Otrzymaliśmy Twoją prośbę o dostęp do OpenPencil Cloud",
|
|
889
|
+
enrollmentRequestedHeading: "Otrzymaliśmy prośbę",
|
|
890
|
+
enrollmentRequestedPreview: "Twoja prośba o dostęp do OpenPencil Cloud czeka na rozpatrzenie.",
|
|
891
|
+
enrollmentRequested: "Twoja prośba czeka na rozpatrzenie. Napiszemy ponownie, gdy zapadnie decyzja.",
|
|
892
|
+
enrollmentApprovedSubject: "Twój dostęp do OpenPencil Cloud jest gotowy",
|
|
893
|
+
enrollmentApprovedHeading: "Dostęp zatwierdzony",
|
|
894
|
+
enrollmentApprovedPreview: "Możesz już zalogować się do OpenPencil Cloud.",
|
|
895
|
+
enrollmentApproved: "Twoja prośba o dostęp została zatwierdzona, więc możesz się już zalogować.",
|
|
896
|
+
enrollmentApprovedAction: "Zaloguj się",
|
|
897
|
+
enrollmentRejectedSubject: "Twoja prośba o dostęp do OpenPencil Cloud została rozpatrzona",
|
|
898
|
+
enrollmentRejectedHeading: "Prośba rozpatrzona",
|
|
899
|
+
enrollmentRejectedPreview: "Twoja prośba o dostęp nie została zatwierdzona.",
|
|
900
|
+
enrollmentRejected: "Tym razem Twoja prośba o dostęp nie została zatwierdzona.",
|
|
901
|
+
enrollmentRejectedAction: "Poproś o dostęp ponownie",
|
|
902
|
+
enrollmentRevokedSubject: "Twój dostęp do OpenPencil Cloud się zmienił",
|
|
903
|
+
enrollmentRevokedHeading: "Dostęp zmieniony",
|
|
904
|
+
enrollmentRevokedPreview: "Twój dostęp do OpenPencil Cloud nie jest już aktywny.",
|
|
905
|
+
enrollmentRevoked: "Twój dostęp do OpenPencil Cloud nie jest już aktywny.",
|
|
906
|
+
enrollmentRevokedAction: "Otwórz OpenPencil",
|
|
907
|
+
enrollmentNotificationSubject: "Nowa prośba o dostęp do OpenPencil Cloud",
|
|
908
|
+
enrollmentNotificationHeading: "Nowa prośba o dostęp",
|
|
909
|
+
enrollmentNotificationPreview: "{email} prosi o dostęp do OpenPencil Cloud.",
|
|
910
|
+
enrollmentNotification: "{name} ({email}) prosi o dostęp i pisze:",
|
|
911
|
+
enrollmentNotificationAction: "Rozpatrz prośbę",
|
|
912
|
+
documentReportSubject: "Zgłoszono udostępniony dokument w OpenPencil Cloud",
|
|
913
|
+
documentReportHeading: "Zgłoszono udostępniony dokument",
|
|
914
|
+
documentReportPreview: "Dokument „{document}” zgłoszono z powodu {reason}.",
|
|
915
|
+
documentReport: "Osoba, która otworzyła dokument „{document}” z linku udostępniania, zgłosiła go z powodu {reason} i napisała:",
|
|
916
|
+
documentReportAction: "Przejrzyj zgłoszenie",
|
|
917
|
+
reportReasonSpamPhishing: "spamu lub phishingu",
|
|
918
|
+
reportReasonIllegal: "nielegalnych treści",
|
|
919
|
+
reportReasonCopyright: "naruszenia praw autorskich",
|
|
920
|
+
reportReasonHarassment: "nękania",
|
|
921
|
+
reportReasonOther: "innego powodu",
|
|
922
|
+
verifyAccountSubject: "Potwierdź adres e-mail w OpenPencil Cloud",
|
|
923
|
+
verifyAccountHeading: "Potwierdź adres e-mail",
|
|
924
|
+
verifyAccountPreview: "Jedno kliknięcie, aby dokończyć zakładanie konta OpenPencil Cloud.",
|
|
925
|
+
verifyAccount: "Potwierdź ten adres, aby dokończyć zakładanie konta OpenPencil Cloud. Potem wróć do OpenPencil — zaloguje Cię automatycznie.",
|
|
926
|
+
verifyAccountNote: "Nie zakładasz konta? Zignoruj tę wiadomość — nic się nie stanie.",
|
|
927
|
+
verifyChangeSubject: "Potwierdź nowy adres e-mail w OpenPencil Cloud",
|
|
928
|
+
verifyChangeHeading: "Potwierdź nowy adres e-mail",
|
|
929
|
+
verifyChangePreview: "Jedno kliknięcie, aby przenieść konto OpenPencil Cloud na ten adres.",
|
|
930
|
+
verifyChange: "Potwierdź ten adres, aby stał się adresem e-mail Twojego konta OpenPencil Cloud. Do tego czasu obowiązuje stary adres.",
|
|
931
|
+
verifyChangeNote: "Nie prosisz o tę zmianę? Zignoruj tę wiadomość — nic się nie zmieni.",
|
|
932
|
+
verifyAction: "Potwierdź adres e-mail",
|
|
933
|
+
passwordResetSubject: "Zresetuj hasło do OpenPencil Cloud",
|
|
934
|
+
passwordResetHeading: "Zresetuj hasło",
|
|
935
|
+
passwordResetPreview: "Użyj tego bezpiecznego linku, aby ustawić nowe hasło.",
|
|
936
|
+
passwordReset: "Użyj poniższego linku, aby ustawić nowe hasło.",
|
|
937
|
+
passwordResetNote: "Nie prosisz o reset hasła? Zignoruj tę wiadomość, a hasło pozostanie bez zmian.",
|
|
938
|
+
passwordResetAction: "Zresetuj hasło",
|
|
939
|
+
passwordChangedSubject: "Hasło do OpenPencil Cloud zostało zmienione",
|
|
940
|
+
passwordChangedHeading: "Hasło zmienione",
|
|
941
|
+
passwordChangedPreview: "Twoje hasło do OpenPencil Cloud zostało zmienione.",
|
|
942
|
+
passwordChanged: "Twoje hasło zostało zmienione. Jeśli to nie Ty, skontaktuj się z administratorem.",
|
|
943
|
+
emailChangeSubject: "Adres e-mail w OpenPencil Cloud się zmienia",
|
|
944
|
+
emailChangeHeading: "Twój adres e-mail się zmienia",
|
|
945
|
+
emailChangePreview: "Adres e-mail Twojego konta OpenPencil Cloud zmienia się na {email}.",
|
|
946
|
+
emailChange: "Ktoś zalogowany na Twoje konto poprosił o zmianę jego adresu e-mail na {email}. Zmiana nastąpi, gdy ten adres zostanie potwierdzony.",
|
|
947
|
+
emailChangeNotYou: "Jeśli to nie Ty, zmień hasło i wyloguj pozostałe sesje.",
|
|
948
|
+
reviewAccount: "Sprawdź swoje konto",
|
|
949
|
+
newSignInSubject: "Nowe logowanie na Twoje konto OpenPencil Cloud",
|
|
950
|
+
newSignInHeading: "Nowe logowanie na Twoje konto",
|
|
951
|
+
newSignInPreview: "Zalogowano się na Twoje konto OpenPencil Cloud przez {device}.",
|
|
952
|
+
newSignIn: "Zalogowano się na Twoje konto przez {device} ({date}).",
|
|
953
|
+
newSignInFrom: "Zalogowano się na Twoje konto przez {device} z adresu {address} ({date}).",
|
|
954
|
+
newSignInNotYou: "Jeśli to Ty, nie musisz nic robić. Jeśli nie, wyloguj tę sesję i zmień hasło.",
|
|
955
|
+
newSignInApp: "aplikację OpenPencil",
|
|
956
|
+
newSignInBrowser: "{browser} w systemie {system}",
|
|
957
|
+
newSignInUnknownBrowser: "nieznaną przeglądarkę",
|
|
958
|
+
reviewSessions: "Sprawdź sesje",
|
|
959
|
+
twoStepSubject: "Zmienił się sposób logowania do OpenPencil Cloud",
|
|
960
|
+
authenticatorOnHeading: "Włączono aplikację uwierzytelniającą",
|
|
961
|
+
authenticatorOn: "Logowania na Twoje konto potwierdza teraz aplikacja uwierzytelniająca.",
|
|
962
|
+
authenticatorOffHeading: "Wyłączono aplikację uwierzytelniającą",
|
|
963
|
+
authenticatorOff: "Przy logowaniu nie trzeba już podawać kodu z aplikacji uwierzytelniającej.",
|
|
964
|
+
passkeyAddedHeading: "Dodano klucz dostępu",
|
|
965
|
+
passkeyAdded: "Do Twojego konta dodano klucz dostępu.",
|
|
966
|
+
passkeyRemovedHeading: "Usunięto klucz dostępu",
|
|
967
|
+
passkeyRemoved: "Z Twojego konta usunięto klucz dostępu.",
|
|
968
|
+
twoStepResetHeading: "Zresetowano logowanie dwuetapowe",
|
|
969
|
+
twoStepReset: "Administrator usunął Twoją aplikację uwierzytelniającą, kody odzyskiwania i klucze dostępu, więc możesz skonfigurować je od nowa.",
|
|
970
|
+
twoStepNotYou: "Jeśli to nie Ty, zmień hasło i skontaktuj się z administratorem.",
|
|
971
|
+
reviewSecurity: "Sprawdź zabezpieczenia",
|
|
972
|
+
storageFullSubject: "Twoje pliki w OpenPencil Cloud są tylko do odczytu",
|
|
973
|
+
storageFullHeading: "Zabrakło miejsca na dane",
|
|
974
|
+
storageFullPreview: "Twoje pliki w OpenPencil Cloud zajmują {used} z {limit}, więc są tylko do odczytu.",
|
|
975
|
+
storageFull: "Twoje obszary robocze zajmują {used}, a Twój plan obejmuje {limit}. Dopóki nie zajmą mniej, dokumenty można otwierać i pobierać, ale nie można ich edytować ani dodawać nowych plików.",
|
|
976
|
+
storageFullUpgrade: "Aby znów edytować, dokup miejsce albo usuń dokumenty i opróżnij kosz.",
|
|
977
|
+
storageFullFreeSpace: "Aby znów edytować, usuń dokumenty i opróżnij kosz.",
|
|
978
|
+
storageFullAction: "Dokup miejsce",
|
|
979
|
+
documentBlockedSubject: "Twój dokument „{document}” został zablokowany",
|
|
980
|
+
documentBlockedHeading: "Jeden z Twoich dokumentów został zablokowany",
|
|
981
|
+
documentBlocked: "Twój dokument „{document}” został zablokowany przez administratora OpenPencil Cloud. Dopóki nie zostanie przywrócony, nikt nie może go otworzyć, także Ty. Jego zawartość nie została usunięta.",
|
|
982
|
+
documentBlockedReason: "Podany powód: {reason}",
|
|
983
|
+
documentBlockedContest: "Jeśli uważasz, że to pomyłka, napisz na adres {email}, aby sprawa została ponownie sprawdzona.",
|
|
984
|
+
documentBlockedContestAdministrators: "Jeśli uważasz, że to pomyłka, poproś administratorów serwera o ponowne sprawdzenie.",
|
|
985
|
+
documentRestoredSubject: "Twój dokument „{document}” jest znowu dostępny",
|
|
986
|
+
documentRestoredHeading: "Twój dokument jest znowu dostępny",
|
|
987
|
+
documentRestored: "Twój dokument „{document}” został przywrócony przez administratora. Znowu możesz go otworzyć Ty i wszystkie osoby, którym go udostępniono.",
|
|
988
|
+
openHome: "Otwórz stronę główną",
|
|
989
|
+
reportReceivedSubject: "Otrzymaliśmy Twoje zgłoszenie dotyczące dokumentu „{document}”",
|
|
990
|
+
reportReceivedHeading: "Zgłoszenie przyjęte",
|
|
991
|
+
reportReceived: "Dziękujemy za zgłoszenie dokumentu „{document}”. Administratorzy serwera sprawdzają każde zgłoszenie i decydują, czy narusza ono zasady. Napiszemy ponownie, gdy podejmą decyzję.",
|
|
992
|
+
reportDecidedSubject: "Twoje zgłoszenie dotyczące dokumentu „{document}”",
|
|
993
|
+
reportBlockedHeading: "Dokument został zablokowany",
|
|
994
|
+
reportBlocked: "Administratorzy sprawdzili Twoje zgłoszenie i zablokowali dokument „{document}”, więc nikt nie może go otworzyć, dopóki nie zostanie przywrócony.",
|
|
995
|
+
reportActionedHeading: "Podjęto działania w sprawie Twojego zgłoszenia",
|
|
996
|
+
reportActioned: "Administratorzy sprawdzili Twoje zgłoszenie dotyczące dokumentu „{document}” i podjęli w tej sprawie działania.",
|
|
997
|
+
reportDismissedHeading: "Dokument pozostaje dostępny",
|
|
998
|
+
reportDismissed: "Administratorzy sprawdzili Twoje zgłoszenie dotyczące dokumentu „{document}” i uznali, że nie narusza on zasad, więc pozostaje bez zmian.",
|
|
999
|
+
reportDisagree: "Jeśli nie zgadzasz się z tą decyzją, napisz na adres {email}.",
|
|
1000
|
+
reportDisagreeAdministrators: "Jeśli nie zgadzasz się z tą decyzją, poproś administratorów serwera o ponowne sprawdzenie.",
|
|
1001
|
+
waitlistSubject: "Potwierdź swoje miejsce na liście oczekujących OpenPencil Cloud",
|
|
1002
|
+
waitlistHeading: "Potwierdź adres e-mail",
|
|
1003
|
+
waitlistPreview: "Jedno kliknięcie, aby dołączyć do listy oczekujących OpenPencil Cloud.",
|
|
1004
|
+
waitlist: "Dziękujemy za zainteresowanie OpenPencil Cloud. Potwierdź ten adres, aby dołączyć do listy oczekujących. Napiszemy tylko raz — gdy Cloud będzie na Ciebie gotowy.",
|
|
1005
|
+
waitlistAction: "Dołącz do listy oczekujących",
|
|
1006
|
+
waitlistNote: "To nie Ty się zapisujesz? Zignoruj tę wiadomość, a adres zostanie usunięty po siedmiu dniach. Możesz też {link}.",
|
|
1007
|
+
waitlistLeave: "usunąć go od razu"
|
|
1008
|
+
};
|
|
1009
|
+
//#endregion
|
|
1010
|
+
//#region src/email/locales/pt-br.json
|
|
1011
|
+
var pt_br_default = {
|
|
1012
|
+
greeting: "Olá, {name},",
|
|
1013
|
+
greetingWithoutName: "Olá,",
|
|
1014
|
+
someone: "Alguém",
|
|
1015
|
+
openCloud: "Abrir o OpenPencil Cloud",
|
|
1016
|
+
footer: "OpenPencil, o editor de design de código aberto",
|
|
1017
|
+
invitationExpires: "Este convite expira em {date}.",
|
|
1018
|
+
documentInvitationHeading: "Você recebeu um convite para um documento",
|
|
1019
|
+
documentInvitationViewSubject: "{inviter} convidou você para visualizar “{document}”",
|
|
1020
|
+
documentInvitationEditSubject: "{inviter} convidou você para editar “{document}”",
|
|
1021
|
+
documentInvitationView: "{inviter} convidou você para visualizar “{document}” no OpenPencil Cloud.",
|
|
1022
|
+
documentInvitationEdit: "{inviter} convidou você para editar “{document}” no OpenPencil Cloud.",
|
|
1023
|
+
documentInvitationAction: "Abrir documento",
|
|
1024
|
+
workspaceInvitationSubject: "{inviter} convidou você para “{workspace}”",
|
|
1025
|
+
workspaceInvitationHeading: "Participe de “{workspace}”",
|
|
1026
|
+
workspaceInvitationAdmin: "{inviter} convidou você para administrar o espaço de trabalho “{workspace}” no OpenPencil Cloud.",
|
|
1027
|
+
workspaceInvitationEditor: "{inviter} convidou você para editar no espaço de trabalho “{workspace}” no OpenPencil Cloud.",
|
|
1028
|
+
workspaceInvitationViewer: "{inviter} convidou você para visualizar o espaço de trabalho “{workspace}” no OpenPencil Cloud.",
|
|
1029
|
+
workspaceInvitationHome: "Depois de participar, você verá os documentos dele no Início.",
|
|
1030
|
+
workspaceInvitationAction: "Participar do espaço de trabalho",
|
|
1031
|
+
enrollmentRequestedSubject: "Recebemos sua solicitação do OpenPencil Cloud",
|
|
1032
|
+
enrollmentRequestedHeading: "Solicitação recebida",
|
|
1033
|
+
enrollmentRequestedPreview: "Sua solicitação de acesso ao OpenPencil Cloud está aguardando análise.",
|
|
1034
|
+
enrollmentRequested: "Sua solicitação está aguardando análise. Escreveremos de novo assim que houver uma decisão.",
|
|
1035
|
+
enrollmentApprovedSubject: "Seu acesso ao OpenPencil Cloud está pronto",
|
|
1036
|
+
enrollmentApprovedHeading: "Acesso aprovado",
|
|
1037
|
+
enrollmentApprovedPreview: "Agora você já pode entrar no OpenPencil Cloud.",
|
|
1038
|
+
enrollmentApproved: "Sua solicitação de acesso foi aprovada. Você já pode entrar.",
|
|
1039
|
+
enrollmentApprovedAction: "Entrar",
|
|
1040
|
+
enrollmentRejectedSubject: "Sua solicitação do OpenPencil Cloud foi analisada",
|
|
1041
|
+
enrollmentRejectedHeading: "Solicitação analisada",
|
|
1042
|
+
enrollmentRejectedPreview: "Sua solicitação de acesso não foi aprovada.",
|
|
1043
|
+
enrollmentRejected: "Desta vez, sua solicitação de acesso não foi aprovada.",
|
|
1044
|
+
enrollmentRejectedAction: "Solicitar acesso novamente",
|
|
1045
|
+
enrollmentRevokedSubject: "Seu acesso ao OpenPencil Cloud mudou",
|
|
1046
|
+
enrollmentRevokedHeading: "Acesso alterado",
|
|
1047
|
+
enrollmentRevokedPreview: "Seu acesso ao OpenPencil Cloud não está mais ativo.",
|
|
1048
|
+
enrollmentRevoked: "Seu acesso ao OpenPencil Cloud não está mais ativo.",
|
|
1049
|
+
enrollmentRevokedAction: "Abrir o OpenPencil",
|
|
1050
|
+
enrollmentNotificationSubject: "Nova solicitação de acesso ao OpenPencil Cloud",
|
|
1051
|
+
enrollmentNotificationHeading: "Nova solicitação de acesso",
|
|
1052
|
+
enrollmentNotificationPreview: "{email} solicitou acesso ao OpenPencil Cloud.",
|
|
1053
|
+
enrollmentNotification: "{name} ({email}) solicitou acesso e escreveu:",
|
|
1054
|
+
enrollmentNotificationAction: "Analisar solicitação",
|
|
1055
|
+
documentReportSubject: "Um documento compartilhado do OpenPencil Cloud foi denunciado",
|
|
1056
|
+
documentReportHeading: "Um documento compartilhado foi denunciado",
|
|
1057
|
+
documentReportPreview: "“{document}” foi denunciado por {reason}.",
|
|
1058
|
+
documentReport: "Uma pessoa que abriu “{document}” por um link de compartilhamento o denunciou por {reason} e escreveu:",
|
|
1059
|
+
documentReportAction: "Analisar denúncia",
|
|
1060
|
+
reportReasonSpamPhishing: "spam ou phishing",
|
|
1061
|
+
reportReasonIllegal: "conteúdo ilegal",
|
|
1062
|
+
reportReasonCopyright: "violação de direitos autorais",
|
|
1063
|
+
reportReasonHarassment: "assédio",
|
|
1064
|
+
reportReasonOther: "outro motivo",
|
|
1065
|
+
verifyAccountSubject: "Confirme seu e-mail do OpenPencil Cloud",
|
|
1066
|
+
verifyAccountHeading: "Confirme seu e-mail",
|
|
1067
|
+
verifyAccountPreview: "Só um clique para concluir a criação da sua conta do OpenPencil Cloud.",
|
|
1068
|
+
verifyAccount: "Confirme este endereço para concluir a criação da sua conta do OpenPencil Cloud. Depois, volte ao OpenPencil; ele faz a entrada sozinho.",
|
|
1069
|
+
verifyAccountNote: "Não criou uma conta? Ignore este e-mail e nada vai acontecer.",
|
|
1070
|
+
verifyChangeSubject: "Confirme seu novo e-mail do OpenPencil Cloud",
|
|
1071
|
+
verifyChangeHeading: "Confirme seu novo e-mail",
|
|
1072
|
+
verifyChangePreview: "Só um clique para mudar sua conta do OpenPencil Cloud para este endereço.",
|
|
1073
|
+
verifyChange: "Confirme este endereço para que ele passe a ser o e-mail da sua conta do OpenPencil Cloud. Até lá, o endereço antigo continua valendo.",
|
|
1074
|
+
verifyChangeNote: "Não pediu isso? Ignore este e-mail e nada vai mudar.",
|
|
1075
|
+
verifyAction: "Confirmar e-mail",
|
|
1076
|
+
passwordResetSubject: "Redefina sua senha do OpenPencil Cloud",
|
|
1077
|
+
passwordResetHeading: "Redefina sua senha",
|
|
1078
|
+
passwordResetPreview: "Use este link seguro para escolher uma nova senha.",
|
|
1079
|
+
passwordReset: "Use o link abaixo para escolher uma nova senha.",
|
|
1080
|
+
passwordResetNote: "Não pediu isso? Ignore este e-mail e sua senha continuará a mesma.",
|
|
1081
|
+
passwordResetAction: "Redefinir senha",
|
|
1082
|
+
passwordChangedSubject: "Sua senha do OpenPencil Cloud foi alterada",
|
|
1083
|
+
passwordChangedHeading: "Senha alterada",
|
|
1084
|
+
passwordChangedPreview: "A senha da sua conta do OpenPencil Cloud foi alterada.",
|
|
1085
|
+
passwordChanged: "Sua senha foi alterada. Se não foi você, fale com o administrador.",
|
|
1086
|
+
emailChangeSubject: "Seu e-mail do OpenPencil Cloud está mudando",
|
|
1087
|
+
emailChangeHeading: "Seu e-mail está mudando",
|
|
1088
|
+
emailChangePreview: "Seu e-mail do OpenPencil Cloud está mudando para {email}.",
|
|
1089
|
+
emailChange: "Alguém conectado à sua conta pediu para alterar o e-mail dela para {email}. A mudança acontece assim que esse endereço for confirmado.",
|
|
1090
|
+
emailChangeNotYou: "Se não foi você, altere sua senha e saia das outras sessões.",
|
|
1091
|
+
reviewAccount: "Revisar sua conta",
|
|
1092
|
+
newSignInSubject: "Nova entrada na sua conta do OpenPencil Cloud",
|
|
1093
|
+
newSignInHeading: "Nova entrada na sua conta",
|
|
1094
|
+
newSignInPreview: "Houve uma entrada na sua conta do OpenPencil Cloud com {device}.",
|
|
1095
|
+
newSignIn: "Houve uma entrada na sua conta com {device} em {date}.",
|
|
1096
|
+
newSignInFrom: "Houve uma entrada na sua conta com {device} a partir de {address} em {date}.",
|
|
1097
|
+
newSignInNotYou: "Se foi você, não é preciso fazer nada. Se não foi, encerre essa sessão e altere sua senha.",
|
|
1098
|
+
newSignInApp: "o app OpenPencil",
|
|
1099
|
+
newSignInBrowser: "{browser} no {system}",
|
|
1100
|
+
newSignInUnknownBrowser: "um navegador desconhecido",
|
|
1101
|
+
reviewSessions: "Revisar sessões",
|
|
1102
|
+
twoStepSubject: "A forma de entrar no OpenPencil Cloud mudou",
|
|
1103
|
+
authenticatorOnHeading: "App autenticador ativado",
|
|
1104
|
+
authenticatorOn: "Agora um app autenticador confirma suas entradas.",
|
|
1105
|
+
authenticatorOffHeading: "App autenticador desativado",
|
|
1106
|
+
authenticatorOff: "Suas entradas não pedem mais um código do app autenticador.",
|
|
1107
|
+
passkeyAddedHeading: "Chave de acesso adicionada",
|
|
1108
|
+
passkeyAdded: "Uma chave de acesso foi adicionada à sua conta.",
|
|
1109
|
+
passkeyRemovedHeading: "Chave de acesso removida",
|
|
1110
|
+
passkeyRemoved: "Uma chave de acesso foi removida da sua conta.",
|
|
1111
|
+
twoStepResetHeading: "A verificação em duas etapas foi redefinida",
|
|
1112
|
+
twoStepReset: "Um administrador removeu seu app autenticador, seus códigos de recuperação e suas chaves de acesso para que você possa configurá-los novamente.",
|
|
1113
|
+
twoStepNotYou: "Se não foi você, altere sua senha e fale com o administrador.",
|
|
1114
|
+
reviewSecurity: "Revisar segurança",
|
|
1115
|
+
storageFullSubject: "Seus arquivos do OpenPencil Cloud estão somente leitura",
|
|
1116
|
+
storageFullHeading: "Seu armazenamento está cheio",
|
|
1117
|
+
storageFullPreview: "Seus arquivos do OpenPencil Cloud usam {used} de {limit}, então estão somente leitura.",
|
|
1118
|
+
storageFull: "Seus espaços de trabalho ocupam {used}, e seu plano inclui {limit}. Até que ocupem menos, seus documentos podem ser abertos e baixados, mas não aceitam edições nem novos arquivos.",
|
|
1119
|
+
storageFullUpgrade: "Obtenha mais armazenamento ou exclua documentos e esvazie a lixeira para voltar a editar.",
|
|
1120
|
+
storageFullFreeSpace: "Exclua documentos e esvazie a lixeira para voltar a editar.",
|
|
1121
|
+
storageFullAction: "Obter mais armazenamento",
|
|
1122
|
+
documentBlockedSubject: "Seu documento “{document}” foi bloqueado",
|
|
1123
|
+
documentBlockedHeading: "Um dos seus documentos foi bloqueado",
|
|
1124
|
+
documentBlocked: "Um administrador do OpenPencil Cloud bloqueou seu documento “{document}”. Ninguém pode abri-lo, nem mesmo você, até que ele seja restaurado. Nada do conteúdo foi excluído.",
|
|
1125
|
+
documentBlockedReason: "Motivo informado: {reason}",
|
|
1126
|
+
documentBlockedContest: "Se você acha que isso é um engano, escreva para {email} e peça uma nova análise.",
|
|
1127
|
+
documentBlockedContestAdministrators: "Se você acha que isso é um engano, peça aos administradores do servidor que analisem novamente.",
|
|
1128
|
+
documentRestoredSubject: "Seu documento “{document}” está de volta",
|
|
1129
|
+
documentRestoredHeading: "Seu documento está de volta",
|
|
1130
|
+
documentRestored: "Um administrador restaurou seu documento “{document}”. Você e todas as pessoas com quem o compartilhou podem abri-lo novamente.",
|
|
1131
|
+
openHome: "Abrir o Início",
|
|
1132
|
+
reportReceivedSubject: "Recebemos sua denúncia sobre “{document}”",
|
|
1133
|
+
reportReceivedHeading: "Denúncia recebida",
|
|
1134
|
+
reportReceived: "Obrigado por denunciar “{document}”. Os administradores do servidor analisam cada denúncia e decidem se ela viola as regras. Escreveremos novamente quando eles tiverem decidido.",
|
|
1135
|
+
reportDecidedSubject: "Sua denúncia sobre “{document}”",
|
|
1136
|
+
reportBlockedHeading: "O documento foi bloqueado",
|
|
1137
|
+
reportBlocked: "Os administradores analisaram sua denúncia e bloquearam “{document}”. Ninguém poderá abri-lo até que ele seja restaurado.",
|
|
1138
|
+
reportActionedHeading: "Medidas foram tomadas sobre sua denúncia",
|
|
1139
|
+
reportActioned: "Os administradores analisaram sua denúncia sobre “{document}” e tomaram medidas a respeito.",
|
|
1140
|
+
reportDismissedHeading: "O documento foi mantido",
|
|
1141
|
+
reportDismissed: "Os administradores analisaram sua denúncia sobre “{document}” e concluíram que ele não viola as regras, então ele continua como está.",
|
|
1142
|
+
reportDisagree: "Se você não concordar, escreva para {email}.",
|
|
1143
|
+
reportDisagreeAdministrators: "Se você não concordar, peça aos administradores do servidor que analisem novamente.",
|
|
1144
|
+
waitlistSubject: "Confirme seu lugar na lista de espera do OpenPencil Cloud",
|
|
1145
|
+
waitlistHeading: "Confirme seu e-mail",
|
|
1146
|
+
waitlistPreview: "Só um clique para entrar na lista de espera do OpenPencil Cloud.",
|
|
1147
|
+
waitlist: "Obrigado pelo interesse no OpenPencil Cloud. Confirme este endereço para entrar na lista de espera; escreveremos uma única vez, quando o OpenPencil Cloud estiver pronto para você.",
|
|
1148
|
+
waitlistAction: "Entrar na lista de espera",
|
|
1149
|
+
waitlistNote: "Não se inscreveu? Ignore este e-mail e o endereço será excluído em sete dias, ou {link}.",
|
|
1150
|
+
waitlistLeave: "remova-o agora"
|
|
1151
|
+
};
|
|
1152
|
+
//#endregion
|
|
1153
|
+
//#region src/email/locales/ru.json
|
|
1154
|
+
var ru_default = {
|
|
1155
|
+
greeting: "Здравствуйте, {name}!",
|
|
1156
|
+
greetingWithoutName: "Здравствуйте!",
|
|
1157
|
+
someone: "Кто-то",
|
|
1158
|
+
openCloud: "Открыть OpenPencil Cloud",
|
|
1159
|
+
footer: "OpenPencil — редактор дизайна с открытым исходным кодом",
|
|
1160
|
+
invitationExpires: "Срок действия приглашения истекает {date}.",
|
|
1161
|
+
documentInvitationHeading: "Вас пригласили в документ",
|
|
1162
|
+
documentInvitationViewSubject: "{inviter} приглашает вас просматривать «{document}»",
|
|
1163
|
+
documentInvitationEditSubject: "{inviter} приглашает вас редактировать «{document}»",
|
|
1164
|
+
documentInvitationView: "{inviter} приглашает вас просматривать «{document}» в OpenPencil Cloud.",
|
|
1165
|
+
documentInvitationEdit: "{inviter} приглашает вас редактировать «{document}» в OpenPencil Cloud.",
|
|
1166
|
+
documentInvitationAction: "Открыть документ",
|
|
1167
|
+
workspaceInvitationSubject: "{inviter} приглашает вас в рабочее пространство «{workspace}»",
|
|
1168
|
+
workspaceInvitationHeading: "Приглашение в «{workspace}»",
|
|
1169
|
+
workspaceInvitationAdmin: "{inviter} приглашает вас управлять рабочим пространством «{workspace}» в OpenPencil Cloud.",
|
|
1170
|
+
workspaceInvitationEditor: "{inviter} приглашает вас редактировать в рабочем пространстве «{workspace}» в OpenPencil Cloud.",
|
|
1171
|
+
workspaceInvitationViewer: "{inviter} приглашает вас просматривать рабочее пространство «{workspace}» в OpenPencil Cloud.",
|
|
1172
|
+
workspaceInvitationHome: "Когда вы присоединитесь, его документы появятся на главной.",
|
|
1173
|
+
workspaceInvitationAction: "Присоединиться",
|
|
1174
|
+
enrollmentRequestedSubject: "Мы получили вашу заявку в OpenPencil Cloud",
|
|
1175
|
+
enrollmentRequestedHeading: "Заявка получена",
|
|
1176
|
+
enrollmentRequestedPreview: "Ваша заявка на доступ к OpenPencil Cloud ждёт рассмотрения.",
|
|
1177
|
+
enrollmentRequested: "Ваша заявка ждёт рассмотрения. Мы напишем, когда по ней примут решение.",
|
|
1178
|
+
enrollmentApprovedSubject: "Доступ к OpenPencil Cloud открыт",
|
|
1179
|
+
enrollmentApprovedHeading: "Доступ одобрен",
|
|
1180
|
+
enrollmentApprovedPreview: "Теперь вы можете войти в OpenPencil Cloud.",
|
|
1181
|
+
enrollmentApproved: "Ваша заявка на доступ одобрена — теперь вы можете войти.",
|
|
1182
|
+
enrollmentApprovedAction: "Войти",
|
|
1183
|
+
enrollmentRejectedSubject: "Ваша заявка в OpenPencil Cloud рассмотрена",
|
|
1184
|
+
enrollmentRejectedHeading: "Заявка рассмотрена",
|
|
1185
|
+
enrollmentRejectedPreview: "Ваша заявка на доступ не одобрена.",
|
|
1186
|
+
enrollmentRejected: "На этот раз ваша заявка на доступ не одобрена.",
|
|
1187
|
+
enrollmentRejectedAction: "Подать заявку снова",
|
|
1188
|
+
enrollmentRevokedSubject: "Ваш доступ к OpenPencil Cloud изменился",
|
|
1189
|
+
enrollmentRevokedHeading: "Доступ изменён",
|
|
1190
|
+
enrollmentRevokedPreview: "Ваш доступ к OpenPencil Cloud больше не действует.",
|
|
1191
|
+
enrollmentRevoked: "Ваш доступ к OpenPencil Cloud больше не действует.",
|
|
1192
|
+
enrollmentRevokedAction: "Открыть OpenPencil",
|
|
1193
|
+
enrollmentNotificationSubject: "Новая заявка на доступ к OpenPencil Cloud",
|
|
1194
|
+
enrollmentNotificationHeading: "Новая заявка на доступ",
|
|
1195
|
+
enrollmentNotificationPreview: "{email} запрашивает доступ к OpenPencil Cloud.",
|
|
1196
|
+
enrollmentNotification: "{name} ({email}) запрашивает доступ и пишет:",
|
|
1197
|
+
enrollmentNotificationAction: "Рассмотреть заявку",
|
|
1198
|
+
documentReportSubject: "Поступила жалоба на документ OpenPencil Cloud",
|
|
1199
|
+
documentReportHeading: "Жалоба на документ, открытый по ссылке",
|
|
1200
|
+
documentReportPreview: "Жалоба на «{document}»: {reason}.",
|
|
1201
|
+
documentReport: "Человек, открывший «{document}» по ссылке, пожаловался на него. Причина: {reason}. Комментарий:",
|
|
1202
|
+
documentReportAction: "Рассмотреть жалобу",
|
|
1203
|
+
reportReasonSpamPhishing: "спам или фишинг",
|
|
1204
|
+
reportReasonIllegal: "незаконный контент",
|
|
1205
|
+
reportReasonCopyright: "нарушение авторских прав",
|
|
1206
|
+
reportReasonHarassment: "травля",
|
|
1207
|
+
reportReasonOther: "другое",
|
|
1208
|
+
verifyAccountSubject: "Подтвердите почту для OpenPencil Cloud",
|
|
1209
|
+
verifyAccountHeading: "Подтвердите почту",
|
|
1210
|
+
verifyAccountPreview: "Один клик — и аккаунт OpenPencil Cloud готов.",
|
|
1211
|
+
verifyAccount: "Подтвердите этот адрес, чтобы завершить создание аккаунта OpenPencil Cloud. Затем вернитесь в OpenPencil — вход выполнится автоматически.",
|
|
1212
|
+
verifyAccountNote: "Не создавали аккаунт? Просто проигнорируйте это письмо — ничего не произойдёт.",
|
|
1213
|
+
verifyChangeSubject: "Подтвердите новую почту для OpenPencil Cloud",
|
|
1214
|
+
verifyChangeHeading: "Подтвердите новую почту",
|
|
1215
|
+
verifyChangePreview: "Один клик — и аккаунт OpenPencil Cloud перейдёт на этот адрес.",
|
|
1216
|
+
verifyChange: "Подтвердите этот адрес, чтобы он стал почтой вашего аккаунта OpenPencil Cloud. До тех пор действует прежний адрес.",
|
|
1217
|
+
verifyChangeNote: "Не запрашивали смену? Просто проигнорируйте это письмо — ничего не изменится.",
|
|
1218
|
+
verifyAction: "Подтвердить почту",
|
|
1219
|
+
passwordResetSubject: "Сброс пароля OpenPencil Cloud",
|
|
1220
|
+
passwordResetHeading: "Сброс пароля",
|
|
1221
|
+
passwordResetPreview: "Задайте новый пароль по этой защищённой ссылке.",
|
|
1222
|
+
passwordReset: "Чтобы задать новый пароль, перейдите по ссылке ниже.",
|
|
1223
|
+
passwordResetNote: "Не запрашивали сброс? Просто проигнорируйте это письмо — пароль останется прежним.",
|
|
1224
|
+
passwordResetAction: "Сбросить пароль",
|
|
1225
|
+
passwordChangedSubject: "Пароль OpenPencil Cloud изменён",
|
|
1226
|
+
passwordChangedHeading: "Пароль изменён",
|
|
1227
|
+
passwordChangedPreview: "Пароль от вашего аккаунта OpenPencil Cloud изменён.",
|
|
1228
|
+
passwordChanged: "Ваш пароль изменён. Если это были не вы, обратитесь к администратору.",
|
|
1229
|
+
emailChangeSubject: "Почта вашего аккаунта OpenPencil Cloud меняется",
|
|
1230
|
+
emailChangeHeading: "Ваша почта меняется",
|
|
1231
|
+
emailChangePreview: "Новая почта вашего аккаунта OpenPencil Cloud: {email}.",
|
|
1232
|
+
emailChange: "Кто-то, вошедший в ваш аккаунт, запросил смену почты на {email}. Почта изменится, когда этот адрес будет подтверждён.",
|
|
1233
|
+
emailChangeNotYou: "Если это были не вы, смените пароль и завершите другие сеансы.",
|
|
1234
|
+
reviewAccount: "Проверить аккаунт",
|
|
1235
|
+
newSignInSubject: "Новый вход в аккаунт OpenPencil Cloud",
|
|
1236
|
+
newSignInHeading: "Новый вход в аккаунт",
|
|
1237
|
+
newSignInPreview: "В ваш аккаунт OpenPencil Cloud вошли через {device}.",
|
|
1238
|
+
newSignIn: "В ваш аккаунт вошли через {device} ({date}).",
|
|
1239
|
+
newSignInFrom: "В ваш аккаунт вошли через {device} с адреса {address} ({date}).",
|
|
1240
|
+
newSignInNotYou: "Если это были вы, ничего делать не нужно. Если нет, завершите этот сеанс и смените пароль.",
|
|
1241
|
+
newSignInApp: "приложение OpenPencil",
|
|
1242
|
+
newSignInBrowser: "{browser} в {system}",
|
|
1243
|
+
newSignInUnknownBrowser: "неизвестный браузер",
|
|
1244
|
+
reviewSessions: "Проверить сеансы",
|
|
1245
|
+
twoStepSubject: "Способы входа в OpenPencil Cloud изменились",
|
|
1246
|
+
authenticatorOnHeading: "Приложение-аутентификатор включено",
|
|
1247
|
+
authenticatorOn: "Теперь вход в аккаунт подтверждается через приложение-аутентификатор.",
|
|
1248
|
+
authenticatorOffHeading: "Приложение-аутентификатор отключено",
|
|
1249
|
+
authenticatorOff: "При входе больше не запрашивается код из приложения-аутентификатора.",
|
|
1250
|
+
passkeyAddedHeading: "Ключ доступа добавлен",
|
|
1251
|
+
passkeyAdded: "В ваш аккаунт добавлен ключ доступа.",
|
|
1252
|
+
passkeyRemovedHeading: "Ключ доступа удалён",
|
|
1253
|
+
passkeyRemoved: "Из вашего аккаунта удалён ключ доступа.",
|
|
1254
|
+
twoStepResetHeading: "Двухэтапный вход сброшен",
|
|
1255
|
+
twoStepReset: "Администратор удалил ваше приложение-аутентификатор, резервные коды и ключи доступа, чтобы вы могли настроить их заново.",
|
|
1256
|
+
twoStepNotYou: "Если это были не вы, смените пароль и обратитесь к администратору.",
|
|
1257
|
+
reviewSecurity: "Проверить безопасность",
|
|
1258
|
+
storageFullSubject: "Ваши файлы в OpenPencil Cloud доступны только для чтения",
|
|
1259
|
+
storageFullHeading: "Хранилище заполнено",
|
|
1260
|
+
storageFullPreview: "Ваши файлы в OpenPencil Cloud занимают {used} из {limit}, поэтому доступны только для чтения.",
|
|
1261
|
+
storageFull: "Ваши рабочие пространства занимают {used}, а тариф включает {limit}. Пока объём не уменьшится, документы можно открывать и скачивать, но нельзя редактировать или добавлять новые файлы.",
|
|
1262
|
+
storageFullUpgrade: "Чтобы снова редактировать, увеличьте хранилище или удалите документы и очистите корзину.",
|
|
1263
|
+
storageFullFreeSpace: "Чтобы снова редактировать, удалите документы и очистите корзину.",
|
|
1264
|
+
storageFullAction: "Увеличить хранилище",
|
|
1265
|
+
documentBlockedSubject: "Ваш документ «{document}» заблокирован",
|
|
1266
|
+
documentBlockedHeading: "Один из ваших документов заблокирован",
|
|
1267
|
+
documentBlocked: "Ваш документ «{document}» заблокирован администратором OpenPencil Cloud. Пока его не восстановят, открыть его не сможет никто, включая вас. Содержимое документа не удалено.",
|
|
1268
|
+
documentBlockedReason: "Указанная причина: {reason}",
|
|
1269
|
+
documentBlockedContest: "Если вы считаете, что это ошибка, напишите на {email}, чтобы документ проверили ещё раз.",
|
|
1270
|
+
documentBlockedContestAdministrators: "Если вы считаете, что это ошибка, попросите администраторов сервера проверить документ ещё раз.",
|
|
1271
|
+
documentRestoredSubject: "Ваш документ «{document}» снова доступен",
|
|
1272
|
+
documentRestoredHeading: "Ваш документ снова доступен",
|
|
1273
|
+
documentRestored: "Ваш документ «{document}» восстановлен администратором. Его снова можете открыть вы и все, с кем вы им поделились.",
|
|
1274
|
+
openHome: "Открыть главную",
|
|
1275
|
+
reportReceivedSubject: "Мы получили вашу жалобу на «{document}»",
|
|
1276
|
+
reportReceivedHeading: "Жалоба получена",
|
|
1277
|
+
reportReceived: "Спасибо за жалобу на «{document}». Администраторы сервера рассматривают каждую жалобу и решают, нарушены ли правила. Мы напишем вам снова, когда решение будет принято.",
|
|
1278
|
+
reportDecidedSubject: "Ваша жалоба на «{document}»",
|
|
1279
|
+
reportBlockedHeading: "Документ заблокирован",
|
|
1280
|
+
reportBlocked: "Администраторы рассмотрели вашу жалобу и заблокировали «{document}». Пока документ не восстановят, открыть его не сможет никто.",
|
|
1281
|
+
reportActionedHeading: "По вашей жалобе приняты меры",
|
|
1282
|
+
reportActioned: "Администраторы рассмотрели вашу жалобу на «{document}» и приняли по ней меры.",
|
|
1283
|
+
reportDismissedHeading: "Документ остаётся доступным",
|
|
1284
|
+
reportDismissed: "Администраторы рассмотрели вашу жалобу на «{document}» и не нашли нарушений правил, поэтому документ остаётся без изменений.",
|
|
1285
|
+
reportDisagree: "Если вы не согласны, напишите на {email}.",
|
|
1286
|
+
reportDisagreeAdministrators: "Если вы не согласны, попросите администраторов сервера проверить документ ещё раз.",
|
|
1287
|
+
waitlistSubject: "Подтвердите место в листе ожидания OpenPencil Cloud",
|
|
1288
|
+
waitlistHeading: "Подтвердите почту",
|
|
1289
|
+
waitlistPreview: "Один клик — и вы в листе ожидания OpenPencil Cloud.",
|
|
1290
|
+
waitlist: "Спасибо за интерес к OpenPencil Cloud. Подтвердите этот адрес, чтобы попасть в лист ожидания, — мы напишем один раз, когда OpenPencil Cloud будет готов для вас.",
|
|
1291
|
+
waitlistAction: "Встать в лист ожидания",
|
|
1292
|
+
waitlistNote: "Не записывались? Просто проигнорируйте это письмо — адрес удалится через семь дней. Или {link}.",
|
|
1293
|
+
waitlistLeave: "удалите его сейчас"
|
|
1294
|
+
};
|
|
1295
|
+
//#endregion
|
|
1296
|
+
//#region src/email/locales/zh-cn.json
|
|
1297
|
+
var zh_cn_default = {
|
|
1298
|
+
greeting: "{name},你好:",
|
|
1299
|
+
greetingWithoutName: "你好:",
|
|
1300
|
+
someone: "有人",
|
|
1301
|
+
openCloud: "打开 OpenPencil Cloud",
|
|
1302
|
+
footer: "OpenPencil,开源设计编辑器",
|
|
1303
|
+
invitationExpires: "此邀请将于 {date} 过期。",
|
|
1304
|
+
documentInvitationHeading: "你收到了一份文档邀请",
|
|
1305
|
+
documentInvitationViewSubject: "{inviter} 邀请你查看“{document}”",
|
|
1306
|
+
documentInvitationEditSubject: "{inviter} 邀请你编辑“{document}”",
|
|
1307
|
+
documentInvitationView: "{inviter} 邀请你在 OpenPencil Cloud 上查看“{document}”。",
|
|
1308
|
+
documentInvitationEdit: "{inviter} 邀请你在 OpenPencil Cloud 上编辑“{document}”。",
|
|
1309
|
+
documentInvitationAction: "打开文档",
|
|
1310
|
+
workspaceInvitationSubject: "{inviter} 邀请你加入“{workspace}”",
|
|
1311
|
+
workspaceInvitationHeading: "加入“{workspace}”",
|
|
1312
|
+
workspaceInvitationAdmin: "{inviter} 邀请你在 OpenPencil Cloud 上管理工作区“{workspace}”。",
|
|
1313
|
+
workspaceInvitationEditor: "{inviter} 邀请你在 OpenPencil Cloud 上的工作区“{workspace}”中编辑。",
|
|
1314
|
+
workspaceInvitationViewer: "{inviter} 邀请你在 OpenPencil Cloud 上查看工作区“{workspace}”。",
|
|
1315
|
+
workspaceInvitationHome: "加入后,你会在主页看到其中的文档。",
|
|
1316
|
+
workspaceInvitationAction: "加入工作区",
|
|
1317
|
+
enrollmentRequestedSubject: "我们已收到你的 OpenPencil Cloud 申请",
|
|
1318
|
+
enrollmentRequestedHeading: "已收到申请",
|
|
1319
|
+
enrollmentRequestedPreview: "你的 OpenPencil Cloud 访问申请正在等待审核。",
|
|
1320
|
+
enrollmentRequested: "你的申请正在等待审核。有结果后我们会再通知你。",
|
|
1321
|
+
enrollmentApprovedSubject: "你的 OpenPencil Cloud 访问权限已就绪",
|
|
1322
|
+
enrollmentApprovedHeading: "访问已批准",
|
|
1323
|
+
enrollmentApprovedPreview: "你现在可以登录 OpenPencil Cloud 了。",
|
|
1324
|
+
enrollmentApproved: "你的访问申请已获批准,现在就可以登录。",
|
|
1325
|
+
enrollmentApprovedAction: "登录",
|
|
1326
|
+
enrollmentRejectedSubject: "你的 OpenPencil Cloud 申请已审核",
|
|
1327
|
+
enrollmentRejectedHeading: "申请已审核",
|
|
1328
|
+
enrollmentRejectedPreview: "你的访问申请未获批准。",
|
|
1329
|
+
enrollmentRejected: "很遗憾,你的访问申请这次未获批准。",
|
|
1330
|
+
enrollmentRejectedAction: "重新申请访问",
|
|
1331
|
+
enrollmentRevokedSubject: "你的 OpenPencil Cloud 访问权限已变更",
|
|
1332
|
+
enrollmentRevokedHeading: "访问权限已变更",
|
|
1333
|
+
enrollmentRevokedPreview: "你的 OpenPencil Cloud 访问权限已失效。",
|
|
1334
|
+
enrollmentRevoked: "你的 OpenPencil Cloud 访问权限已失效。",
|
|
1335
|
+
enrollmentRevokedAction: "打开 OpenPencil",
|
|
1336
|
+
enrollmentNotificationSubject: "新的 OpenPencil Cloud 访问申请",
|
|
1337
|
+
enrollmentNotificationHeading: "新的访问申请",
|
|
1338
|
+
enrollmentNotificationPreview: "{email} 申请访问 OpenPencil Cloud。",
|
|
1339
|
+
enrollmentNotification: "{name}({email})申请访问,并留言:",
|
|
1340
|
+
enrollmentNotificationAction: "审核申请",
|
|
1341
|
+
documentReportSubject: "有一份共享的 OpenPencil Cloud 文档被举报",
|
|
1342
|
+
documentReportHeading: "有一份共享文档被举报",
|
|
1343
|
+
documentReportPreview: "“{document}”因{reason}被举报。",
|
|
1344
|
+
documentReport: "有人通过分享链接打开“{document}”后,因{reason}举报了它,并留言:",
|
|
1345
|
+
documentReportAction: "审核举报",
|
|
1346
|
+
reportReasonSpamPhishing: "垃圾信息或钓鱼",
|
|
1347
|
+
reportReasonIllegal: "违法内容",
|
|
1348
|
+
reportReasonCopyright: "侵犯版权",
|
|
1349
|
+
reportReasonHarassment: "骚扰",
|
|
1350
|
+
reportReasonOther: "其他原因",
|
|
1351
|
+
verifyAccountSubject: "确认你的 OpenPencil Cloud 邮箱",
|
|
1352
|
+
verifyAccountHeading: "确认你的邮箱",
|
|
1353
|
+
verifyAccountPreview: "只需点击一下,即可完成 OpenPencil Cloud 账号的创建。",
|
|
1354
|
+
verifyAccount: "确认此地址,即可完成 OpenPencil Cloud 账号的创建。然后返回 OpenPencil,它会自动为你登录。",
|
|
1355
|
+
verifyAccountNote: "没有创建过账号?忽略此邮件即可,不会有任何影响。",
|
|
1356
|
+
verifyChangeSubject: "确认你的 OpenPencil Cloud 新邮箱",
|
|
1357
|
+
verifyChangeHeading: "确认你的新邮箱",
|
|
1358
|
+
verifyChangePreview: "只需点击一下,即可将 OpenPencil Cloud 账号改用此地址。",
|
|
1359
|
+
verifyChange: "确认此地址后,它将成为你的 OpenPencil Cloud 账号邮箱。在此之前,旧地址仍然有效。",
|
|
1360
|
+
verifyChangeNote: "不是你发起的?忽略此邮件即可,不会有任何更改。",
|
|
1361
|
+
verifyAction: "确认邮箱",
|
|
1362
|
+
passwordResetSubject: "重置你的 OpenPencil Cloud 密码",
|
|
1363
|
+
passwordResetHeading: "重置密码",
|
|
1364
|
+
passwordResetPreview: "通过此安全链接设置新密码。",
|
|
1365
|
+
passwordReset: "请通过下方链接设置新密码。",
|
|
1366
|
+
passwordResetNote: "不是你发起的?忽略此邮件即可,你的密码不会改变。",
|
|
1367
|
+
passwordResetAction: "重置密码",
|
|
1368
|
+
passwordChangedSubject: "你的 OpenPencil Cloud 密码已更改",
|
|
1369
|
+
passwordChangedHeading: "密码已更改",
|
|
1370
|
+
passwordChangedPreview: "你的 OpenPencil Cloud 密码已更改。",
|
|
1371
|
+
passwordChanged: "你的密码已更改。如果不是你本人操作,请联系管理员。",
|
|
1372
|
+
emailChangeSubject: "你的 OpenPencil Cloud 邮箱即将更改",
|
|
1373
|
+
emailChangeHeading: "你的邮箱即将更改",
|
|
1374
|
+
emailChangePreview: "你的 OpenPencil Cloud 邮箱即将改为 {email}。",
|
|
1375
|
+
emailChange: "有人在登录你的账号后申请将邮箱改为 {email}。该地址确认后,更改才会生效。",
|
|
1376
|
+
emailChangeNotYou: "如果不是你本人操作,请修改密码并退出其他会话。",
|
|
1377
|
+
reviewAccount: "查看账号",
|
|
1378
|
+
newSignInSubject: "你的 OpenPencil Cloud 账号有新的登录",
|
|
1379
|
+
newSignInHeading: "你的账号有新的登录",
|
|
1380
|
+
newSignInPreview: "你的 OpenPencil Cloud 账号通过 {device} 登录。",
|
|
1381
|
+
newSignIn: "你的账号于 {date} 通过 {device} 登录。",
|
|
1382
|
+
newSignInFrom: "你的账号于 {date} 从 {address} 通过 {device} 登录。",
|
|
1383
|
+
newSignInNotYou: "如果是你本人,无需任何操作。如果不是,请退出该会话并修改密码。",
|
|
1384
|
+
newSignInApp: "OpenPencil 应用",
|
|
1385
|
+
newSignInBrowser: "{system} 上的 {browser}",
|
|
1386
|
+
newSignInUnknownBrowser: "未知浏览器",
|
|
1387
|
+
reviewSessions: "查看会话",
|
|
1388
|
+
twoStepSubject: "你的 OpenPencil Cloud 登录方式已更改",
|
|
1389
|
+
authenticatorOnHeading: "身份验证器应用已开启",
|
|
1390
|
+
authenticatorOn: "现在登录时需要通过身份验证器应用确认。",
|
|
1391
|
+
authenticatorOffHeading: "身份验证器应用已关闭",
|
|
1392
|
+
authenticatorOff: "登录时不再需要输入身份验证器应用中的验证码。",
|
|
1393
|
+
passkeyAddedHeading: "已添加通行密钥",
|
|
1394
|
+
passkeyAdded: "你的账号添加了一个通行密钥。",
|
|
1395
|
+
passkeyRemovedHeading: "已移除通行密钥",
|
|
1396
|
+
passkeyRemoved: "你的账号移除了一个通行密钥。",
|
|
1397
|
+
twoStepResetHeading: "两步验证已重置",
|
|
1398
|
+
twoStepReset: "管理员已移除你的身份验证器应用、恢复码和通行密钥,你可以重新设置。",
|
|
1399
|
+
twoStepNotYou: "如果不是你本人操作,请修改密码并联系管理员。",
|
|
1400
|
+
reviewSecurity: "查看安全设置",
|
|
1401
|
+
storageFullSubject: "你的 OpenPencil Cloud 文件已变为只读",
|
|
1402
|
+
storageFullHeading: "你的存储空间已满",
|
|
1403
|
+
storageFullPreview: "你的 OpenPencil Cloud 文件已使用 {used},共 {limit},因此变为只读。",
|
|
1404
|
+
storageFull: "你的工作区占用了 {used},而你的方案包含 {limit}。在占用量降下来之前,文档可以打开和下载,但无法编辑,也不能添加新文件。",
|
|
1405
|
+
storageFullUpgrade: "获取更多存储空间,或删除文档并清空回收站,即可恢复编辑。",
|
|
1406
|
+
storageFullFreeSpace: "删除文档并清空回收站,即可恢复编辑。",
|
|
1407
|
+
storageFullAction: "获取更多存储空间",
|
|
1408
|
+
documentBlockedSubject: "你的文档“{document}”已被封禁",
|
|
1409
|
+
documentBlockedHeading: "你的一份文档已被封禁",
|
|
1410
|
+
documentBlocked: "OpenPencil Cloud 的管理员封禁了你的文档“{document}”。在恢复之前,包括你在内的任何人都无法打开它。其中的内容均未被删除。",
|
|
1411
|
+
documentBlockedReason: "管理员给出的理由:{reason}",
|
|
1412
|
+
documentBlockedContest: "如果你认为这是误判,请发送邮件至 {email} 申请重新审核。",
|
|
1413
|
+
documentBlockedContestAdministrators: "如果你认为这是误判,请联系服务器管理员重新审核。",
|
|
1414
|
+
documentRestoredSubject: "你的文档“{document}”已恢复",
|
|
1415
|
+
documentRestoredHeading: "你的文档已恢复",
|
|
1416
|
+
documentRestored: "管理员已恢复你的文档“{document}”。你和所有与你共享过它的人都可以再次打开它。",
|
|
1417
|
+
openHome: "打开主页",
|
|
1418
|
+
reportReceivedSubject: "我们已收到你对“{document}”的举报",
|
|
1419
|
+
reportReceivedHeading: "已收到举报",
|
|
1420
|
+
reportReceived: "感谢你举报“{document}”。服务器管理员会审核每一条举报,并判断其是否违反规则。审核完成后,我们会再次通知你。",
|
|
1421
|
+
reportDecidedSubject: "关于你对“{document}”的举报",
|
|
1422
|
+
reportBlockedHeading: "该文档已被封禁",
|
|
1423
|
+
reportBlocked: "管理员审核了你的举报,并封禁了“{document}”。在恢复之前,任何人都无法打开它。",
|
|
1424
|
+
reportActionedHeading: "你的举报已得到处理",
|
|
1425
|
+
reportActioned: "管理员审核了你对“{document}”的举报,并已采取相应措施。",
|
|
1426
|
+
reportDismissedHeading: "该文档将予以保留",
|
|
1427
|
+
reportDismissed: "管理员审核了你对“{document}”的举报,认为它没有违反规则,因此将保持原样。",
|
|
1428
|
+
reportDisagree: "如果你不同意,请发送邮件至 {email}。",
|
|
1429
|
+
reportDisagreeAdministrators: "如果你不同意,请联系服务器管理员重新审核。",
|
|
1430
|
+
waitlistSubject: "确认你在 OpenPencil Cloud 候补名单中的位置",
|
|
1431
|
+
waitlistHeading: "确认你的邮箱",
|
|
1432
|
+
waitlistPreview: "只需点击一下,即可加入 OpenPencil Cloud 候补名单。",
|
|
1433
|
+
waitlist: "感谢你关注 OpenPencil Cloud。确认此地址即可加入候补名单。等 OpenPencil Cloud 为你准备就绪时,我们会给你发一封邮件,仅此一次。",
|
|
1434
|
+
waitlistAction: "加入候补名单",
|
|
1435
|
+
waitlistNote: "不是你本人报名的?忽略此邮件即可,该地址会在七天后删除;你也可以{link}。",
|
|
1436
|
+
waitlistLeave: "立即删除"
|
|
1437
|
+
};
|
|
1438
|
+
//#endregion
|
|
1439
|
+
//#region src/email/messages.ts
|
|
1440
|
+
/**
|
|
1441
|
+
* Every email's words in English, translated under `locales/`. A name, address, or document in a
|
|
1442
|
+
* placeholder is someone's own text and stays as they wrote it.
|
|
1443
|
+
*/
|
|
1444
|
+
const emailMessageDefaults = {
|
|
1445
|
+
greeting: params("Hi {name},"),
|
|
1446
|
+
greetingWithoutName: "Hi,",
|
|
1447
|
+
someone: "Someone",
|
|
1448
|
+
openCloud: "Open OpenPencil Cloud",
|
|
1449
|
+
footer: "OpenPencil, the open-source design editor",
|
|
1450
|
+
invitationExpires: params("This invitation expires on {date}."),
|
|
1451
|
+
documentInvitationHeading: "You’re invited to a document",
|
|
1452
|
+
documentInvitationViewSubject: params("{inviter} invited you to view “{document}”"),
|
|
1453
|
+
documentInvitationEditSubject: params("{inviter} invited you to edit “{document}”"),
|
|
1454
|
+
documentInvitationView: params("{inviter} invited you to view “{document}” on OpenPencil Cloud."),
|
|
1455
|
+
documentInvitationEdit: params("{inviter} invited you to edit “{document}” on OpenPencil Cloud."),
|
|
1456
|
+
documentInvitationAction: "Open document",
|
|
1457
|
+
workspaceInvitationSubject: params("{inviter} invited you to {workspace}"),
|
|
1458
|
+
workspaceInvitationHeading: params("Join {workspace}"),
|
|
1459
|
+
workspaceInvitationAdmin: params("{inviter} invited you to manage the workspace “{workspace}” on OpenPencil Cloud."),
|
|
1460
|
+
workspaceInvitationEditor: params("{inviter} invited you to edit in the workspace “{workspace}” on OpenPencil Cloud."),
|
|
1461
|
+
workspaceInvitationViewer: params("{inviter} invited you to view the workspace “{workspace}” on OpenPencil Cloud."),
|
|
1462
|
+
workspaceInvitationHome: "You’ll see its documents on Home once you join.",
|
|
1463
|
+
workspaceInvitationAction: "Join workspace",
|
|
1464
|
+
enrollmentRequestedSubject: "We received your OpenPencil Cloud request",
|
|
1465
|
+
enrollmentRequestedHeading: "Request received",
|
|
1466
|
+
enrollmentRequestedPreview: "Your OpenPencil Cloud access request is awaiting review.",
|
|
1467
|
+
enrollmentRequested: "Your request is awaiting review. We’ll write again once it’s decided.",
|
|
1468
|
+
enrollmentApprovedSubject: "Your OpenPencil Cloud access is ready",
|
|
1469
|
+
enrollmentApprovedHeading: "Access approved",
|
|
1470
|
+
enrollmentApprovedPreview: "You can now sign in to OpenPencil Cloud.",
|
|
1471
|
+
enrollmentApproved: "Your access request was approved, so you can sign in now.",
|
|
1472
|
+
enrollmentApprovedAction: "Sign in",
|
|
1473
|
+
enrollmentRejectedSubject: "Your OpenPencil Cloud request was reviewed",
|
|
1474
|
+
enrollmentRejectedHeading: "Request reviewed",
|
|
1475
|
+
enrollmentRejectedPreview: "Your access request was not approved.",
|
|
1476
|
+
enrollmentRejected: "Your access request was not approved this time.",
|
|
1477
|
+
enrollmentRejectedAction: "Request access again",
|
|
1478
|
+
enrollmentRevokedSubject: "Your OpenPencil Cloud access has changed",
|
|
1479
|
+
enrollmentRevokedHeading: "Access changed",
|
|
1480
|
+
enrollmentRevokedPreview: "Your OpenPencil Cloud access is no longer active.",
|
|
1481
|
+
enrollmentRevoked: "Your OpenPencil Cloud access is no longer active.",
|
|
1482
|
+
enrollmentRevokedAction: "Open OpenPencil",
|
|
1483
|
+
enrollmentNotificationSubject: "New OpenPencil Cloud access request",
|
|
1484
|
+
enrollmentNotificationHeading: "New access request",
|
|
1485
|
+
enrollmentNotificationPreview: params("{email} requested OpenPencil Cloud access."),
|
|
1486
|
+
enrollmentNotification: params("{name} ({email}) requested access and wrote:"),
|
|
1487
|
+
enrollmentNotificationAction: "Review request",
|
|
1488
|
+
documentReportSubject: "A shared OpenPencil Cloud document was reported",
|
|
1489
|
+
documentReportHeading: "A shared document was reported",
|
|
1490
|
+
documentReportPreview: params("“{document}” was reported for {reason}."),
|
|
1491
|
+
documentReport: params("Someone who opened “{document}” from a share link reported it for {reason} and wrote:"),
|
|
1492
|
+
documentReportAction: "Review report",
|
|
1493
|
+
reportReasonSpamPhishing: "spam or phishing",
|
|
1494
|
+
reportReasonIllegal: "illegal content",
|
|
1495
|
+
reportReasonCopyright: "copyright",
|
|
1496
|
+
reportReasonHarassment: "harassment",
|
|
1497
|
+
reportReasonOther: "something else",
|
|
1498
|
+
verifyAccountSubject: "Confirm your OpenPencil Cloud email",
|
|
1499
|
+
verifyAccountHeading: "Confirm your email",
|
|
1500
|
+
verifyAccountPreview: "One click to finish creating your OpenPencil Cloud account.",
|
|
1501
|
+
verifyAccount: "Confirm this address to finish creating your OpenPencil Cloud account. Then go back to OpenPencil; it signs you in by itself.",
|
|
1502
|
+
verifyAccountNote: "Didn’t create an account? Ignore this email and nothing happens.",
|
|
1503
|
+
verifyChangeSubject: "Confirm your new OpenPencil Cloud email",
|
|
1504
|
+
verifyChangeHeading: "Confirm your new email",
|
|
1505
|
+
verifyChangePreview: "One click to move your OpenPencil Cloud account to this address.",
|
|
1506
|
+
verifyChange: "Confirm this address to make it your OpenPencil Cloud account’s email. Your old address stays until you do.",
|
|
1507
|
+
verifyChangeNote: "Didn’t ask for this? Ignore this email and nothing changes.",
|
|
1508
|
+
verifyAction: "Confirm email",
|
|
1509
|
+
passwordResetSubject: "Reset your OpenPencil Cloud password",
|
|
1510
|
+
passwordResetHeading: "Reset your password",
|
|
1511
|
+
passwordResetPreview: "Use this secure link to choose a new password.",
|
|
1512
|
+
passwordReset: "Use the link below to choose a new password.",
|
|
1513
|
+
passwordResetNote: "Didn’t ask for this? Ignore this email and your password stays the same.",
|
|
1514
|
+
passwordResetAction: "Reset password",
|
|
1515
|
+
passwordChangedSubject: "Your OpenPencil Cloud password changed",
|
|
1516
|
+
passwordChangedHeading: "Password changed",
|
|
1517
|
+
passwordChangedPreview: "Your OpenPencil Cloud password was changed.",
|
|
1518
|
+
passwordChanged: "Your password was changed. If this wasn’t you, contact your administrator.",
|
|
1519
|
+
emailChangeSubject: "Your OpenPencil Cloud email is changing",
|
|
1520
|
+
emailChangeHeading: "Your email is changing",
|
|
1521
|
+
emailChangePreview: params("Your OpenPencil Cloud email is changing to {email}."),
|
|
1522
|
+
emailChange: params("Someone signed in to your account asked to change its email to {email}. It changes once that address confirms it."),
|
|
1523
|
+
emailChangeNotYou: "If this wasn’t you, change your password and sign out of your other sessions.",
|
|
1524
|
+
reviewAccount: "Review your account",
|
|
1525
|
+
newSignInSubject: "New sign-in to your OpenPencil Cloud account",
|
|
1526
|
+
newSignInHeading: "New sign-in to your account",
|
|
1527
|
+
newSignInPreview: params("Your OpenPencil Cloud account was signed in to with {device}."),
|
|
1528
|
+
newSignIn: params("Your account was signed in to with {device} on {date}."),
|
|
1529
|
+
newSignInFrom: params("Your account was signed in to with {device} from {address} on {date}."),
|
|
1530
|
+
newSignInNotYou: "If this was you, there’s nothing to do. If it wasn’t, sign that session out and change your password.",
|
|
1531
|
+
newSignInApp: "the OpenPencil app",
|
|
1532
|
+
newSignInBrowser: params("{browser} on {system}"),
|
|
1533
|
+
newSignInUnknownBrowser: "an unknown browser",
|
|
1534
|
+
reviewSessions: "Review sessions",
|
|
1535
|
+
twoStepSubject: "How you sign in to OpenPencil Cloud changed",
|
|
1536
|
+
authenticatorOnHeading: "Authenticator app turned on",
|
|
1537
|
+
authenticatorOn: "An authenticator app now confirms your sign-ins.",
|
|
1538
|
+
authenticatorOffHeading: "Authenticator app turned off",
|
|
1539
|
+
authenticatorOff: "Your sign-ins no longer ask for a code from an authenticator app.",
|
|
1540
|
+
passkeyAddedHeading: "Passkey added",
|
|
1541
|
+
passkeyAdded: "A passkey was added to your account.",
|
|
1542
|
+
passkeyRemovedHeading: "Passkey removed",
|
|
1543
|
+
passkeyRemoved: "A passkey was removed from your account.",
|
|
1544
|
+
twoStepResetHeading: "Two-step sign-in was reset",
|
|
1545
|
+
twoStepReset: "An administrator removed your authenticator app, recovery codes, and passkeys, so you can set them up again.",
|
|
1546
|
+
twoStepNotYou: "If this wasn’t you, change your password and contact your administrator.",
|
|
1547
|
+
reviewSecurity: "Review security",
|
|
1548
|
+
storageFullSubject: "Your OpenPencil Cloud files are read-only",
|
|
1549
|
+
storageFullHeading: "Your storage is full",
|
|
1550
|
+
storageFullPreview: params("Your OpenPencil Cloud files use {used} of {limit}, so they’re read-only."),
|
|
1551
|
+
storageFull: params("Your workspaces hold {used}, and your plan includes {limit}. Until they hold less, your documents open and download but take no edits or new files."),
|
|
1552
|
+
storageFullUpgrade: "Get more storage, or delete documents and empty the trash, to edit again.",
|
|
1553
|
+
storageFullFreeSpace: "Delete documents and empty the trash to edit again.",
|
|
1554
|
+
storageFullAction: "Get more storage",
|
|
1555
|
+
documentBlockedSubject: params("Your document “{document}” was blocked"),
|
|
1556
|
+
documentBlockedHeading: "A document of yours was blocked",
|
|
1557
|
+
documentBlocked: params("An administrator of OpenPencil Cloud blocked your document “{document}”. Nobody can open it, you included, until it’s restored. Nothing in it was deleted."),
|
|
1558
|
+
documentBlockedReason: params("The reason they gave: {reason}"),
|
|
1559
|
+
documentBlockedContest: params("If you think this is a mistake, write to {email} to have it looked at again."),
|
|
1560
|
+
documentBlockedContestAdministrators: "If you think this is a mistake, ask the server’s administrators to look at it again.",
|
|
1561
|
+
documentRestoredSubject: params("Your document “{document}” is back"),
|
|
1562
|
+
documentRestoredHeading: "Your document is back",
|
|
1563
|
+
documentRestored: params("An administrator restored your document “{document}”. It opens again for you and everyone you shared it with."),
|
|
1564
|
+
openHome: "Open Home",
|
|
1565
|
+
reportReceivedSubject: params("We received your report about “{document}”"),
|
|
1566
|
+
reportReceivedHeading: "Report received",
|
|
1567
|
+
reportReceived: params("Thanks for reporting “{document}”. The server’s administrators review every report and decide whether it breaks the rules. We’ll write again when they have."),
|
|
1568
|
+
reportDecidedSubject: params("Your report about “{document}”"),
|
|
1569
|
+
reportBlockedHeading: "The document was blocked",
|
|
1570
|
+
reportBlocked: params("The administrators reviewed your report and blocked “{document}”, so nobody can open it until it’s restored."),
|
|
1571
|
+
reportActionedHeading: "Your report was acted on",
|
|
1572
|
+
reportActioned: params("The administrators reviewed your report about “{document}” and took action on it."),
|
|
1573
|
+
reportDismissedHeading: "The document stays",
|
|
1574
|
+
reportDismissed: params("The administrators reviewed your report about “{document}” and found it doesn’t break the rules, so it stays as it is."),
|
|
1575
|
+
reportDisagree: params("If you disagree, write to {email}."),
|
|
1576
|
+
reportDisagreeAdministrators: "If you disagree, ask the server’s administrators to look at it again.",
|
|
1577
|
+
waitlistSubject: "Confirm your place on the OpenPencil Cloud waitlist",
|
|
1578
|
+
waitlistHeading: "Confirm your email",
|
|
1579
|
+
waitlistPreview: "One click to join the OpenPencil Cloud waitlist.",
|
|
1580
|
+
waitlist: "Thanks for your interest in OpenPencil Cloud. Confirm this address to join the waitlist, and we’ll write once, when Cloud is ready for you.",
|
|
1581
|
+
waitlistAction: "Join the waitlist",
|
|
1582
|
+
waitlistNote: "Didn’t sign up? Ignore this email and the address is deleted in seven days, or {link}.",
|
|
1583
|
+
waitlistLeave: "remove it now"
|
|
1584
|
+
};
|
|
1585
|
+
//#endregion
|
|
1586
|
+
//#region src/email/i18n.ts
|
|
1587
|
+
/**
|
|
1588
|
+
* Each language's translations of `emailMessageDefaults`, bundled so a Worker reads no files. They
|
|
1589
|
+
* are what Cloud writes in: a language is supported once its file is here.
|
|
1590
|
+
*/
|
|
1591
|
+
const TRANSLATIONS = {
|
|
1592
|
+
ar: ar_default,
|
|
1593
|
+
de: de_default,
|
|
1594
|
+
es: es_default,
|
|
1595
|
+
fr: fr_default,
|
|
1596
|
+
it: it_default,
|
|
1597
|
+
ja: ja_default,
|
|
1598
|
+
pl: pl_default,
|
|
1599
|
+
"pt-BR": pt_br_default,
|
|
1600
|
+
ru: ru_default,
|
|
1601
|
+
"zh-CN": zh_cn_default
|
|
1602
|
+
};
|
|
1603
|
+
/** Every language Cloud writes email in, English first. */
|
|
1604
|
+
const EMAIL_LOCALES = ["en", ...typedKeys(TRANSLATIONS)];
|
|
1605
|
+
function typedKeys(value) {
|
|
1606
|
+
return Object.keys(value).filter((key) => key in value);
|
|
1607
|
+
}
|
|
1608
|
+
function isEmailLocale(value) {
|
|
1609
|
+
return EMAIL_LOCALES.some((code) => code === value);
|
|
1610
|
+
}
|
|
1611
|
+
/** A tag's language and script, as Unicode's likely subtags fill them in: `zh-TW` is `zh-Hant`. */
|
|
1612
|
+
function languageScript(tag) {
|
|
1613
|
+
try {
|
|
1614
|
+
const { language, script } = new Intl.Locale(tag).maximize();
|
|
1615
|
+
return `${language}-${script ?? ""}`;
|
|
1616
|
+
} catch {
|
|
1617
|
+
return null;
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
* The first of someone's languages Cloud writes in: the same tag, or the same language in the same
|
|
1622
|
+
* script, so `de-AT` reads German and `zh-TW`, written in Traditional, doesn't read Simplified.
|
|
1623
|
+
*/
|
|
1624
|
+
function emailLocale(languages) {
|
|
1625
|
+
const byTag = new Map(EMAIL_LOCALES.map((code) => [code.toLowerCase(), code]));
|
|
1626
|
+
const byScript = new Map(EMAIL_LOCALES.map((code) => [languageScript(code), code]));
|
|
1627
|
+
for (const language of languages) {
|
|
1628
|
+
const match = byTag.get(language.toLowerCase()) ?? byScript.get(languageScript(language));
|
|
1629
|
+
if (match) return match;
|
|
1630
|
+
}
|
|
1631
|
+
return null;
|
|
1632
|
+
}
|
|
1633
|
+
/** Locales written right to left. */
|
|
1634
|
+
const RIGHT_TO_LEFT = /* @__PURE__ */ new Set(["ar"]);
|
|
1635
|
+
const RIGHT_TO_LEFT_MARK = String.fromCodePoint(8207);
|
|
1636
|
+
const FIRST_STRONG_ISOLATE = String.fromCodePoint(8296);
|
|
1637
|
+
const POP_DIRECTIONAL_ISOLATE = String.fromCodePoint(8297);
|
|
1638
|
+
/**
|
|
1639
|
+
* Right-to-left messages as the app shows them: each between right-to-left marks, so punctuation
|
|
1640
|
+
* after a Latin name ends the sentence on its left, and each placeholder isolated, so a name or
|
|
1641
|
+
* address put into it keeps its own order: `report.pdf`, not `pdf.report`.
|
|
1642
|
+
*/
|
|
1643
|
+
function directed(messages) {
|
|
1644
|
+
return mapValues(messages, (message) => {
|
|
1645
|
+
const isolated = message.replaceAll(/\{\w+\}/g, (placeholder) => `${FIRST_STRONG_ISOLATE}${placeholder}${POP_DIRECTIONAL_ISOLATE}`);
|
|
1646
|
+
return `${RIGHT_TO_LEFT_MARK}${isolated}${RIGHT_TO_LEFT_MARK}`;
|
|
1647
|
+
});
|
|
1648
|
+
}
|
|
1649
|
+
const STORAGE_UNITS = [
|
|
1650
|
+
{
|
|
1651
|
+
unit: "gigabyte",
|
|
1652
|
+
bytes: 1024 ** 3
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
unit: "megabyte",
|
|
1656
|
+
bytes: 1024 ** 2
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
unit: "kilobyte",
|
|
1660
|
+
bytes: 1024
|
|
1661
|
+
}
|
|
1662
|
+
];
|
|
1663
|
+
function messages(locale) {
|
|
1664
|
+
const translations = locale === "en" ? {} : { [locale]: { email: RIGHT_TO_LEFT.has(locale) ? directed(TRANSLATIONS[locale]) : TRANSLATIONS[locale] } };
|
|
1665
|
+
return createI18n(atom(locale), {
|
|
1666
|
+
baseLocale: "en",
|
|
1667
|
+
cache: translations,
|
|
1668
|
+
get: async () => ({})
|
|
1669
|
+
})("email", emailMessageDefaults).get();
|
|
1670
|
+
}
|
|
1671
|
+
const localizations = /* @__PURE__ */ new Map();
|
|
1672
|
+
function emailLocalization(locale) {
|
|
1673
|
+
const cached = localizations.get(locale);
|
|
1674
|
+
if (cached) return cached;
|
|
1675
|
+
const dateTime = new Intl.DateTimeFormat(locale, {
|
|
1676
|
+
year: "numeric",
|
|
1677
|
+
month: "long",
|
|
1678
|
+
day: "numeric",
|
|
1679
|
+
hour: "numeric",
|
|
1680
|
+
minute: "2-digit",
|
|
1681
|
+
timeZone: "UTC",
|
|
1682
|
+
timeZoneName: "short"
|
|
1683
|
+
});
|
|
1684
|
+
const localization = {
|
|
1685
|
+
locale,
|
|
1686
|
+
dir: RIGHT_TO_LEFT.has(locale) ? "rtl" : "ltr",
|
|
1687
|
+
t: messages(locale),
|
|
1688
|
+
dateTime: (iso) => dateTime.format(new Date(iso)),
|
|
1689
|
+
storage: (bytes) => {
|
|
1690
|
+
const { unit, bytes: size } = STORAGE_UNITS.find((step) => bytes >= step.bytes) ?? {
|
|
1691
|
+
unit: "byte",
|
|
1692
|
+
bytes: 1
|
|
1693
|
+
};
|
|
1694
|
+
return new Intl.NumberFormat(locale, {
|
|
1695
|
+
style: "unit",
|
|
1696
|
+
unit,
|
|
1697
|
+
unitDisplay: "short",
|
|
1698
|
+
maximumFractionDigits: 1
|
|
1699
|
+
}).format(bytes / size);
|
|
1700
|
+
}
|
|
1701
|
+
};
|
|
1702
|
+
localizations.set(locale, localization);
|
|
1703
|
+
return localization;
|
|
1704
|
+
}
|
|
1705
|
+
/** The language an `Accept-Language` header prefers among Cloud's, or null when it names none. */
|
|
1706
|
+
function acceptedLocale(header) {
|
|
1707
|
+
return emailLocale(parseAccept(header ?? "").filter((language) => language.q > 0).map((language) => language.type));
|
|
1708
|
+
}
|
|
1709
|
+
//#endregion
|
|
6
1710
|
//#region src/email/templates/brand.ts
|
|
1711
|
+
/** The brand every OpenPencil email shares, from the waitlist to Cloud: its colors and type. */
|
|
7
1712
|
/** The ivory app-icon tile, served as PNG because mail clients do not draw SVG. */
|
|
8
1713
|
const LOGO_URL = "https://openpencil.dev/brand/app-icon-1024.png";
|
|
9
1714
|
const SITE_URL = "https://openpencil.dev";
|
|
@@ -12,6 +1717,7 @@ const INK = "#171717";
|
|
|
12
1717
|
const MUTED = "#6B6B6B";
|
|
13
1718
|
/** Deep teal from the mark; white text on it passes WCAG AA. */
|
|
14
1719
|
const TEAL = "#0A6C65";
|
|
1720
|
+
/** Inline styles, since mail clients drop most stylesheets. */
|
|
15
1721
|
const styles = {
|
|
16
1722
|
body: {
|
|
17
1723
|
backgroundColor: "#F5F5EF",
|
|
@@ -42,8 +1748,9 @@ const styles = {
|
|
|
42
1748
|
color: "#404040",
|
|
43
1749
|
fontSize: "15px",
|
|
44
1750
|
lineHeight: "1.6",
|
|
45
|
-
margin: "0 0
|
|
1751
|
+
margin: "0 0 16px"
|
|
46
1752
|
},
|
|
1753
|
+
action: { paddingTop: "8px" },
|
|
47
1754
|
button: {
|
|
48
1755
|
backgroundColor: TEAL,
|
|
49
1756
|
borderRadius: "10px",
|
|
@@ -69,377 +1776,1613 @@ const styles = {
|
|
|
69
1776
|
lineHeight: "1.6",
|
|
70
1777
|
textAlign: "center",
|
|
71
1778
|
margin: "24px 0 0"
|
|
72
|
-
}
|
|
1779
|
+
},
|
|
1780
|
+
footerLink: { color: MUTED }
|
|
73
1781
|
};
|
|
74
|
-
function noteContent(note) {
|
|
75
|
-
if (!note.link) return note.text;
|
|
76
|
-
const { label, url } = note.link;
|
|
77
|
-
return [
|
|
78
|
-
`${note.text} `,
|
|
79
|
-
h(Link, {
|
|
80
|
-
href: url,
|
|
81
|
-
style: styles.link
|
|
82
|
-
}, () => label),
|
|
83
|
-
"."
|
|
84
|
-
];
|
|
85
|
-
}
|
|
86
|
-
/** The branded email every OpenPencil service sends: the waitlist and Cloud alike. */
|
|
87
|
-
function emailLayout(props) {
|
|
88
|
-
const { note } = props;
|
|
89
|
-
return h(Html, { lang: "en" }, () => [
|
|
90
|
-
h(Head),
|
|
91
|
-
h(Preview, () => props.preview),
|
|
92
|
-
h(Body, { style: styles.body }, () => [h(Container, { style: styles.card }, () => [
|
|
93
|
-
h(Img, {
|
|
94
|
-
src: LOGO_URL,
|
|
95
|
-
width: 44,
|
|
96
|
-
height: 44,
|
|
97
|
-
alt: "OpenPencil",
|
|
98
|
-
style: styles.logo
|
|
99
|
-
}),
|
|
100
|
-
h(Heading, {
|
|
101
|
-
as: "h1",
|
|
102
|
-
style: styles.heading
|
|
103
|
-
}, () => props.heading),
|
|
104
|
-
h(Text, { style: styles.text }, () => props.message),
|
|
105
|
-
h(Section, () => h(Button, {
|
|
106
|
-
href: props.actionURL,
|
|
107
|
-
style: styles.button
|
|
108
|
-
}, () => props.actionLabel)),
|
|
109
|
-
note ? h(Text, { style: styles.note }, () => noteContent(note)) : null
|
|
110
|
-
]), h(Text, { style: styles.footer }, () => ["OpenPencil, the open-source design editor · ", h(Link, {
|
|
111
|
-
href: SITE_URL,
|
|
112
|
-
style: { color: MUTED }
|
|
113
|
-
}, () => "openpencil.dev")])])
|
|
114
|
-
]);
|
|
115
|
-
}
|
|
116
1782
|
//#endregion
|
|
117
|
-
//#region src/email/templates/
|
|
118
|
-
/**
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
});
|
|
1783
|
+
//#region src/email/templates/localization.ts
|
|
1784
|
+
/** The reader's language, which every email and its layout write in. */
|
|
1785
|
+
const EMAIL_LOCALIZATION = Symbol("email-localization");
|
|
1786
|
+
function useEmailLocalization() {
|
|
1787
|
+
const localization = inject(EMAIL_LOCALIZATION);
|
|
1788
|
+
if (!localization) throw new Error("An email renders inside EmailRoot, which gives its language");
|
|
1789
|
+
return localization;
|
|
125
1790
|
}
|
|
1791
|
+
/** "Hi Ada," or, when the account has no name, "Hi,". */
|
|
1792
|
+
function greeting({ t }, name) {
|
|
1793
|
+
return name ? t.greeting({ name }) : t.greetingWithoutName;
|
|
1794
|
+
}
|
|
1795
|
+
//#endregion
|
|
1796
|
+
//#region \0/plugin-vue/export-helper
|
|
1797
|
+
var export_helper_default = (sfc, props) => {
|
|
1798
|
+
const target = sfc.__vccOpts || sfc;
|
|
1799
|
+
for (const [key, val] of props) target[key] = val;
|
|
1800
|
+
return target;
|
|
1801
|
+
};
|
|
126
1802
|
//#endregion
|
|
127
|
-
//#region src/email/templates/
|
|
128
|
-
|
|
1803
|
+
//#region src/email/templates/BrandEmail.vue
|
|
1804
|
+
/**
|
|
1805
|
+
* The branded email every OpenPencil service sends, in its reader's language and direction: a
|
|
1806
|
+
* heading, the paragraphs in the default slot, one button, and small print in `note`.
|
|
1807
|
+
*/
|
|
1808
|
+
const _sfc_main$19 = /*@__PURE__*/ defineComponent({
|
|
1809
|
+
__name: "BrandEmail",
|
|
129
1810
|
props: {
|
|
130
|
-
|
|
1811
|
+
preview: {
|
|
131
1812
|
type: String,
|
|
132
1813
|
required: true
|
|
133
1814
|
},
|
|
134
|
-
|
|
1815
|
+
heading: {
|
|
135
1816
|
type: String,
|
|
136
1817
|
required: true
|
|
137
1818
|
},
|
|
138
|
-
|
|
139
|
-
type:
|
|
1819
|
+
action: {
|
|
1820
|
+
type: Object,
|
|
1821
|
+
required: false
|
|
1822
|
+
}
|
|
1823
|
+
},
|
|
1824
|
+
setup(__props, { expose: __expose }) {
|
|
1825
|
+
__expose();
|
|
1826
|
+
const { locale, dir, t } = useEmailLocalization();
|
|
1827
|
+
const __returned__ = {
|
|
1828
|
+
locale,
|
|
1829
|
+
dir,
|
|
1830
|
+
t,
|
|
1831
|
+
get Body() {
|
|
1832
|
+
return Body;
|
|
1833
|
+
},
|
|
1834
|
+
get Button() {
|
|
1835
|
+
return Button;
|
|
1836
|
+
},
|
|
1837
|
+
get Container() {
|
|
1838
|
+
return Container;
|
|
1839
|
+
},
|
|
1840
|
+
get Head() {
|
|
1841
|
+
return Head;
|
|
1842
|
+
},
|
|
1843
|
+
get Heading() {
|
|
1844
|
+
return Heading;
|
|
1845
|
+
},
|
|
1846
|
+
get HTML() {
|
|
1847
|
+
return Html;
|
|
1848
|
+
},
|
|
1849
|
+
get Img() {
|
|
1850
|
+
return Img;
|
|
1851
|
+
},
|
|
1852
|
+
get Link() {
|
|
1853
|
+
return Link;
|
|
1854
|
+
},
|
|
1855
|
+
get Preview() {
|
|
1856
|
+
return Preview;
|
|
1857
|
+
},
|
|
1858
|
+
get Section() {
|
|
1859
|
+
return Section;
|
|
1860
|
+
},
|
|
1861
|
+
get Text() {
|
|
1862
|
+
return Text;
|
|
1863
|
+
},
|
|
1864
|
+
get LOGO_URL() {
|
|
1865
|
+
return LOGO_URL;
|
|
1866
|
+
},
|
|
1867
|
+
get SITE_URL() {
|
|
1868
|
+
return SITE_URL;
|
|
1869
|
+
},
|
|
1870
|
+
get styles() {
|
|
1871
|
+
return styles;
|
|
1872
|
+
}
|
|
1873
|
+
};
|
|
1874
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
1875
|
+
enumerable: false,
|
|
1876
|
+
value: true
|
|
1877
|
+
});
|
|
1878
|
+
return __returned__;
|
|
1879
|
+
}
|
|
1880
|
+
});
|
|
1881
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1882
|
+
return openBlock(), createBlock($setup["HTML"], {
|
|
1883
|
+
lang: $setup.locale,
|
|
1884
|
+
dir: $setup.dir
|
|
1885
|
+
}, {
|
|
1886
|
+
default: withCtx(() => [
|
|
1887
|
+
createVNode($setup["Head"]),
|
|
1888
|
+
createVNode($setup["Preview"], null, {
|
|
1889
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.preview), 1)]),
|
|
1890
|
+
_: 1
|
|
1891
|
+
}),
|
|
1892
|
+
createVNode($setup["Body"], { style: normalizeStyle($setup.styles.body) }, {
|
|
1893
|
+
default: withCtx(() => [createVNode($setup["Container"], { style: normalizeStyle($setup.styles.card) }, {
|
|
1894
|
+
default: withCtx(() => [
|
|
1895
|
+
createVNode($setup["Img"], {
|
|
1896
|
+
src: $setup.LOGO_URL,
|
|
1897
|
+
width: 44,
|
|
1898
|
+
height: 44,
|
|
1899
|
+
alt: "OpenPencil",
|
|
1900
|
+
style: normalizeStyle($setup.styles.logo)
|
|
1901
|
+
}, null, 8, ["src", "style"]),
|
|
1902
|
+
createVNode($setup["Heading"], {
|
|
1903
|
+
as: "h1",
|
|
1904
|
+
style: normalizeStyle($setup.styles.heading)
|
|
1905
|
+
}, {
|
|
1906
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.heading), 1)]),
|
|
1907
|
+
_: 1
|
|
1908
|
+
}, 8, ["style"]),
|
|
1909
|
+
renderSlot(_ctx.$slots, "default"),
|
|
1910
|
+
$props.action ? (openBlock(), createBlock($setup["Section"], {
|
|
1911
|
+
key: 0,
|
|
1912
|
+
style: normalizeStyle($setup.styles.action)
|
|
1913
|
+
}, {
|
|
1914
|
+
default: withCtx(() => [createVNode($setup["Button"], {
|
|
1915
|
+
href: $props.action.url,
|
|
1916
|
+
style: normalizeStyle($setup.styles.button)
|
|
1917
|
+
}, {
|
|
1918
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.action.label), 1)]),
|
|
1919
|
+
_: 1
|
|
1920
|
+
}, 8, ["href", "style"])]),
|
|
1921
|
+
_: 1
|
|
1922
|
+
}, 8, ["style"])) : createCommentVNode("v-if", true),
|
|
1923
|
+
_ctx.$slots.note ? (openBlock(), createBlock($setup["Text"], {
|
|
1924
|
+
key: 1,
|
|
1925
|
+
style: normalizeStyle($setup.styles.note)
|
|
1926
|
+
}, {
|
|
1927
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "note")]),
|
|
1928
|
+
_: 3
|
|
1929
|
+
}, 8, ["style"])) : createCommentVNode("v-if", true)
|
|
1930
|
+
]),
|
|
1931
|
+
_: 3
|
|
1932
|
+
}, 8, ["style"]), createVNode($setup["Text"], { style: normalizeStyle($setup.styles.footer) }, {
|
|
1933
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.footer) + " · ", 1), createVNode($setup["Link"], {
|
|
1934
|
+
href: $setup.SITE_URL,
|
|
1935
|
+
style: normalizeStyle($setup.styles.footerLink)
|
|
1936
|
+
}, {
|
|
1937
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("openpencil.dev", -1)])]),
|
|
1938
|
+
_: 1
|
|
1939
|
+
}, 8, ["href", "style"])]),
|
|
1940
|
+
_: 1
|
|
1941
|
+
}, 8, ["style"])]),
|
|
1942
|
+
_: 3
|
|
1943
|
+
}, 8, ["style"])
|
|
1944
|
+
]),
|
|
1945
|
+
_: 3
|
|
1946
|
+
}, 8, ["lang", "dir"]);
|
|
1947
|
+
}
|
|
1948
|
+
var BrandEmail_default = /*#__PURE__*/ export_helper_default(_sfc_main$19, [["render", _sfc_render$19], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/BrandEmail.vue"]]);
|
|
1949
|
+
//#endregion
|
|
1950
|
+
//#region src/email/templates/EmailText.vue
|
|
1951
|
+
const _sfc_main$18 = /*@__PURE__*/ defineComponent({
|
|
1952
|
+
__name: "EmailText",
|
|
1953
|
+
setup(__props, { expose: __expose }) {
|
|
1954
|
+
__expose();
|
|
1955
|
+
const __returned__ = {
|
|
1956
|
+
get Text() {
|
|
1957
|
+
return Text;
|
|
1958
|
+
},
|
|
1959
|
+
get styles() {
|
|
1960
|
+
return styles;
|
|
1961
|
+
}
|
|
1962
|
+
};
|
|
1963
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
1964
|
+
enumerable: false,
|
|
1965
|
+
value: true
|
|
1966
|
+
});
|
|
1967
|
+
return __returned__;
|
|
1968
|
+
}
|
|
1969
|
+
});
|
|
1970
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1971
|
+
return openBlock(), createBlock($setup["Text"], { style: normalizeStyle($setup.styles.text) }, {
|
|
1972
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
1973
|
+
_: 3
|
|
1974
|
+
}, 8, ["style"]);
|
|
1975
|
+
}
|
|
1976
|
+
var EmailText_default = /*#__PURE__*/ export_helper_default(_sfc_main$18, [["render", _sfc_render$18], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/EmailText.vue"]]);
|
|
1977
|
+
//#endregion
|
|
1978
|
+
//#region src/email/templates/DocumentBlocked.vue
|
|
1979
|
+
/**
|
|
1980
|
+
* To a workspace's owner: an administrator took one of its documents down. It says why, when the
|
|
1981
|
+
* administrator gave a reason, and where to contest it.
|
|
1982
|
+
*/
|
|
1983
|
+
const _sfc_main$17 = /*@__PURE__*/ defineComponent({
|
|
1984
|
+
__name: "DocumentBlocked",
|
|
1985
|
+
props: { payload: {
|
|
1986
|
+
type: null,
|
|
1987
|
+
required: true
|
|
1988
|
+
} },
|
|
1989
|
+
setup(__props, { expose: __expose }) {
|
|
1990
|
+
__expose();
|
|
1991
|
+
const localization = useEmailLocalization();
|
|
1992
|
+
const { t } = localization;
|
|
1993
|
+
const document = { document: __props.payload.documentName };
|
|
1994
|
+
const [beforeEmail = "", afterEmail = ""] = t.documentBlockedContest({ email: "{email}" }).split("{email}");
|
|
1995
|
+
const __returned__ = {
|
|
1996
|
+
localization,
|
|
1997
|
+
t,
|
|
1998
|
+
document,
|
|
1999
|
+
beforeEmail,
|
|
2000
|
+
afterEmail,
|
|
2001
|
+
get Link() {
|
|
2002
|
+
return Link;
|
|
2003
|
+
},
|
|
2004
|
+
get styles() {
|
|
2005
|
+
return styles;
|
|
2006
|
+
},
|
|
2007
|
+
BrandEmail: BrandEmail_default,
|
|
2008
|
+
EmailText: EmailText_default,
|
|
2009
|
+
get greeting() {
|
|
2010
|
+
return greeting;
|
|
2011
|
+
}
|
|
2012
|
+
};
|
|
2013
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2014
|
+
enumerable: false,
|
|
2015
|
+
value: true
|
|
2016
|
+
});
|
|
2017
|
+
return __returned__;
|
|
2018
|
+
}
|
|
2019
|
+
});
|
|
2020
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2021
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2022
|
+
preview: $setup.t.documentBlocked($setup.document),
|
|
2023
|
+
heading: $setup.t.documentBlockedHeading,
|
|
2024
|
+
action: {
|
|
2025
|
+
label: $setup.t.openHome,
|
|
2026
|
+
url: $props.payload.actionURL
|
|
2027
|
+
}
|
|
2028
|
+
}, {
|
|
2029
|
+
default: withCtx(() => [
|
|
2030
|
+
createVNode($setup["EmailText"], null, {
|
|
2031
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2032
|
+
_: 1
|
|
2033
|
+
}),
|
|
2034
|
+
createVNode($setup["EmailText"], null, {
|
|
2035
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.documentBlocked($setup.document)), 1)]),
|
|
2036
|
+
_: 1
|
|
2037
|
+
}),
|
|
2038
|
+
$props.payload.reason ? (openBlock(), createBlock($setup["EmailText"], { key: 0 }, {
|
|
2039
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.documentBlockedReason({ reason: $props.payload.reason })), 1)]),
|
|
2040
|
+
_: 1
|
|
2041
|
+
})) : createCommentVNode("v-if", true),
|
|
2042
|
+
$props.payload.contactEmail ? (openBlock(), createBlock($setup["EmailText"], { key: 1 }, {
|
|
2043
|
+
default: withCtx(() => [
|
|
2044
|
+
createTextVNode(toDisplayString($setup.beforeEmail), 1),
|
|
2045
|
+
createVNode($setup["Link"], {
|
|
2046
|
+
href: `mailto:${$props.payload.contactEmail}`,
|
|
2047
|
+
style: normalizeStyle($setup.styles.link)
|
|
2048
|
+
}, {
|
|
2049
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.payload.contactEmail), 1)]),
|
|
2050
|
+
_: 1
|
|
2051
|
+
}, 8, ["href", "style"]),
|
|
2052
|
+
createTextVNode(toDisplayString($setup.afterEmail), 1)
|
|
2053
|
+
]),
|
|
2054
|
+
_: 1
|
|
2055
|
+
})) : (openBlock(), createBlock($setup["EmailText"], { key: 2 }, {
|
|
2056
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.documentBlockedContestAdministrators), 1)]),
|
|
2057
|
+
_: 1
|
|
2058
|
+
}))
|
|
2059
|
+
]),
|
|
2060
|
+
_: 1
|
|
2061
|
+
}, 8, [
|
|
2062
|
+
"preview",
|
|
2063
|
+
"heading",
|
|
2064
|
+
"action"
|
|
2065
|
+
]);
|
|
2066
|
+
}
|
|
2067
|
+
var DocumentBlocked_default = /*#__PURE__*/ export_helper_default(_sfc_main$17, [["render", _sfc_render$17], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/DocumentBlocked.vue"]]);
|
|
2068
|
+
//#endregion
|
|
2069
|
+
//#region src/email/templates/DocumentInvitation.vue
|
|
2070
|
+
const _sfc_main$16 = /*@__PURE__*/ defineComponent({
|
|
2071
|
+
__name: "DocumentInvitation",
|
|
2072
|
+
props: { payload: {
|
|
2073
|
+
type: null,
|
|
2074
|
+
required: true
|
|
2075
|
+
} },
|
|
2076
|
+
setup(__props, { expose: __expose }) {
|
|
2077
|
+
__expose();
|
|
2078
|
+
const { t, dateTime } = useEmailLocalization();
|
|
2079
|
+
const names = {
|
|
2080
|
+
inviter: __props.payload.inviterName ?? t.someone,
|
|
2081
|
+
document: __props.payload.documentName
|
|
2082
|
+
};
|
|
2083
|
+
const __returned__ = {
|
|
2084
|
+
t,
|
|
2085
|
+
dateTime,
|
|
2086
|
+
names,
|
|
2087
|
+
message: __props.payload.permission === "edit" ? t.documentInvitationEdit(names) : t.documentInvitationView(names),
|
|
2088
|
+
BrandEmail: BrandEmail_default,
|
|
2089
|
+
EmailText: EmailText_default
|
|
2090
|
+
};
|
|
2091
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2092
|
+
enumerable: false,
|
|
2093
|
+
value: true
|
|
2094
|
+
});
|
|
2095
|
+
return __returned__;
|
|
2096
|
+
}
|
|
2097
|
+
});
|
|
2098
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2099
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2100
|
+
preview: $setup.message,
|
|
2101
|
+
heading: $setup.t.documentInvitationHeading,
|
|
2102
|
+
action: {
|
|
2103
|
+
label: $setup.t.documentInvitationAction,
|
|
2104
|
+
url: $props.payload.acceptanceURL
|
|
2105
|
+
}
|
|
2106
|
+
}, {
|
|
2107
|
+
note: withCtx(() => [createTextVNode(toDisplayString($setup.t.invitationExpires({ date: $setup.dateTime($props.payload.expiresAt) })), 1)]),
|
|
2108
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2109
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.message), 1)]),
|
|
2110
|
+
_: 1
|
|
2111
|
+
})]),
|
|
2112
|
+
_: 1
|
|
2113
|
+
}, 8, [
|
|
2114
|
+
"preview",
|
|
2115
|
+
"heading",
|
|
2116
|
+
"action"
|
|
2117
|
+
]);
|
|
2118
|
+
}
|
|
2119
|
+
var DocumentInvitation_default = /*#__PURE__*/ export_helper_default(_sfc_main$16, [["render", _sfc_render$16], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/DocumentInvitation.vue"]]);
|
|
2120
|
+
//#endregion
|
|
2121
|
+
//#region src/email/templates/DocumentReport.vue
|
|
2122
|
+
/** To administrators: someone reported a shared document, in their own words. */
|
|
2123
|
+
const _sfc_main$15 = /*@__PURE__*/ defineComponent({
|
|
2124
|
+
__name: "DocumentReport",
|
|
2125
|
+
props: { payload: {
|
|
2126
|
+
type: null,
|
|
2127
|
+
required: true
|
|
2128
|
+
} },
|
|
2129
|
+
setup(__props, { expose: __expose }) {
|
|
2130
|
+
__expose();
|
|
2131
|
+
const { t } = useEmailLocalization();
|
|
2132
|
+
const reasons = {
|
|
2133
|
+
"spam-phishing": t.reportReasonSpamPhishing,
|
|
2134
|
+
illegal: t.reportReasonIllegal,
|
|
2135
|
+
copyright: t.reportReasonCopyright,
|
|
2136
|
+
harassment: t.reportReasonHarassment,
|
|
2137
|
+
other: t.reportReasonOther
|
|
2138
|
+
};
|
|
2139
|
+
const __returned__ = {
|
|
2140
|
+
t,
|
|
2141
|
+
reasons,
|
|
2142
|
+
report: {
|
|
2143
|
+
document: __props.payload.documentName,
|
|
2144
|
+
reason: reasons[__props.payload.reason]
|
|
2145
|
+
},
|
|
2146
|
+
BrandEmail: BrandEmail_default,
|
|
2147
|
+
EmailText: EmailText_default
|
|
2148
|
+
};
|
|
2149
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2150
|
+
enumerable: false,
|
|
2151
|
+
value: true
|
|
2152
|
+
});
|
|
2153
|
+
return __returned__;
|
|
2154
|
+
}
|
|
2155
|
+
});
|
|
2156
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2157
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2158
|
+
preview: $setup.t.documentReportPreview($setup.report),
|
|
2159
|
+
heading: $setup.t.documentReportHeading,
|
|
2160
|
+
action: {
|
|
2161
|
+
label: $setup.t.documentReportAction,
|
|
2162
|
+
url: $props.payload.actionURL
|
|
2163
|
+
}
|
|
2164
|
+
}, {
|
|
2165
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2166
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.documentReport($setup.report)), 1)]),
|
|
2167
|
+
_: 1
|
|
2168
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2169
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.payload.description), 1)]),
|
|
2170
|
+
_: 1
|
|
2171
|
+
})]),
|
|
2172
|
+
_: 1
|
|
2173
|
+
}, 8, [
|
|
2174
|
+
"preview",
|
|
2175
|
+
"heading",
|
|
2176
|
+
"action"
|
|
2177
|
+
]);
|
|
2178
|
+
}
|
|
2179
|
+
var DocumentReport_default = /*#__PURE__*/ export_helper_default(_sfc_main$15, [["render", _sfc_render$15], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/DocumentReport.vue"]]);
|
|
2180
|
+
//#endregion
|
|
2181
|
+
//#region src/email/templates/DocumentReportDecided.vue
|
|
2182
|
+
/** To whoever reported a document: what the administrators decided, and where to disagree. */
|
|
2183
|
+
const _sfc_main$14 = /*@__PURE__*/ defineComponent({
|
|
2184
|
+
__name: "DocumentReportDecided",
|
|
2185
|
+
props: { payload: {
|
|
2186
|
+
type: null,
|
|
2187
|
+
required: true
|
|
2188
|
+
} },
|
|
2189
|
+
setup(__props, { expose: __expose }) {
|
|
2190
|
+
__expose();
|
|
2191
|
+
const { t } = useEmailLocalization();
|
|
2192
|
+
const document = { document: __props.payload.documentName };
|
|
2193
|
+
const decision = {
|
|
2194
|
+
blocked: {
|
|
2195
|
+
heading: t.reportBlockedHeading,
|
|
2196
|
+
message: t.reportBlocked(document)
|
|
2197
|
+
},
|
|
2198
|
+
actioned: {
|
|
2199
|
+
heading: t.reportActionedHeading,
|
|
2200
|
+
message: t.reportActioned(document)
|
|
2201
|
+
},
|
|
2202
|
+
dismissed: {
|
|
2203
|
+
heading: t.reportDismissedHeading,
|
|
2204
|
+
message: t.reportDismissed(document)
|
|
2205
|
+
}
|
|
2206
|
+
}[__props.payload.outcome];
|
|
2207
|
+
const [beforeEmail = "", afterEmail = ""] = t.reportDisagree({ email: "{email}" }).split("{email}");
|
|
2208
|
+
const __returned__ = {
|
|
2209
|
+
t,
|
|
2210
|
+
document,
|
|
2211
|
+
decision,
|
|
2212
|
+
beforeEmail,
|
|
2213
|
+
afterEmail,
|
|
2214
|
+
get Link() {
|
|
2215
|
+
return Link;
|
|
2216
|
+
},
|
|
2217
|
+
get styles() {
|
|
2218
|
+
return styles;
|
|
2219
|
+
},
|
|
2220
|
+
BrandEmail: BrandEmail_default,
|
|
2221
|
+
EmailText: EmailText_default
|
|
2222
|
+
};
|
|
2223
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2224
|
+
enumerable: false,
|
|
2225
|
+
value: true
|
|
2226
|
+
});
|
|
2227
|
+
return __returned__;
|
|
2228
|
+
}
|
|
2229
|
+
});
|
|
2230
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2231
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2232
|
+
preview: $setup.decision.message,
|
|
2233
|
+
heading: $setup.decision.heading
|
|
2234
|
+
}, {
|
|
2235
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2236
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.decision.message), 1)]),
|
|
2237
|
+
_: 1
|
|
2238
|
+
}), $props.payload.contactEmail ? (openBlock(), createBlock($setup["EmailText"], { key: 0 }, {
|
|
2239
|
+
default: withCtx(() => [
|
|
2240
|
+
createTextVNode(toDisplayString($setup.beforeEmail), 1),
|
|
2241
|
+
createVNode($setup["Link"], {
|
|
2242
|
+
href: `mailto:${$props.payload.contactEmail}`,
|
|
2243
|
+
style: normalizeStyle($setup.styles.link)
|
|
2244
|
+
}, {
|
|
2245
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.payload.contactEmail), 1)]),
|
|
2246
|
+
_: 1
|
|
2247
|
+
}, 8, ["href", "style"]),
|
|
2248
|
+
createTextVNode(toDisplayString($setup.afterEmail), 1)
|
|
2249
|
+
]),
|
|
2250
|
+
_: 1
|
|
2251
|
+
})) : (openBlock(), createBlock($setup["EmailText"], { key: 1 }, {
|
|
2252
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.reportDisagreeAdministrators), 1)]),
|
|
2253
|
+
_: 1
|
|
2254
|
+
}))]),
|
|
2255
|
+
_: 1
|
|
2256
|
+
}, 8, ["preview", "heading"]);
|
|
2257
|
+
}
|
|
2258
|
+
var DocumentReportDecided_default = /*#__PURE__*/ export_helper_default(_sfc_main$14, [["render", _sfc_render$14], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/DocumentReportDecided.vue"]]);
|
|
2259
|
+
//#endregion
|
|
2260
|
+
//#region src/email/templates/DocumentReportReceived.vue
|
|
2261
|
+
/** To whoever reported a document: their report arrived, and they'll hear the decision. */
|
|
2262
|
+
const _sfc_main$13 = /*@__PURE__*/ defineComponent({
|
|
2263
|
+
__name: "DocumentReportReceived",
|
|
2264
|
+
props: { payload: {
|
|
2265
|
+
type: null,
|
|
2266
|
+
required: true
|
|
2267
|
+
} },
|
|
2268
|
+
setup(__props, { expose: __expose }) {
|
|
2269
|
+
__expose();
|
|
2270
|
+
const { t } = useEmailLocalization();
|
|
2271
|
+
const __returned__ = {
|
|
2272
|
+
t,
|
|
2273
|
+
document: { document: __props.payload.documentName },
|
|
2274
|
+
BrandEmail: BrandEmail_default,
|
|
2275
|
+
EmailText: EmailText_default
|
|
2276
|
+
};
|
|
2277
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2278
|
+
enumerable: false,
|
|
2279
|
+
value: true
|
|
2280
|
+
});
|
|
2281
|
+
return __returned__;
|
|
2282
|
+
}
|
|
2283
|
+
});
|
|
2284
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2285
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2286
|
+
preview: $setup.t.reportReceived($setup.document),
|
|
2287
|
+
heading: $setup.t.reportReceivedHeading
|
|
2288
|
+
}, {
|
|
2289
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2290
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.reportReceived($setup.document)), 1)]),
|
|
2291
|
+
_: 1
|
|
2292
|
+
})]),
|
|
2293
|
+
_: 1
|
|
2294
|
+
}, 8, ["preview", "heading"]);
|
|
2295
|
+
}
|
|
2296
|
+
var DocumentReportReceived_default = /*#__PURE__*/ export_helper_default(_sfc_main$13, [["render", _sfc_render$13], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/DocumentReportReceived.vue"]]);
|
|
2297
|
+
//#endregion
|
|
2298
|
+
//#region src/email/templates/DocumentRestored.vue
|
|
2299
|
+
/** To a workspace's owner: a document an administrator took down is back. */
|
|
2300
|
+
const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
2301
|
+
__name: "DocumentRestored",
|
|
2302
|
+
props: { payload: {
|
|
2303
|
+
type: null,
|
|
2304
|
+
required: true
|
|
2305
|
+
} },
|
|
2306
|
+
setup(__props, { expose: __expose }) {
|
|
2307
|
+
__expose();
|
|
2308
|
+
const localization = useEmailLocalization();
|
|
2309
|
+
const { t } = localization;
|
|
2310
|
+
const __returned__ = {
|
|
2311
|
+
localization,
|
|
2312
|
+
t,
|
|
2313
|
+
document: { document: __props.payload.documentName },
|
|
2314
|
+
BrandEmail: BrandEmail_default,
|
|
2315
|
+
EmailText: EmailText_default,
|
|
2316
|
+
get greeting() {
|
|
2317
|
+
return greeting;
|
|
2318
|
+
}
|
|
2319
|
+
};
|
|
2320
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2321
|
+
enumerable: false,
|
|
2322
|
+
value: true
|
|
2323
|
+
});
|
|
2324
|
+
return __returned__;
|
|
2325
|
+
}
|
|
2326
|
+
});
|
|
2327
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2328
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2329
|
+
preview: $setup.t.documentRestored($setup.document),
|
|
2330
|
+
heading: $setup.t.documentRestoredHeading,
|
|
2331
|
+
action: {
|
|
2332
|
+
label: $setup.t.openHome,
|
|
2333
|
+
url: $props.payload.actionURL
|
|
2334
|
+
}
|
|
2335
|
+
}, {
|
|
2336
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2337
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2338
|
+
_: 1
|
|
2339
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2340
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.documentRestored($setup.document)), 1)]),
|
|
2341
|
+
_: 1
|
|
2342
|
+
})]),
|
|
2343
|
+
_: 1
|
|
2344
|
+
}, 8, [
|
|
2345
|
+
"preview",
|
|
2346
|
+
"heading",
|
|
2347
|
+
"action"
|
|
2348
|
+
]);
|
|
2349
|
+
}
|
|
2350
|
+
var DocumentRestored_default = /*#__PURE__*/ export_helper_default(_sfc_main$12, [["render", _sfc_render$12], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/DocumentRestored.vue"]]);
|
|
2351
|
+
//#endregion
|
|
2352
|
+
//#region src/email/templates/EmailChangeRequested.vue
|
|
2353
|
+
/** To the address being replaced: which address is taking over, before it confirms. */
|
|
2354
|
+
const _sfc_main$11 = /*@__PURE__*/ defineComponent({
|
|
2355
|
+
__name: "EmailChangeRequested",
|
|
2356
|
+
props: { payload: {
|
|
2357
|
+
type: null,
|
|
2358
|
+
required: true
|
|
2359
|
+
} },
|
|
2360
|
+
setup(__props, { expose: __expose }) {
|
|
2361
|
+
__expose();
|
|
2362
|
+
const localization = useEmailLocalization();
|
|
2363
|
+
const { t } = localization;
|
|
2364
|
+
const __returned__ = {
|
|
2365
|
+
localization,
|
|
2366
|
+
t,
|
|
2367
|
+
BrandEmail: BrandEmail_default,
|
|
2368
|
+
EmailText: EmailText_default,
|
|
2369
|
+
get greeting() {
|
|
2370
|
+
return greeting;
|
|
2371
|
+
}
|
|
2372
|
+
};
|
|
2373
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2374
|
+
enumerable: false,
|
|
2375
|
+
value: true
|
|
2376
|
+
});
|
|
2377
|
+
return __returned__;
|
|
2378
|
+
}
|
|
2379
|
+
});
|
|
2380
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2381
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2382
|
+
preview: $setup.t.emailChangePreview({ email: $props.payload.newEmail }),
|
|
2383
|
+
heading: $setup.t.emailChangeHeading,
|
|
2384
|
+
action: {
|
|
2385
|
+
label: $setup.t.reviewAccount,
|
|
2386
|
+
url: $props.payload.actionURL
|
|
2387
|
+
}
|
|
2388
|
+
}, {
|
|
2389
|
+
default: withCtx(() => [
|
|
2390
|
+
createVNode($setup["EmailText"], null, {
|
|
2391
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2392
|
+
_: 1
|
|
2393
|
+
}),
|
|
2394
|
+
createVNode($setup["EmailText"], null, {
|
|
2395
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.emailChange({ email: $props.payload.newEmail })), 1)]),
|
|
2396
|
+
_: 1
|
|
2397
|
+
}),
|
|
2398
|
+
createVNode($setup["EmailText"], null, {
|
|
2399
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.emailChangeNotYou), 1)]),
|
|
2400
|
+
_: 1
|
|
2401
|
+
})
|
|
2402
|
+
]),
|
|
2403
|
+
_: 1
|
|
2404
|
+
}, 8, [
|
|
2405
|
+
"preview",
|
|
2406
|
+
"heading",
|
|
2407
|
+
"action"
|
|
2408
|
+
]);
|
|
2409
|
+
}
|
|
2410
|
+
var EmailChangeRequested_default = /*#__PURE__*/ export_helper_default(_sfc_main$11, [["render", _sfc_render$11], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/EmailChangeRequested.vue"]]);
|
|
2411
|
+
//#endregion
|
|
2412
|
+
//#region src/email/templates/EmailRoot.vue
|
|
2413
|
+
/** Renders an email in its reader's language, which it and its layout read. */
|
|
2414
|
+
const _sfc_main$10 = /*@__PURE__*/ defineComponent({
|
|
2415
|
+
__name: "EmailRoot",
|
|
2416
|
+
props: {
|
|
2417
|
+
email: {
|
|
2418
|
+
type: null,
|
|
140
2419
|
required: true
|
|
141
2420
|
},
|
|
142
|
-
|
|
143
|
-
type:
|
|
2421
|
+
props: {
|
|
2422
|
+
type: Object,
|
|
144
2423
|
required: true
|
|
145
2424
|
},
|
|
146
|
-
|
|
147
|
-
type:
|
|
2425
|
+
localization: {
|
|
2426
|
+
type: Object,
|
|
148
2427
|
required: true
|
|
149
2428
|
}
|
|
150
2429
|
},
|
|
151
|
-
setup(
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
footer: `This invitation expires ${props.expiresAt}.`
|
|
2430
|
+
setup(__props, { expose: __expose }) {
|
|
2431
|
+
__expose();
|
|
2432
|
+
provide(EMAIL_LOCALIZATION, __props.localization);
|
|
2433
|
+
const __returned__ = {};
|
|
2434
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2435
|
+
enumerable: false,
|
|
2436
|
+
value: true
|
|
159
2437
|
});
|
|
2438
|
+
return __returned__;
|
|
160
2439
|
}
|
|
161
2440
|
});
|
|
2441
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2442
|
+
return openBlock(), createBlock(resolveDynamicComponent($props.email), normalizeProps(guardReactiveProps($props.props)), null, 16);
|
|
2443
|
+
}
|
|
2444
|
+
var EmailRoot_default = /*#__PURE__*/ export_helper_default(_sfc_main$10, [["render", _sfc_render$10], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/EmailRoot.vue"]]);
|
|
2445
|
+
//#endregion
|
|
2446
|
+
//#region src/email/templates/EmailVerification.vue
|
|
2447
|
+
/** Confirms the address a new account signed up with, or one an account is moving to. */
|
|
2448
|
+
const _sfc_main$9 = /*@__PURE__*/ defineComponent({
|
|
2449
|
+
__name: "EmailVerification",
|
|
2450
|
+
props: { payload: {
|
|
2451
|
+
type: null,
|
|
2452
|
+
required: true
|
|
2453
|
+
} },
|
|
2454
|
+
setup(__props, { expose: __expose }) {
|
|
2455
|
+
__expose();
|
|
2456
|
+
const localization = useEmailLocalization();
|
|
2457
|
+
const { t } = localization;
|
|
2458
|
+
const __returned__ = {
|
|
2459
|
+
localization,
|
|
2460
|
+
t,
|
|
2461
|
+
copy: __props.payload.purpose === "change" ? {
|
|
2462
|
+
preview: t.verifyChangePreview,
|
|
2463
|
+
heading: t.verifyChangeHeading,
|
|
2464
|
+
message: t.verifyChange,
|
|
2465
|
+
note: t.verifyChangeNote
|
|
2466
|
+
} : {
|
|
2467
|
+
preview: t.verifyAccountPreview,
|
|
2468
|
+
heading: t.verifyAccountHeading,
|
|
2469
|
+
message: t.verifyAccount,
|
|
2470
|
+
note: t.verifyAccountNote
|
|
2471
|
+
},
|
|
2472
|
+
BrandEmail: BrandEmail_default,
|
|
2473
|
+
EmailText: EmailText_default,
|
|
2474
|
+
get greeting() {
|
|
2475
|
+
return greeting;
|
|
2476
|
+
}
|
|
2477
|
+
};
|
|
2478
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2479
|
+
enumerable: false,
|
|
2480
|
+
value: true
|
|
2481
|
+
});
|
|
2482
|
+
return __returned__;
|
|
2483
|
+
}
|
|
2484
|
+
});
|
|
2485
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2486
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2487
|
+
preview: $setup.copy.preview,
|
|
2488
|
+
heading: $setup.copy.heading,
|
|
2489
|
+
action: {
|
|
2490
|
+
label: $setup.t.verifyAction,
|
|
2491
|
+
url: $props.payload.actionURL ?? "#"
|
|
2492
|
+
}
|
|
2493
|
+
}, {
|
|
2494
|
+
note: withCtx(() => [createTextVNode(toDisplayString($setup.copy.note), 1)]),
|
|
2495
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2496
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2497
|
+
_: 1
|
|
2498
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2499
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.copy.message), 1)]),
|
|
2500
|
+
_: 1
|
|
2501
|
+
})]),
|
|
2502
|
+
_: 1
|
|
2503
|
+
}, 8, [
|
|
2504
|
+
"preview",
|
|
2505
|
+
"heading",
|
|
2506
|
+
"action"
|
|
2507
|
+
]);
|
|
2508
|
+
}
|
|
2509
|
+
var EmailVerification_default = /*#__PURE__*/ export_helper_default(_sfc_main$9, [["render", _sfc_render$9], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/EmailVerification.vue"]]);
|
|
2510
|
+
//#endregion
|
|
2511
|
+
//#region src/email/templates/EnrollmentNotification.vue
|
|
2512
|
+
/** To administrators: someone asked for access, in their own words. */
|
|
2513
|
+
const _sfc_main$8 = /*@__PURE__*/ defineComponent({
|
|
2514
|
+
__name: "EnrollmentNotification",
|
|
2515
|
+
props: { payload: {
|
|
2516
|
+
type: null,
|
|
2517
|
+
required: true
|
|
2518
|
+
} },
|
|
2519
|
+
setup(__props, { expose: __expose }) {
|
|
2520
|
+
__expose();
|
|
2521
|
+
const { t } = useEmailLocalization();
|
|
2522
|
+
const __returned__ = {
|
|
2523
|
+
t,
|
|
2524
|
+
BrandEmail: BrandEmail_default,
|
|
2525
|
+
EmailText: EmailText_default
|
|
2526
|
+
};
|
|
2527
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2528
|
+
enumerable: false,
|
|
2529
|
+
value: true
|
|
2530
|
+
});
|
|
2531
|
+
return __returned__;
|
|
2532
|
+
}
|
|
2533
|
+
});
|
|
2534
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2535
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2536
|
+
preview: $setup.t.enrollmentNotificationPreview({ email: $props.payload.requesterEmail }),
|
|
2537
|
+
heading: $setup.t.enrollmentNotificationHeading,
|
|
2538
|
+
action: {
|
|
2539
|
+
label: $setup.t.enrollmentNotificationAction,
|
|
2540
|
+
url: $props.payload.actionURL
|
|
2541
|
+
}
|
|
2542
|
+
}, {
|
|
2543
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2544
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.enrollmentNotification({
|
|
2545
|
+
name: $props.payload.requesterName,
|
|
2546
|
+
email: $props.payload.requesterEmail
|
|
2547
|
+
})), 1)]),
|
|
2548
|
+
_: 1
|
|
2549
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2550
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.payload.reason), 1)]),
|
|
2551
|
+
_: 1
|
|
2552
|
+
})]),
|
|
2553
|
+
_: 1
|
|
2554
|
+
}, 8, [
|
|
2555
|
+
"preview",
|
|
2556
|
+
"heading",
|
|
2557
|
+
"action"
|
|
2558
|
+
]);
|
|
2559
|
+
}
|
|
2560
|
+
var EnrollmentNotification_default = /*#__PURE__*/ export_helper_default(_sfc_main$8, [["render", _sfc_render$8], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/EnrollmentNotification.vue"]]);
|
|
162
2561
|
//#endregion
|
|
163
|
-
//#region src/email/templates/
|
|
164
|
-
|
|
2562
|
+
//#region src/email/templates/EnrollmentUpdate.vue
|
|
2563
|
+
/** Where an access request stands, to the person who made it. */
|
|
2564
|
+
const _sfc_main$7 = /*@__PURE__*/ defineComponent({
|
|
2565
|
+
__name: "EnrollmentUpdate",
|
|
165
2566
|
props: {
|
|
166
|
-
|
|
167
|
-
type: String,
|
|
168
|
-
required: true
|
|
169
|
-
},
|
|
170
|
-
preview: {
|
|
2567
|
+
kind: {
|
|
171
2568
|
type: String,
|
|
172
2569
|
required: true
|
|
173
2570
|
},
|
|
174
|
-
|
|
175
|
-
type:
|
|
2571
|
+
payload: {
|
|
2572
|
+
type: null,
|
|
176
2573
|
required: true
|
|
177
|
-
}
|
|
178
|
-
|
|
2574
|
+
}
|
|
2575
|
+
},
|
|
2576
|
+
setup(__props, { expose: __expose }) {
|
|
2577
|
+
__expose();
|
|
2578
|
+
const localization = useEmailLocalization();
|
|
2579
|
+
const { t } = localization;
|
|
2580
|
+
const __returned__ = {
|
|
2581
|
+
localization,
|
|
2582
|
+
t,
|
|
2583
|
+
copy: {
|
|
2584
|
+
requested: {
|
|
2585
|
+
preview: t.enrollmentRequestedPreview,
|
|
2586
|
+
heading: t.enrollmentRequestedHeading,
|
|
2587
|
+
message: t.enrollmentRequested,
|
|
2588
|
+
action: t.openCloud
|
|
2589
|
+
},
|
|
2590
|
+
approved: {
|
|
2591
|
+
preview: t.enrollmentApprovedPreview,
|
|
2592
|
+
heading: t.enrollmentApprovedHeading,
|
|
2593
|
+
message: t.enrollmentApproved,
|
|
2594
|
+
action: t.enrollmentApprovedAction
|
|
2595
|
+
},
|
|
2596
|
+
rejected: {
|
|
2597
|
+
preview: t.enrollmentRejectedPreview,
|
|
2598
|
+
heading: t.enrollmentRejectedHeading,
|
|
2599
|
+
message: t.enrollmentRejected,
|
|
2600
|
+
action: t.enrollmentRejectedAction
|
|
2601
|
+
},
|
|
2602
|
+
revoked: {
|
|
2603
|
+
preview: t.enrollmentRevokedPreview,
|
|
2604
|
+
heading: t.enrollmentRevokedHeading,
|
|
2605
|
+
message: t.enrollmentRevoked,
|
|
2606
|
+
action: t.enrollmentRevokedAction
|
|
2607
|
+
}
|
|
2608
|
+
}[__props.kind],
|
|
2609
|
+
BrandEmail: BrandEmail_default,
|
|
2610
|
+
EmailText: EmailText_default,
|
|
2611
|
+
get greeting() {
|
|
2612
|
+
return greeting;
|
|
2613
|
+
}
|
|
2614
|
+
};
|
|
2615
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2616
|
+
enumerable: false,
|
|
2617
|
+
value: true
|
|
2618
|
+
});
|
|
2619
|
+
return __returned__;
|
|
2620
|
+
}
|
|
2621
|
+
});
|
|
2622
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2623
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2624
|
+
preview: $setup.copy.preview,
|
|
2625
|
+
heading: $setup.copy.heading,
|
|
2626
|
+
action: {
|
|
2627
|
+
label: $setup.copy.action,
|
|
2628
|
+
url: $props.payload.actionURL
|
|
2629
|
+
}
|
|
2630
|
+
}, {
|
|
2631
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2632
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2633
|
+
_: 1
|
|
2634
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2635
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.copy.message), 1)]),
|
|
2636
|
+
_: 1
|
|
2637
|
+
})]),
|
|
2638
|
+
_: 1
|
|
2639
|
+
}, 8, [
|
|
2640
|
+
"preview",
|
|
2641
|
+
"heading",
|
|
2642
|
+
"action"
|
|
2643
|
+
]);
|
|
2644
|
+
}
|
|
2645
|
+
var EnrollmentUpdate_default = /*#__PURE__*/ export_helper_default(_sfc_main$7, [["render", _sfc_render$7], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/EnrollmentUpdate.vue"]]);
|
|
2646
|
+
//#endregion
|
|
2647
|
+
//#region src/email/templates/NewSignIn.vue
|
|
2648
|
+
/** An account was signed in to from somewhere it never was before. */
|
|
2649
|
+
const _sfc_main$6 = /*@__PURE__*/ defineComponent({
|
|
2650
|
+
__name: "NewSignIn",
|
|
2651
|
+
props: { payload: {
|
|
2652
|
+
type: null,
|
|
2653
|
+
required: true
|
|
2654
|
+
} },
|
|
2655
|
+
setup(__props, { expose: __expose }) {
|
|
2656
|
+
__expose();
|
|
2657
|
+
const localization = useEmailLocalization();
|
|
2658
|
+
const { t, dateTime } = localization;
|
|
2659
|
+
function signedInWith() {
|
|
2660
|
+
if (__props.payload.desktop) return t.newSignInApp;
|
|
2661
|
+
const { browser, system } = __props.payload;
|
|
2662
|
+
if (browser && system) return t.newSignInBrowser({
|
|
2663
|
+
browser,
|
|
2664
|
+
system
|
|
2665
|
+
});
|
|
2666
|
+
return browser ?? system ?? t.newSignInUnknownBrowser;
|
|
2667
|
+
}
|
|
2668
|
+
const device = signedInWith();
|
|
2669
|
+
const date = dateTime(__props.payload.signedInAt);
|
|
2670
|
+
const __returned__ = {
|
|
2671
|
+
localization,
|
|
2672
|
+
t,
|
|
2673
|
+
dateTime,
|
|
2674
|
+
signedInWith,
|
|
2675
|
+
device,
|
|
2676
|
+
date,
|
|
2677
|
+
message: __props.payload.ipAddress ? t.newSignInFrom({
|
|
2678
|
+
device,
|
|
2679
|
+
address: __props.payload.ipAddress,
|
|
2680
|
+
date
|
|
2681
|
+
}) : t.newSignIn({
|
|
2682
|
+
device,
|
|
2683
|
+
date
|
|
2684
|
+
}),
|
|
2685
|
+
BrandEmail: BrandEmail_default,
|
|
2686
|
+
EmailText: EmailText_default,
|
|
2687
|
+
get greeting() {
|
|
2688
|
+
return greeting;
|
|
2689
|
+
}
|
|
2690
|
+
};
|
|
2691
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2692
|
+
enumerable: false,
|
|
2693
|
+
value: true
|
|
2694
|
+
});
|
|
2695
|
+
return __returned__;
|
|
2696
|
+
}
|
|
2697
|
+
});
|
|
2698
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2699
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2700
|
+
preview: $setup.t.newSignInPreview({ device: $setup.device }),
|
|
2701
|
+
heading: $setup.t.newSignInHeading,
|
|
2702
|
+
action: {
|
|
2703
|
+
label: $setup.t.reviewSessions,
|
|
2704
|
+
url: $props.payload.actionURL
|
|
2705
|
+
}
|
|
2706
|
+
}, {
|
|
2707
|
+
default: withCtx(() => [
|
|
2708
|
+
createVNode($setup["EmailText"], null, {
|
|
2709
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2710
|
+
_: 1
|
|
2711
|
+
}),
|
|
2712
|
+
createVNode($setup["EmailText"], null, {
|
|
2713
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.message), 1)]),
|
|
2714
|
+
_: 1
|
|
2715
|
+
}),
|
|
2716
|
+
createVNode($setup["EmailText"], null, {
|
|
2717
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.newSignInNotYou), 1)]),
|
|
2718
|
+
_: 1
|
|
2719
|
+
})
|
|
2720
|
+
]),
|
|
2721
|
+
_: 1
|
|
2722
|
+
}, 8, [
|
|
2723
|
+
"preview",
|
|
2724
|
+
"heading",
|
|
2725
|
+
"action"
|
|
2726
|
+
]);
|
|
2727
|
+
}
|
|
2728
|
+
var NewSignIn_default = /*#__PURE__*/ export_helper_default(_sfc_main$6, [["render", _sfc_render$6], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/NewSignIn.vue"]]);
|
|
2729
|
+
//#endregion
|
|
2730
|
+
//#region src/email/templates/PasswordChanged.vue
|
|
2731
|
+
const _sfc_main$5 = /*@__PURE__*/ defineComponent({
|
|
2732
|
+
__name: "PasswordChanged",
|
|
2733
|
+
props: { payload: {
|
|
2734
|
+
type: null,
|
|
2735
|
+
required: true
|
|
2736
|
+
} },
|
|
2737
|
+
setup(__props, { expose: __expose }) {
|
|
2738
|
+
__expose();
|
|
2739
|
+
const localization = useEmailLocalization();
|
|
2740
|
+
const { t } = localization;
|
|
2741
|
+
const __returned__ = {
|
|
2742
|
+
localization,
|
|
2743
|
+
t,
|
|
2744
|
+
BrandEmail: BrandEmail_default,
|
|
2745
|
+
EmailText: EmailText_default,
|
|
2746
|
+
get greeting() {
|
|
2747
|
+
return greeting;
|
|
2748
|
+
}
|
|
2749
|
+
};
|
|
2750
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2751
|
+
enumerable: false,
|
|
2752
|
+
value: true
|
|
2753
|
+
});
|
|
2754
|
+
return __returned__;
|
|
2755
|
+
}
|
|
2756
|
+
});
|
|
2757
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2758
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2759
|
+
preview: $setup.t.passwordChangedPreview,
|
|
2760
|
+
heading: $setup.t.passwordChangedHeading,
|
|
2761
|
+
action: {
|
|
2762
|
+
label: $setup.t.openCloud,
|
|
2763
|
+
url: $props.payload.actionURL ?? "#"
|
|
2764
|
+
}
|
|
2765
|
+
}, {
|
|
2766
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2767
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2768
|
+
_: 1
|
|
2769
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2770
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.passwordChanged), 1)]),
|
|
2771
|
+
_: 1
|
|
2772
|
+
})]),
|
|
2773
|
+
_: 1
|
|
2774
|
+
}, 8, [
|
|
2775
|
+
"preview",
|
|
2776
|
+
"heading",
|
|
2777
|
+
"action"
|
|
2778
|
+
]);
|
|
2779
|
+
}
|
|
2780
|
+
var PasswordChanged_default = /*#__PURE__*/ export_helper_default(_sfc_main$5, [["render", _sfc_render$5], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/PasswordChanged.vue"]]);
|
|
2781
|
+
//#endregion
|
|
2782
|
+
//#region src/email/templates/PasswordReset.vue
|
|
2783
|
+
const _sfc_main$4 = /*@__PURE__*/ defineComponent({
|
|
2784
|
+
__name: "PasswordReset",
|
|
2785
|
+
props: { payload: {
|
|
2786
|
+
type: null,
|
|
2787
|
+
required: true
|
|
2788
|
+
} },
|
|
2789
|
+
setup(__props, { expose: __expose }) {
|
|
2790
|
+
__expose();
|
|
2791
|
+
const localization = useEmailLocalization();
|
|
2792
|
+
const { t } = localization;
|
|
2793
|
+
const __returned__ = {
|
|
2794
|
+
localization,
|
|
2795
|
+
t,
|
|
2796
|
+
BrandEmail: BrandEmail_default,
|
|
2797
|
+
EmailText: EmailText_default,
|
|
2798
|
+
get greeting() {
|
|
2799
|
+
return greeting;
|
|
2800
|
+
}
|
|
2801
|
+
};
|
|
2802
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2803
|
+
enumerable: false,
|
|
2804
|
+
value: true
|
|
2805
|
+
});
|
|
2806
|
+
return __returned__;
|
|
2807
|
+
}
|
|
2808
|
+
});
|
|
2809
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2810
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2811
|
+
preview: $setup.t.passwordResetPreview,
|
|
2812
|
+
heading: $setup.t.passwordResetHeading,
|
|
2813
|
+
action: {
|
|
2814
|
+
label: $setup.t.passwordResetAction,
|
|
2815
|
+
url: $props.payload.actionURL ?? "#"
|
|
2816
|
+
}
|
|
2817
|
+
}, {
|
|
2818
|
+
note: withCtx(() => [createTextVNode(toDisplayString($setup.t.passwordResetNote), 1)]),
|
|
2819
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
2820
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2821
|
+
_: 1
|
|
2822
|
+
}), createVNode($setup["EmailText"], null, {
|
|
2823
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.passwordReset), 1)]),
|
|
2824
|
+
_: 1
|
|
2825
|
+
})]),
|
|
2826
|
+
_: 1
|
|
2827
|
+
}, 8, [
|
|
2828
|
+
"preview",
|
|
2829
|
+
"heading",
|
|
2830
|
+
"action"
|
|
2831
|
+
]);
|
|
2832
|
+
}
|
|
2833
|
+
var PasswordReset_default = /*#__PURE__*/ export_helper_default(_sfc_main$4, [["render", _sfc_render$4], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/PasswordReset.vue"]]);
|
|
2834
|
+
//#endregion
|
|
2835
|
+
//#region src/email/templates/StorageLimitReached.vue
|
|
2836
|
+
/** The account holds all the storage its plan includes, so its workspaces are read-only. */
|
|
2837
|
+
const _sfc_main$3 = /*@__PURE__*/ defineComponent({
|
|
2838
|
+
__name: "StorageLimitReached",
|
|
2839
|
+
props: { payload: {
|
|
2840
|
+
type: null,
|
|
2841
|
+
required: true
|
|
2842
|
+
} },
|
|
2843
|
+
setup(__props, { expose: __expose }) {
|
|
2844
|
+
__expose();
|
|
2845
|
+
const localization = useEmailLocalization();
|
|
2846
|
+
const { t, storage } = localization;
|
|
2847
|
+
const __returned__ = {
|
|
2848
|
+
localization,
|
|
2849
|
+
t,
|
|
2850
|
+
storage,
|
|
2851
|
+
amounts: {
|
|
2852
|
+
used: storage(__props.payload.usedBytes),
|
|
2853
|
+
limit: storage(__props.payload.limitBytes)
|
|
2854
|
+
},
|
|
2855
|
+
BrandEmail: BrandEmail_default,
|
|
2856
|
+
EmailText: EmailText_default,
|
|
2857
|
+
get greeting() {
|
|
2858
|
+
return greeting;
|
|
2859
|
+
}
|
|
2860
|
+
};
|
|
2861
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2862
|
+
enumerable: false,
|
|
2863
|
+
value: true
|
|
2864
|
+
});
|
|
2865
|
+
return __returned__;
|
|
2866
|
+
}
|
|
2867
|
+
});
|
|
2868
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2869
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2870
|
+
preview: $setup.t.storageFullPreview($setup.amounts),
|
|
2871
|
+
heading: $setup.t.storageFullHeading,
|
|
2872
|
+
action: {
|
|
2873
|
+
label: $props.payload.upgradable ? $setup.t.storageFullAction : $setup.t.openCloud,
|
|
2874
|
+
url: $props.payload.actionURL
|
|
2875
|
+
}
|
|
2876
|
+
}, {
|
|
2877
|
+
default: withCtx(() => [
|
|
2878
|
+
createVNode($setup["EmailText"], null, {
|
|
2879
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2880
|
+
_: 1
|
|
2881
|
+
}),
|
|
2882
|
+
createVNode($setup["EmailText"], null, {
|
|
2883
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.storageFull($setup.amounts)), 1)]),
|
|
2884
|
+
_: 1
|
|
2885
|
+
}),
|
|
2886
|
+
createVNode($setup["EmailText"], null, {
|
|
2887
|
+
default: withCtx(() => [createTextVNode(toDisplayString($props.payload.upgradable ? $setup.t.storageFullUpgrade : $setup.t.storageFullFreeSpace), 1)]),
|
|
2888
|
+
_: 1
|
|
2889
|
+
})
|
|
2890
|
+
]),
|
|
2891
|
+
_: 1
|
|
2892
|
+
}, 8, [
|
|
2893
|
+
"preview",
|
|
2894
|
+
"heading",
|
|
2895
|
+
"action"
|
|
2896
|
+
]);
|
|
2897
|
+
}
|
|
2898
|
+
var StorageLimitReached_default = /*#__PURE__*/ export_helper_default(_sfc_main$3, [["render", _sfc_render$3], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/StorageLimitReached.vue"]]);
|
|
2899
|
+
//#endregion
|
|
2900
|
+
//#region src/email/templates/TwoStepChanged.vue
|
|
2901
|
+
/** How the account proves it's its owner's changed: an authenticator app or a passkey. */
|
|
2902
|
+
const _sfc_main$2 = /*@__PURE__*/ defineComponent({
|
|
2903
|
+
__name: "TwoStepChanged",
|
|
2904
|
+
props: { payload: {
|
|
2905
|
+
type: null,
|
|
2906
|
+
required: true
|
|
2907
|
+
} },
|
|
2908
|
+
setup(__props, { expose: __expose }) {
|
|
2909
|
+
__expose();
|
|
2910
|
+
const localization = useEmailLocalization();
|
|
2911
|
+
const { t } = localization;
|
|
2912
|
+
const changes = {
|
|
2913
|
+
"authenticator-on": {
|
|
2914
|
+
heading: t.authenticatorOnHeading,
|
|
2915
|
+
message: t.authenticatorOn
|
|
2916
|
+
},
|
|
2917
|
+
"authenticator-off": {
|
|
2918
|
+
heading: t.authenticatorOffHeading,
|
|
2919
|
+
message: t.authenticatorOff
|
|
2920
|
+
},
|
|
2921
|
+
"passkey-added": {
|
|
2922
|
+
heading: t.passkeyAddedHeading,
|
|
2923
|
+
message: t.passkeyAdded
|
|
2924
|
+
},
|
|
2925
|
+
"passkey-removed": {
|
|
2926
|
+
heading: t.passkeyRemovedHeading,
|
|
2927
|
+
message: t.passkeyRemoved
|
|
2928
|
+
},
|
|
2929
|
+
"reset-by-administrator": {
|
|
2930
|
+
heading: t.twoStepResetHeading,
|
|
2931
|
+
message: t.twoStepReset
|
|
2932
|
+
}
|
|
2933
|
+
};
|
|
2934
|
+
const __returned__ = {
|
|
2935
|
+
localization,
|
|
2936
|
+
t,
|
|
2937
|
+
changes,
|
|
2938
|
+
change: changes[__props.payload.change],
|
|
2939
|
+
BrandEmail: BrandEmail_default,
|
|
2940
|
+
EmailText: EmailText_default,
|
|
2941
|
+
get greeting() {
|
|
2942
|
+
return greeting;
|
|
2943
|
+
}
|
|
2944
|
+
};
|
|
2945
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
2946
|
+
enumerable: false,
|
|
2947
|
+
value: true
|
|
2948
|
+
});
|
|
2949
|
+
return __returned__;
|
|
2950
|
+
}
|
|
2951
|
+
});
|
|
2952
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2953
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
2954
|
+
preview: $setup.change.message,
|
|
2955
|
+
heading: $setup.change.heading,
|
|
2956
|
+
action: {
|
|
2957
|
+
label: $setup.t.reviewSecurity,
|
|
2958
|
+
url: $props.payload.actionURL
|
|
2959
|
+
}
|
|
2960
|
+
}, {
|
|
2961
|
+
default: withCtx(() => [
|
|
2962
|
+
createVNode($setup["EmailText"], null, {
|
|
2963
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.greeting($setup.localization, $props.payload.name)), 1)]),
|
|
2964
|
+
_: 1
|
|
2965
|
+
}),
|
|
2966
|
+
createVNode($setup["EmailText"], null, {
|
|
2967
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.change.message), 1)]),
|
|
2968
|
+
_: 1
|
|
2969
|
+
}),
|
|
2970
|
+
createVNode($setup["EmailText"], null, {
|
|
2971
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.twoStepNotYou), 1)]),
|
|
2972
|
+
_: 1
|
|
2973
|
+
})
|
|
2974
|
+
]),
|
|
2975
|
+
_: 1
|
|
2976
|
+
}, 8, [
|
|
2977
|
+
"preview",
|
|
2978
|
+
"heading",
|
|
2979
|
+
"action"
|
|
2980
|
+
]);
|
|
2981
|
+
}
|
|
2982
|
+
var TwoStepChanged_default = /*#__PURE__*/ export_helper_default(_sfc_main$2, [["render", _sfc_render$2], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/TwoStepChanged.vue"]]);
|
|
2983
|
+
//#endregion
|
|
2984
|
+
//#region src/email/templates/WaitlistConfirmation.vue
|
|
2985
|
+
/** Asks a waitlist sign-up to confirm its address; its links carry the sign-up's token only. */
|
|
2986
|
+
const _sfc_main$1 = /*@__PURE__*/ defineComponent({
|
|
2987
|
+
__name: "WaitlistConfirmation",
|
|
2988
|
+
props: {
|
|
2989
|
+
confirmURL: {
|
|
179
2990
|
type: String,
|
|
180
2991
|
required: true
|
|
181
2992
|
},
|
|
182
|
-
|
|
2993
|
+
leaveURL: {
|
|
183
2994
|
type: String,
|
|
184
2995
|
required: true
|
|
185
|
-
},
|
|
186
|
-
footer: {
|
|
187
|
-
type: String,
|
|
188
|
-
required: false
|
|
189
2996
|
}
|
|
190
2997
|
},
|
|
191
|
-
setup(
|
|
192
|
-
|
|
2998
|
+
setup(__props, { expose: __expose }) {
|
|
2999
|
+
__expose();
|
|
3000
|
+
const { t } = useEmailLocalization();
|
|
3001
|
+
const [beforeLink = "", afterLink = ""] = t.waitlistNote.split("{link}");
|
|
3002
|
+
const __returned__ = {
|
|
3003
|
+
t,
|
|
3004
|
+
beforeLink,
|
|
3005
|
+
afterLink,
|
|
3006
|
+
get Link() {
|
|
3007
|
+
return Link;
|
|
3008
|
+
},
|
|
3009
|
+
get styles() {
|
|
3010
|
+
return styles;
|
|
3011
|
+
},
|
|
3012
|
+
BrandEmail: BrandEmail_default,
|
|
3013
|
+
EmailText: EmailText_default
|
|
3014
|
+
};
|
|
3015
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
3016
|
+
enumerable: false,
|
|
3017
|
+
value: true
|
|
3018
|
+
});
|
|
3019
|
+
return __returned__;
|
|
193
3020
|
}
|
|
194
3021
|
});
|
|
3022
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3023
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
3024
|
+
preview: $setup.t.waitlistPreview,
|
|
3025
|
+
heading: $setup.t.waitlistHeading,
|
|
3026
|
+
action: {
|
|
3027
|
+
label: $setup.t.waitlistAction,
|
|
3028
|
+
url: $props.confirmURL
|
|
3029
|
+
}
|
|
3030
|
+
}, {
|
|
3031
|
+
note: withCtx(() => [
|
|
3032
|
+
createTextVNode(toDisplayString($setup.beforeLink), 1),
|
|
3033
|
+
createVNode($setup["Link"], {
|
|
3034
|
+
href: $props.leaveURL,
|
|
3035
|
+
style: normalizeStyle($setup.styles.link)
|
|
3036
|
+
}, {
|
|
3037
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.waitlistLeave), 1)]),
|
|
3038
|
+
_: 1
|
|
3039
|
+
}, 8, ["href", "style"]),
|
|
3040
|
+
createTextVNode(toDisplayString($setup.afterLink), 1)
|
|
3041
|
+
]),
|
|
3042
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
3043
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.waitlist), 1)]),
|
|
3044
|
+
_: 1
|
|
3045
|
+
})]),
|
|
3046
|
+
_: 1
|
|
3047
|
+
}, 8, [
|
|
3048
|
+
"preview",
|
|
3049
|
+
"heading",
|
|
3050
|
+
"action"
|
|
3051
|
+
]);
|
|
3052
|
+
}
|
|
3053
|
+
var WaitlistConfirmation_default = /*#__PURE__*/ export_helper_default(_sfc_main$1, [["render", _sfc_render$1], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/WaitlistConfirmation.vue"]]);
|
|
3054
|
+
//#endregion
|
|
3055
|
+
//#region src/email/templates/WorkspaceInvitation.vue
|
|
3056
|
+
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
3057
|
+
__name: "WorkspaceInvitation",
|
|
3058
|
+
props: { payload: {
|
|
3059
|
+
type: null,
|
|
3060
|
+
required: true
|
|
3061
|
+
} },
|
|
3062
|
+
setup(__props, { expose: __expose }) {
|
|
3063
|
+
__expose();
|
|
3064
|
+
const { t, dateTime } = useEmailLocalization();
|
|
3065
|
+
const names = {
|
|
3066
|
+
inviter: __props.payload.inviterName ?? t.someone,
|
|
3067
|
+
workspace: __props.payload.workspaceName
|
|
3068
|
+
};
|
|
3069
|
+
const __returned__ = {
|
|
3070
|
+
t,
|
|
3071
|
+
dateTime,
|
|
3072
|
+
names,
|
|
3073
|
+
message: {
|
|
3074
|
+
admin: t.workspaceInvitationAdmin,
|
|
3075
|
+
editor: t.workspaceInvitationEditor,
|
|
3076
|
+
viewer: t.workspaceInvitationViewer
|
|
3077
|
+
}[__props.payload.role](names),
|
|
3078
|
+
BrandEmail: BrandEmail_default,
|
|
3079
|
+
EmailText: EmailText_default
|
|
3080
|
+
};
|
|
3081
|
+
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
3082
|
+
enumerable: false,
|
|
3083
|
+
value: true
|
|
3084
|
+
});
|
|
3085
|
+
return __returned__;
|
|
3086
|
+
}
|
|
3087
|
+
});
|
|
3088
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3089
|
+
return openBlock(), createBlock($setup["BrandEmail"], {
|
|
3090
|
+
preview: $setup.t.workspaceInvitationSubject($setup.names),
|
|
3091
|
+
heading: $setup.t.workspaceInvitationHeading($setup.names),
|
|
3092
|
+
action: {
|
|
3093
|
+
label: $setup.t.workspaceInvitationAction,
|
|
3094
|
+
url: $props.payload.acceptanceURL
|
|
3095
|
+
}
|
|
3096
|
+
}, {
|
|
3097
|
+
note: withCtx(() => [createTextVNode(toDisplayString($setup.t.invitationExpires({ date: $setup.dateTime($props.payload.expiresAt) })), 1)]),
|
|
3098
|
+
default: withCtx(() => [createVNode($setup["EmailText"], null, {
|
|
3099
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.message), 1)]),
|
|
3100
|
+
_: 1
|
|
3101
|
+
}), createVNode($setup["EmailText"], null, {
|
|
3102
|
+
default: withCtx(() => [createTextVNode(toDisplayString($setup.t.workspaceInvitationHome), 1)]),
|
|
3103
|
+
_: 1
|
|
3104
|
+
})]),
|
|
3105
|
+
_: 1
|
|
3106
|
+
}, 8, [
|
|
3107
|
+
"preview",
|
|
3108
|
+
"heading",
|
|
3109
|
+
"action"
|
|
3110
|
+
]);
|
|
3111
|
+
}
|
|
3112
|
+
var WorkspaceInvitation_default = /*#__PURE__*/ export_helper_default(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/open-pencil/open-pencil/packages/cloud/src/email/templates/WorkspaceInvitation.vue"]]);
|
|
195
3113
|
//#endregion
|
|
196
3114
|
//#region src/email/render.ts
|
|
197
|
-
|
|
198
|
-
const
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
html,
|
|
202
|
-
text
|
|
3115
|
+
function documentInvitationSubject(payload, t) {
|
|
3116
|
+
const names = {
|
|
3117
|
+
inviter: payload.inviterName ?? t.someone,
|
|
3118
|
+
document: payload.documentName
|
|
203
3119
|
};
|
|
3120
|
+
return payload.permission === "edit" ? t.documentInvitationEditSubject(names) : t.documentInvitationViewSubject(names);
|
|
204
3121
|
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
editor: "edit in",
|
|
218
|
-
viewer: "view"
|
|
219
|
-
};
|
|
220
|
-
async function renderWorkspaceInvitation(payload) {
|
|
221
|
-
const action = WORKSPACE_ROLE_LABELS[payload.role];
|
|
222
|
-
return rendered(EnrollmentEmail, {
|
|
223
|
-
heading: `Join ${payload.workspaceName}`,
|
|
224
|
-
preview: `${payload.inviterName} invited you to ${payload.workspaceName}`,
|
|
225
|
-
message: `${payload.inviterName} invited you to ${action} the workspace “${payload.workspaceName}” on OpenPencil Cloud. You will see its documents on Home once you join.`,
|
|
226
|
-
actionLabel: "Join workspace",
|
|
227
|
-
actionURL: payload.acceptanceURL,
|
|
228
|
-
footer: `This invitation expires ${new Date(payload.expiresAt).toUTCString()}.`
|
|
229
|
-
}, `${payload.inviterName} invited you to ${payload.workspaceName}`);
|
|
230
|
-
}
|
|
231
|
-
const ENROLLMENT_COPY = {
|
|
3122
|
+
const EMAILS = {
|
|
3123
|
+
"document-invitation": {
|
|
3124
|
+
component: DocumentInvitation_default,
|
|
3125
|
+
subject: documentInvitationSubject
|
|
3126
|
+
},
|
|
3127
|
+
"workspace-invitation": {
|
|
3128
|
+
component: WorkspaceInvitation_default,
|
|
3129
|
+
subject: (payload, t) => t.workspaceInvitationSubject({
|
|
3130
|
+
inviter: payload.inviterName ?? t.someone,
|
|
3131
|
+
workspace: payload.workspaceName
|
|
3132
|
+
})
|
|
3133
|
+
},
|
|
232
3134
|
"enrollment-requested": {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
actionLabel: "Open OpenPencil Cloud"
|
|
3135
|
+
component: EnrollmentUpdate_default,
|
|
3136
|
+
props: { kind: "requested" },
|
|
3137
|
+
subject: (_payload, t) => t.enrollmentRequestedSubject
|
|
237
3138
|
},
|
|
238
3139
|
"enrollment-approved": {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
actionLabel: "Sign in"
|
|
3140
|
+
component: EnrollmentUpdate_default,
|
|
3141
|
+
props: { kind: "approved" },
|
|
3142
|
+
subject: (_payload, t) => t.enrollmentApprovedSubject
|
|
243
3143
|
},
|
|
244
3144
|
"enrollment-rejected": {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
actionLabel: "Request access again"
|
|
3145
|
+
component: EnrollmentUpdate_default,
|
|
3146
|
+
props: { kind: "rejected" },
|
|
3147
|
+
subject: (_payload, t) => t.enrollmentRejectedSubject
|
|
249
3148
|
},
|
|
250
3149
|
"enrollment-revoked": {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
3150
|
+
component: EnrollmentUpdate_default,
|
|
3151
|
+
props: { kind: "revoked" },
|
|
3152
|
+
subject: (_payload, t) => t.enrollmentRevokedSubject
|
|
3153
|
+
},
|
|
3154
|
+
"admin-enrollment-notification": {
|
|
3155
|
+
component: EnrollmentNotification_default,
|
|
3156
|
+
subject: (_payload, t) => t.enrollmentNotificationSubject
|
|
3157
|
+
},
|
|
3158
|
+
"email-verification": {
|
|
3159
|
+
component: EmailVerification_default,
|
|
3160
|
+
subject: (payload, t) => payload.purpose === "change" ? t.verifyChangeSubject : t.verifyAccountSubject
|
|
3161
|
+
},
|
|
3162
|
+
"password-reset": {
|
|
3163
|
+
component: PasswordReset_default,
|
|
3164
|
+
subject: (_payload, t) => t.passwordResetSubject
|
|
3165
|
+
},
|
|
3166
|
+
"password-changed": {
|
|
3167
|
+
component: PasswordChanged_default,
|
|
3168
|
+
subject: (_payload, t) => t.passwordChangedSubject
|
|
3169
|
+
},
|
|
3170
|
+
"email-change-requested": {
|
|
3171
|
+
component: EmailChangeRequested_default,
|
|
3172
|
+
subject: (_payload, t) => t.emailChangeSubject
|
|
3173
|
+
},
|
|
3174
|
+
"new-sign-in": {
|
|
3175
|
+
component: NewSignIn_default,
|
|
3176
|
+
subject: (_payload, t) => t.newSignInSubject
|
|
3177
|
+
},
|
|
3178
|
+
"two-step-changed": {
|
|
3179
|
+
component: TwoStepChanged_default,
|
|
3180
|
+
subject: (_payload, t) => t.twoStepSubject
|
|
3181
|
+
},
|
|
3182
|
+
"document-report": {
|
|
3183
|
+
component: DocumentReport_default,
|
|
3184
|
+
subject: (_payload, t) => t.documentReportSubject
|
|
3185
|
+
},
|
|
3186
|
+
"storage-limit-reached": {
|
|
3187
|
+
component: StorageLimitReached_default,
|
|
3188
|
+
subject: (_payload, t) => t.storageFullSubject
|
|
3189
|
+
},
|
|
3190
|
+
"document-blocked": {
|
|
3191
|
+
component: DocumentBlocked_default,
|
|
3192
|
+
subject: (payload, t) => t.documentBlockedSubject({ document: payload.documentName })
|
|
3193
|
+
},
|
|
3194
|
+
"document-restored": {
|
|
3195
|
+
component: DocumentRestored_default,
|
|
3196
|
+
subject: (payload, t) => t.documentRestoredSubject({ document: payload.documentName })
|
|
3197
|
+
},
|
|
3198
|
+
"document-report-received": {
|
|
3199
|
+
component: DocumentReportReceived_default,
|
|
3200
|
+
subject: (payload, t) => t.reportReceivedSubject({ document: payload.documentName })
|
|
3201
|
+
},
|
|
3202
|
+
"document-report-decided": {
|
|
3203
|
+
component: DocumentReportDecided_default,
|
|
3204
|
+
subject: (payload, t) => t.reportDecidedSubject({ document: payload.documentName })
|
|
255
3205
|
}
|
|
256
3206
|
};
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
"enrollment-revoked": `Hi ${name}, your Cloud access is no longer active.`
|
|
3207
|
+
/** Renders an email component as HTML and as plain text, in its reader's language. */
|
|
3208
|
+
async function renderComponent(email, props, subject, localization) {
|
|
3209
|
+
const root = {
|
|
3210
|
+
email,
|
|
3211
|
+
props,
|
|
3212
|
+
localization
|
|
264
3213
|
};
|
|
3214
|
+
const [html, text] = await Promise.all([render(EmailRoot_default, root), render(EmailRoot_default, root, { plainText: true })]);
|
|
265
3215
|
return {
|
|
266
|
-
|
|
267
|
-
|
|
3216
|
+
subject,
|
|
3217
|
+
html,
|
|
3218
|
+
text
|
|
268
3219
|
};
|
|
269
3220
|
}
|
|
270
|
-
|
|
271
|
-
const
|
|
272
|
-
return
|
|
273
|
-
...
|
|
274
|
-
|
|
275
|
-
},
|
|
276
|
-
}
|
|
277
|
-
async function
|
|
278
|
-
return
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}, "New OpenPencil Cloud access request");
|
|
285
|
-
}
|
|
286
|
-
async function renderAuthentication(kind, payload) {
|
|
287
|
-
const copy = {
|
|
288
|
-
"email-verification": payload.purpose === "change" ? {
|
|
289
|
-
subject: "Confirm your new OpenPencil Cloud email",
|
|
290
|
-
heading: "Confirm your new email",
|
|
291
|
-
preview: "One click to move your OpenPencil Cloud account to this address.",
|
|
292
|
-
message: `Hi ${payload.name}, confirm this address to make it your OpenPencil Cloud account’s email. Your old address stays until you do.`,
|
|
293
|
-
actionLabel: "Confirm email",
|
|
294
|
-
footer: "Didn’t ask for this? Ignore this email and nothing changes."
|
|
295
|
-
} : {
|
|
296
|
-
subject: "Confirm your OpenPencil Cloud email",
|
|
297
|
-
heading: "Confirm your email",
|
|
298
|
-
preview: "One click to finish creating your OpenPencil Cloud account.",
|
|
299
|
-
message: `Hi ${payload.name}, confirm this address to finish creating your OpenPencil Cloud account. Then go back to OpenPencil; it signs you in by itself.`,
|
|
300
|
-
actionLabel: "Confirm email",
|
|
301
|
-
footer: "Didn’t create an account? Ignore this email and nothing happens."
|
|
302
|
-
},
|
|
303
|
-
"password-reset": {
|
|
304
|
-
subject: "Reset your OpenPencil Cloud password",
|
|
305
|
-
heading: "Reset your password",
|
|
306
|
-
preview: "Use this secure link to choose a new password.",
|
|
307
|
-
message: `Hi ${payload.name}, use the link below to choose a new password.`,
|
|
308
|
-
actionLabel: "Reset password",
|
|
309
|
-
footer: "Didn’t ask for this? Ignore this email and your password stays the same."
|
|
310
|
-
},
|
|
311
|
-
"password-changed": {
|
|
312
|
-
subject: "Your OpenPencil Cloud password changed",
|
|
313
|
-
heading: "Password changed",
|
|
314
|
-
preview: "Your OpenPencil Cloud password was changed.",
|
|
315
|
-
message: `Hi ${payload.name}, your password was changed. If this was not you, contact your administrator.`,
|
|
316
|
-
actionLabel: "Open OpenPencil Cloud"
|
|
317
|
-
}
|
|
318
|
-
}[kind];
|
|
319
|
-
return rendered(EnrollmentEmail, {
|
|
320
|
-
...copy,
|
|
321
|
-
actionURL: payload.actionURL ?? "#"
|
|
322
|
-
}, copy.subject);
|
|
323
|
-
}
|
|
324
|
-
async function renderEmailChangeRequested(payload) {
|
|
325
|
-
return rendered(EnrollmentEmail, {
|
|
326
|
-
heading: "Your email is changing",
|
|
327
|
-
preview: `Your OpenPencil Cloud email is changing to ${payload.newEmail}.`,
|
|
328
|
-
message: `Hi ${payload.name}, someone signed in to your account asked to change its email to ${payload.newEmail}. It changes once that address confirms it. If this wasn’t you, change your password and sign out of your other sessions.`,
|
|
329
|
-
actionLabel: "Review your account",
|
|
330
|
-
actionURL: payload.actionURL
|
|
331
|
-
}, "Your OpenPencil Cloud email is changing");
|
|
332
|
-
}
|
|
333
|
-
async function renderNewSignIn(payload) {
|
|
334
|
-
const device = payload.desktop ? "the OpenPencil app" : compact([payload.browser, payload.system]).join(" on ") || "an unknown browser";
|
|
335
|
-
const place = payload.ipAddress ? ` from ${payload.ipAddress}` : "";
|
|
336
|
-
return rendered(EnrollmentEmail, {
|
|
337
|
-
heading: "New sign-in to your account",
|
|
338
|
-
preview: `Your OpenPencil Cloud account was signed in to with ${device}.`,
|
|
339
|
-
message: `Hi ${payload.name}, your account was signed in to with ${device}${place} on ${new Date(payload.signedInAt).toUTCString()}. If this was you, there’s nothing to do. If it wasn’t, sign that session out and change your password.`,
|
|
340
|
-
actionLabel: "Review sessions",
|
|
341
|
-
actionURL: payload.actionURL
|
|
342
|
-
}, "New sign-in to your OpenPencil Cloud account");
|
|
343
|
-
}
|
|
344
|
-
const TWO_STEP_COPY = {
|
|
345
|
-
"authenticator-on": {
|
|
346
|
-
heading: "Authenticator app turned on",
|
|
347
|
-
message: "an authenticator app now confirms your sign-ins."
|
|
348
|
-
},
|
|
349
|
-
"authenticator-off": {
|
|
350
|
-
heading: "Authenticator app turned off",
|
|
351
|
-
message: "your sign-ins no longer ask for a code from an authenticator app."
|
|
352
|
-
},
|
|
353
|
-
"passkey-added": {
|
|
354
|
-
heading: "Passkey added",
|
|
355
|
-
message: "a passkey was added to your account."
|
|
356
|
-
},
|
|
357
|
-
"passkey-removed": {
|
|
358
|
-
heading: "Passkey removed",
|
|
359
|
-
message: "a passkey was removed from your account."
|
|
360
|
-
},
|
|
361
|
-
"reset-by-administrator": {
|
|
362
|
-
heading: "Two-step sign-in was reset",
|
|
363
|
-
message: "an administrator removed your authenticator app, recovery codes, and passkeys, so you can set them up again."
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
async function renderTwoStepChanged(payload) {
|
|
367
|
-
const copy = TWO_STEP_COPY[payload.change];
|
|
368
|
-
return rendered(EnrollmentEmail, {
|
|
369
|
-
heading: copy.heading,
|
|
370
|
-
preview: `${copy.heading} on your OpenPencil Cloud account.`,
|
|
371
|
-
message: `Hi ${payload.name}, ${copy.message} If this wasn’t you, change your password and contact your administrator.`,
|
|
372
|
-
actionLabel: "Review security",
|
|
373
|
-
actionURL: payload.actionURL
|
|
374
|
-
}, `${copy.heading} on your OpenPencil Cloud account`);
|
|
375
|
-
}
|
|
376
|
-
async function renderTransactionalEmail(content) {
|
|
377
|
-
if (content.kind === "document-invitation") return renderDocumentInvitation(content.payload);
|
|
378
|
-
if (content.kind === "workspace-invitation") return renderWorkspaceInvitation(content.payload);
|
|
379
|
-
if (content.kind === "admin-enrollment-notification") return renderAdminNotification(content.payload);
|
|
380
|
-
if (content.kind === "email-verification" || content.kind === "password-reset" || content.kind === "password-changed") return renderAuthentication(content.kind, content.payload);
|
|
381
|
-
if (content.kind === "email-change-requested") return renderEmailChangeRequested(content.payload);
|
|
382
|
-
if (content.kind === "new-sign-in") return renderNewSignIn(content.payload);
|
|
383
|
-
if (content.kind === "two-step-changed") return renderTwoStepChanged(content.payload);
|
|
384
|
-
return renderEnrollment(content.kind, content.payload);
|
|
3221
|
+
function renderKind(kind, payload, localization) {
|
|
3222
|
+
const { component, props, subject } = EMAILS[kind];
|
|
3223
|
+
return renderComponent(component, {
|
|
3224
|
+
...props,
|
|
3225
|
+
payload
|
|
3226
|
+
}, subject(payload, localization.t), localization);
|
|
3227
|
+
}
|
|
3228
|
+
async function renderTransactionalEmail(content, locale) {
|
|
3229
|
+
return renderKind(content.kind, content.payload, emailLocalization(locale));
|
|
3230
|
+
}
|
|
3231
|
+
/** The waitlist's confirmation email, which the feedback service sends rather than Cloud. */
|
|
3232
|
+
async function renderWaitlistConfirmation(links, locale) {
|
|
3233
|
+
const localization = emailLocalization(locale);
|
|
3234
|
+
return renderComponent(WaitlistConfirmation_default, links, localization.t.waitlistSubject, localization);
|
|
385
3235
|
}
|
|
386
3236
|
//#endregion
|
|
387
|
-
//#region src/
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
3237
|
+
//#region src/email/samples.ts
|
|
3238
|
+
/** Where every sample's button goes. */
|
|
3239
|
+
const EMAIL_SAMPLE_URL = "https://cloud.example.com/next";
|
|
3240
|
+
/**
|
|
3241
|
+
* One email of every kind, with every optional part filled, as previews and tests show them. Its
|
|
3242
|
+
* names and addresses are made up.
|
|
3243
|
+
*/
|
|
3244
|
+
const EMAIL_SAMPLES = [
|
|
3245
|
+
{
|
|
3246
|
+
kind: "document-invitation",
|
|
3247
|
+
payload: {
|
|
3248
|
+
inviterName: "Ada",
|
|
3249
|
+
documentName: "Homepage",
|
|
3250
|
+
permission: "edit",
|
|
3251
|
+
expiresAt: "2026-11-20T10:00:00.000Z",
|
|
3252
|
+
acceptanceURL: EMAIL_SAMPLE_URL
|
|
3253
|
+
}
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
kind: "workspace-invitation",
|
|
3257
|
+
payload: {
|
|
3258
|
+
inviterName: null,
|
|
3259
|
+
workspaceName: "Studio",
|
|
3260
|
+
role: "viewer",
|
|
3261
|
+
expiresAt: "2026-11-20T10:00:00.000Z",
|
|
3262
|
+
acceptanceURL: EMAIL_SAMPLE_URL
|
|
3263
|
+
}
|
|
3264
|
+
},
|
|
3265
|
+
...[
|
|
3266
|
+
"enrollment-requested",
|
|
3267
|
+
"enrollment-approved",
|
|
3268
|
+
"enrollment-rejected",
|
|
3269
|
+
"enrollment-revoked"
|
|
3270
|
+
].map((kind) => ({
|
|
3271
|
+
kind,
|
|
3272
|
+
payload: {
|
|
3273
|
+
name: "Ada",
|
|
3274
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3275
|
+
}
|
|
3276
|
+
})),
|
|
3277
|
+
{
|
|
3278
|
+
kind: "admin-enrollment-notification",
|
|
3279
|
+
payload: {
|
|
3280
|
+
requesterEmail: "ada@example.com",
|
|
3281
|
+
requesterName: "Ada",
|
|
3282
|
+
reason: "Design",
|
|
3283
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3284
|
+
}
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
kind: "email-verification",
|
|
3288
|
+
payload: {
|
|
3289
|
+
name: "Ada",
|
|
3290
|
+
actionURL: EMAIL_SAMPLE_URL,
|
|
3291
|
+
purpose: "change"
|
|
3292
|
+
}
|
|
3293
|
+
},
|
|
3294
|
+
{
|
|
3295
|
+
kind: "password-reset",
|
|
3296
|
+
payload: {
|
|
3297
|
+
name: "Ada",
|
|
3298
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
kind: "password-changed",
|
|
3303
|
+
payload: {
|
|
3304
|
+
name: "Ada",
|
|
3305
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
kind: "email-change-requested",
|
|
3310
|
+
payload: {
|
|
3311
|
+
name: "Ada",
|
|
3312
|
+
newEmail: "ada@new.example.com",
|
|
3313
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3314
|
+
}
|
|
3315
|
+
},
|
|
3316
|
+
{
|
|
3317
|
+
kind: "new-sign-in",
|
|
3318
|
+
payload: {
|
|
3319
|
+
name: "Ada",
|
|
3320
|
+
signedInAt: "2026-11-13T10:00:00.000Z",
|
|
3321
|
+
ipAddress: "203.0.113.9",
|
|
3322
|
+
browser: "Firefox",
|
|
3323
|
+
system: "Linux",
|
|
3324
|
+
desktop: false,
|
|
3325
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3326
|
+
}
|
|
3327
|
+
},
|
|
3328
|
+
{
|
|
3329
|
+
kind: "two-step-changed",
|
|
3330
|
+
payload: {
|
|
3331
|
+
name: "Ada",
|
|
3332
|
+
change: "passkey-added",
|
|
3333
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
{
|
|
3337
|
+
kind: "document-report",
|
|
3338
|
+
payload: {
|
|
3339
|
+
documentName: "Homepage",
|
|
3340
|
+
reason: "copyright",
|
|
3341
|
+
description: "Copied",
|
|
3342
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3343
|
+
}
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
kind: "storage-limit-reached",
|
|
3347
|
+
payload: {
|
|
3348
|
+
name: "Ada",
|
|
3349
|
+
usedBytes: 310 * 1024 ** 2,
|
|
3350
|
+
limitBytes: 300 * 1024 ** 2,
|
|
3351
|
+
upgradable: true,
|
|
3352
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3353
|
+
}
|
|
3354
|
+
},
|
|
3355
|
+
{
|
|
3356
|
+
kind: "document-blocked",
|
|
3357
|
+
payload: {
|
|
3358
|
+
name: "Ada",
|
|
3359
|
+
documentName: "Homepage",
|
|
3360
|
+
reason: "Phishing page imitating a bank",
|
|
3361
|
+
contactEmail: "abuse@example.com",
|
|
3362
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3363
|
+
}
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
kind: "document-restored",
|
|
3367
|
+
payload: {
|
|
3368
|
+
name: "Ada",
|
|
3369
|
+
documentName: "Homepage",
|
|
3370
|
+
actionURL: EMAIL_SAMPLE_URL
|
|
3371
|
+
}
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
kind: "document-report-received",
|
|
3375
|
+
payload: { documentName: "Homepage" }
|
|
3376
|
+
},
|
|
3377
|
+
{
|
|
3378
|
+
kind: "document-report-decided",
|
|
3379
|
+
payload: {
|
|
3380
|
+
documentName: "Homepage",
|
|
3381
|
+
outcome: "blocked",
|
|
3382
|
+
contactEmail: "abuse@example.com"
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
];
|
|
443
3386
|
//#endregion
|
|
444
3387
|
//#region src/contract/documents.ts
|
|
445
3388
|
const CLOUD_PROTOCOL_MAX_UPLOAD_BYTES = 1073741824;
|
|
@@ -465,7 +3408,8 @@ v.object({
|
|
|
465
3408
|
byteSize: v.pipe(v.number(), v.integer(), v.minValue(1)),
|
|
466
3409
|
download: objectDownloadSchema
|
|
467
3410
|
});
|
|
468
|
-
|
|
3411
|
+
/** The images a live room names, by checksum, that a peer needs links for. */
|
|
3412
|
+
const requestImageLinksSchema = v.object({ checksums: v.pipe(v.array(checksumSchema), v.minLength(1), v.maxLength(CLOUD_MAX_DOCUMENT_IMAGES)) });
|
|
469
3413
|
const documentPermissionSchema = v.picklist(["view", "edit"]);
|
|
470
3414
|
const documentAccessSourceSchema = v.picklist([
|
|
471
3415
|
"owner",
|
|
@@ -497,6 +3441,22 @@ v.object({
|
|
|
497
3441
|
sharedBy: v.nullable(v.object({ name: v.string() })),
|
|
498
3442
|
sharedAt: v.string()
|
|
499
3443
|
});
|
|
3444
|
+
/**
|
|
3445
|
+
* A document in Trash the person may restore: who deleted it and when, and when it goes for good.
|
|
3446
|
+
* `canPurge` says whether they may also delete it for good before then.
|
|
3447
|
+
*/
|
|
3448
|
+
const trashedDocumentSchema = v.object({
|
|
3449
|
+
id: v.pipe(v.string(), v.uuid()),
|
|
3450
|
+
workspaceId: v.pipe(v.string(), v.uuid()),
|
|
3451
|
+
workspaceName: v.string(),
|
|
3452
|
+
name: v.string(),
|
|
3453
|
+
kind: v.optional(documentKindSchema, "design"),
|
|
3454
|
+
deletedAt: v.string(),
|
|
3455
|
+
deletedBy: v.nullable(v.object({ name: v.string() })),
|
|
3456
|
+
purgeAt: v.string(),
|
|
3457
|
+
canPurge: v.boolean()
|
|
3458
|
+
});
|
|
3459
|
+
v.object({ documents: v.array(trashedDocumentSchema) });
|
|
500
3460
|
v.object({
|
|
501
3461
|
document: documentSummarySchema,
|
|
502
3462
|
revisionId: v.pipe(v.string(), v.uuid()),
|
|
@@ -585,23 +3545,243 @@ v.object({ uploads: v.pipe(v.array(v.object({
|
|
|
585
3545
|
multipart: commitUploadSchema.entries.multipart
|
|
586
3546
|
})), v.minLength(1), v.maxLength(CLOUD_MAX_DOCUMENT_IMAGES)) });
|
|
587
3547
|
//#endregion
|
|
3548
|
+
//#region src/contract/collaboration.ts
|
|
3549
|
+
const collaborationPrincipalSchema = v.variant("kind", [v.object({
|
|
3550
|
+
kind: v.literal("user"),
|
|
3551
|
+
userId: v.string(),
|
|
3552
|
+
name: v.string(),
|
|
3553
|
+
email: v.pipe(v.string(), v.email())
|
|
3554
|
+
}), v.object({
|
|
3555
|
+
kind: v.literal("guest"),
|
|
3556
|
+
guestId: v.string(),
|
|
3557
|
+
name: v.string()
|
|
3558
|
+
})]);
|
|
3559
|
+
v.object({
|
|
3560
|
+
kind: v.picklist(["user", "guest"]),
|
|
3561
|
+
id: v.string(),
|
|
3562
|
+
name: v.string(),
|
|
3563
|
+
permission: documentPermissionSchema
|
|
3564
|
+
});
|
|
3565
|
+
v.object({
|
|
3566
|
+
token: v.string(),
|
|
3567
|
+
provider: v.optional(v.picklist(["trystero", "relay"])),
|
|
3568
|
+
serverURL: v.optional(v.pipe(v.string(), v.url())),
|
|
3569
|
+
documentId: v.pipe(v.string(), v.uuid()),
|
|
3570
|
+
roomId: v.string(),
|
|
3571
|
+
roomKey: v.pipe(v.string(), v.minLength(43), v.maxLength(128)),
|
|
3572
|
+
principal: collaborationPrincipalSchema,
|
|
3573
|
+
permission: documentPermissionSchema,
|
|
3574
|
+
/**
|
|
3575
|
+
* Why a peer whose access would let them edit may only view: `storage-limit` when the document's
|
|
3576
|
+
* owner holds their whole storage allowance, until they free space or their plan grows.
|
|
3577
|
+
*/
|
|
3578
|
+
readOnly: v.optional(v.picklist(["storage-limit"])),
|
|
3579
|
+
roomEpoch: v.pipe(v.number(), v.integer(), v.minValue(0)),
|
|
3580
|
+
expiresAt: v.string(),
|
|
3581
|
+
serverEnforcedWrites: v.boolean(),
|
|
3582
|
+
/**
|
|
3583
|
+
* Whether the relay answers `RELAY_HEARTBEAT`. A relay from before it takes a ping for a
|
|
3584
|
+
* malformed frame and turns the peer away, so editors ask only a relay that says it answers.
|
|
3585
|
+
*/
|
|
3586
|
+
relayHeartbeat: v.optional(v.boolean(), false)
|
|
3587
|
+
});
|
|
3588
|
+
//#endregion
|
|
3589
|
+
//#region src/contract/workspaces.ts
|
|
3590
|
+
const workspaceRoleSchema = v.picklist([
|
|
3591
|
+
"viewer",
|
|
3592
|
+
"editor",
|
|
3593
|
+
"admin"
|
|
3594
|
+
]);
|
|
3595
|
+
const workspaceSummarySchema = v.object({
|
|
3596
|
+
id: v.pipe(v.string(), v.uuid()),
|
|
3597
|
+
name: v.string(),
|
|
3598
|
+
slug: v.string(),
|
|
3599
|
+
role: workspaceRoleSchema,
|
|
3600
|
+
createdAt: v.string(),
|
|
3601
|
+
updatedAt: v.string()
|
|
3602
|
+
});
|
|
3603
|
+
v.object({
|
|
3604
|
+
name: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(100)),
|
|
3605
|
+
slug: v.optional(v.pipe(v.string(), v.trim(), v.minLength(3), v.maxLength(63), v.regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/)))
|
|
3606
|
+
});
|
|
3607
|
+
v.object({ workspaces: v.array(workspaceSummarySchema) });
|
|
3608
|
+
v.object({ name: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(100)) });
|
|
3609
|
+
/** Someone who belongs to a workspace, and what they may do in it. */
|
|
3610
|
+
const workspaceMemberSchema = v.object({
|
|
3611
|
+
userId: v.string(),
|
|
3612
|
+
name: v.string(),
|
|
3613
|
+
email: v.string(),
|
|
3614
|
+
image: v.nullable(v.string()),
|
|
3615
|
+
role: workspaceRoleSchema,
|
|
3616
|
+
joinedAt: v.string()
|
|
3617
|
+
});
|
|
3618
|
+
/** An invitation to join a workspace that has not been accepted yet. */
|
|
3619
|
+
const workspaceInvitationSchema = v.object({
|
|
3620
|
+
id: v.pipe(v.string(), v.uuid()),
|
|
3621
|
+
email: v.string(),
|
|
3622
|
+
role: workspaceRoleSchema,
|
|
3623
|
+
/** Who sent it; the name is null once their account is gone. */
|
|
3624
|
+
invitedBy: v.object({
|
|
3625
|
+
id: v.string(),
|
|
3626
|
+
name: v.nullable(v.string())
|
|
3627
|
+
}),
|
|
3628
|
+
invitedAt: v.string(),
|
|
3629
|
+
expiresAt: v.string()
|
|
3630
|
+
});
|
|
3631
|
+
v.object({
|
|
3632
|
+
members: v.array(workspaceMemberSchema),
|
|
3633
|
+
/** Only administrators see pending invitations. */
|
|
3634
|
+
invitations: v.array(workspaceInvitationSchema)
|
|
3635
|
+
});
|
|
3636
|
+
v.object({
|
|
3637
|
+
email: v.pipe(v.string(), v.trim(), v.toLowerCase(), v.email()),
|
|
3638
|
+
role: workspaceRoleSchema
|
|
3639
|
+
});
|
|
3640
|
+
v.object({
|
|
3641
|
+
invitation: workspaceInvitationSchema,
|
|
3642
|
+
acceptanceURL: v.string()
|
|
3643
|
+
});
|
|
3644
|
+
v.object({ role: workspaceRoleSchema });
|
|
3645
|
+
v.object({
|
|
3646
|
+
id: v.pipe(v.string(), v.uuid()),
|
|
3647
|
+
documentId: v.pipe(v.string(), v.uuid()),
|
|
3648
|
+
permission: documentPermissionSchema,
|
|
3649
|
+
roomEpoch: v.pipe(v.number(), v.integer(), v.minValue(0)),
|
|
3650
|
+
createdBy: v.string(),
|
|
3651
|
+
createdAt: v.string(),
|
|
3652
|
+
updatedAt: v.string(),
|
|
3653
|
+
expiresAt: v.nullable(v.string()),
|
|
3654
|
+
revokedAt: v.nullable(v.string()),
|
|
3655
|
+
lastUsedAt: v.nullable(v.string())
|
|
3656
|
+
});
|
|
3657
|
+
/** When a link stops working, as an ISO timestamp; `null` keeps it working until revoked. */
|
|
3658
|
+
const shareExpirySchema = v.optional(v.nullable(v.pipe(v.string(), v.isoTimestamp())));
|
|
3659
|
+
v.object({
|
|
3660
|
+
permission: documentPermissionSchema,
|
|
3661
|
+
expiresAt: shareExpirySchema
|
|
3662
|
+
});
|
|
3663
|
+
v.object({
|
|
3664
|
+
permission: v.optional(documentPermissionSchema),
|
|
3665
|
+
expiresAt: shareExpirySchema
|
|
3666
|
+
});
|
|
3667
|
+
const resolveDocumentShareSchema = v.object({
|
|
3668
|
+
secret: v.pipe(v.string(), v.minLength(32), v.maxLength(128)),
|
|
3669
|
+
guestName: v.optional(v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(80))),
|
|
3670
|
+
guestId: v.optional(v.pipe(v.string(), v.minLength(16), v.maxLength(128)))
|
|
3671
|
+
});
|
|
3672
|
+
v.object({
|
|
3673
|
+
...resolveDocumentShareSchema.entries,
|
|
3674
|
+
...requestImageLinksSchema.entries
|
|
3675
|
+
});
|
|
3676
|
+
v.object({
|
|
3677
|
+
documentId: v.pipe(v.string(), v.uuid()),
|
|
3678
|
+
/** What this person may do; a guest on an edit link may only view where guests may not edit. */
|
|
3679
|
+
permission: documentPermissionSchema,
|
|
3680
|
+
/** What the link lets someone signed in to the server do. */
|
|
3681
|
+
linkPermission: documentPermissionSchema,
|
|
3682
|
+
principal: collaborationPrincipalSchema,
|
|
3683
|
+
roomEpoch: v.pipe(v.number(), v.integer(), v.minValue(0))
|
|
3684
|
+
});
|
|
3685
|
+
v.object({
|
|
3686
|
+
id: v.string(),
|
|
3687
|
+
name: v.string(),
|
|
3688
|
+
email: v.pipe(v.string(), v.email()),
|
|
3689
|
+
image: v.nullable(v.pipe(v.string(), v.url()))
|
|
3690
|
+
});
|
|
3691
|
+
const documentGrantSchema = v.object({
|
|
3692
|
+
id: v.pipe(v.string(), v.uuid()),
|
|
3693
|
+
documentId: v.pipe(v.string(), v.uuid()),
|
|
3694
|
+
userId: v.string(),
|
|
3695
|
+
permission: documentPermissionSchema,
|
|
3696
|
+
createdBy: v.string(),
|
|
3697
|
+
createdAt: v.string(),
|
|
3698
|
+
updatedAt: v.string()
|
|
3699
|
+
});
|
|
3700
|
+
v.variant("kind", [v.object({
|
|
3701
|
+
kind: v.literal("document"),
|
|
3702
|
+
grant: documentGrantSchema
|
|
3703
|
+
}), v.object({
|
|
3704
|
+
kind: v.literal("workspace"),
|
|
3705
|
+
workspaceId: v.pipe(v.string(), v.uuid()),
|
|
3706
|
+
role: workspaceRoleSchema
|
|
3707
|
+
})]);
|
|
3708
|
+
v.object({ permission: documentPermissionSchema });
|
|
3709
|
+
v.object({
|
|
3710
|
+
email: v.pipe(v.string(), v.trim(), v.toLowerCase(), v.email()),
|
|
3711
|
+
permission: documentPermissionSchema
|
|
3712
|
+
});
|
|
3713
|
+
v.object({ token: v.pipe(v.string(), v.minLength(32), v.maxLength(128)) });
|
|
3714
|
+
v.object({
|
|
3715
|
+
invitationId: v.pipe(v.string(), v.uuid()),
|
|
3716
|
+
token: v.pipe(v.string(), v.minLength(32), v.maxLength(128))
|
|
3717
|
+
});
|
|
3718
|
+
v.object({ id: v.pipe(v.string(), v.minLength(16), v.maxLength(128)) });
|
|
3719
|
+
const invitationPreviewFields = {
|
|
3720
|
+
inviterName: v.string(),
|
|
3721
|
+
expiresAt: v.string(),
|
|
3722
|
+
recipientHint: v.string()
|
|
3723
|
+
};
|
|
3724
|
+
v.variant("kind", [v.object({
|
|
3725
|
+
kind: v.literal("document"),
|
|
3726
|
+
documentName: v.string(),
|
|
3727
|
+
permission: documentPermissionSchema,
|
|
3728
|
+
...invitationPreviewFields
|
|
3729
|
+
}), v.object({
|
|
3730
|
+
kind: v.literal("workspace"),
|
|
3731
|
+
workspaceName: v.string(),
|
|
3732
|
+
role: workspaceRoleSchema,
|
|
3733
|
+
...invitationPreviewFields
|
|
3734
|
+
})]);
|
|
3735
|
+
v.object({
|
|
3736
|
+
id: v.pipe(v.string(), v.uuid()),
|
|
3737
|
+
documentId: v.pipe(v.string(), v.uuid()),
|
|
3738
|
+
email: v.pipe(v.string(), v.email()),
|
|
3739
|
+
permission: documentPermissionSchema,
|
|
3740
|
+
invitedBy: v.string(),
|
|
3741
|
+
invitedAt: v.string(),
|
|
3742
|
+
expiresAt: v.string(),
|
|
3743
|
+
acceptedAt: v.nullable(v.string())
|
|
3744
|
+
});
|
|
3745
|
+
//#endregion
|
|
3746
|
+
//#region src/contract/reports.ts
|
|
3747
|
+
/** Why someone reports a document shared with them. */
|
|
3748
|
+
const documentReportReasonSchema = v.picklist([
|
|
3749
|
+
"spam-phishing",
|
|
3750
|
+
"illegal",
|
|
3751
|
+
"copyright",
|
|
3752
|
+
"harassment",
|
|
3753
|
+
"other"
|
|
3754
|
+
]);
|
|
3755
|
+
v.object({
|
|
3756
|
+
secret: resolveDocumentShareSchema.entries.secret,
|
|
3757
|
+
guestId: resolveDocumentShareSchema.entries.guestId,
|
|
3758
|
+
reason: documentReportReasonSchema,
|
|
3759
|
+
description: v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(2e3)),
|
|
3760
|
+
/** Where an administrator may answer; optional, and never shown to the document's people. */
|
|
3761
|
+
replyEmail: v.optional(v.pipe(v.string(), v.trim(), v.toLowerCase(), v.email(), v.maxLength(254)))
|
|
3762
|
+
});
|
|
3763
|
+
v.object({ received: v.literal(true) });
|
|
3764
|
+
//#endregion
|
|
588
3765
|
//#region src/email/schema.ts
|
|
589
3766
|
const documentInvitationEmailPayloadSchema = v.object({
|
|
590
|
-
|
|
3767
|
+
/** Null when the inviter's account is gone, so the email says someone invited you. */
|
|
3768
|
+
inviterName: v.nullable(v.string()),
|
|
591
3769
|
documentName: v.string(),
|
|
592
3770
|
permission: documentPermissionSchema,
|
|
593
3771
|
expiresAt: v.string(),
|
|
594
3772
|
acceptanceURL: v.string()
|
|
595
3773
|
});
|
|
596
3774
|
const workspaceInvitationEmailPayloadSchema = v.object({
|
|
597
|
-
|
|
3775
|
+
/** Null when the inviter's account is gone, so the email says someone invited you. */
|
|
3776
|
+
inviterName: v.nullable(v.string()),
|
|
598
3777
|
workspaceName: v.string(),
|
|
599
3778
|
role: workspaceRoleSchema,
|
|
600
3779
|
expiresAt: v.string(),
|
|
601
3780
|
acceptanceURL: v.string()
|
|
602
3781
|
});
|
|
603
3782
|
const enrollmentEmailPayloadSchema = v.object({
|
|
604
|
-
name
|
|
3783
|
+
/** Null when the request named no one, so the email greets no one by name. */
|
|
3784
|
+
name: v.nullable(v.string()),
|
|
605
3785
|
actionURL: v.string()
|
|
606
3786
|
});
|
|
607
3787
|
const adminEnrollmentNotificationPayloadSchema = v.object({
|
|
@@ -610,6 +3790,51 @@ const adminEnrollmentNotificationPayloadSchema = v.object({
|
|
|
610
3790
|
reason: v.string(),
|
|
611
3791
|
actionURL: v.string()
|
|
612
3792
|
});
|
|
3793
|
+
const documentReportPayloadSchema = v.object({
|
|
3794
|
+
documentName: v.string(),
|
|
3795
|
+
reason: documentReportReasonSchema,
|
|
3796
|
+
description: v.string(),
|
|
3797
|
+
actionURL: v.string()
|
|
3798
|
+
});
|
|
3799
|
+
const storageLimitReachedPayloadSchema = v.object({
|
|
3800
|
+
name: v.string(),
|
|
3801
|
+
usedBytes: v.number(),
|
|
3802
|
+
limitBytes: v.number(),
|
|
3803
|
+
/** Whether the server sells plans, so the account can get more storage rather than only free it. */
|
|
3804
|
+
upgradable: v.boolean(),
|
|
3805
|
+
actionURL: v.string()
|
|
3806
|
+
});
|
|
3807
|
+
/** To a workspace's owner: an administrator took one of its documents down. */
|
|
3808
|
+
const documentBlockedPayloadSchema = v.object({
|
|
3809
|
+
/** The owner's name, or null when the account has none. */
|
|
3810
|
+
name: v.nullable(v.string()),
|
|
3811
|
+
documentName: v.string(),
|
|
3812
|
+
/** Why, as the administrator wrote it, or null when they gave no reason. */
|
|
3813
|
+
reason: v.nullable(v.string()),
|
|
3814
|
+
/** Where to write to contest it: the deployment's abuse address, or null without one. */
|
|
3815
|
+
contactEmail: v.nullable(v.pipe(v.string(), v.email())),
|
|
3816
|
+
actionURL: v.string()
|
|
3817
|
+
});
|
|
3818
|
+
/** To a workspace's owner: a document taken down is back. */
|
|
3819
|
+
const documentRestoredPayloadSchema = v.object({
|
|
3820
|
+
name: v.nullable(v.string()),
|
|
3821
|
+
documentName: v.string(),
|
|
3822
|
+
actionURL: v.string()
|
|
3823
|
+
});
|
|
3824
|
+
/** To whoever reported a document: their report arrived. */
|
|
3825
|
+
const documentReportReceivedPayloadSchema = v.object({ documentName: v.string() });
|
|
3826
|
+
/** To whoever reported a document: what the administrators decided. */
|
|
3827
|
+
const documentReportDecidedPayloadSchema = v.object({
|
|
3828
|
+
documentName: v.string(),
|
|
3829
|
+
/** The document blocked, the report acted on some other way, or the document left as it was. */
|
|
3830
|
+
outcome: v.picklist([
|
|
3831
|
+
"blocked",
|
|
3832
|
+
"actioned",
|
|
3833
|
+
"dismissed"
|
|
3834
|
+
]),
|
|
3835
|
+
/** Where to write to disagree: the deployment's abuse address, or null without one. */
|
|
3836
|
+
contactEmail: v.nullable(v.pipe(v.string(), v.email()))
|
|
3837
|
+
});
|
|
613
3838
|
const authenticationEmailPayloadSchema = v.object({
|
|
614
3839
|
name: v.string(),
|
|
615
3840
|
actionURL: v.optional(v.string()),
|
|
@@ -662,9 +3887,15 @@ const transactionalEmailContentSchema = v.variant("kind", [
|
|
|
662
3887
|
content("password-changed", authenticationEmailPayloadSchema),
|
|
663
3888
|
content("email-change-requested", emailChangeRequestedPayloadSchema),
|
|
664
3889
|
content("new-sign-in", newSignInPayloadSchema),
|
|
665
|
-
content("two-step-changed", twoStepChangedPayloadSchema)
|
|
3890
|
+
content("two-step-changed", twoStepChangedPayloadSchema),
|
|
3891
|
+
content("document-report", documentReportPayloadSchema),
|
|
3892
|
+
content("storage-limit-reached", storageLimitReachedPayloadSchema),
|
|
3893
|
+
content("document-blocked", documentBlockedPayloadSchema),
|
|
3894
|
+
content("document-restored", documentRestoredPayloadSchema),
|
|
3895
|
+
content("document-report-received", documentReportReceivedPayloadSchema),
|
|
3896
|
+
content("document-report-decided", documentReportDecidedPayloadSchema)
|
|
666
3897
|
]);
|
|
667
3898
|
//#endregion
|
|
668
|
-
export {
|
|
3899
|
+
export { EMAIL_LOCALES, EMAIL_SAMPLES, EMAIL_SAMPLE_URL, acceptedLocale, emailLocale, emailLocalization, emailMessageDefaults, isEmailLocale, renderTransactionalEmail, renderWaitlistConfirmation, transactionalEmailContentSchema };
|
|
669
3900
|
|
|
670
3901
|
//# sourceMappingURL=email.js.map
|