refactor: monorepo setup with lerna (#243)
This commit is contained in:
committed by
GitHub
parent
dac29fbf3c
commit
504d95c34f
298
packages/core/src/locales/en/index.ts
Normal file
298
packages/core/src/locales/en/index.ts
Normal file
@ -0,0 +1,298 @@
|
||||
import type { LocalePhrasesRoot } from '@staticcms/core/interface';
|
||||
|
||||
const en: LocalePhrasesRoot = {
|
||||
auth: {
|
||||
login: 'Login',
|
||||
loggingIn: 'Logging in...',
|
||||
loginWithNetlifyIdentity: 'Login with Netlify Identity',
|
||||
loginWithBitbucket: 'Login with Bitbucket',
|
||||
loginWithGitHub: 'Login with GitHub',
|
||||
loginWithGitLab: 'Login with GitLab',
|
||||
errors: {
|
||||
email: 'Make sure to enter your email.',
|
||||
password: 'Please enter your password.',
|
||||
authTitle: 'Error logging in',
|
||||
authBody: '%{details}',
|
||||
netlifyIdentityNotFound: 'Netlify Identity plugin not found',
|
||||
identitySettings:
|
||||
'Unable to access identity settings. When using git-gateway backend make sure to enable Identity service and Git Gateway.',
|
||||
},
|
||||
},
|
||||
app: {
|
||||
header: {
|
||||
content: 'Contents',
|
||||
media: 'Media',
|
||||
quickAdd: 'Quick add',
|
||||
},
|
||||
app: {
|
||||
errorHeader: 'Error loading the CMS configuration',
|
||||
configErrors: 'Config Errors',
|
||||
configNotFound: 'Config not found',
|
||||
checkConfigYml: 'Check your config.yml file.',
|
||||
loadingConfig: 'Loading configuration...',
|
||||
waitingBackend: 'Waiting for backend...',
|
||||
},
|
||||
notFoundPage: {
|
||||
header: 'Not Found',
|
||||
},
|
||||
},
|
||||
collection: {
|
||||
sidebar: {
|
||||
collections: 'Collections',
|
||||
allCollections: 'All Collections',
|
||||
searchAll: 'Search all',
|
||||
searchIn: 'Search in',
|
||||
},
|
||||
collectionTop: {
|
||||
sortBy: 'Sort by',
|
||||
viewAs: 'View as',
|
||||
newButton: 'New %{collectionLabel}',
|
||||
ascending: 'Ascending',
|
||||
descending: 'Descending',
|
||||
searchResults: 'Search Results for "%{searchTerm}"',
|
||||
searchResultsInCollection: 'Search Results for "%{searchTerm}" in %{collection}',
|
||||
filterBy: 'Filter by',
|
||||
groupBy: 'Group by',
|
||||
},
|
||||
entries: {
|
||||
loadingEntries: 'Loading Entries...',
|
||||
cachingEntries: 'Caching Entries...',
|
||||
longerLoading: 'This might take several minutes',
|
||||
noEntries: 'No Entries',
|
||||
},
|
||||
groups: {
|
||||
other: 'Other',
|
||||
negateLabel: 'Not %{label}',
|
||||
},
|
||||
defaultFields: {
|
||||
author: {
|
||||
label: 'Author',
|
||||
},
|
||||
updatedOn: {
|
||||
label: 'Updated On',
|
||||
},
|
||||
},
|
||||
notFound: 'Collection not found',
|
||||
},
|
||||
editor: {
|
||||
editorControl: {
|
||||
field: {
|
||||
optional: 'optional',
|
||||
},
|
||||
},
|
||||
editorControlPane: {
|
||||
widget: {
|
||||
required: '%{fieldLabel} is required.',
|
||||
regexPattern: "%{fieldLabel} didn't match the pattern: %{pattern}.",
|
||||
processing: '%{fieldLabel} is processing.',
|
||||
range: '%{fieldLabel} must be between %{minValue} and %{maxValue}.',
|
||||
min: '%{fieldLabel} must be at least %{minValue}.',
|
||||
max: '%{fieldLabel} must be %{maxValue} or less.',
|
||||
rangeCount: '%{fieldLabel} must have between %{minCount} and %{maxCount} item(s).',
|
||||
rangeCountExact: '%{fieldLabel} must have exactly %{count} item(s).',
|
||||
rangeMin: '%{fieldLabel} must be at least %{minCount} item(s).',
|
||||
rangeMax: '%{fieldLabel} must be %{maxCount} or less item(s).',
|
||||
invalidPath: `'%{path}' is not a valid path`,
|
||||
pathExists: `Path '%{path}' already exists`,
|
||||
},
|
||||
i18n: {
|
||||
writingInLocale: 'Writing in %{locale}',
|
||||
copyFromLocale: 'Fill in from another locale',
|
||||
copyFromLocaleConfirmTitle: 'Fill in data from locale',
|
||||
copyFromLocaleConfirmBody:
|
||||
'Do you want to fill in data from %{locale} locale?\nAll existing content will be overwritten.',
|
||||
},
|
||||
},
|
||||
editor: {
|
||||
onLeavePage: 'Are you sure you want to leave this page?',
|
||||
onUpdatingWithUnsavedChangesTitle: 'Unsaved changes',
|
||||
onUpdatingWithUnsavedChangesBody:
|
||||
'You have unsaved changes, please save before updating status.',
|
||||
onPublishingNotReadyTitle: 'Publishing unavailable',
|
||||
onPublishingNotReadyBody: 'Please update status to "Ready" before publishing.',
|
||||
onPublishingWithUnsavedChangesTitle: 'Unsaved changes',
|
||||
onPublishingWithUnsavedChangesBody:
|
||||
'You have unsaved changes, please save before publishing.',
|
||||
onPublishingTitle: 'Publish this entry?',
|
||||
onPublishingBody: 'Are you sure you want to publish this entry?',
|
||||
onDeleteWithUnsavedChangesTitle: 'Delete this published entry?',
|
||||
onDeleteWithUnsavedChangesBody:
|
||||
'Are you sure you want to delete this published entry, as well as your unsaved changes from the current session?',
|
||||
onDeletePublishedEntryTitle: 'Delete this published entry?',
|
||||
onDeletePublishedEntryBody: 'Are you sure you want to delete this published entry?',
|
||||
loadingEntry: 'Loading entry...',
|
||||
confirmLoadBackupTitle: 'Use local backup?',
|
||||
confirmLoadBackupBody:
|
||||
'A local backup was recovered for this entry, would you like to use it?',
|
||||
},
|
||||
editorInterface: {
|
||||
toggleI18n: 'Toggle i18n',
|
||||
togglePreview: 'Toggle preview',
|
||||
toggleScrollSync: 'Sync scrolling',
|
||||
},
|
||||
editorToolbar: {
|
||||
publishing: 'Publishing...',
|
||||
publish: 'Publish',
|
||||
published: 'Published',
|
||||
duplicate: 'Duplicate',
|
||||
publishAndCreateNew: 'Publish and create new',
|
||||
publishAndDuplicate: 'Publish and duplicate',
|
||||
deleteEntry: 'Delete entry',
|
||||
saving: 'Saving...',
|
||||
save: 'Save',
|
||||
statusInfoTooltipDraft:
|
||||
'Entry status is set to draft. To finalize and submit it for review, set the status to ‘In review’',
|
||||
statusInfoTooltipInReview:
|
||||
'Entry is being reviewed, no further actions are required. However, you can still make additional changes while it is being reviewed.',
|
||||
deleting: 'Deleting...',
|
||||
updating: 'Updating...',
|
||||
status: 'Status: %{status}',
|
||||
backCollection: ' Writing in %{collectionLabel} collection',
|
||||
unsavedChanges: 'Unsaved Changes',
|
||||
changesSaved: 'Changes saved',
|
||||
draft: 'Draft',
|
||||
inReview: 'In review',
|
||||
ready: 'Ready',
|
||||
publishNow: 'Publish now',
|
||||
},
|
||||
editorWidgets: {
|
||||
markdown: {
|
||||
bold: 'Bold',
|
||||
italic: 'Italic',
|
||||
code: 'Code',
|
||||
link: 'Link',
|
||||
linkPrompt: 'Enter the URL of the link',
|
||||
headings: 'Headings',
|
||||
quote: 'Quote',
|
||||
bulletedList: 'Bulleted List',
|
||||
numberedList: 'Numbered List',
|
||||
addComponent: 'Add Component',
|
||||
richText: 'Rich Text',
|
||||
markdown: 'Markdown',
|
||||
},
|
||||
image: {
|
||||
choose: 'Choose an image',
|
||||
chooseMultiple: 'Choose images',
|
||||
chooseUrl: 'Insert from URL',
|
||||
replaceUrl: 'Replace with URL',
|
||||
promptUrl: 'Enter the URL of the image',
|
||||
chooseDifferent: 'Choose different image',
|
||||
addMore: 'Add more images',
|
||||
remove: 'Remove image',
|
||||
removeAll: 'Remove all images',
|
||||
},
|
||||
file: {
|
||||
choose: 'Choose a file',
|
||||
chooseUrl: 'Insert from URL',
|
||||
chooseMultiple: 'Choose files',
|
||||
replaceUrl: 'Replace with URL',
|
||||
promptUrl: 'Enter the URL of the file',
|
||||
chooseDifferent: 'Choose different file',
|
||||
addMore: 'Add more files',
|
||||
remove: 'Remove file',
|
||||
removeAll: 'Remove all files',
|
||||
},
|
||||
unknownControl: {
|
||||
noControl: "No control for widget '%{widget}'.",
|
||||
},
|
||||
unknownPreview: {
|
||||
noPreview: "No preview for widget '%{widget}'.",
|
||||
},
|
||||
headingOptions: {
|
||||
headingOne: 'Heading 1',
|
||||
headingTwo: 'Heading 2',
|
||||
headingThree: 'Heading 3',
|
||||
headingFour: 'Heading 4',
|
||||
headingFive: 'Heading 5',
|
||||
headingSix: 'Heading 6',
|
||||
},
|
||||
datetime: {
|
||||
now: 'Now',
|
||||
invalidDateTitle: 'Invalid date',
|
||||
invalidDateBody: 'The date you entered is invalid.',
|
||||
},
|
||||
list: {
|
||||
add: 'Add %{item}',
|
||||
addType: 'Add %{item}',
|
||||
},
|
||||
},
|
||||
},
|
||||
mediaLibrary: {
|
||||
mediaLibraryCard: {
|
||||
draft: 'Draft',
|
||||
copy: 'Copy',
|
||||
copyUrl: 'Copy URL',
|
||||
copyPath: 'Copy Path',
|
||||
copyName: 'Copy Name',
|
||||
copied: 'Copied',
|
||||
},
|
||||
mediaLibrary: {
|
||||
onDeleteTitle: 'Delete selected media?',
|
||||
onDeleteBody: 'Are you sure you want to delete selected media?',
|
||||
fileTooLargeTitle: 'File too large',
|
||||
fileTooLargeBody: 'File too large.\nConfigured to not allow files greater than %{size} kB.',
|
||||
alreadyExistsTitle: 'File already exists',
|
||||
alreadyExistsBody: `%{filename} already exists. Do you want to replace it?`,
|
||||
},
|
||||
mediaLibraryModal: {
|
||||
loading: 'Loading...',
|
||||
noResults: 'No results.',
|
||||
noAssetsFound: 'No assets found.',
|
||||
noImagesFound: 'No images found.',
|
||||
images: 'Images',
|
||||
mediaAssets: 'Media assets',
|
||||
search: 'Search...',
|
||||
uploading: 'Uploading...',
|
||||
upload: 'Upload',
|
||||
download: 'Download',
|
||||
deleting: 'Deleting...',
|
||||
deleteSelected: 'Delete selected',
|
||||
chooseSelected: 'Choose selected',
|
||||
},
|
||||
},
|
||||
ui: {
|
||||
common: {
|
||||
yes: 'Yes',
|
||||
no: 'No',
|
||||
okay: 'OK',
|
||||
},
|
||||
default: {
|
||||
goBackToSite: 'Go back to site',
|
||||
},
|
||||
errorBoundary: {
|
||||
title: 'Error',
|
||||
details: "There's been an error - please ",
|
||||
reportIt: 'open an issue on GitHub.',
|
||||
detailsHeading: 'Details',
|
||||
privacyWarning:
|
||||
'Opening an issue pre-populates it with the error message and debugging data.\nPlease verify the information is correct and remove sensitive data if exists.',
|
||||
recoveredEntry: {
|
||||
heading: 'Recovered document',
|
||||
warning: 'Please copy/paste this somewhere before navigating away!',
|
||||
copyButtonLabel: 'Copy to clipboard',
|
||||
},
|
||||
},
|
||||
settingsDropdown: {
|
||||
logOut: 'Log Out',
|
||||
},
|
||||
toast: {
|
||||
onFailToLoadEntries: 'Failed to load entry: %{details}',
|
||||
onFailToPersist: 'Failed to persist entry: %{details}',
|
||||
onFailToPersistMedia: 'Failed to persist media: %{details}',
|
||||
onFailToDelete: 'Failed to delete entry: %{details}',
|
||||
onFailToDeleteMedia: 'Failed to delete media: %{details}',
|
||||
onFailToUpdateStatus: 'Failed to update status: %{details}',
|
||||
missingRequiredField: "Oops, you've missed a required field. Please complete before saving.",
|
||||
entrySaved: 'Entry saved',
|
||||
entryPublished: 'Entry published',
|
||||
onFailToPublishEntry: 'Failed to publish: %{details}',
|
||||
entryUpdated: 'Entry status updated',
|
||||
onFailToAuth: '%{details}',
|
||||
onLoggedOut: 'You have been logged out, please back up any data and login again',
|
||||
onBackendDown:
|
||||
'The backend service is experiencing an outage. See %{details} for more information',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default en;
|
Reference in New Issue
Block a user