@goodfellow-cms/admin 0.6.0 → 0.7.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/editor.js +540 -7
- package/dist/{entry-values-BrY3L0Ai.js → entry-values-DO01xZ9L.js} +376 -44
- package/dist/index.d.ts +104 -3
- package/dist/index.js +490 -90
- package/package.json +5 -5
- package/plugin.css +43 -39
- package/styles.css +243 -0
package/dist/index.d.ts
CHANGED
|
@@ -102,7 +102,15 @@ export declare const defaultStrings: {
|
|
|
102
102
|
readonly "editor.failed": "The editor stopped working. Reload the page to start it again.";
|
|
103
103
|
readonly "editor.frame": "Editing {title}";
|
|
104
104
|
readonly "editor.choose": "Editor";
|
|
105
|
+
readonly "editor.blockSearch": "Search blocks";
|
|
106
|
+
readonly "editor.blockSearchNone": 'No blocks match. Try another word, such as "picture" or "columns".';
|
|
107
|
+
readonly "editor.blockSearchFound": "Blocks found";
|
|
105
108
|
readonly "editor.standard": "Standard editor";
|
|
109
|
+
readonly "editor.plugin.switchLoses": "Some of what you changed in {editor} can't be kept in the other editor, so switching now leaves behind everything you changed since you opened {editor}. Switch anyway?\n\n{problems}";
|
|
110
|
+
readonly "editor.plugin.pageSettings": "The page's settings";
|
|
111
|
+
readonly "editor.plugin.problem": "{block}: {message}";
|
|
112
|
+
readonly "editor.plugin.problemField": "{block}, {field}: {message}";
|
|
113
|
+
readonly "editor.plugin.loading": "Opening {editor}…";
|
|
106
114
|
readonly "editor.plugin.failed": "{editor} didn't start. Choose the standard editor to keep editing.";
|
|
107
115
|
readonly "editor.plugin.invalid": "{editor} gave back something this site can't publish, so nothing was published. Try again, or choose the standard editor.";
|
|
108
116
|
readonly "publish.publishing": "Publishing…";
|
|
@@ -131,6 +139,9 @@ export declare const defaultStrings: {
|
|
|
131
139
|
readonly "draft.leave": "Back to the live site";
|
|
132
140
|
readonly "draft.waiting": "A draft started {date} is waiting to be published.";
|
|
133
141
|
readonly "draft.waitingMany": "{count} drafts are waiting to be published.";
|
|
142
|
+
readonly "draft.reviewWaiting": "A draft is waiting for review: {title}.";
|
|
143
|
+
readonly "draft.reviewWaitingMany": "{count} drafts are waiting for review.";
|
|
144
|
+
readonly "draft.inReview": "Submitted for review.";
|
|
134
145
|
readonly "draft.choose": "Draft to open";
|
|
135
146
|
readonly "draft.started": "Started {date}";
|
|
136
147
|
readonly "draft.open": "Open";
|
|
@@ -150,6 +161,22 @@ export declare const defaultStrings: {
|
|
|
150
161
|
readonly "checks.alsoWarnings": "These could be better too:";
|
|
151
162
|
readonly "checks.publishAnyway": "Publish anyway";
|
|
152
163
|
readonly "checks.goBack": "Go back";
|
|
164
|
+
readonly "limits.title": "Some of this is outside what you can change";
|
|
165
|
+
readonly "limits.intro": "An owner has limited what you can change on this site, and these changes are outside it:";
|
|
166
|
+
readonly "limits.review": "Submit them for review instead: the site's reviewers are asked to look, and can publish them for you.";
|
|
167
|
+
readonly "limits.noReview": "Ask an owner to make these changes for you, or to let you make them on Site Settings' Editors screen.";
|
|
168
|
+
readonly "limits.goBack": "Go back";
|
|
169
|
+
readonly "limits.submitting": "Submitting for review…";
|
|
170
|
+
readonly "limits.submitted": "Submitted for review. The live site stays as it is until a reviewer publishes it.";
|
|
171
|
+
readonly "limits.submitError": "The changes couldn't be submitted for review. Check your connection and try again.";
|
|
172
|
+
readonly "limits.page": "The page {name}";
|
|
173
|
+
readonly "limits.entry": "{name}, in {collection}";
|
|
174
|
+
readonly "limits.media": "The media library";
|
|
175
|
+
readonly "limits.layout": "The header and footer";
|
|
176
|
+
readonly "limits.menus": "The menus";
|
|
177
|
+
readonly "limits.other": "The site's settings, or other things only owners change";
|
|
178
|
+
readonly "limits.readOnly": "You can look at this, but an owner has limited what you can change, and it's outside it.";
|
|
179
|
+
readonly "limits.mediaReadOnly": "An owner has limited what you can change, and the media library is outside it. You can still use its files on pages you can change.";
|
|
153
180
|
readonly "checks.missing-page": "{place} links to {target}, which isn't a page on the site.";
|
|
154
181
|
readonly "checks.missing-media": "{place} uses {target}, which isn't in the media library.";
|
|
155
182
|
readonly "checks.no-title": "{place} has no title, so browser tabs and search results show only the site's name.";
|
|
@@ -181,6 +208,7 @@ export declare const defaultStrings: {
|
|
|
181
208
|
readonly "pages.empty": "This site has no pages yet.";
|
|
182
209
|
readonly "pages.column.title": "Title";
|
|
183
210
|
readonly "pages.column.address": "Address";
|
|
211
|
+
readonly "pages.look": "Look";
|
|
184
212
|
readonly "pages.edit": "Edit";
|
|
185
213
|
readonly "pages.move": "Change address";
|
|
186
214
|
readonly "pages.duplicate": "Duplicate";
|
|
@@ -242,7 +270,7 @@ export declare const defaultStrings: {
|
|
|
242
270
|
readonly "deletePage.submit": "Delete page";
|
|
243
271
|
readonly "deletePage.message": 'Delete page "{title}"';
|
|
244
272
|
readonly "address.invalid": "Use lowercase letters, numbers and hyphens, with / between parts, such as /about-us.";
|
|
245
|
-
readonly "address.reserved": "This address
|
|
273
|
+
readonly "address.reserved": "This address can't be used: the admin panel uses it, or it ends in /index, which is the page above it. Choose another.";
|
|
246
274
|
readonly "address.taken": "Another page already uses this address.";
|
|
247
275
|
readonly "field.required": "This can't be empty.";
|
|
248
276
|
readonly "editPage.message": 'Update page "{title}"';
|
|
@@ -320,7 +348,7 @@ export declare const defaultStrings: {
|
|
|
320
348
|
readonly "newEntry.addressHint": "The last part of the page's address, as in {example}.";
|
|
321
349
|
readonly "newEntry.message": 'Add {entry} "{title}"';
|
|
322
350
|
readonly "entryName.invalid": "Use lowercase letters, numbers and hyphens only, such as easter-vigil.";
|
|
323
|
-
readonly "entryName.reserved": "This address
|
|
351
|
+
readonly "entryName.reserved": "This address can't be used: the admin panel uses it, or it ends in /index, which is the page above it. Choose another.";
|
|
324
352
|
readonly "entryName.taken": "Something else on the site already uses this address.";
|
|
325
353
|
readonly "moveEntry.message": 'Move {entry} "{title}" from {from} to {to}';
|
|
326
354
|
readonly "deleteEntry.body": "{title} will be removed from {name}.";
|
|
@@ -513,6 +541,51 @@ export declare const defaultStrings: {
|
|
|
513
541
|
readonly "table.removeColumn": "Remove this column";
|
|
514
542
|
readonly "table.removeColumnNumber": "Remove column {column}";
|
|
515
543
|
readonly "table.cell": "Row {row}, column {column}";
|
|
544
|
+
readonly "style.align": "Text alignment";
|
|
545
|
+
readonly "style.align.default": "As the block has it";
|
|
546
|
+
readonly "style.align.left": "Left";
|
|
547
|
+
readonly "style.align.center": "Centered";
|
|
548
|
+
readonly "style.align.right": "Right";
|
|
549
|
+
readonly "style.align.justify": "Justified";
|
|
550
|
+
readonly "style.fontSize": "Text size";
|
|
551
|
+
readonly "style.fontSize.xs": "Extra small";
|
|
552
|
+
readonly "style.fontSize.sm": "Small";
|
|
553
|
+
readonly "style.fontSize.base": "Normal";
|
|
554
|
+
readonly "style.fontSize.lg": "Large";
|
|
555
|
+
readonly "style.fontSize.xl": "Extra large";
|
|
556
|
+
readonly "style.fontSize.2xl": "Very large";
|
|
557
|
+
readonly "style.fontSize.3xl": "Huge";
|
|
558
|
+
readonly "style.fontSize.4xl": "Very huge";
|
|
559
|
+
readonly "style.fontSize.5xl": "Giant";
|
|
560
|
+
readonly "style.fontSize.6xl": "Enormous";
|
|
561
|
+
readonly "style.color": "Text color";
|
|
562
|
+
readonly "style.background": "Background color";
|
|
563
|
+
readonly "style.colorDefault": "As the block has it";
|
|
564
|
+
readonly "style.colorCustom": "Choose a color";
|
|
565
|
+
readonly "style.contrast": "This text may be hard to read on this background. Try colors further apart.";
|
|
566
|
+
readonly "style.padding": "Space inside";
|
|
567
|
+
readonly "style.margin": "Space around";
|
|
568
|
+
readonly "style.eachSide": "Set each side";
|
|
569
|
+
readonly "style.side.top": "Top";
|
|
570
|
+
readonly "style.side.right": "Right";
|
|
571
|
+
readonly "style.side.bottom": "Bottom";
|
|
572
|
+
readonly "style.side.left": "Left";
|
|
573
|
+
readonly "style.allSides": "All sides";
|
|
574
|
+
readonly "style.none": "None";
|
|
575
|
+
readonly "style.radius": "Rounded corners";
|
|
576
|
+
readonly "style.radius.none": "Square";
|
|
577
|
+
readonly "style.radius.sm": "Slightly rounded";
|
|
578
|
+
readonly "style.radius.md": "Rounded";
|
|
579
|
+
readonly "style.radius.lg": "The theme's rounding";
|
|
580
|
+
readonly "style.radius.xl": "Very rounded";
|
|
581
|
+
readonly "style.radius.full": "Round";
|
|
582
|
+
readonly "style.default": "As the block has it";
|
|
583
|
+
readonly "style.custom": "Your own…";
|
|
584
|
+
readonly "style.customLength": "Your own size, such as 12px or 1.5rem";
|
|
585
|
+
readonly "style.customLengthInvalid": "Write a number with px, rem, em or %, such as 12px.";
|
|
586
|
+
readonly "style.other": "Other CSS classes";
|
|
587
|
+
readonly "style.otherHint": "Tailwind classes, or your own from Custom CSS, separated by spaces.";
|
|
588
|
+
readonly "style.reset": "Back to the block's own look";
|
|
516
589
|
readonly "media.credit": "Credit: {credit}";
|
|
517
590
|
readonly "media.stored": "Kept by {plugin}";
|
|
518
591
|
readonly "media.error.storageSize": "{name} is too large: {plugin} takes files up to {size}.";
|
|
@@ -623,6 +696,7 @@ export declare const defaultStrings: {
|
|
|
623
696
|
readonly "settings.previewEmpty": "Add a home page to see a preview here.";
|
|
624
697
|
readonly "domain.intro": "Connect a domain you own, such as example.org, so the site is at that address.";
|
|
625
698
|
readonly "domain.current": "The site is at {address} now.";
|
|
699
|
+
readonly "domain.copy": "This admin panel is a copy of the site's, such as a staging site, at {address}. That address is set where the copy is built, so the domain this screen connects is the main site's.";
|
|
626
700
|
readonly "domain.connected": "Connected to {domain}.";
|
|
627
701
|
readonly "domain.signIn": "Editors sign in by going to {host} and coming back here. Add {address} to the redirect URIs of the application they sign in with on {host}, or signing in will stop working once the site moves.";
|
|
628
702
|
readonly "domain.local": "Domains are connected in the published site's admin panel, where you sign in with GitHub, GitLab or Bitbucket.";
|
|
@@ -1149,7 +1223,7 @@ export declare const defaultStrings: {
|
|
|
1149
1223
|
readonly "updates.error.save": "The change couldn't be saved. Try again in a moment.";
|
|
1150
1224
|
readonly "updates.error.other": "Something went wrong. Try again in a moment.";
|
|
1151
1225
|
readonly "editors.intro": "The people who can edit this site.";
|
|
1152
|
-
readonly "editors.roles": "Editors can change and publish everything in the admin panel. Owners can also invite and remove editors, and connect a domain.";
|
|
1226
|
+
readonly "editors.roles": "Editors can change and publish everything in the admin panel, unless their limits below say otherwise. Owners can also invite and remove editors, limit what they can change, and connect a domain.";
|
|
1153
1227
|
readonly "editors.local": "Editors are invited in the published site's admin panel, where you sign in with GitHub, GitLab or Bitbucket.";
|
|
1154
1228
|
readonly "editors.demo": "Editors can't be invited in a demo.";
|
|
1155
1229
|
readonly "editors.loading": "Loading editors…";
|
|
@@ -1185,6 +1259,33 @@ export declare const defaultStrings: {
|
|
|
1185
1259
|
readonly "editors.error.invalid": "That isn't a username or email address that {host} accepts.";
|
|
1186
1260
|
readonly "editors.error.already": "They already edit the site, or have been invited.";
|
|
1187
1261
|
readonly "editors.error.other": "Something went wrong. Try again in a moment.";
|
|
1262
|
+
readonly "permissions.title": "Limits";
|
|
1263
|
+
readonly "permissions.intro": "Limit what someone can change: some pages, some collections, the media library, the header and footer, or the menus. Anyone not listed here can change everything their role allows. Changes outside someone's limits go to a reviewer, who publishes them or not.";
|
|
1264
|
+
readonly "permissions.where": "The admin panel keeps people to their limits, so nobody changes the wrong page by mistake. People who can publish to the site on {host} could still change other files there, so only a site with its own server holds everyone to them.";
|
|
1265
|
+
readonly "permissions.whereServer": "The site's server holds everyone to their limits, whatever they try.";
|
|
1266
|
+
readonly "permissions.host": "the site's host";
|
|
1267
|
+
readonly "permissions.person": "Their username";
|
|
1268
|
+
readonly "permissions.personHint": "The name they sign in with, as the list above shows it.";
|
|
1269
|
+
readonly "permissions.add": "Limit what they can change";
|
|
1270
|
+
readonly "permissions.change": "Change";
|
|
1271
|
+
readonly "permissions.remove": "Remove limits";
|
|
1272
|
+
readonly "permissions.nothing": "Nothing yet";
|
|
1273
|
+
readonly "permissions.allPages": "Every page";
|
|
1274
|
+
readonly "permissions.editTitle": "What {name} can change";
|
|
1275
|
+
readonly "permissions.editIntro": "Tick what they can change. They can look at everything else, and submit changes to it for review.";
|
|
1276
|
+
readonly "permissions.pages": "Pages";
|
|
1277
|
+
readonly "permissions.pagesHint": "Each with the pages under it, and their translations.";
|
|
1278
|
+
readonly "permissions.collections": "Collections' items";
|
|
1279
|
+
readonly "permissions.more": "Also";
|
|
1280
|
+
readonly "permissions.languages": "Languages";
|
|
1281
|
+
readonly "permissions.everyLanguage": "Every language";
|
|
1282
|
+
readonly "permissions.save": "Publish limits";
|
|
1283
|
+
readonly "permissions.message": "Change what {name} can change";
|
|
1284
|
+
readonly "permissions.removeMessage": "Let {name} change everything";
|
|
1285
|
+
readonly "permissions.reviewers": "Who reviews changes outside someone's limits";
|
|
1286
|
+
readonly "permissions.reviewersHint": "Usernames, separated by commas. Leave it empty for every owner.";
|
|
1287
|
+
readonly "permissions.saveReviewers": "Publish reviewers";
|
|
1288
|
+
readonly "permissions.reviewersMessage": "Change who reviews changes outside editors' limits";
|
|
1188
1289
|
readonly "general.siteTitle": "Site name";
|
|
1189
1290
|
readonly "general.description": "Description";
|
|
1190
1291
|
readonly "general.descriptionHint": "Shown by search engines when a page doesn't have its own description.";
|