@velocity-astro/cms-admin 0.1.0-beta.3 → 0.1.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/app-dist/assets/{RichTextEditor-BcVHDlVJ.js → RichTextEditor-3V2J98jv.js} +1 -1
- package/app-dist/assets/index-BvWFILf6.css +2 -0
- package/app-dist/assets/{index-8egBaN2l.js → index-XV61GS8z.js} +16 -16
- package/app-dist/index.html +2 -2
- package/dist/app/AdminLayout.d.ts.map +1 -1
- package/dist/app/AdminLayout.js +8 -2
- package/dist/app/AdminLayout.js.map +1 -1
- package/dist/app/paths.d.ts +7 -0
- package/dist/app/paths.d.ts.map +1 -1
- package/dist/app/paths.js +6 -0
- package/dist/app/paths.js.map +1 -1
- package/dist/app/routes.d.ts.map +1 -1
- package/dist/app/routes.js +4 -0
- package/dist/app/routes.js.map +1 -1
- package/dist/client/admin-client.d.ts +22 -1
- package/dist/client/admin-client.d.ts.map +1 -1
- package/dist/client/http-client.d.ts +12 -1
- package/dist/client/http-client.d.ts.map +1 -1
- package/dist/client/http-client.js +33 -0
- package/dist/client/http-client.js.map +1 -1
- package/dist/client/queries.d.ts +16 -1
- package/dist/client/queries.d.ts.map +1 -1
- package/dist/client/queries.js +63 -0
- package/dist/client/queries.js.map +1 -1
- package/dist/fields/BlocksControl.d.ts.map +1 -1
- package/dist/fields/BlocksControl.js +42 -4
- package/dist/fields/BlocksControl.js.map +1 -1
- package/dist/fields/FieldGrid.d.ts +10 -1
- package/dist/fields/FieldGrid.d.ts.map +1 -1
- package/dist/fields/FieldGrid.js +4 -3
- package/dist/fields/FieldGrid.js.map +1 -1
- package/dist/fields/controls.d.ts.map +1 -1
- package/dist/fields/controls.js +30 -3
- package/dist/fields/controls.js.map +1 -1
- package/dist/fields/field-control.d.ts +13 -0
- package/dist/fields/field-control.d.ts.map +1 -1
- package/dist/fields/field-control.js.map +1 -1
- package/dist/fields/page-focus.d.ts +18 -2
- package/dist/fields/page-focus.d.ts.map +1 -1
- package/dist/fields/page-focus.js +18 -2
- package/dist/fields/page-focus.js.map +1 -1
- package/dist/messages/en.d.ts +179 -0
- package/dist/messages/en.d.ts.map +1 -1
- package/dist/messages/en.js +150 -0
- package/dist/messages/en.js.map +1 -1
- package/dist/page-bridge/index.d.ts +7 -0
- package/dist/page-bridge/index.d.ts.map +1 -0
- package/dist/page-bridge/index.js +7 -0
- package/dist/page-bridge/index.js.map +1 -0
- package/dist/page-bridge/preview-bridge.d.ts +32 -0
- package/dist/page-bridge/preview-bridge.d.ts.map +1 -0
- package/dist/page-bridge/preview-bridge.js +463 -0
- package/dist/page-bridge/preview-bridge.js.map +1 -0
- package/dist/screens/ContentList/ContentListScreen.d.ts.map +1 -1
- package/dist/screens/ContentList/ContentListScreen.js +3 -0
- package/dist/screens/ContentList/ContentListScreen.js.map +1 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.d.ts.map +1 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.js +4 -1
- package/dist/screens/EntryEditor/EntryEditorScreen.js.map +1 -1
- package/dist/screens/EntryEditor/EntryForm.d.ts +3 -1
- package/dist/screens/EntryEditor/EntryForm.d.ts.map +1 -1
- package/dist/screens/EntryEditor/EntryForm.js +19 -9
- package/dist/screens/EntryEditor/EntryForm.js.map +1 -1
- package/dist/screens/EntryEditor/PagePane.d.ts +19 -1
- package/dist/screens/EntryEditor/PagePane.d.ts.map +1 -1
- package/dist/screens/EntryEditor/PagePane.js +23 -7
- package/dist/screens/EntryEditor/PagePane.js.map +1 -1
- package/dist/screens/Settings/EmailSettings.d.ts +3 -0
- package/dist/screens/Settings/EmailSettings.d.ts.map +1 -0
- package/dist/screens/Settings/EmailSettings.js +76 -0
- package/dist/screens/Settings/EmailSettings.js.map +1 -0
- package/dist/screens/Settings/FormsSettings.d.ts +3 -0
- package/dist/screens/Settings/FormsSettings.d.ts.map +1 -0
- package/dist/screens/Settings/FormsSettings.js +91 -0
- package/dist/screens/Settings/FormsSettings.js.map +1 -0
- package/dist/screens/Settings/GeneralSettings.d.ts +3 -0
- package/dist/screens/Settings/GeneralSettings.d.ts.map +1 -0
- package/dist/screens/Settings/GeneralSettings.js +42 -0
- package/dist/screens/Settings/GeneralSettings.js.map +1 -0
- package/dist/screens/Settings/SettingsPage.d.ts +9 -0
- package/dist/screens/Settings/SettingsPage.d.ts.map +1 -0
- package/dist/screens/Settings/SettingsPage.js +42 -0
- package/dist/screens/Settings/SettingsPage.js.map +1 -0
- package/dist/screens/Settings/SettingsScreen.d.ts +7 -0
- package/dist/screens/Settings/SettingsScreen.d.ts.map +1 -0
- package/dist/screens/Settings/SettingsScreen.js +53 -0
- package/dist/screens/Settings/SettingsScreen.js.map +1 -0
- package/dist/screens/Settings/StorageSettings.d.ts +3 -0
- package/dist/screens/Settings/StorageSettings.d.ts.map +1 -0
- package/dist/screens/Settings/StorageSettings.js +82 -0
- package/dist/screens/Settings/StorageSettings.js.map +1 -0
- package/dist/testing/admin-client-contract.d.ts.map +1 -1
- package/dist/testing/admin-client-contract.js +38 -0
- package/dist/testing/admin-client-contract.js.map +1 -1
- package/dist/testing/http-server.d.ts.map +1 -1
- package/dist/testing/http-server.js +5 -0
- package/dist/testing/http-server.js.map +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.d.ts.map +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/index.js.map +1 -1
- package/dist/testing/memory-client.d.ts +25 -1
- package/dist/testing/memory-client.d.ts.map +1 -1
- package/dist/testing/memory-client.js +49 -1
- package/dist/testing/memory-client.js.map +1 -1
- package/dist/testing/memory-mail.d.ts +48 -0
- package/dist/testing/memory-mail.d.ts.map +1 -0
- package/dist/testing/memory-mail.js +74 -0
- package/dist/testing/memory-mail.js.map +1 -0
- package/dist/testing/sample-content.d.ts +6 -0
- package/dist/testing/sample-content.d.ts.map +1 -1
- package/dist/testing/sample-content.js +33 -0
- package/dist/testing/sample-content.js.map +1 -1
- package/package.json +9 -5
- package/app-dist/assets/index-CczBKhBz.css +0 -2
|
@@ -5,16 +5,32 @@ import { type ReactNode } from 'react';
|
|
|
5
5
|
* the page brings it into view. Neither knows the other is there.
|
|
6
6
|
*/
|
|
7
7
|
export interface PageFocus {
|
|
8
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* The section last pressed on the page, and the field of it that was pressed, as keys
|
|
10
|
+
* (`title`, `items.0.text`), where the page marks its fields. `at` changes with every press, so
|
|
11
|
+
* pressing one twice counts twice.
|
|
12
|
+
*/
|
|
9
13
|
readonly pressed: {
|
|
10
14
|
readonly id: string;
|
|
15
|
+
readonly field?: string;
|
|
11
16
|
readonly at: number;
|
|
12
17
|
} | undefined;
|
|
13
|
-
readonly press: (id: string) => void;
|
|
18
|
+
readonly press: (id: string, field?: string) => void;
|
|
14
19
|
/** The section last opened in the form. */
|
|
15
20
|
readonly opened: string | undefined;
|
|
16
21
|
readonly open: (id: string) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Where words may be typed on the page itself: for each section's id, its fields as keys. The
|
|
24
|
+
* form says so, since only it knows which fields hold plain words.
|
|
25
|
+
*/
|
|
26
|
+
readonly typable: Readonly<Record<string, readonly string[]>>;
|
|
27
|
+
readonly setTypable: (places: Readonly<Record<string, readonly string[]>>) => void;
|
|
28
|
+
/** The page says what a field now holds, as it is typed there; whoever listens puts it in the form. */
|
|
29
|
+
readonly typed: (id: string, field: string, words: string) => void;
|
|
30
|
+
/** Listens to what is typed on the page. Answers with how to stop. */
|
|
31
|
+
readonly onTyped: (listener: TypedListener) => () => void;
|
|
17
32
|
}
|
|
33
|
+
export type TypedListener = (id: string, field: string, words: string) => void;
|
|
18
34
|
export declare function PageFocusProvider({ children }: {
|
|
19
35
|
readonly children: ReactNode;
|
|
20
36
|
}): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-focus.d.ts","sourceRoot":"","sources":["../../src/fields/page-focus.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
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I,CAAC;AAM/E,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAuB/E;AAED,wFAAwF;AACxF,wBAAgB,YAAY,IAAI,SAAS,GAAG,IAAI,CAE/C"}
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { createContext, useContext, useMemo, useState } from 'react';
|
|
2
|
+
import { createContext, useContext, useMemo, useRef, useState } from 'react';
|
|
3
|
+
const NOWHERE = {};
|
|
3
4
|
const PageFocusContext = createContext(null);
|
|
4
5
|
export function PageFocusProvider({ children }) {
|
|
5
6
|
const [pressed, setPressed] = useState(undefined);
|
|
6
7
|
const [opened, setOpened] = useState(undefined);
|
|
7
|
-
const
|
|
8
|
+
const [typable, setPlaces] = useState(NOWHERE);
|
|
9
|
+
const listeners = useRef(new Set());
|
|
10
|
+
const focus = useMemo(() => ({
|
|
11
|
+
pressed,
|
|
12
|
+
press: (id, field) => setPressed((last) => ({ id, ...(field !== undefined && { field }), at: (last?.at ?? 0) + 1 })),
|
|
13
|
+
opened,
|
|
14
|
+
open: setOpened,
|
|
15
|
+
typable,
|
|
16
|
+
// The same places said again change nothing, so the page is not told twice.
|
|
17
|
+
setTypable: (places) => setPlaces((last) => (JSON.stringify(last) === JSON.stringify(places) ? last : places)),
|
|
18
|
+
typed: (id, field, words) => listeners.current.forEach((listener) => listener(id, field, words)),
|
|
19
|
+
onTyped: (listener) => {
|
|
20
|
+
listeners.current.add(listener);
|
|
21
|
+
return () => void listeners.current.delete(listener);
|
|
22
|
+
},
|
|
23
|
+
}), [pressed, opened, typable]);
|
|
8
24
|
return _jsx(PageFocusContext, { value: focus, children: children });
|
|
9
25
|
}
|
|
10
26
|
/** The focus shared with the page beside the form, or nothing when no page is shown. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-focus.js","sourceRoot":"","sources":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,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;QAC9G,KAAK,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;QAChG,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE;YACpB,SAAS,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YAChC,OAAO,GAAG,EAAE,CAAC,KAAK,SAAS,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACvD,CAAC;KACF,CAAC,EACF,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAC3B,CAAC;IACF,OAAO,KAAC,gBAAgB,IAAC,KAAK,EAAE,KAAK,YAAG,QAAQ,GAAoB,CAAC;AACvE,CAAC;AAED,wFAAwF;AACxF,MAAM,UAAU,YAAY;IAC1B,OAAO,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACtC,CAAC"}
|
package/dist/messages/en.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export declare const en: {
|
|
|
22
22
|
readonly sessionEndedDescription: "Your session ended. Sign in again to continue.";
|
|
23
23
|
readonly siteGroup: "Site";
|
|
24
24
|
readonly people: "People";
|
|
25
|
+
readonly settings: "Settings";
|
|
25
26
|
readonly media: "Media";
|
|
26
27
|
readonly trash: "Trash";
|
|
27
28
|
readonly forms: "Forms";
|
|
@@ -176,6 +177,10 @@ export declare const en: {
|
|
|
176
177
|
readonly pagePhone: "Phone";
|
|
177
178
|
readonly pageTablet: "Tablet";
|
|
178
179
|
readonly pageDesktop: "Desktop";
|
|
180
|
+
readonly visualOpen: "Visual editor";
|
|
181
|
+
readonly visualClose: "Back to the form";
|
|
182
|
+
readonly visualShowForm: "Show the form";
|
|
183
|
+
readonly visualHideForm: "Hide the form";
|
|
179
184
|
readonly pageNotYet: "Save the page once to see it here.";
|
|
180
185
|
readonly pageLoading: "Getting the page…";
|
|
181
186
|
readonly pageNotShown: (reason: string) => string;
|
|
@@ -820,6 +825,7 @@ export declare const en: {
|
|
|
820
825
|
readonly 'contact:manage': "Change and erase contacts";
|
|
821
826
|
readonly 'user:manage': "Manage people";
|
|
822
827
|
readonly 'plugin:manage': "Manage plugins";
|
|
828
|
+
readonly 'settings:manage': "Change the site's settings";
|
|
823
829
|
};
|
|
824
830
|
readonly adds: (parts: readonly string[]) => string;
|
|
825
831
|
readonly addsScreen: (label: string) => string;
|
|
@@ -835,6 +841,179 @@ export declare const en: {
|
|
|
835
841
|
readonly emptyTitle: "No plugins yet";
|
|
836
842
|
readonly emptyDescription: "Plugins that are available for this site will be listed here, ready to activate.";
|
|
837
843
|
};
|
|
844
|
+
readonly settings: {
|
|
845
|
+
readonly title: "Settings";
|
|
846
|
+
readonly description: "What this site is and what it needs to run, set up here instead of on the server.";
|
|
847
|
+
readonly tabsLabel: "Parts of the settings";
|
|
848
|
+
readonly areas: {
|
|
849
|
+
readonly general: "General";
|
|
850
|
+
readonly email: "Email";
|
|
851
|
+
readonly storage: "Storage";
|
|
852
|
+
readonly forms: "Forms and spam";
|
|
853
|
+
};
|
|
854
|
+
readonly namesSite: (field: string) => string;
|
|
855
|
+
readonly ownersTitle: "Settings are for owners";
|
|
856
|
+
readonly ownersDescription: "An owner of this site sets up its email, storage and forms here. Ask one if something needs changing.";
|
|
857
|
+
readonly general: {
|
|
858
|
+
readonly title: "Site name";
|
|
859
|
+
readonly description: "What this site is called in the editor, in the emails it sends and when someone adds a passkey.";
|
|
860
|
+
readonly states: {
|
|
861
|
+
readonly server: "Set on the server";
|
|
862
|
+
readonly code: "Set in the site's code";
|
|
863
|
+
readonly host: "Set by your host";
|
|
864
|
+
};
|
|
865
|
+
readonly fixed: (name: string) => string;
|
|
866
|
+
readonly name: "Site name";
|
|
867
|
+
readonly nameHelp: "Leave this empty to use the name the site's code gives.";
|
|
868
|
+
readonly nameHelpWithDefault: (name: string) => string;
|
|
869
|
+
readonly save: "Save site name";
|
|
870
|
+
readonly saved: "Site name saved";
|
|
871
|
+
readonly savedDescription: "Emails use it from now on. The editor shows it once you reload the page.";
|
|
872
|
+
readonly notSaved: "Site name not saved";
|
|
873
|
+
};
|
|
874
|
+
readonly email: {
|
|
875
|
+
readonly title: "Email";
|
|
876
|
+
readonly description: "Sign-in links, invitations and notices from forms are sent this way.";
|
|
877
|
+
readonly states: {
|
|
878
|
+
readonly sending: "Sending";
|
|
879
|
+
readonly off: "Not set up";
|
|
880
|
+
readonly server: "Set on the server";
|
|
881
|
+
readonly code: "Set in the site's code";
|
|
882
|
+
readonly host: "Handled by your host";
|
|
883
|
+
};
|
|
884
|
+
readonly offHelp: "Until this is set up, nobody is emailed: sign-in links are printed in the server's log, and notices from forms are not sent.";
|
|
885
|
+
readonly fixed: {
|
|
886
|
+
readonly server: "This site's email is set up on the server, with the VELOCITY_CMS_RESEND_API_KEY and VELOCITY_CMS_EMAIL_FROM settings. They win over anything saved here. To set email up in the editor instead, remove both from the server.";
|
|
887
|
+
readonly code: "This site sends email with a mailer of its own, named in its Astro config. It wins over anything saved here. To set email up in the editor instead, take the mailer out of the config.";
|
|
888
|
+
readonly host: "Your host sends this site's email, so there is nothing to set up here.";
|
|
889
|
+
};
|
|
890
|
+
readonly provider: "Email service";
|
|
891
|
+
readonly providers: {
|
|
892
|
+
readonly resend: "Resend";
|
|
893
|
+
};
|
|
894
|
+
readonly providerHelp: "Make an account with the service, verify your domain there, then create an API key.";
|
|
895
|
+
readonly providerLinks: {
|
|
896
|
+
readonly resend: "https://resend.com/api-keys";
|
|
897
|
+
};
|
|
898
|
+
readonly providerLink: (name: string) => string;
|
|
899
|
+
readonly key: "API key";
|
|
900
|
+
readonly keyHelp: "It is kept encrypted and never shown again once it is saved.";
|
|
901
|
+
readonly keySaved: "A key is saved. It is kept encrypted and is not shown again.";
|
|
902
|
+
readonly keyReplace: "Replace the key";
|
|
903
|
+
readonly keyKeep: "Keep the saved key";
|
|
904
|
+
readonly from: "Sender";
|
|
905
|
+
readonly fromHelp: "The address your emails come from, on the domain you verified. Add a name if you like: Lakeshore Realty <hello@lakeshore.example>.";
|
|
906
|
+
readonly save: "Save email settings";
|
|
907
|
+
readonly saved: "Email settings saved";
|
|
908
|
+
readonly savedDescription: "Email is now sent through these settings. Send a test to see it arrive.";
|
|
909
|
+
readonly notSaved: "Email settings not saved";
|
|
910
|
+
readonly test: "Send a test email";
|
|
911
|
+
readonly testHelp: (address: string) => string;
|
|
912
|
+
readonly testAfterSave: "Save your changes before sending a test.";
|
|
913
|
+
readonly testSent: "Test email sent";
|
|
914
|
+
readonly testSentDescription: (address: string) => string;
|
|
915
|
+
readonly testNotSent: "Test email not sent";
|
|
916
|
+
readonly stop: "Stop sending email";
|
|
917
|
+
readonly stopTitle: "Stop sending email?";
|
|
918
|
+
readonly stopDescription: "The saved API key is removed. Sign-in links will be printed in the server's log instead of emailed, so people can sign in only with a passkey or with help from whoever runs the server. Notices from forms stop too.";
|
|
919
|
+
readonly stopConfirm: "Remove the key";
|
|
920
|
+
readonly stopped: "Email is no longer sent";
|
|
921
|
+
readonly stoppedDescription: "The API key was removed. Paste a new one to send email again.";
|
|
922
|
+
};
|
|
923
|
+
readonly storage: {
|
|
924
|
+
readonly title: "Uploads";
|
|
925
|
+
readonly description: "Where the images people upload in the editor are kept.";
|
|
926
|
+
readonly states: {
|
|
927
|
+
readonly bucket: "Kept in your bucket";
|
|
928
|
+
readonly folder: "Kept on the server's disk";
|
|
929
|
+
readonly none: "No uploads yet";
|
|
930
|
+
readonly server: "Set on the server";
|
|
931
|
+
readonly code: "Set in the site's code";
|
|
932
|
+
readonly host: "Handled by your host";
|
|
933
|
+
};
|
|
934
|
+
readonly keepingHelp: {
|
|
935
|
+
readonly bucket: "Uploads are kept in the bucket below, which stays private: the site reads from it and serves the images itself.";
|
|
936
|
+
readonly folder: "Uploads are kept in a folder on the server's disk. That suits a server of your own. On a host with no lasting disk, such as Vercel or Netlify, name a bucket here so uploads are not lost on the next deploy.";
|
|
937
|
+
readonly none: "This site has nowhere to keep uploads, so people can only choose from the images it came with. Name a bucket here to take uploads.";
|
|
938
|
+
};
|
|
939
|
+
readonly fixed: {
|
|
940
|
+
readonly server: "This site's uploads are set up on the server, with the VELOCITY_CMS_S3_ settings. They win over anything saved here. To choose the bucket in the editor instead, remove them from the server.";
|
|
941
|
+
readonly code: "This site's code decides where uploads are kept, so there is nothing to set up here.";
|
|
942
|
+
readonly host: "Your host keeps this site's uploads, so there is nothing to set up here.";
|
|
943
|
+
};
|
|
944
|
+
readonly endpoint: "Service address";
|
|
945
|
+
readonly endpointHelp: "Any service that speaks the S3 protocol. Cloudflare R2: https://<account id>.r2.cloudflarestorage.com. Amazon S3: https://s3.<region>.amazonaws.com.";
|
|
946
|
+
readonly bucket: "Bucket name";
|
|
947
|
+
readonly region: "Region";
|
|
948
|
+
readonly regionHelp: "Leave this empty for Cloudflare R2. For Amazon S3, give the region the bucket is in, such as eu-west-1.";
|
|
949
|
+
readonly accessKeyId: "Access key ID";
|
|
950
|
+
readonly accessKeyIdHelp: "From a key that may read, write and delete in this bucket, and nothing else.";
|
|
951
|
+
readonly secret: "Secret access key";
|
|
952
|
+
readonly secretHelp: "It is kept encrypted and never shown again once it is saved.";
|
|
953
|
+
readonly secretSaved: "A secret key is saved. It is kept encrypted and is not shown again.";
|
|
954
|
+
readonly secretReplace: "Replace the secret key";
|
|
955
|
+
readonly secretKeep: "Keep the saved secret key";
|
|
956
|
+
readonly save: "Save storage settings";
|
|
957
|
+
readonly saved: "Storage settings saved";
|
|
958
|
+
readonly savedDescription: "New uploads go to this bucket. Test it to see that the keys work.";
|
|
959
|
+
readonly notSaved: "Storage settings not saved";
|
|
960
|
+
readonly test: "Test the bucket";
|
|
961
|
+
readonly testAfterSave: "Save your changes before testing the bucket.";
|
|
962
|
+
readonly testWorked: "The bucket works";
|
|
963
|
+
readonly testWorkedDescription: "A small file was kept there, read back and removed.";
|
|
964
|
+
readonly testFailed: "The bucket could not be used";
|
|
965
|
+
readonly moveHelp: "Images uploaded so far are not moved. Ones on the server's disk keep showing from there; ones in another bucket need copying to the new one.";
|
|
966
|
+
readonly stop: "Stop using this bucket";
|
|
967
|
+
readonly stopTitle: "Stop using this bucket?";
|
|
968
|
+
readonly stopDescription: "The saved secret key is removed. Images kept in the bucket stop showing on the site until it is connected again, and new uploads go to the server's disk, if it has one.";
|
|
969
|
+
readonly stopConfirm: "Remove the secret key";
|
|
970
|
+
readonly stopped: "The bucket is no longer used";
|
|
971
|
+
readonly stoppedDescription: "The secret key was removed. Paste one to use the bucket again.";
|
|
972
|
+
};
|
|
973
|
+
readonly forms: {
|
|
974
|
+
readonly title: "Spam check";
|
|
975
|
+
readonly description: "Ask whoever sends a form to pass Cloudflare Turnstile, a check that they are a person. Most people never see it.";
|
|
976
|
+
readonly states: {
|
|
977
|
+
readonly checking: "Checking senders";
|
|
978
|
+
readonly off: "No spam check";
|
|
979
|
+
};
|
|
980
|
+
readonly help: {
|
|
981
|
+
readonly checking: "Every form on the site shows the check. What is sent without passing it is kept under Spam, never lost. Someone whose browser runs no scripts cannot pass, so look at Spam now and then.";
|
|
982
|
+
readonly off: "Forms already catch simple bots with a hidden field and a timer. To add Turnstile, make a widget for this site's domain in the Cloudflare dashboard, under Turnstile, and paste its two keys here. It is free.";
|
|
983
|
+
};
|
|
984
|
+
readonly siteKey: "Site key";
|
|
985
|
+
readonly siteKeyHelp: "The public one. It is part of every page that has a form.";
|
|
986
|
+
readonly secret: "Secret key";
|
|
987
|
+
readonly secretHelp: "It is kept encrypted and never shown again once it is saved.";
|
|
988
|
+
readonly secretSaved: "A secret key is saved. It is kept encrypted and is not shown again.";
|
|
989
|
+
readonly secretReplace: "Replace the secret key";
|
|
990
|
+
readonly secretKeep: "Keep the saved secret key";
|
|
991
|
+
readonly save: "Save spam check";
|
|
992
|
+
readonly saved: "Spam check saved";
|
|
993
|
+
readonly savedDescription: "Forms now show the check. Check the keys to see that Cloudflare knows them.";
|
|
994
|
+
readonly notSaved: "Spam check not saved";
|
|
995
|
+
readonly test: "Check the keys";
|
|
996
|
+
readonly testAfterSave: "Save your changes before checking the keys.";
|
|
997
|
+
readonly testHelp: "Checking asks Cloudflare whether it knows the secret key. To see the site key work, open a page with a form.";
|
|
998
|
+
readonly testWorked: "Cloudflare knows the secret key";
|
|
999
|
+
readonly testWorkedDescription: "Open a page with a form to see the check appear.";
|
|
1000
|
+
readonly testFailed: "The keys could not be checked";
|
|
1001
|
+
readonly stop: "Stop checking";
|
|
1002
|
+
readonly stopTitle: "Stop checking senders?";
|
|
1003
|
+
readonly stopDescription: "Both keys are removed and forms no longer show the check. The hidden field, the timer and the limit below still stand.";
|
|
1004
|
+
readonly stopConfirm: "Remove the keys";
|
|
1005
|
+
readonly stopped: "Senders are no longer checked";
|
|
1006
|
+
readonly stoppedDescription: "Both keys were removed. Paste them again to bring the check back.";
|
|
1007
|
+
readonly limitTitle: "Limit";
|
|
1008
|
+
readonly limitDescription: "How much one visitor can send before the forms ask them to wait.";
|
|
1009
|
+
readonly limit: "Messages from one address in ten minutes";
|
|
1010
|
+
readonly limitHelp: (most: number) => string;
|
|
1011
|
+
readonly limitSave: "Save limit";
|
|
1012
|
+
readonly limitSaved: "Limit saved";
|
|
1013
|
+
readonly limitSavedDescription: (count: number) => string;
|
|
1014
|
+
readonly limitNotSaved: "Limit not saved";
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
838
1017
|
readonly people: {
|
|
839
1018
|
readonly title: "People";
|
|
840
1019
|
readonly description: "Everyone who can sign in to this site, and what each may do.";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src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;;;;;;;;;;;;;;;;;;uCAsFnB,MAAM;;;oDAGO,MAAM;;;;;;;;;;;;;;;;;;;;;;;;gCAoBxB,MAAM;qCACD,MAAM,QAAQ,MAAM;;gCAEzB,MAAM;qCACD,MAAM;;;iCAGV,MAAM;;;;;;;;iCAQN,MAAM;6CACM,MAAM;;;;;;;;;;qCAUd,MAAM;;;;;;;;;sCAUL,MAAM;;;kCAGV,MAAM;;;;;;;qCAOH,MAAM;sCACL,MAAM;;;;;;;;;;;;;;qCAcP,MAAM;;;;uCAKJ,MAAM;;;;8BAIf,MAAM;;;;;gCAKJ,MAAM;oCACF,MAAM,QAAQ,MAAM;sCAClB,MAAM;sCACN,MAAM;;;;;;yCAOH,MAAM;0CACL,MAAM;;2CAEL,MAAM;2CACN,MAAM;6CACJ,MAAM;;;;;;;;;;;;;;;;;qCAmBd,MAAM;;;;;;;;;;;;;gCAaX,MAAM;kCACJ,MAAM;8BACV,MAAM;gCACJ,MAAM;;;wCAIE,MAAM;;gCAEd,MAAM;;;;;;;;;;;;;;;oCAeF,MAAM;;oCAEN,MAAM;;;;;;qCAOL,MAAM;;;iCAGV,MAAM;;;;;sCAKD,MAAM;kCACV,MAAM;;wBAoBlB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE;YAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;YAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;;;;;;;;;;;;;;;;;;qCAmBpE,MAAM;uCACJ,MAAM;qCACR,MAAM;;qCAEJ,MAAM;;;;;;;;;;;;;;wCAcH,MAAM;;;;;;;;;CASvB,CAAC;AAEX,yCAAyC;AACzC,MAAM,MAAM,QAAQ,GAAG,OAAO,EAAE,CAAC"}
|
package/dist/messages/en.js
CHANGED
|
@@ -22,6 +22,7 @@ export const en = {
|
|
|
22
22
|
sessionEndedDescription: 'Your session ended. Sign in again to continue.',
|
|
23
23
|
siteGroup: 'Site',
|
|
24
24
|
people: 'People',
|
|
25
|
+
settings: 'Settings',
|
|
25
26
|
media: 'Media',
|
|
26
27
|
trash: 'Trash',
|
|
27
28
|
forms: 'Forms',
|
|
@@ -176,6 +177,10 @@ export const en = {
|
|
|
176
177
|
pagePhone: 'Phone',
|
|
177
178
|
pageTablet: 'Tablet',
|
|
178
179
|
pageDesktop: 'Desktop',
|
|
180
|
+
visualOpen: 'Visual editor',
|
|
181
|
+
visualClose: 'Back to the form',
|
|
182
|
+
visualShowForm: 'Show the form',
|
|
183
|
+
visualHideForm: 'Hide the form',
|
|
179
184
|
pageNotYet: 'Save the page once to see it here.',
|
|
180
185
|
pageLoading: 'Getting the page…',
|
|
181
186
|
pageNotShown: (reason) => `The page cannot be shown here. ${reason}`,
|
|
@@ -785,6 +790,7 @@ export const en = {
|
|
|
785
790
|
'contact:manage': 'Change and erase contacts',
|
|
786
791
|
'user:manage': 'Manage people',
|
|
787
792
|
'plugin:manage': 'Manage plugins',
|
|
793
|
+
'settings:manage': 'Change the site\'s settings',
|
|
788
794
|
},
|
|
789
795
|
adds: (parts) => `Adds ${parts.join(', ')}.`,
|
|
790
796
|
addsScreen: (label) => `the "${label}" screen in the sidebar`,
|
|
@@ -800,6 +806,150 @@ export const en = {
|
|
|
800
806
|
emptyTitle: 'No plugins yet',
|
|
801
807
|
emptyDescription: 'Plugins that are available for this site will be listed here, ready to activate.',
|
|
802
808
|
},
|
|
809
|
+
settings: {
|
|
810
|
+
title: 'Settings',
|
|
811
|
+
description: 'What this site is and what it needs to run, set up here instead of on the server.',
|
|
812
|
+
tabsLabel: 'Parts of the settings',
|
|
813
|
+
areas: { general: 'General', email: 'Email', storage: 'Storage', forms: 'Forms and spam' },
|
|
814
|
+
namesSite: (field) => `${field} is also what this editor and the site's emails call the site, once it is published.`,
|
|
815
|
+
ownersTitle: 'Settings are for owners',
|
|
816
|
+
ownersDescription: 'An owner of this site sets up its email, storage and forms here. Ask one if something needs changing.',
|
|
817
|
+
general: {
|
|
818
|
+
title: 'Site name',
|
|
819
|
+
description: 'What this site is called in the editor, in the emails it sends and when someone adds a passkey.',
|
|
820
|
+
states: { server: 'Set on the server', code: 'Set in the site\'s code', host: 'Set by your host' },
|
|
821
|
+
fixed: (name) => `Your host names this site: ${name}. Change it where you manage the site with your host.`,
|
|
822
|
+
name: 'Site name',
|
|
823
|
+
nameHelp: 'Leave this empty to use the name the site\'s code gives.',
|
|
824
|
+
nameHelpWithDefault: (name) => `Leave this empty to use the name the site's code gives: ${name}.`,
|
|
825
|
+
save: 'Save site name',
|
|
826
|
+
saved: 'Site name saved',
|
|
827
|
+
savedDescription: 'Emails use it from now on. The editor shows it once you reload the page.',
|
|
828
|
+
notSaved: 'Site name not saved',
|
|
829
|
+
},
|
|
830
|
+
email: {
|
|
831
|
+
title: 'Email',
|
|
832
|
+
description: 'Sign-in links, invitations and notices from forms are sent this way.',
|
|
833
|
+
states: { sending: 'Sending', off: 'Not set up', server: 'Set on the server', code: 'Set in the site\'s code', host: 'Handled by your host' },
|
|
834
|
+
offHelp: 'Until this is set up, nobody is emailed: sign-in links are printed in the server\'s log, and notices from forms are not sent.',
|
|
835
|
+
fixed: {
|
|
836
|
+
server: 'This site\'s email is set up on the server, with the VELOCITY_CMS_RESEND_API_KEY and VELOCITY_CMS_EMAIL_FROM settings. They win over anything saved here. To set email up in the editor instead, remove both from the server.',
|
|
837
|
+
code: 'This site sends email with a mailer of its own, named in its Astro config. It wins over anything saved here. To set email up in the editor instead, take the mailer out of the config.',
|
|
838
|
+
host: 'Your host sends this site\'s email, so there is nothing to set up here.',
|
|
839
|
+
},
|
|
840
|
+
provider: 'Email service',
|
|
841
|
+
providers: { resend: 'Resend' },
|
|
842
|
+
providerHelp: 'Make an account with the service, verify your domain there, then create an API key.',
|
|
843
|
+
providerLinks: { resend: 'https://resend.com/api-keys' },
|
|
844
|
+
providerLink: (name) => `Open your API keys at ${name}`,
|
|
845
|
+
key: 'API key',
|
|
846
|
+
keyHelp: 'It is kept encrypted and never shown again once it is saved.',
|
|
847
|
+
keySaved: 'A key is saved. It is kept encrypted and is not shown again.',
|
|
848
|
+
keyReplace: 'Replace the key',
|
|
849
|
+
keyKeep: 'Keep the saved key',
|
|
850
|
+
from: 'Sender',
|
|
851
|
+
fromHelp: 'The address your emails come from, on the domain you verified. Add a name if you like: Lakeshore Realty <hello@lakeshore.example>.',
|
|
852
|
+
save: 'Save email settings',
|
|
853
|
+
saved: 'Email settings saved',
|
|
854
|
+
savedDescription: 'Email is now sent through these settings. Send a test to see it arrive.',
|
|
855
|
+
notSaved: 'Email settings not saved',
|
|
856
|
+
test: 'Send a test email',
|
|
857
|
+
testHelp: (address) => `A test goes to you, at ${address}, and to nobody else.`,
|
|
858
|
+
testAfterSave: 'Save your changes before sending a test.',
|
|
859
|
+
testSent: 'Test email sent',
|
|
860
|
+
testSentDescription: (address) => `Look for it at ${address}. It can take a minute, and it may land in spam the first time.`,
|
|
861
|
+
testNotSent: 'Test email not sent',
|
|
862
|
+
stop: 'Stop sending email',
|
|
863
|
+
stopTitle: 'Stop sending email?',
|
|
864
|
+
stopDescription: 'The saved API key is removed. Sign-in links will be printed in the server\'s log instead of emailed, so people can sign in only with a passkey or with help from whoever runs the server. Notices from forms stop too.',
|
|
865
|
+
stopConfirm: 'Remove the key',
|
|
866
|
+
stopped: 'Email is no longer sent',
|
|
867
|
+
stoppedDescription: 'The API key was removed. Paste a new one to send email again.',
|
|
868
|
+
},
|
|
869
|
+
storage: {
|
|
870
|
+
title: 'Uploads',
|
|
871
|
+
description: 'Where the images people upload in the editor are kept.',
|
|
872
|
+
states: { bucket: 'Kept in your bucket', folder: 'Kept on the server\'s disk', none: 'No uploads yet', server: 'Set on the server', code: 'Set in the site\'s code', host: 'Handled by your host' },
|
|
873
|
+
keepingHelp: {
|
|
874
|
+
bucket: 'Uploads are kept in the bucket below, which stays private: the site reads from it and serves the images itself.',
|
|
875
|
+
folder: 'Uploads are kept in a folder on the server\'s disk. That suits a server of your own. On a host with no lasting disk, such as Vercel or Netlify, name a bucket here so uploads are not lost on the next deploy.',
|
|
876
|
+
none: 'This site has nowhere to keep uploads, so people can only choose from the images it came with. Name a bucket here to take uploads.',
|
|
877
|
+
},
|
|
878
|
+
fixed: {
|
|
879
|
+
server: 'This site\'s uploads are set up on the server, with the VELOCITY_CMS_S3_ settings. They win over anything saved here. To choose the bucket in the editor instead, remove them from the server.',
|
|
880
|
+
code: 'This site\'s code decides where uploads are kept, so there is nothing to set up here.',
|
|
881
|
+
host: 'Your host keeps this site\'s uploads, so there is nothing to set up here.',
|
|
882
|
+
},
|
|
883
|
+
endpoint: 'Service address',
|
|
884
|
+
endpointHelp: 'Any service that speaks the S3 protocol. Cloudflare R2: https://<account id>.r2.cloudflarestorage.com. Amazon S3: https://s3.<region>.amazonaws.com.',
|
|
885
|
+
bucket: 'Bucket name',
|
|
886
|
+
region: 'Region',
|
|
887
|
+
regionHelp: 'Leave this empty for Cloudflare R2. For Amazon S3, give the region the bucket is in, such as eu-west-1.',
|
|
888
|
+
accessKeyId: 'Access key ID',
|
|
889
|
+
accessKeyIdHelp: 'From a key that may read, write and delete in this bucket, and nothing else.',
|
|
890
|
+
secret: 'Secret access key',
|
|
891
|
+
secretHelp: 'It is kept encrypted and never shown again once it is saved.',
|
|
892
|
+
secretSaved: 'A secret key is saved. It is kept encrypted and is not shown again.',
|
|
893
|
+
secretReplace: 'Replace the secret key',
|
|
894
|
+
secretKeep: 'Keep the saved secret key',
|
|
895
|
+
save: 'Save storage settings',
|
|
896
|
+
saved: 'Storage settings saved',
|
|
897
|
+
savedDescription: 'New uploads go to this bucket. Test it to see that the keys work.',
|
|
898
|
+
notSaved: 'Storage settings not saved',
|
|
899
|
+
test: 'Test the bucket',
|
|
900
|
+
testAfterSave: 'Save your changes before testing the bucket.',
|
|
901
|
+
testWorked: 'The bucket works',
|
|
902
|
+
testWorkedDescription: 'A small file was kept there, read back and removed.',
|
|
903
|
+
testFailed: 'The bucket could not be used',
|
|
904
|
+
moveHelp: 'Images uploaded so far are not moved. Ones on the server\'s disk keep showing from there; ones in another bucket need copying to the new one.',
|
|
905
|
+
stop: 'Stop using this bucket',
|
|
906
|
+
stopTitle: 'Stop using this bucket?',
|
|
907
|
+
stopDescription: 'The saved secret key is removed. Images kept in the bucket stop showing on the site until it is connected again, and new uploads go to the server\'s disk, if it has one.',
|
|
908
|
+
stopConfirm: 'Remove the secret key',
|
|
909
|
+
stopped: 'The bucket is no longer used',
|
|
910
|
+
stoppedDescription: 'The secret key was removed. Paste one to use the bucket again.',
|
|
911
|
+
},
|
|
912
|
+
forms: {
|
|
913
|
+
title: 'Spam check',
|
|
914
|
+
description: 'Ask whoever sends a form to pass Cloudflare Turnstile, a check that they are a person. Most people never see it.',
|
|
915
|
+
states: { checking: 'Checking senders', off: 'No spam check' },
|
|
916
|
+
help: {
|
|
917
|
+
checking: 'Every form on the site shows the check. What is sent without passing it is kept under Spam, never lost. Someone whose browser runs no scripts cannot pass, so look at Spam now and then.',
|
|
918
|
+
off: 'Forms already catch simple bots with a hidden field and a timer. To add Turnstile, make a widget for this site\'s domain in the Cloudflare dashboard, under Turnstile, and paste its two keys here. It is free.',
|
|
919
|
+
},
|
|
920
|
+
siteKey: 'Site key',
|
|
921
|
+
siteKeyHelp: 'The public one. It is part of every page that has a form.',
|
|
922
|
+
secret: 'Secret key',
|
|
923
|
+
secretHelp: 'It is kept encrypted and never shown again once it is saved.',
|
|
924
|
+
secretSaved: 'A secret key is saved. It is kept encrypted and is not shown again.',
|
|
925
|
+
secretReplace: 'Replace the secret key',
|
|
926
|
+
secretKeep: 'Keep the saved secret key',
|
|
927
|
+
save: 'Save spam check',
|
|
928
|
+
saved: 'Spam check saved',
|
|
929
|
+
savedDescription: 'Forms now show the check. Check the keys to see that Cloudflare knows them.',
|
|
930
|
+
notSaved: 'Spam check not saved',
|
|
931
|
+
test: 'Check the keys',
|
|
932
|
+
testAfterSave: 'Save your changes before checking the keys.',
|
|
933
|
+
testHelp: 'Checking asks Cloudflare whether it knows the secret key. To see the site key work, open a page with a form.',
|
|
934
|
+
testWorked: 'Cloudflare knows the secret key',
|
|
935
|
+
testWorkedDescription: 'Open a page with a form to see the check appear.',
|
|
936
|
+
testFailed: 'The keys could not be checked',
|
|
937
|
+
stop: 'Stop checking',
|
|
938
|
+
stopTitle: 'Stop checking senders?',
|
|
939
|
+
stopDescription: 'Both keys are removed and forms no longer show the check. The hidden field, the timer and the limit below still stand.',
|
|
940
|
+
stopConfirm: 'Remove the keys',
|
|
941
|
+
stopped: 'Senders are no longer checked',
|
|
942
|
+
stoppedDescription: 'Both keys were removed. Paste them again to bring the check back.',
|
|
943
|
+
limitTitle: 'Limit',
|
|
944
|
+
limitDescription: 'How much one visitor can send before the forms ask them to wait.',
|
|
945
|
+
limit: 'Messages from one address in ten minutes',
|
|
946
|
+
limitHelp: (most) => `From 1 to ${most}. The CMS comes with 8. Raise it for an office where many people share one connection.`,
|
|
947
|
+
limitSave: 'Save limit',
|
|
948
|
+
limitSaved: 'Limit saved',
|
|
949
|
+
limitSavedDescription: (count) => (count === 1 ? 'Forms take 1 message from one address in ten minutes.' : `Forms take ${count} messages from one address in ten minutes.`),
|
|
950
|
+
limitNotSaved: 'Limit not saved',
|
|
951
|
+
},
|
|
952
|
+
},
|
|
803
953
|
people: {
|
|
804
954
|
title: 'People',
|
|
805
955
|
description: 'Everyone who can sign in to this site, and what each may do.',
|