@goodfellow-cms/admin 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +36 -0
- package/dist/index.js +1029 -854
- package/package.json +5 -5
- package/styles.css +12 -0
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,13 @@ export declare const defaultStrings: {
|
|
|
49
49
|
readonly "signIn.error.no-access": "That account can't see this site. Make sure the token was given access to it.";
|
|
50
50
|
readonly "signIn.error.cant-publish": "That account can see the site but isn't allowed to change it. Ask the site's owner to give it permission.";
|
|
51
51
|
readonly "signIn.error.redirect-failed": "Signing in didn't finish. Try again.";
|
|
52
|
+
readonly "signIn.error.not-installed": "Goodfellow isn't installed on this site on {host} yet, so editors can't sign in with {host}. If you own the site, install it now, which signs you in too. Otherwise, ask an owner to, or sign in with an access token.";
|
|
53
|
+
readonly "signIn.error.no-address": "Signing in with {host} needs the site's address in Site settings. Sign in with an access token for now, and add the address there.";
|
|
54
|
+
readonly "signIn.error.wrong-address": "Signing in with {host} works only at the site's own address, as Site settings give it. Sign in there, or with an access token here.";
|
|
55
|
+
readonly "signIn.error.local-address": "Signing in with {host} works only on the published site. Sign in with an access token here.";
|
|
56
|
+
readonly "signIn.error.not-owner": "That account isn't an owner of this site on {host}.";
|
|
57
|
+
readonly "signIn.error.unavailable": "Signing in with {host} isn't available right now, perhaps because it's been used as much as it can be today. Sign in with an access token instead.";
|
|
58
|
+
readonly "signIn.install": "Install Goodfellow on {host}";
|
|
52
59
|
readonly "signIn.error.expired": "You were signed out because your sign-in expired. Sign in again to keep editing.";
|
|
53
60
|
readonly "signIn.error.other": "Couldn't reach {host}. Check your connection and try again.";
|
|
54
61
|
readonly "account.signedInAs": "Signed in as {name}";
|
|
@@ -375,6 +382,7 @@ export declare const defaultStrings: {
|
|
|
375
382
|
readonly "media.pickerTitleVideo": "Choose a video";
|
|
376
383
|
readonly "media.pickerEmpty": "Nothing has been uploaded yet. Upload a file to use it here.";
|
|
377
384
|
readonly "media.clear": "Remove";
|
|
385
|
+
readonly "media.credit": "Credit: {credit}";
|
|
378
386
|
readonly "ai.label": "AI";
|
|
379
387
|
readonly "ai.title": "Write with AI";
|
|
380
388
|
readonly "ai.mode.add": "Describe what to add to this page, and AI will write it at the end of the page.";
|
|
@@ -384,6 +392,15 @@ export declare const defaultStrings: {
|
|
|
384
392
|
readonly "ai.placeholder.add": "For example: a section about our Christmas Mass schedule, with a heading, a short welcome and a button to the contact page.";
|
|
385
393
|
readonly "ai.placeholder.edit": "For example: make it shorter and friendlier, or translate it into Spanish.";
|
|
386
394
|
readonly "ai.placeholder.fill": "For example: Fr. Smith's homily from Sunday, about hope. Paste any notes here.";
|
|
395
|
+
readonly "ai.photos": "Find openly licensed photos where the media library has none that fit";
|
|
396
|
+
readonly "ai.photosHint": "Photos come from Openverse and are added to the media library. Pages that use them credit who made them, as their licenses require.";
|
|
397
|
+
readonly "ai.photos.finding": "Finding photos…";
|
|
398
|
+
readonly "ai.photos.message": "Add photos from Openverse: {names}";
|
|
399
|
+
readonly "ai.photos.added": "Photos from Openverse added to the media library: {names}.";
|
|
400
|
+
readonly "ai.photos.missing": "No photo was found for {count} of the images, so they're left empty.";
|
|
401
|
+
readonly "ai.photos.error.busy": "Openverse has had too many requests from this computer, so some images are left empty. Try again later, or choose them from the media library.";
|
|
402
|
+
readonly "ai.photos.error.unreachable": "Couldn't reach Openverse, so some images are left empty. Check your connection, or choose them from the media library.";
|
|
403
|
+
readonly "ai.photos.error.publish": "The photos found couldn't be added to the media library, so their images are left empty.";
|
|
387
404
|
readonly "ai.write": "Write it";
|
|
388
405
|
readonly "ai.change": "Change it";
|
|
389
406
|
readonly "ai.fill": "Fill it in";
|
|
@@ -491,6 +508,10 @@ export declare const defaultStrings: {
|
|
|
491
508
|
readonly "domain.error.invalid": "{host} doesn't accept this domain.";
|
|
492
509
|
readonly "domain.error.not-ready": "The HTTPS certificate isn't ready yet. Try again in a while.";
|
|
493
510
|
readonly "domain.error.other": "Something went wrong.";
|
|
511
|
+
readonly "owner.signIn.title": "Sign in as an owner";
|
|
512
|
+
readonly "owner.signIn.intro": "Inviting and removing editors, and connecting a domain, need an owner's access on {host}, which everyday sign-in doesn't have. Sign in as an owner for this tab only.";
|
|
513
|
+
readonly "owner.signIn.button": "Sign in as an owner with {host}";
|
|
514
|
+
readonly "owner.signIn.orToken": "Or use an owner token";
|
|
494
515
|
readonly "owner.token.title": "Use an owner token";
|
|
495
516
|
readonly "owner.token.intro": "Inviting and removing editors, and connecting a domain, need more access on {host} than signing in has. Create a second token for them. It's kept only until you close this tab, and stops working after a day; you can delete it on {host} sooner.";
|
|
496
517
|
readonly "owner.token.create": "Create an owner token on {host}";
|
|
@@ -612,6 +633,8 @@ export declare const defaultStrings: {
|
|
|
612
633
|
readonly "general.favicon": "Browser tab icon";
|
|
613
634
|
readonly "general.logo": "Logo";
|
|
614
635
|
readonly "general.logoAlt": "Logo description";
|
|
636
|
+
readonly "general.logoDark": "Logo in dark mode";
|
|
637
|
+
readonly "general.logoDarkHint": "A version of the logo that shows up on dark backgrounds, such as a white one. Leave it empty to use the same logo.";
|
|
615
638
|
readonly "general.socialImage": "Image when shared on social media";
|
|
616
639
|
readonly "general.contact": "Contact details";
|
|
617
640
|
readonly "general.contactHint": "Shown wherever a Contact details block is placed, such as the footer.";
|
|
@@ -666,7 +689,20 @@ export declare const defaultStrings: {
|
|
|
666
689
|
readonly "theme.color.accentForeground": "Text on highlight";
|
|
667
690
|
readonly "theme.color.border": "Borders";
|
|
668
691
|
readonly "theme.default": "Default";
|
|
692
|
+
readonly "theme.darkMode": "Dark mode";
|
|
693
|
+
readonly "theme.darkModeOn": "Follow each visitor's light or dark setting";
|
|
694
|
+
readonly "theme.darkModeHint": "Off by default, so the site is always light. When it's on, visitors whose computer or phone is set to dark see the site in the colors below.";
|
|
695
|
+
readonly "theme.darkColors": "Colors in dark mode";
|
|
696
|
+
readonly "theme.preview": "Preview";
|
|
697
|
+
readonly "theme.previewLight": "Light";
|
|
698
|
+
readonly "theme.previewDark": "Dark";
|
|
669
699
|
readonly "theme.pickColor": "Choose a color for {name}";
|
|
700
|
+
readonly "theme.code": "Code colors";
|
|
701
|
+
readonly "theme.codeHint": "The colors of code in Code blocks and Markdown. Code that looks like the page uses the light colors, and the dark colors in dark mode.";
|
|
702
|
+
readonly "theme.codeLight": "Light colors";
|
|
703
|
+
readonly "theme.codeDark": "Dark colors";
|
|
704
|
+
readonly "theme.codeBackground": "Show code on the subtle background color";
|
|
705
|
+
readonly "theme.codeBackgroundHint": "Code that looks like the page sits on the site's Subtle background color instead of its colors' own background, so it matches the rest of the site. Check that it's still easy to read.";
|
|
670
706
|
readonly "menus.intro": "Menus are lists of links. Show one anywhere with the Menu block, using its name.";
|
|
671
707
|
readonly "menus.empty": "There are no menus yet.";
|
|
672
708
|
readonly "menus.add": "Add menu";
|