fix: multiple file upload, locales, tests (#779)

This commit is contained in:
Denys Konovalov 2023-05-07 02:59:01 +02:00 committed by GitHub
parent c30e726fb1
commit a254e504c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
32 changed files with 46 additions and 687 deletions

View File

@ -232,26 +232,27 @@ const MediaLibrary: FC<TranslatedProps<MediaLibraryProps>> = ({
event.stopPropagation();
event.preventDefault();
const files = [...Array.from(fileList)];
const file = files[0];
const maxFileSize =
typeof mediaConfig.max_file_size === 'number' ? mediaConfig.max_file_size : 512000;
if (maxFileSize && file.size > maxFileSize) {
alert({
title: 'mediaLibrary.mediaLibrary.fileTooLargeTitle',
body: {
key: 'mediaLibrary.mediaLibrary.fileTooLargeBody',
options: {
size: Math.floor(maxFileSize / 1000),
for (const file of files) {
if (maxFileSize && file.size > maxFileSize) {
alert({
title: 'mediaLibrary.mediaLibrary.fileTooLargeTitle',
body: {
key: 'mediaLibrary.mediaLibrary.fileTooLargeBody',
options: {
size: Math.floor(maxFileSize / 1000),
},
},
},
});
} else {
await dispatch(persistMedia(file, { field }, currentFolder));
});
} else {
await dispatch(persistMedia(file, { field }, currentFolder));
setSelectedFile(files[0] as unknown as MediaFile);
setSelectedFile(files[0] as unknown as MediaFile);
scrollToTop();
scrollToTop();
}
}
if (!('dataTransfer' in event)) {

View File

@ -97,13 +97,6 @@ const bg: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Наистина ли искате да напуснете тази страница?',
onUpdatingWithUnsavedChangesBody:
'Имате незапазени промени, моля, запазете преди актуализиране на състоянието.',
onPublishingNotReadyBody:
'Моля, актуализирайте състоянието на „Готово“, преди да публикувате',
onPublishingWithUnsavedChangesBody:
'Имате незапазени промени, моля, запазете преди публикуване.',
onPublishingBody: 'Наистина ли искате да публикувате този запис?',
onDeleteWithUnsavedChangesBody:
'Наистина ли искате да изтриете този публикуван запис, както и незаписаните промени от текущата сесия?',
onDeletePublishedEntryBody: 'Наистина ли искате да изтриете този публикуван запис?',
@ -115,28 +108,13 @@ const bg: LocalePhrasesRoot = {
toggleScrollSync: 'Синхронизирай превъртане',
},
editorToolbar: {
publishing: 'Публикуване...',
publish: 'Публикувай',
published: 'Публикуван',
duplicate: 'Дублирай',
publishAndCreateNew: 'Публикувай и създай нов',
publishAndDuplicate: 'Публикувай и дублирай',
deleteEntry: 'Изтрий запис',
saving: 'Запазване...',
save: 'Запази',
deleting: 'Изтриване...',
updating: 'Актуализиране...',
status: 'Cъстояние: %{status}',
backCollection: 'Записване в %{collectionLabel} колекция',
unsavedChanges: 'Незапазени Промени',
changesSaved: 'Запазени промени',
draft: 'Чернова',
inReview: 'В ревю',
ready: 'Готово',
publishNow: 'Публикувай сега',
deployPreviewPendingButtonLabel: 'Проверете визуализацията',
deployPreviewButtonLabel: 'Визуализация',
deployButtonLabel: 'Изглед',
},
editorWidgets: {
markdown: {

View File

@ -97,12 +97,6 @@ const ca: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Estàs segur que vols deixar aquesta pàgina?',
onUpdatingWithUnsavedChangesBody:
"Tens canvis no guardats, si us plau, guarda'ls abans d'actualitzar l'estat.",
onPublishingNotReadyBody: 'Si us plau, actualitza l\'estat a "Llest" abans de publicar.',
onPublishingWithUnsavedChangesBody:
"Tens canvis no guardats, si us plau, guarda'ls abans de publicar-los.",
onPublishingBody: 'Estàs segur que vols publicar aquesta entrada?',
onDeleteWithUnsavedChangesBody:
'Està segur que vol eliminar aquesta entrada publicada, així com els canvis no guardats de la sessió actual?',
onDeletePublishedEntryBody: 'Està segur que vol eliminar aquesta entrada publicada?',
@ -113,28 +107,13 @@ const ca: LocalePhrasesRoot = {
togglePreview: 'Mostrar/Amagar previsualització',
},
editorToolbar: {
publishing: 'Publicant...',
publish: 'Publicar',
published: 'Publicat',
duplicate: 'Duplicar',
publishAndCreateNew: 'Publicar i crear de nou',
publishAndDuplicate: 'Publica i duplica',
deleteEntry: 'Eliminar entrada',
saving: 'Guardant...',
save: 'Guardar',
deleting: 'Eliminant...',
updating: 'Actualizant...',
status: 'Estat: %{status}',
backCollection: 'Escrivint a la colecció %{collectionLabel}',
unsavedChanges: 'Canvis no guardats',
changesSaved: 'Canvis guardats',
draft: 'Esborrany',
inReview: 'En revisió',
ready: 'Llest',
publishNow: 'Publicar ara',
deployPreviewPendingButtonLabel: 'Comprovar Vista Prèvia',
deployPreviewButtonLabel: 'Veure Vista Prèvia',
deployButtonLabel: 'Veure publicació',
},
editorWidgets: {
markdown: {

View File

@ -98,12 +98,6 @@ const cs: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Chcete opravdu opustit tuto stránku?',
onUpdatingWithUnsavedChangesBody:
'Máte neuložené změny. Uložte je prosím před změnou statusu.',
onPublishingNotReadyBody: 'Změňte stav na „Připraveno“ před publikováním.',
onPublishingWithUnsavedChangesBody:
'Máte neuložené změny, prosím uložte je před publikováním.',
onPublishingBody: 'Chcete opravdu publikovat tento záznam?',
onDeleteWithUnsavedChangesBody:
'Chcete opravdu vymazat tento publikovaný záznam a všechny neuložené změny z této relace?',
onDeletePublishedEntryBody: 'Chcete opravdu smazat tento publikovaný záznam?',
@ -115,28 +109,13 @@ const cs: LocalePhrasesRoot = {
toggleScrollSync: 'Sladit skrolování',
},
editorToolbar: {
publishing: 'Publikování…',
publish: 'Publikovat',
published: 'Publikovaný',
duplicate: 'Duplikovat',
publishAndCreateNew: 'Publikovat a vytvořit nový',
publishAndDuplicate: 'Publikovat a duplikovat',
deleteEntry: 'Vymazat záznam',
saving: 'Ukládání…',
save: 'Uložit',
deleting: 'Vymazávání…',
updating: 'Aktualizace…',
status: 'Status: %{status}',
backCollection: ' Píšete v kolekci %{collectionLabel}',
unsavedChanges: 'Neuložené změny',
changesSaved: 'Změny uloženy',
draft: 'Koncept',
inReview: 'V revizi',
ready: 'Připraveno',
publishNow: 'Publikovat teď',
deployPreviewPendingButtonLabel: 'Zkontrolovat náhled',
deployPreviewButtonLabel: 'Zobrazit náhled',
deployButtonLabel: 'Zobrazit na webu',
},
editorWidgets: {
markdown: {

View File

@ -97,11 +97,6 @@ const da: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Er du sikker på at du vil forlade siden?',
onUpdatingWithUnsavedChangesBody:
'Du har ændringer der ikke er gemt, gem disse før status ændres.',
onPublishingNotReadyBody: 'Skift status til "Klar" inden publicering.',
onPublishingWithUnsavedChangesBody: 'Du har ændringer der ikke er gemt, gem inden publicing.',
onPublishingBody: 'Er du sikker på at du vil publicere dette dokument?',
onDeleteWithUnsavedChangesBody:
'Er du sikker på at du vil slette dette tidliere publiceret dokument, samt dine nuværende ugemte ændringer fra denne session?',
onDeletePublishedEntryBody:
@ -109,28 +104,13 @@ const da: LocalePhrasesRoot = {
loadingEntry: 'Indlæser dokument...',
},
editorToolbar: {
publishing: 'Publicerer...',
publish: 'Publicer',
published: 'Publiceret',
duplicate: 'Kopier',
publishAndCreateNew: 'Publicer og opret ny',
publishAndDuplicate: 'Publicer og kopier',
deleteEntry: 'Slet dokument',
saving: 'Gemmer...',
save: 'Gem',
deleting: 'Sletter...',
updating: 'Updaterer...',
status: 'Status: %{status}',
backCollection: ' Skriver til %{collectionLabel} samlingen',
unsavedChanges: 'Ugemte ændringer',
changesSaved: 'Ændringer gemt',
draft: 'Kladder',
inReview: 'Til gennemsyn',
ready: 'Klar',
publishNow: 'Publicer nu',
deployPreviewPendingButtonLabel: 'Lav preview',
deployPreviewButtonLabel: 'Vis preview',
deployButtonLabel: 'Vis live',
},
editorWidgets: {
markdown: {

View File

@ -12,6 +12,8 @@ const de: LocalePhrasesRoot = {
errors: {
email: 'Stellen Sie sicher, Ihre E-Mail-Adresse einzugeben.',
password: 'Bitte geben Sie Ihr Passwort ein.',
authBody: 'Fehler beim Anmelden',
netlifyIdentityNotFound: 'Das Netlify Identity Plugin wurde nicht gefunden',
identitySettings:
'Identity-Einstellungen konnten nicht abgerufen werden. Stellen Sie bei der Verwendung des Git-Gateway Backends sicher, den Identity Service und das Git Gateway zu aktivieren.',
},
@ -19,11 +21,13 @@ const de: LocalePhrasesRoot = {
app: {
header: {
content: 'Inhalt',
media: 'Medien',
quickAdd: 'Schnellerstellung',
},
app: {
errorHeader: 'Fehler beim Laden der CMS-Konfiguration.',
configErrors: 'Konfigurationsfehler',
configNotFound: 'KOnfiguration nicht gefunden',
checkConfigYml: 'Überprüfen Sie die config.yml Konfigurationsdatei.',
loadingConfig: 'Konfiguration laden...',
waitingBackend: 'Auf Server warten...',
@ -51,7 +55,7 @@ const de: LocalePhrasesRoot = {
groupBy: 'Gruppieren nach',
},
entries: {
loadingEntries: 'Beiträge werden geladen....',
loadingEntries: 'Beiträge werden geladen...',
cachingEntries: 'Beiträge werden zwischengespeichert...',
longerLoading: 'Diese Aktion kann einige Minuten in Anspruch nehmen',
noEntries: 'Keine Beiträge',
@ -89,6 +93,8 @@ const de: LocalePhrasesRoot = {
rangeMax: '%{fieldLabel} darf maximal %{maxCount} Element(e) enthalten.',
invalidPath: `'%{path}' ist kein gültiger Pfad`,
pathExists: `Pfad '%{path}' existiert bereits`,
invalidColor: `Farbe '%{color}' is ungültig`,
invalidHexCode: `Hex Codes müssen mit einem #-Zeichen anfangen`,
},
i18n: {
writingInLocale: 'Aktuelle Sprache: %{locale}',
@ -96,13 +102,6 @@ const de: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Möchten Sie diese Seite wirklich verlassen?',
onUpdatingWithUnsavedChangesBody:
'Es sind noch ungespeicherte Änderungen vorhanden. Bitte speichern Sie diese, bevor Sie den Status aktualisieren.',
onPublishingNotReadyBody:
'Bitte setzten die den Status vor dem Veröffentlichen auf "Abgeschlossen".',
onPublishingWithUnsavedChangesBody:
'Es sind noch ungespeicherte Änderungen vorhanden. Bitte speicheren Sie vor dem Veröffentlichen.',
onPublishingBody: 'Soll dieser Beitrag wirklich veröffentlicht werden?',
onDeleteWithUnsavedChangesTitle: 'Veröffentlichten Beitrag löschen?',
onDeleteWithUnsavedChangesBody:
'Möchten Sie diesen veröffentlichten Beitrag, sowie Ihre nicht gespeicherten Änderungen löschen?',
@ -111,37 +110,23 @@ const de: LocalePhrasesRoot = {
loadingEntry: 'Beitrag laden...',
},
editorInterface: {
sideBySideI18n: 'Parallele Übersetzungen',
preview: 'Vorschau',
toggleI18n: 'Übersetzungen',
togglePreview: 'Vorschau',
toggleScrollSync: 'Synchron scrollen',
},
editorToolbar: {
publishing: 'Veröffentlichen...',
publish: 'Veröffentlichen',
published: 'Veröffentlicht',
duplicate: 'Duplizieren',
publishAndCreateNew: 'Veröffentlichen und neuen Beitrag erstellen',
publishAndDuplicate: 'Veröffentlichen und Beitrag duplizieren',
deleteEntry: 'Lösche Beitrag',
saving: 'Speichern...',
save: 'Speichern',
statusInfoTooltipDraft:
'Beitrag ist im Entwurfsstatus. Um ihn fertigzustellen und zur Überprüfung freizugeben, setzen Sie den Status auf Zur Überprüfung.',
statusInfoTooltipInReview:
'Beitrag wird überprüft, keine weitere Aktion erforderlich. Sie können weitere Änderungen vornehmen, während die Überprüfung läuft.',
deleting: 'Löschen...',
updating: 'Aktualisieren...',
status: 'Status: %{status}',
backCollection: 'Zurück zu allen %{collectionLabel}',
unsavedChanges: 'Ungespeicherte Änderungen',
changesSaved: 'Änderungen gespeichert',
draft: 'Entwurf',
inReview: 'Zur Überprüfung',
ready: 'Abgeschlossen',
publishNow: 'Jetzt veröffentlichen',
deployPreviewPendingButtonLabel: 'Überprüfen ob eine Vorschau vorhanden ist',
deployPreviewButtonLabel: 'Vorschau anzeigen',
deployButtonLabel: 'Live ansehen',
discardChanges: 'Änderungen verwerfen',
discardChangesTitle: 'Änderungen verwerfen',
discardChangesBody: 'Sicher, dass Sie ungespeicherte Änderungen verwerfen wollen?',
},
editorWidgets: {
markdown: {
@ -160,27 +145,36 @@ const de: LocalePhrasesRoot = {
},
image: {
choose: 'Bild wählen',
chooseMultiple: 'Bilder wählen',
chooseUrl: 'Von URL hinzufügen',
replaceUrl: 'Mit URL ersetzen',
promptUrl: 'Bild-URL eingeben',
chooseDifferent: 'Anderes Bild wählen',
addMore: 'Bilder hinzufügen',
remove: 'Bild entfernen',
removeAll: 'Alle Bilder entfernen',
},
file: {
choose: 'Datei wählen',
chooseUrl: 'Von URL hinzufügen',
chooseMultiple: 'Dateien wählen',
replaceUrl: 'Mit URL ersetzen',
promptUrl: 'Datei-URL eingeben',
chooseDifferent: 'Andere Datei wählen',
addMore: 'Dateien hinzufügen',
remove: 'Datei entfernen',
removeAll: 'Alle Dateien entfernen',
},
folder: {
choose: 'Ordner wählen',
chooseUrl: 'Ordner-Pfad eingeben',
chooseMultiple: 'Ordner wählen',
replaceUrl: 'Mit Pfad ersetzen',
promptUrl: 'Ordner-Pfad eingeben',
chooseDifferent: 'Anderen Ordner wählen',
addMore: 'Ordner hinzufügen',
remove: 'Ordner entfernen',
removeAll: 'Alle Ordner entfernen',
},
unknownControl: {
noControl: "Kein Bedienelement für Widget '%{widget}'.",
@ -198,6 +192,8 @@ const de: LocalePhrasesRoot = {
},
datetime: {
now: 'Jetzt',
invalitDateTitle: 'Ungültiges Datum',
invalidDateBody: 'Das eingegebene Datum ist ungültig.',
},
list: {
add: '%{item} hinzufügen',
@ -254,6 +250,9 @@ const de: LocalePhrasesRoot = {
default: {
goBackToSite: 'Zurück zur Seite',
},
localBackup: {
hasLocalBackup: 'Lokales Backup verfügbar',
},
errorBoundary: {
title: 'Fehler',
details: 'Ein Fehler ist aufgetreten - bitte ',
@ -268,13 +267,15 @@ const de: LocalePhrasesRoot = {
},
},
settingsDropdown: {
darkMode: 'Dunkler Modus',
logOut: 'Abmelden',
},
toast: {
onFailToLoadEntries: 'Beitrag konnte nicht geladen werden: %{details}',
onFailToLoadDeployPreview: 'Vorschau konnte nicht geladen werden: %{details}',
onFailToPersist: 'Beitrag speichern fehlgeschlagen: %{details}',
onFailToPersistMedia: 'Speichern des Meidums fehlgeschlagen: %{details}',
onFailToDelete: 'Beitrag löschen fehlgeschlagen: %{details}',
onFailToDeleteMedia: 'Löschen des Mediums fehlgeschlagen: %{details}',
onFailToUpdateStatus: 'Status aktualisieren fehlgeschlagen: %{details}',
missingRequiredField: 'Oops, einige zwingend erforderliche Felder sind nicht ausgefüllt.',
entrySaved: 'Beitrag gespeichert',

View File

@ -104,16 +104,6 @@ const en: LocalePhrasesRoot = {
},
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?',
@ -129,28 +119,12 @@ const en: LocalePhrasesRoot = {
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',
discardChanges: 'Discard changes',
discardChangesTitle: 'Discard changes',

View File

@ -82,43 +82,20 @@ const es: LocalePhrasesRoot = {
},
editor: {
onLeavePage: '¿Estás seguro de que quieres dejar esta página?',
onUpdatingWithUnsavedChangesBody:
'Tiene cambios no guardados, por favor, guárdelos antes de actualizar el estado.',
onPublishingNotReadyBody: 'Por favor, actualice el estado a "Ready" antes de publicar.',
onPublishingWithUnsavedChangesBody:
'Tiene cambios no guardados, por favor guárdelos antes de publicarlos.',
onPublishingBody: '¿Estás seguro de que quieres publicar esta entrada?',
onUnpublishing: '¿Estás seguro de que quieres retirar esta entrada?',
onDeleteWithUnsavedChangesBody:
'¿Está seguro de que desea eliminar esta entrada publicada, así como los cambios no guardados de la sesión actual?',
onDeletePublishedEntryBody: '¿Estás seguro de que quieres borrar esta entrada publicada?',
loadingEntry: 'Cargando entrada...',
},
editorToolbar: {
publishing: 'Publicando...',
publish: 'Publicar',
published: 'Publicado',
unpublish: 'Retirar',
duplicate: 'Duplicar',
unpublishing: 'Retirando...',
publishAndCreateNew: 'Publicar y crear nuevo',
publishAndDuplicate: 'Publicar y duplicar',
deleteEntry: 'Eliminar entrada',
saving: 'Guardando...',
save: 'Guardar',
deleting: 'Eliminando...',
updating: 'Actualizando...',
status: 'Estado: %{status}',
backCollection: ' Escribiendo en la colección %{collectionLabel}',
unsavedChanges: 'Cambios no guardados',
changesSaved: 'Cambios guardados',
draft: 'Borrador',
inReview: 'En revisión',
ready: 'Listo',
publishNow: 'Publicar ahora',
deployPreviewPendingButtonLabel: 'Comprobar Vista Previa',
deployPreviewButtonLabel: 'Ver Vista Previa',
deployButtonLabel: 'Ver publicación',
},
editorWidgets: {
markdown: {

View File

@ -98,13 +98,6 @@ const fr: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Voulez-vous vraiment quitter cette page ?',
onUpdatingWithUnsavedChangesBody:
'Veuillez enregistrer vos modifications avant de mettre à jour le statut.',
onPublishingNotReadyBody: 'Veuillez mettre à jour le statut à "Prêt" avant de publier.',
onPublishingWithUnsavedChangesBody:
'Veuillez enregistrer vos modifications avant de publier.',
onPublishingBody: 'Voulez-vous vraiment publier cette entrée ?',
onUnpublishing: 'Voulez-vous vraiment dépublier cette entrée ?',
onDeleteWithUnsavedChangesBody:
'Voulez-vous vraiment supprimer cette entrée publiée ainsi que vos modifications non enregistrées de cette session ?',
onDeletePublishedEntryBody: 'Voulez-vous vraiment supprimer cette entrée publiée ?',
@ -116,30 +109,14 @@ const fr: LocalePhrasesRoot = {
toggleScrollSync: 'Défilement synchronisé',
},
editorToolbar: {
publishing: 'Publication...',
publish: 'Publier',
published: 'Publiée',
unpublish: 'Dépublier',
duplicate: 'Dupliquer',
unpublishing: 'Dépublication...',
publishAndCreateNew: 'Publier et créer une nouvelle entrée',
publishAndDuplicate: 'Publier et dupliquer',
deleteEntry: "Supprimer l'entrée",
saving: 'Enregistrement...',
save: 'Enregistrer',
deleting: 'Suppression...',
updating: 'Mise à jour...',
status: 'Statut: %{status}',
backCollection: ' Écriture dans la collection %{collectionLabel}',
unsavedChanges: 'Modifications non enregistrées',
changesSaved: 'Modifications enregistrées',
draft: 'Brouillon',
inReview: 'En cours de révision',
ready: 'Prêt',
publishNow: 'Publier maintenant',
deployPreviewPendingButtonLabel: "Vérifier l'aperçu",
deployPreviewButtonLabel: "Voir l'aperçu",
deployButtonLabel: 'Voir en direct',
},
editorWidgets: {
markdown: {

View File

@ -66,14 +66,6 @@ const gr: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Είστε βέβαιοι ότι θέλετε να αφήσετε αυτήν τη σελίδα;',
onUpdatingWithUnsavedChangesBody:
'Έχετε μη αποθηκευμένες αλλαγές, αποθηκεύστε πριν να ενημερώσετε την κατάσταση.',
onPublishingNotReadyBody: 'Ενημερώστε την κατάσταση σε "έτοιμο" πριν από τη δημοσίευση.',
onPublishingWithUnsavedChangesBody:
'Έχετε μη αποθηκευμένες αλλαγές, αποθηκεύστε πριν από τη δημοσίευση.',
onPublishingBody: 'Είστε βέβαιοι ότι θέλετε να δημοσιεύσετε αυτήν την καταχώρηση;',
onUnpublishing:
'Είστε βέβαιοι ότι θέλετε να καταργήσετε τη δημοσίευση αυτής της καταχώρησης;',
onDeleteWithUnsavedChangesBody:
'Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν τη δημοσιευμένη καταχώρηση, καθώς και τις αλλαγές που δεν αποθηκεύσατε από την τρέχουσα περίοδο λειτουργίας;',
onDeletePublishedEntryBody:
@ -81,30 +73,14 @@ const gr: LocalePhrasesRoot = {
loadingEntry: 'Φόρτωση εισόδου...',
},
editorToolbar: {
publishing: 'Δημοσίευση...',
publish: 'Δημοσίευση',
published: 'Δημοσιεύθηκε',
unpublish: 'Κατάργηση δημοσίευσης',
duplicate: 'Διπλότυπο',
unpublishing: 'Κατάργηση δημοσίευσης...',
publishAndCreateNew: 'Δημοσίευση και δημιουργία νέων',
publishAndDuplicate: 'Δημοσίευση και αντίγραφο',
deleteEntry: 'Διαγραφή καταχώρησης',
saving: 'Εξοικονόμηση...',
save: 'Αποθήκευση',
deleting: 'Διαγραφή...',
updating: 'Ενημέρωση...',
status: 'Κατάστασης: %{status}',
backCollection: ' Εγγραφή στη συλλογή %{collectionLabel}',
unsavedChanges: 'Μη αποθηκευμένες αλλαγές',
changesSaved: 'Αλλαγές που αποθηκεύτηκαν',
draft: 'Σχέδιο',
inReview: 'Σε επανεξέταση',
ready: 'Έτοιμα',
publishNow: 'Δημοσίευση τώρα',
deployPreviewPendingButtonLabel: 'Έλεγχος για προεπισκόπηση',
deployPreviewButtonLabel: 'Προβολή προεπισκόπησης',
deployButtonLabel: 'Προβολή Live',
},
editorWidgets: {
image: {

View File

@ -97,12 +97,6 @@ const he: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'האם ברצונך לעבור לעמוד אחר ללא שמירה?',
onUpdatingWithUnsavedChangesBody:
'בוצעו שינויים שלא נשמרו. יש לבצע שמירה לפני עדכון מצב האייטם.',
onPublishingNotReadyBody: 'נא לשנות את מצב האייטם ל״מוכן לפרסום״ לפני הפרסום.',
onPublishingWithUnsavedChangesBody: 'בוצעו שינויים שלא נשמרו. יש לבצע שמירה לפני הפרסום.',
onPublishingBody: 'האם ברצונך לפרסם את האייטם?',
onUnpublishing: 'האם ברצונך לבטל את פרסום האייטם?',
onDeleteWithUnsavedChangesBody:
'האם ברצונך למחוק את האייטם הזה לפני פרסומו, וכן את השינויים שבוצעו כעת וטרם נשמרו?',
onDeletePublishedEntryBody: 'האם ברצונך למחוק את האייטם הזה לאחר פרסומו?',
@ -114,34 +108,14 @@ const he: LocalePhrasesRoot = {
toggleScrollSync: 'סנכרון הגלילה',
},
editorToolbar: {
publishing: 'פרסום...',
publish: 'פרסום',
published: 'פורסם',
unpublish: 'ביטול הפרסום',
duplicate: 'שכפול',
unpublishing: 'ביטול הפרסום...',
publishAndCreateNew: 'פרסום ויצירת אייטם חדש',
publishAndDuplicate: 'פרסום ושכפול',
deleteEntry: 'מחיקת האייטם',
saving: 'שמירה...',
save: 'שמירה',
statusInfoTooltipDraft:
'האייטם מוגדר כטיוטה. כדי להשלים את הפעולה ולהעביר אותו למצב ״ממתין לאישור״ יש להעביר אותו למצב ״ממתין לאישור״',
statusInfoTooltipInReview:
'האייטם ממתין לאישור - לא נדרשת פעולה נוספת. ניתן עדיין לבצע שינויים בעת שהאייטם ממתין לאישור.',
deleting: 'מחיקה...',
updating: 'עדכון...',
status: 'מצב: %{status}',
backCollection: 'כתיבה בקטגוריית %{collectionLabel}',
unsavedChanges: 'שינויים לא שמורים',
changesSaved: 'השינויים נשמרו',
draft: 'טיוטה',
inReview: 'ממתין לאישור',
ready: 'מוכן לפרסום',
publishNow: 'פרסום מיידי',
deployPreviewPendingButtonLabel: 'בדיקת תצוגה מקדימה',
deployPreviewButtonLabel: 'צפייה בתצוגה מקדימה',
deployButtonLabel: 'צפייה באתר',
},
editorWidgets: {
markdown: {

View File

@ -97,25 +97,16 @@ const hr: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Jeste li sigurni da želite napustiti stranicu?',
onUpdatingWithUnsavedChangesBody:
'Imate nespremljene promjene, molimo spremite prije ažuriranja statusa.',
onPublishingNotReadyBody: 'Molimo ažurirajte status na "Spremno" prije objavljivanja.',
onPublishingWithUnsavedChangesBody:
'Imate nespremljene promjene, molimo spremite prije objavljivanja.',
onPublishingBody: 'Jeste li sigurni da želite objaviti ovaj unos?',
onUnpublishing: 'Jeste li sigurni da želite maknuti objavu za ovaj unos?',
onDeleteWithUnsavedChangesBody:
'Jeste li sigurni da želite obrisati objavljeni unos, te nespremljene promjene u trenutnoj sesiji?',
onDeletePublishedEntryBody: 'Jeste li sigurni da želite obrisati ovaj objavljeni unos?',
loadingEntry: 'Učitavanje unosa...',
},
editorToolbar: {
publishing: 'Objavljivanje...',
publish: 'Objavi',
published: 'Objavljeno',
unpublish: 'Obriši iz objava',
duplicate: 'Dupliciraj',
unpublishing: 'Brisanje iz objava...',
publishAndCreateNew: 'Objavi i kreiraj novo',
publishAndDuplicate: 'Objavi i dupliciraj',
deleteEntry: 'Obriši unos',
@ -131,9 +122,6 @@ const hr: LocalePhrasesRoot = {
inReview: 'Osvrt',
ready: 'Spremno',
publishNow: 'Objavi sad',
deployPreviewPendingButtonLabel: 'Provjeri za osvrt',
deployPreviewButtonLabel: 'Pogledaj osvrt',
deployButtonLabel: 'Pogledaj na produkciji',
},
editorWidgets: {
markdown: {

View File

@ -51,25 +51,16 @@ const hu: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Biztos hogy el akarod hagyni az oldalt?',
onUpdatingWithUnsavedChangesBody:
'Mentettlen változtatások vannak, kérjük, mentse az állapot frissítése előtt.',
onPublishingNotReadyBody: 'Változtasd az állapotot "Kész"-re publikálás előtt.',
onPublishingWithUnsavedChangesBody:
'Mentetlen változtatások vannak, kérjük, mentsen a publikálás előtt.',
onPublishingBody: 'Publikálod ezt a bejegyzést?',
onUnpublishing: 'Publikálás visszavonása erre a bejegyzésre?',
onDeleteWithUnsavedChangesBody:
'Töröljük ezt a publikált bejegyzést, a többi mentetlen modositással együtt?',
onDeletePublishedEntryBody: 'Töröljük ezt a publikált bejegyzést?',
loadingEntry: 'Bejegyzés betöltése...',
},
editorToolbar: {
publishing: 'Publikálás...',
publish: 'Publikáció',
published: 'Publikálás',
unpublish: 'Publikálás visszavonása',
duplicate: 'Duplikált',
unpublishing: 'Publikálás visszavonása...',
publishAndCreateNew: 'Publikálás és új létrehozása',
publishAndDuplicate: 'Publikálás és duplikál',
deleteEntry: 'Bejegyzés törlése',
@ -85,9 +76,6 @@ const hu: LocalePhrasesRoot = {
inReview: 'Felülvizsgálat alatt',
ready: 'Kész',
publishNow: 'Publikálás most',
deployPreviewPendingButtonLabel: 'Előnézet ellenörzése',
deployPreviewButtonLabel: 'Előnézet megtekintése',
deployButtonLabel: 'Élő megtekintése',
},
editorWidgets: {
image: {

View File

@ -66,43 +66,20 @@ const it: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Sei sicuro di voler lasciare questa pagina?',
onUpdatingWithUnsavedChangesBody:
'Hai delle modifiche non salvate, salvale prima di aggiornare lo status.',
onPublishingNotReadyBody: 'Aggiorna lo status a "Pronto" prima di pubblicare.',
onPublishingWithUnsavedChangesBody:
'Hai delle modifiche non salvate, salvale prima di pubblicare.',
onPublishingBody: 'Sei sicuro di voler pubblicare questa voce?',
onUnpublishing: 'Sei sicuro di voler nascondere questa voce?',
onDeleteWithUnsavedChangesBody:
'Sei sicuro di voler cancellare questa voce pubblicata e tutte le modifiche non salvate della tua sessione corrente?',
onDeletePublishedEntryBody: 'Sei sicuro di voler cancellare questa voce pubblicata?',
loadingEntry: 'Caricando la voce...',
},
editorToolbar: {
publishing: 'Pubblicando...',
publish: 'Pubblica',
published: 'Pubblicato',
unpublish: 'Rimuovi dalla pubblicazione',
duplicate: 'Duplica',
unpublishing: 'Rimuovendo dalla pubblicazione...',
publishAndCreateNew: 'Pubblica e creane uno nuovo',
publishAndDuplicate: 'Pubblica e duplica',
deleteEntry: 'Cancella voce',
saving: 'Salvando...',
save: 'Salva',
deleting: 'Cancellando...',
updating: 'Aggiornando...',
status: 'Status: %{status}',
backCollection: ' Scrivendo nella sezione %{collectionLabel}',
unsavedChanges: 'Modifiche non salvate',
changesSaved: 'Modifiche salvate',
draft: 'Bozza',
inReview: 'In revisione',
ready: 'Pronto',
publishNow: 'Pubblica ora',
deployPreviewPendingButtonLabel: "Controlla l'anteprima",
deployPreviewButtonLabel: "Guarda l'anteprima",
deployButtonLabel: 'Guarda Live',
},
editorWidgets: {
image: {

View File

@ -97,12 +97,6 @@ const ja: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'このページから遷移しますか?',
onUpdatingWithUnsavedChangesBody:
'変更した項目があります。ステータスを更新する前に保存してください。',
onPublishingNotReadyBody: '公開する前に、ステータスを「準備完了」に更新してください。',
onPublishingWithUnsavedChangesBody: '変更した項目があります。公開する前に保存してください。',
onPublishingBody: 'このエントリを公開しますか?',
onUnpublishing: 'このエントリを未公開にしますか?',
onDeleteWithUnsavedChangesBody:
'保存されていない変更も削除されますが、この公開エントリを削除しますか?',
onDeletePublishedEntryBody: 'この公開エントリを削除しますか?',
@ -114,34 +108,14 @@ const ja: LocalePhrasesRoot = {
toggleScrollSync: 'スクロール同期を切り替える',
},
editorToolbar: {
publishing: '公開しています...',
publish: '公開',
published: '公開済',
unpublish: '未公開',
duplicate: '複製',
unpublishing: '未公開にしています...',
publishAndCreateNew: '公開して新規作成',
publishAndDuplicate: '公開して複製する',
deleteEntry: 'エントリを削除',
saving: '保存中...',
save: '保存',
statusInfoTooltipDraft:
'エントリのステータスは下書きに設定されています。最終決定してレビューに提出するには、ステータスを「レビュー中」に設定します。',
statusInfoTooltipInReview:
'エントリはレビュー中なので、それ以上のアクションは必要ありません。ただし、レビュー中でも追加の変更を行うことができます。',
deleting: '削除しています...',
updating: '更新しています...',
status: 'ステータス: %{status}',
backCollection: '%{collectionLabel}のエントリを作成中',
unsavedChanges: '未保存',
changesSaved: '保存済',
draft: '下書き',
inReview: 'レビュー中',
ready: '準備完了',
publishNow: '公開する',
deployPreviewPendingButtonLabel: 'プレビューのチェック',
deployPreviewButtonLabel: 'プレビューを見る',
deployButtonLabel: 'ライブで見る',
},
editorWidgets: {
markdown: {

View File

@ -89,43 +89,20 @@ const ko: LocalePhrasesRoot = {
},
editor: {
onLeavePage: '이 페이지를 떠나시겠습니까?',
onUpdatingWithUnsavedChangesBody:
'저장하지 않은 변경사항이 있습니다. 상태 업데이트 전 먼저 저장하세요.',
onPublishingNotReadyBody: '게시 하기 앞서 상태를 "준비됨" 으로 업데이트 하세요.',
onPublishingWithUnsavedChangesBody:
'저장하지 않은 변경사항이 있습니다, 게시하기 전 먼저 저장하세요.',
onPublishingBody: '이 항목을 게시하시곘습니까?',
onUnpublishing: '이 항목을 게시 철회 하시겠습니까?',
onDeleteWithUnsavedChangesBody:
'현재 세션에서의 저장되지 않은 변경사항과 이 게시된 항목을 삭제하시겠습니까?',
onDeletePublishedEntryBody: '이 게시된 항목을 삭제하시겠습니까?',
loadingEntry: '항목 불러오는 중...',
},
editorToolbar: {
publishing: '게시 중...',
publish: '게시',
published: '게시됨',
unpublish: '게시 철회',
duplicate: '복제',
unpublishing: '게시 철회 중...',
publishAndCreateNew: '게시하고 새로 만들기',
publishAndDuplicate: '게시하고 복제',
deleteEntry: '항목 삭제',
saving: '저장 중...',
save: '저장',
deleting: '삭제 중...',
updating: '업데이트 중...',
status: '상태: %{status}',
backCollection: '%{collectionLabel} 컬랙션에 작성하는 중',
unsavedChanges: '변경사항 저장되지 않음',
changesSaved: '변경사항 저장됨',
draft: '초안',
inReview: '검토중',
ready: '준비됨',
publishNow: '지금 게시',
deployPreviewPendingButtonLabel: '미리보기 확인',
deployPreviewButtonLabel: '미리보기 보기',
deployButtonLabel: '라이브 보기',
},
editorWidgets: {
markdown: {

View File

@ -98,43 +98,20 @@ const lt: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Ar tikrai norite uždaryti šį puslapį?',
onUpdatingWithUnsavedChangesBody:
'Turite neišsaugotų pakeitimų! Prašome išsaugoti prieš pakeičiant statusą.',
onPublishingNotReadyBody: 'Prieš publikuojant, privalote pakeisti statusą į „Paruošta“.',
onPublishingWithUnsavedChangesBody:
'Yra neišsaugotų pakeitimų, prašome išsaugoti juos prieš publikuojant.',
onPublishingBody: 'Ae tikrai norite publikuoti šį įrašą?',
onUnpublishing: 'Tikrai norite panaikinti publikavimo statusą?',
onDeleteWithUnsavedChangesBody:
'Tikrai norite panaikinti publikuotą įrašą ir Jūsų pakeiitmus iš dabartinės sesijos?',
onDeletePublishedEntryBody: 'Tikrai norite ištrinti šį publikuotą įrašą?',
loadingEntry: 'Kraunamas įrašas...',
},
editorToolbar: {
publishing: 'Publikuojama...',
publish: 'Publikuoti',
published: 'Jau publikuota',
unpublish: 'Atšaukti paskelbimą',
duplicate: 'Daryti dublį',
unpublishing: 'Nebeskelbiama...',
publishAndCreateNew: 'Publikuoti šitą, po to kurti kažką naujo',
publishAndDuplicate: 'Publikuoti šitą, po to kurti šito dublį',
deleteEntry: 'Panaikinti įrašą',
saving: 'Išsaugojama...',
save: 'Išsaugoti',
deleting: 'Trinama...',
updating: 'Atnaujinama...',
status: 'Statusą: %{status}',
backCollection: ' Rašoma %{collectionLabel} kolekcijoje',
unsavedChanges: 'Neišsaugoti pakeitimai',
changesSaved: 'Pakeitimai išsauogti',
draft: 'Juodraštis',
inReview: 'Peržiūrima redakcijoje',
ready: 'Paruošta',
publishNow: 'Skelbti naują',
deployPreviewPendingButtonLabel: 'Tikrinti, ar yra demonstracija',
deployPreviewButtonLabel: 'Žiūrėti demonstraciją (netiesiogiai)',
deployButtonLabel: 'Žiūrėti tiesiogiai tinklalapyje',
},
editorWidgets: {
markdown: {

View File

@ -82,41 +82,20 @@ const nb_no: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Er du sikker på du vil navigere bort fra denne siden?',
onUpdatingWithUnsavedChangesBody: 'Du må lagre endringene dine før du oppdaterer status.',
onPublishingNotReadyBody: 'Du må endre status til "Klar" før du publiserer.',
onPublishingWithUnsavedChangesBody: 'Du må lagre endringene dine før du kan publisere.',
onPublishingBody: 'Er du sikker på at du vil publisere?',
onUnpublishing: 'Er du sikker på at du vil avpublisere innlegget?',
onDeleteWithUnsavedChangesBody:
'Er du sikker på at du vil slette et publisert innlegg med tilhørende ulagrede endringer?',
onDeletePublishedEntryBody: 'Er du sikker på at du vil slette dette publiserte innlegget?',
loadingEntry: 'Laster innlegg...',
},
editorToolbar: {
publishing: 'Publiserer...',
publish: 'Publiser',
published: 'Publisert',
unpublish: 'Avpubliser',
duplicate: 'Dupliser',
unpublishing: 'Avpubliserer...',
publishAndCreateNew: 'Publiser og lag nytt',
publishAndDuplicate: 'Publiser og dupliser',
deleteEntry: 'Slett innlegg',
saving: 'Lagrer...',
save: 'Lagre',
deleting: 'Sletter...',
updating: 'Oppdaterer...',
status: 'Status: %{status}',
backCollection: ' Skriver i samlingen %{collectionLabel}',
unsavedChanges: 'Ulagrede endringer',
changesSaved: 'Endringer lagret',
draft: 'Kladd',
inReview: 'Til godkjenning',
ready: 'Klar',
publishNow: 'Publiser nå',
deployPreviewPendingButtonLabel: 'Kontroller forhåndsvisning',
deployPreviewButtonLabel: 'Vis forhåndsvisning',
deployButtonLabel: 'Vis i produksjon',
},
editorWidgets: {
markdown: {

View File

@ -95,13 +95,6 @@ const nl: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Weet je zeker dat je deze pagina wilt verlaten?',
onUpdatingWithUnsavedChangesBody:
'Er zijn nog niet-opgeslagen wijzigingen. Bewaar ze voordat u de status bijwerkt.',
onPublishingNotReadyBody: 'Stel de status in op "Voltooid" voordat u publiceert.',
onPublishingWithUnsavedChangesBody:
'Er zijn nog niet-opgeslagen wijzigingen. Bewaar deze voordat u publiceert.',
onPublishingBody: 'Weet u zeker dat u dit item wil publiceren?',
onUnpublishing: 'Weet u zeker dat u de publicatie voor dit item ongedaan wilt maken?',
onDeleteWithUnsavedChangesBody:
'Weet u zeker dat u dit gepubliceerde item en uw niet-opgeslagen wijzigingen uit de huidige sessie wilt verwijderen?',
onDeletePublishedEntryBody: 'Weet u zeker dat u dit gepubliceerde item wilt verwijderen?',
@ -113,30 +106,13 @@ const nl: LocalePhrasesRoot = {
toggleScrollSync: 'Synchroniseer scrollen',
},
editorToolbar: {
publishing: 'Publiceren...',
publish: 'Publiceer',
published: 'Gepubliceerd',
unpublish: 'Publicatie terugtrekken',
duplicate: 'Dupliceren',
unpublishing: 'Publicatie ongedaan maken...',
publishAndCreateNew: 'Publiceer en maak nieuw item aan',
publishAndDuplicate: 'Publiceer en dupliceer item',
deleteEntry: 'Item verwijderen',
saving: 'Opslaan...',
save: 'Opslaan',
deleting: 'Verwijderen...',
updating: 'Bijwerken...',
status: 'Status: %{status}',
backCollection: ' Terug naar %{collectionLabel}',
unsavedChanges: 'Niet-opgeslagen wijzigingen',
changesSaved: 'Wijzigingen opgeslagen',
draft: 'Concept',
inReview: 'Wordt beoordeeld',
ready: 'Klaar',
publishNow: 'Publiceer nu',
deployPreviewPendingButtonLabel: 'Controleer of voorvertoning geladen is',
deployPreviewButtonLabel: 'Bekijk voorvertoning',
deployButtonLabel: 'Bekijk Live',
},
editorWidgets: {
markdown: {

View File

@ -82,41 +82,20 @@ const nn_no: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Er du sikker på at du vil navigere bort frå denne sida?',
onUpdatingWithUnsavedChangesBody: 'Du må lagra endringane dine før du endrar status',
onPublishingNotReadyBody: 'Du må endre status til "Klar" før du publiserer',
onPublishingWithUnsavedChangesBody: 'Du må laga endringane dine før du kan publisere.',
onPublishingBody: 'Er du sikker på at vil publisere?',
onUnpublishing: 'Er du sikker på at du vil avpublisere innlegget?',
onDeleteWithUnsavedChangesBody:
'Er du sikkert på at du vil slette eit publisert innlegg med tilhøyrande ulagra endringar?',
onDeletePublishedEntryBody: 'Er du sikker på at du vil slette dette publiserte innlegget?',
loadingEntry: 'Lastar innlegg...',
},
editorToolbar: {
publishing: 'Publiserer...',
publish: 'Publiser',
published: 'Publisert',
unpublish: 'Avpubliser',
duplicate: 'Dupliser',
unpublishing: 'Avpubliserer...',
publishAndCreateNew: 'Publiser og lag nytt',
publishAndDuplicate: 'Publiser og dupliser',
deleteEntry: 'Slettar innlegg',
saving: 'Lagrar...',
save: 'Lagre',
deleting: 'Slettar...',
updating: 'Oppdaterer...',
status: 'Status: %{status}',
backCollection: ' Skriv i samlinga %{collectionLabel}',
unsavedChanges: 'Ulagra endringar',
changesSaved: 'Endringar lagret',
draft: 'Kladd',
inReview: 'Til godkjenning',
ready: 'Klar',
publishNow: 'Publiser no',
deployPreviewPendingButtonLabel: 'Kontroller førehandsvisning',
deployPreviewButtonLabel: 'Sjå førehandsvisning',
deployButtonLabel: 'Sjå i produksjon',
},
editorWidgets: {
markdown: {

View File

@ -97,13 +97,6 @@ const pl: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Czy na pewno chcesz opuścić tę stronę?',
onUpdatingWithUnsavedChangesBody:
'Masz niezapisane zmiany, proszę zapisz je przed aktualizacją statusu.',
onPublishingNotReadyBody: 'Proszę zaktualizować status do "Gotowe" przed publikacją.',
onPublishingWithUnsavedChangesBody:
'Masz niezapisane zmiany, proszę zapisz je przed publikacją.',
onPublishingBody: 'Czy na pewno chcesz opublikować tę pozycję?',
onUnpublishing: 'Czy na pewno chcesz cofnąć publikację tej pozycji?',
onDeleteWithUnsavedChangesBody:
'Czy na pewno chcesz usunąć tę opublikowaną pozycję, a także niezapisane zmiany z bieżącej sesji?',
onDeletePublishedEntryBody: 'Czy na pewno chcesz usunąć tę opublikowaną pozycję?',
@ -115,34 +108,14 @@ const pl: LocalePhrasesRoot = {
toggleScrollSync: 'Synchroniczne przesuwanie',
},
editorToolbar: {
publishing: 'Publikowanie...',
publish: 'Opublikuj',
published: 'Opublikowane',
unpublish: 'Cofnij publikację',
duplicate: 'Zduplikuj',
unpublishing: 'Cofanie publikacji...',
publishAndCreateNew: 'Opublikuj i dodaj nowy',
publishAndDuplicate: 'Opublikuj i zduplikuj',
deleteEntry: 'Usuń pozycję',
saving: 'Zapisywanie...',
save: 'Zapisz',
statusInfoTooltipDraft:
'Dodano jako wersję roboczą. Aby zakończyć i oddać do recenzji zmień status na `Do recenzji`',
statusInfoTooltipInReview:
'Wpis jest w trakcie recenzji, żadne dodatkowe akcje nie są wymagane. Jeśli chcesz, możesz jeszcze nanieść zmiany.',
deleting: 'Usuwanie...',
updating: 'Uaktualnianie...',
status: 'Status: %{status}',
backCollection: ' Edycja treści w zbiorze %{collectionLabel}',
unsavedChanges: 'Niezapisane zmiany',
changesSaved: 'Zmiany zapisane',
draft: 'Wersja robocza',
inReview: 'W recenzji',
ready: 'Gotowe',
publishNow: 'Opublikuj teraz',
deployPreviewPendingButtonLabel: 'Sprawdź, czy istnieje podgląd',
deployPreviewButtonLabel: 'Zobacz podgląd',
deployButtonLabel: 'Zobacz na żywo',
},
editorWidgets: {
markdown: {

View File

@ -97,13 +97,6 @@ const pt: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Tem certeza que deseja sair desta página?',
onUpdatingWithUnsavedChangesBody:
'Há mudanças não salvas. Por favor, salve-as antes de atualizar o status.',
onPublishingNotReadyBody: 'Por favor, altere o status para "Pronto" antes de publicar.',
onPublishingWithUnsavedChangesBody:
'Há mudanças não salvas. Por favor, salve-as antes de publicar.',
onPublishingBody: 'Tem certeza que deseja publicar essa entrada?',
onUnpublishing: 'Tem certeza que deseja cancelar a publicação dessa entrada?',
onDeleteWithUnsavedChangesBody:
'Tem certeza de que deseja excluir esta entrada publicada, bem como as alterações não salvas da sessão atual?',
onDeletePublishedEntryBody: 'Tem certeza de que deseja excluir esta entrada publicada?',
@ -115,34 +108,14 @@ const pt: LocalePhrasesRoot = {
toggleScrollSync: 'Sincronizar rolagem',
},
editorToolbar: {
publishing: 'Publicando...',
publish: 'Publicar',
published: 'Publicado',
unpublish: 'Despublicar',
duplicate: 'Duplicado',
unpublishing: 'Despublicando...',
publishAndCreateNew: 'Publicar e criar novo(a)',
publishAndDuplicate: 'Publicar e duplicar',
deleteEntry: 'Excluir entrada',
saving: 'Salvando...',
save: 'Salvar',
statusInfoTooltipDraft:
"Entrada definida como rascunho. Para finalizar e enviá-la a revisão, mude seu estado para 'Em revisão'",
statusInfoTooltipInReview:
'Entrada está sendo revisada, nenhuma ação extra é requirida. Porém, você ainda pode fazer mudanças adicionais enquanto ela está sendo revisada.',
deleting: 'Excluindo...',
updating: 'Atualizando...',
status: 'Status: %{status}',
backCollection: ' Escrevendo na coleção %{collectionLabel}',
unsavedChanges: 'Alterações não salvas',
changesSaved: 'Alterações salvas',
draft: 'Rascunho',
inReview: 'Em revisão',
ready: 'Pronto',
publishNow: 'Publicar agora',
deployPreviewPendingButtonLabel: 'Verificar se há Pré-visualização',
deployPreviewButtonLabel: 'Ver Pré-visualização',
deployButtonLabel: 'Ver em Produção',
},
editorWidgets: {
markdown: {

View File

@ -97,13 +97,6 @@ const ro: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Ești sigur/ă că dorești să părăsești pagina?',
onUpdatingWithUnsavedChangesBody:
'Există modificări nesalvate! Te rugăm salvează înainte de a actualiza statusul.',
onPublishingNotReadyBody: 'Actualizează statusul la „Gata” înainte de publicare.',
onPublishingWithUnsavedChangesBody:
'Există modificări nesalvate, salvează-le înainte de publicare.',
onPublishingBody: 'Ești sigur/ă că dorești să publici acest articol?',
onUnpublishing: 'Ești sigur/ă că dorești să anulezi publicarea acestui articol?',
onDeleteWithUnsavedChangesBody:
'Ești sigur/ă că dorești să ștergi această publicare, dar și modificările nesalvate din sesiunea curentă?',
onDeletePublishedEntryBody: 'Ești sigur/ă că dorești să ștergi această publicare?',
@ -115,30 +108,14 @@ const ro: LocalePhrasesRoot = {
toggleScrollSync: 'Sincronizează scroll-ul',
},
editorToolbar: {
publishing: 'Se publică...',
publish: 'Publicare',
published: 'Publicat',
unpublish: 'Anulează publicarea',
duplicate: 'Duplifică',
unpublishing: 'Se anulează publicarea...',
publishAndCreateNew: 'Publicare apoi crează altul',
publishAndDuplicate: 'Publicare apoi duplifică',
deleteEntry: 'Șterge intrare',
saving: 'Se salvează...',
save: 'Salvează',
deleting: 'Se șterge...',
updating: 'Se actualizează...',
status: 'Status: %{status}',
backCollection: ' Scrii în colecția „%{collectionLabel}”',
unsavedChanges: 'Modificări nesalvate',
changesSaved: 'Modificări salvate',
draft: 'Ciornă',
inReview: 'În revizuire',
ready: 'Gata',
publishNow: 'Publicare',
deployPreviewPendingButtonLabel: 'Verifică publicare',
deployPreviewButtonLabel: 'Previzualizare',
deployButtonLabel: 'Vezi publicarea',
},
editorWidgets: {
markdown: {

View File

@ -97,43 +97,20 @@ const ru: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Вы уверены, что хотите покинуть эту страницу?',
onUpdatingWithUnsavedChangesBody:
'У вас есть несохраненные изменения, сохраните их перед обновлением статуса.',
onPublishingNotReadyBody: 'Пожалуйста, измените статус на «Готов» перед публикацией.',
onPublishingWithUnsavedChangesBody:
'У вас есть несохраненные изменения, сохраните их перед публикацией.',
onPublishingBody: 'Вы уверены, что хотите опубликовать эту запись?',
onUnpublishing: 'Вы уверены, что хотите отменить публикацию этой записи?',
onDeleteWithUnsavedChangesBody:
'Вы уверены, что хотите удалить эту опубликованную запись, а также несохраненные изменения из текущего сеанса?',
onDeletePublishedEntryBody: 'Вы уверены, что хотите удалить эту опубликованную запись?',
loadingEntry: 'Загрузка записи…',
},
editorToolbar: {
publishing: 'Публикация…',
publish: 'Опубликовать',
published: 'Опубликовано',
unpublish: 'Отменить публикацию',
duplicate: 'Дублировать',
unpublishing: 'Отмена публикации…',
publishAndCreateNew: 'Опубликовать и создать новую',
publishAndDuplicate: 'Опубликовать и дублировать',
deleteEntry: 'Удалить запись',
saving: 'Сохранение…',
save: 'Сохранить',
deleting: 'Удаление…',
updating: 'Обновление…',
status: 'Cтатус: %{status}',
backCollection: 'Запись в коллекцию %{collectionLabel}',
unsavedChanges: 'Несохраненные изменения',
changesSaved: 'Изменения сохранены',
draft: 'Черновик',
inReview: 'На рассмотрении',
ready: 'Одобрен',
publishNow: 'Опубликовать сейчас',
deployPreviewPendingButtonLabel: 'Проверить предварительный просмотр',
deployPreviewButtonLabel: 'Предварительный просмотр',
deployButtonLabel: 'Просмотр',
},
editorWidgets: {
markdown: {

View File

@ -97,13 +97,6 @@ const sv: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Är du säker på att du vill lämna sidan?',
onUpdatingWithUnsavedChangesBody:
'Du har osparade ändringar, vänligen spara dem innan du uppdaterar status.',
onPublishingNotReadyBody: 'Vänligen uppdatera status till "Redo" innan du publicerar.',
onPublishingWithUnsavedChangesBody:
'Du har osparade ändringar, vänligen spara innan du publicerar.',
onPublishingBody: 'Är du säker på att du vill publicera det här inlägget?',
onUnpublishing: 'Är du säker på att du vill avpublicera det här inlägget?',
onDeleteWithUnsavedChangesBody:
'Är du säker på att du vill radera det här publicerade inlägget, inklusive dina osparade ändringar från nuvarande session?',
onDeletePublishedEntryBody: 'Är du säker på att du vill radera det här publicerade inlägget?',
@ -115,30 +108,14 @@ const sv: LocalePhrasesRoot = {
toggleScrollSync: 'Synka scrollning',
},
editorToolbar: {
publishing: 'Publicerar...',
publish: 'Publicera',
published: 'Publicerad',
unpublish: 'Avpublicera',
duplicate: 'Duplicera',
unpublishing: 'Avpublicerar...',
publishAndCreateNew: 'Publicera och skapa ny',
publishAndDuplicate: 'Publicera och duplicera',
deleteEntry: 'Radera inlägg',
saving: 'Sparar...',
save: 'Spara',
deleting: 'Raderar...',
updating: 'Updaterar...',
status: 'Status: %{status}',
backCollection: ' Redigerar i samlingen %{collectionLabel}',
unsavedChanges: 'Osparade ändringar',
changesSaved: 'Ändringar sparade',
draft: 'Utkast',
inReview: 'Under granskning',
ready: 'Redo',
publishNow: 'Publicera nu',
deployPreviewPendingButtonLabel: 'Kontrollera förhandsvisning',
deployPreviewButtonLabel: 'Visa förhandsvisning',
deployButtonLabel: 'Visa Live',
},
editorWidgets: {
markdown: {

View File

@ -92,43 +92,20 @@ const th: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'คุณแน่ใจหรือว่าจะออกจากหน้านี้?',
onUpdatingWithUnsavedChangesBody:
'คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก โปรดบันทึกก่อนอัปเดตสถานะ',
onPublishingNotReadyBody: 'โปรดอัปเดตสถานะเป็น "พร้อม" ก่อนจะเผยแพร่',
onPublishingWithUnsavedChangesBody:
'คุณมีการเปลี่ยนแปลงที่ยังไม่ได้บันทึก โปรดบันทึกก่อนจะเผยแพร่',
onPublishingBody: 'คุณแน่ใจหรือว่าจะเผยแพร่เนื้อหานี้?',
onUnpublishing: 'คุณแน่ใจหรือว่าจะไม่ต้องการเผยแพร่เนื้อหานี้?',
onDeleteWithUnsavedChangesBody:
'คุณแน่ใจหรือว่าจะต้องการลบการเผยแพร่เนื้อหานี้ รวมถึงการเปลี่ยนแปลงที่ยังไม่ได้บันทึก?',
onDeletePublishedEntryBody: 'คุณแน่ใจหรือว่าจะต้องการลบการเผยแพร่เนื้อหานี้?',
loadingEntry: 'กำลังโหลดเนื้อหา...',
},
editorToolbar: {
publishing: 'กำลังเผยแพร่...',
publish: 'เผยแพร่',
published: 'เผยแพร่แล้ว',
unpublish: 'ไม่ได้เผยแพร่',
duplicate: 'ทำซ้ำ',
unpublishing: 'ไม่ทำการเผยแพร่...',
publishAndCreateNew: 'เผยแพร่ และ สร้างใหม่',
publishAndDuplicate: 'เผยแพร่ และ ทำซ้ำ',
deleteEntry: 'ลบเนื้อหา',
saving: 'กำลังบันทึก...',
save: 'บันทึก',
deleting: 'กำลังลบ...',
updating: 'กำลังอัปเดต...',
status: 'สถานะ: %{status}',
backCollection: ' เขียนในกลุ่ม %{collectionLabel}',
unsavedChanges: 'การเปลี่ยนแปลงยังไม่ได้บันทึก',
changesSaved: 'การเปลี่ยนเปลงถูกบันทึกแล้ว',
draft: 'ร่าง',
inReview: 'อยู่ระหว่างการตรวจสอบ',
ready: 'พร้อม',
publishNow: 'เผยแพร่ตอนนี้',
deployPreviewPendingButtonLabel: 'ตรวจสอบตัวอย่าง',
deployPreviewButtonLabel: 'ดูตัวอย่าง',
deployButtonLabel: 'ดูตัวอย่างจากหน้าจริง',
},
editorWidgets: {
markdown: {

View File

@ -98,13 +98,6 @@ const tr: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Bu sayfadan ayrılmak istediğinize emin misiniz?',
onUpdatingWithUnsavedChangesBody:
'Kaydedilmemiş değişiklikleriniz var, lütfen içeriği güncellemeden önce kaydedin.',
onPublishingNotReadyBody: 'Lütfen yayınlamadan önce içeriği "Hazır" olarak güncelleyin.',
onPublishingWithUnsavedChangesBody:
'Kaydedilmemiş değişiklikleriniz var, lütfen yayınlamadan önce kaydedin.',
onPublishingBody: 'Bu girdiyi yayınlamak istediğinize emin misiniz?',
onUnpublishing: 'Bu girdiyi yayından kaldırmak istediğinizden emin misiniz?',
onDeleteWithUnsavedChangesBody:
'Bu oturumda kaydedilmiş değişikliklerin yanı sıra geçerli oturumdaki kaydedilmemiş değişikliklerinizi silmek istediğinize emin misiniz?',
onDeletePublishedEntryBody: 'Bu yayınlanmış girdiyi silmek istediğinize emin misiniz?',
@ -116,34 +109,14 @@ const tr: LocalePhrasesRoot = {
toggleScrollSync: 'Kaydırmayı senkronize et',
},
editorToolbar: {
publishing: 'Yayınlanıyor...',
publish: 'Yayınla',
published: 'Yayınlanan',
unpublish: 'Yayından Kaldır',
duplicate: 'Kopyala',
unpublishing: 'Yayından kaldırılıyor...',
publishAndCreateNew: 'Yayınla ve yeni oluştur',
publishAndDuplicate: 'Yayınla ve kopya oluştur',
deleteEntry: 'Girdiyi sil',
saving: 'Kaydediliyor...',
save: 'Kaydet',
statusInfoTooltipDraft:
'Giriş durumu taslak olarak ayarlandı. Girişi bitirmek ve incelemeye göndermek için giriş durumunu İncelemede olarak ayarlayın',
statusInfoTooltipInReview:
'Giriş gözden geçiriliyor, başka bir işlem yapılmasına gerek yok. Ancak, incelenirken yine de ek değişiklikler yapabilirsiniz.',
deleting: 'Siliniyor...',
updating: 'Güncelleniyor...',
status: 'Durumu: %{status}',
backCollection: ' %{collectionLabel} koleksiyonunda yazılı',
unsavedChanges: 'Kaydedilmemiş Değişiklikler',
changesSaved: 'Değişiklikler kaydedildi',
draft: 'Taslak',
inReview: 'İncelemede',
ready: 'Hazır',
publishNow: 'Şimdi yayımla',
deployPreviewPendingButtonLabel: 'Önizlemeyi Denetle',
deployPreviewButtonLabel: 'Önizlemeyi Görüntüle',
deployButtonLabel: 'Canlı Görüntüle',
},
editorWidgets: {
markdown: {

View File

@ -63,26 +63,11 @@ const uk: LocalePhrasesRoot = {
loadingEntry: 'Завантаження...',
},
editorToolbar: {
publishing: 'Публікація...',
publish: 'Опублікувати',
published: 'Опубліковано',
publishAndCreateNew: 'Опублікувати і створити нову',
deleteEntry: 'Видалити',
saving: 'Збереження...',
save: 'Зберегти',
deleting: 'Видалення...',
updating: 'Оновлення...',
status: 'Cтан: %{status}',
backCollection: ' Робота над %{collectionLabel} колекцією',
unsavedChanges: 'Незбережені зміни',
changesSaved: 'Зміни збережено',
draft: 'В роботі',
inReview: 'На розгляді',
ready: 'Готово',
publishNow: 'Опублікувати',
deployPreviewPendingButtonLabel: 'Перевірити оновлення',
deployPreviewButtonLabel: 'Попередній перегляд',
deployButtonLabel: 'Переглянути наживо',
},
editorWidgets: {
image: {

View File

@ -89,42 +89,20 @@ const vi: LocalePhrasesRoot = {
},
editor: {
onLeavePage: 'Bạn có chắc rằng bạn muốn rời khỏi trang này?',
onUpdatingWithUnsavedChangesBody:
'Bạn chưa lưu những thay đổi, hãy lưu trước khi thay đổi trạng thái.',
onPublishingNotReadyBody: 'Hãy thay đổi trạng thái thành "Sẵn sàng" trước khi công bố.',
onPublishingWithUnsavedChangesBody: 'Bạn có thay đổi chưa lưu, hãy lưu trước khi công bố.',
onPublishingBody: 'Bạn có chắc rằng bạn muốn công bố mục này?',
onUnpublishing: 'Bạn có chắc rằng bạn muốn ngừng công bố mục này?',
onDeleteWithUnsavedChangesBody:
'Bạn có chắc rằng bạn muốn xoá mục đã được công bố này, cũng như là những thay đổi chưa lưu của bạn trong phiên làm việc này?',
onDeletePublishedEntryBody: 'Bạn có chắc rằng bạn muốn xoá mục đã được công bố này?',
loadingEntry: 'Đang tải...',
},
editorToolbar: {
publishing: 'Đang công bố...',
publish: 'Công bố',
published: 'Đã công bố',
unpublish: 'Ngừng công bố',
duplicate: 'Sao chép',
unpublishing: 'Đang ngừng công bố...',
publishAndCreateNew: 'Công bố và tạo mới',
publishAndDuplicate: 'Công bố và sao chép',
deleteEntry: 'Xoá mục này',
saving: 'Đang lưu...',
save: 'Lưu',
deleting: 'Đang xoá...',
updating: 'Đang cập nhật...',
status: 'Trạng: %{status}',
backCollection: ' Đang viết trong bộ sưu tập %{collectionLabel}',
unsavedChanges: 'Thay đổi chưa được lưu',
changesSaved: 'Thay đổi đã được lưu',
draft: 'Bản nháp',
inReview: 'Đang xét duyệt',
ready: 'Sẵn sàng',
publishNow: 'Công bố ngay',
deployPreviewPendingButtonLabel: 'Kiểm tra Xem trước',
deployPreviewButtonLabel: 'Xem trước',
deployButtonLabel: 'Xem bản hoàn chỉnh',
},
editorWidgets: {
markdown: {

View File

@ -97,11 +97,6 @@ const zh_Hans: LocalePhrasesRoot = {
},
editor: {
onLeavePage: '你确定要离开此页面吗?',
onUpdatingWithUnsavedChangesBody: '你有尚未保存的修改,请在更新状态前进行保存',
onPublishingNotReadyBody: '请在发布之前将状态更新为“就绪”',
onPublishingWithUnsavedChangesBody: '你有尚未保存的修改,请在发布前进行保存',
onPublishingBody: '你确定要发布此内容吗?',
onUnpublishing: '你确定要撤销发布此内容吗?',
onDeleteWithUnsavedChangesBody: '你确定要删除这个已经发布的内容,以及当前尚未保存的修改吗?',
onDeletePublishedEntryBody: '你确定要删除这个已经发布的内容吗?',
loadingEntry: '正在加载内容...',
@ -112,30 +107,14 @@ const zh_Hans: LocalePhrasesRoot = {
toggleScrollSync: '同步滚动',
},
editorToolbar: {
publishing: '正在发布...',
publish: '发布',
published: '已发布',
unpublish: '撤销发布',
duplicate: '复制',
unpublishing: '正在撤销发布...',
publishAndCreateNew: '发布,然后新建内容',
publishAndDuplicate: '发布,然后复制内容',
deleteEntry: '删除内容',
saving: '正在保存...',
save: '保存',
deleting: '正在删除...',
updating: '正在更新...',
status: '状态: %{status}',
backCollection: '正在集合“%{collectionLabel}”中编写',
unsavedChanges: '含未保存的修改',
changesSaved: '修改已保存',
draft: '草稿',
inReview: '审核中',
ready: '就绪',
publishNow: '立即发布',
deployPreviewPendingButtonLabel: '点击以预览',
deployPreviewButtonLabel: '查看预览',
deployButtonLabel: '查看发布',
},
editorWidgets: {
markdown: {

View File

@ -92,40 +92,19 @@ const zh_Hant: LocalePhrasesRoot = {
},
editor: {
onLeavePage: '您確定要離開這頁嗎?',
onUpdatingWithUnsavedChangesBody: '您有未儲存的變更,在更新狀態前請先進行儲存。',
onPublishingNotReadyBody: '在發布前,請先將狀態設定為:預備發布。',
onPublishingWithUnsavedChangesBody: '您有未儲存的變更,在發布前請先進行儲存。',
onPublishingBody: '你確定要發表此內容嗎?',
onUnpublishing: '你確定要取消發表此內容嗎?',
onDeleteWithUnsavedChangesBody: '你確定要刪除這篇已發布的內容以及你尚未儲存的變更?',
onDeletePublishedEntryBody: '你確定要刪除這篇已發布的內容?',
loadingEntry: '載入內容中...',
},
editorToolbar: {
publishing: '發布中...',
publish: '發布',
published: '已發布',
unpublish: '取消發布',
duplicate: '建立新內容',
unpublishing: '取消發布中...',
publishAndCreateNew: '發布並建立內容',
publishAndDuplicate: '發布並複製內容',
deleteEntry: '刪除內容',
saving: '儲存中...',
save: '儲存',
deleting: '刪除中...',
updating: '更新中...',
status: '狀態: %{status}',
backCollection: '在集合 %{collectionLabel} 新增內容',
unsavedChanges: '未儲存變更',
changesSaved: '已儲存變更',
draft: '草稿',
inReview: '正在審核',
ready: '預備發布',
publishNow: '立即發布',
deployPreviewPendingButtonLabel: '點擊來進行預覽',
deployPreviewButtonLabel: '進行預覽',
deployButtonLabel: '觀看已發布的內容',
},
editorWidgets: {
markdown: {

View File

@ -3,13 +3,13 @@ import { localToUTC, utcToLocal } from '../utc.util';
describe('utc util', () => {
it('converts local (Hawaii time) to UTC', () => {
expect(localToUTC(new Date(2023, 1, 12, 10, 5, 35)).toString()).toEqual(
'Sun Feb 12 2023 20:05:35 GMT-1000 (Hawaii-Aleutian Standard Time)',
new Date(2023, 1, 12, 20, 5, 35).toString(),
);
});
it('converts UTC to local (Hawaii time)', () => {
expect(utcToLocal(new Date(2023, 1, 12, 15, 5, 35)).toString()).toEqual(
'Sun Feb 12 2023 05:05:35 GMT-1000 (Hawaii-Aleutian Standard Time)',
new Date(2023, 1, 12, 5, 5, 35).toString(),
);
});
});