feat: show current status in status button (#5574)

This commit is contained in:
pcanof 2021-07-07 02:20:14 -06:00 committed by GitHub
parent 647b97438d
commit fbc3728294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 84 additions and 57 deletions

View File

@ -145,8 +145,10 @@ function deleteWorkflowEntry({ title }) {
assertNotification(notifications.deletedUnpublished); assertNotification(notifications.deletedUnpublished);
} }
const STATUS_BUTTON_TEXT = 'Status:';
function assertWorkflowStatusInEditor(status) { function assertWorkflowStatusInEditor(status) {
cy.contains('[role="button"]', 'Set status').as('setStatusButton'); cy.contains('[role="button"]', STATUS_BUTTON_TEXT).as('setStatusButton');
cy.get('@setStatusButton') cy.get('@setStatusButton')
.parent() .parent()
.within(() => { .within(() => {
@ -209,7 +211,7 @@ function assertWorkflowStatus({ title }, status) {
} }
function updateWorkflowStatusInEditor(newStatus) { function updateWorkflowStatusInEditor(newStatus) {
selectDropdownItem('Set status', newStatus); selectDropdownItem(STATUS_BUTTON_TEXT, newStatus);
assertNotification(notifications.updated); assertNotification(notifications.updated);
} }

View File

@ -358,18 +358,23 @@ export class EditorToolbar extends React.Component {
renderWorkflowStatusControls = () => { renderWorkflowStatusControls = () => {
const { isUpdatingStatus, onChangeStatus, currentStatus, t, useOpenAuthoring } = this.props; const { isUpdatingStatus, onChangeStatus, currentStatus, t, useOpenAuthoring } = this.props;
const statusToTranslation = {
[status.get('DRAFT')]: t('editor.editorToolbar.draft'),
[status.get('PENDING_REVIEW')]: t('editor.editorToolbar.inReview'),
[status.get('PENDING_PUBLISH')]: t('editor.editorToolbar.ready'),
};
const buttonText = isUpdatingStatus
? t('editor.editorToolbar.updating')
: t('editor.editorToolbar.status', { status: statusToTranslation[currentStatus] });
return ( return (
<> <>
<ToolbarDropdown <ToolbarDropdown
dropdownTopOverlap="40px" dropdownTopOverlap="40px"
dropdownWidth="120px" dropdownWidth="120px"
renderButton={() => ( renderButton={() => <StatusButton>{buttonText}</StatusButton>}
<StatusButton>
{isUpdatingStatus
? t('editor.editorToolbar.updating')
: t('editor.editorToolbar.setStatus')}
</StatusButton>
)}
> >
<StatusDropdownItem <StatusDropdownItem
label={t('editor.editorToolbar.draft')} label={t('editor.editorToolbar.draft')}

View File

@ -179,7 +179,7 @@ exports[`EditorToolbar should render with default props 1`] = `
class="emotion-18 emotion-19" class="emotion-18 emotion-19"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -469,7 +469,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
class="emotion-23 emotion-24" class="emotion-23 emotion-24"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -520,7 +520,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
role="button" role="button"
tabindex="0" tabindex="0"
> >
editor.editorToolbar.setStatus editor.editorToolbar.status
</span> </span>
</div> </div>
</div> </div>
@ -803,7 +803,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
class="emotion-30 emotion-31" class="emotion-30 emotion-31"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -849,7 +849,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
role="button" role="button"
tabindex="0" tabindex="0"
> >
editor.editorToolbar.setStatus editor.editorToolbar.status
</span> </span>
</div> </div>
<div <div
@ -1131,7 +1131,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
class="emotion-23 emotion-24" class="emotion-23 emotion-24"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -1182,7 +1182,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
role="button" role="button"
tabindex="0" tabindex="0"
> >
editor.editorToolbar.setStatus editor.editorToolbar.status
</span> </span>
</div> </div>
</div> </div>
@ -1447,7 +1447,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
class="emotion-28 emotion-29" class="emotion-28 emotion-29"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -1493,7 +1493,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
role="button" role="button"
tabindex="0" tabindex="0"
> >
editor.editorToolbar.setStatus editor.editorToolbar.status
</span> </span>
</div> </div>
<div <div
@ -1770,7 +1770,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
class="emotion-23 emotion-24" class="emotion-23 emotion-24"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -1821,7 +1821,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
role="button" role="button"
tabindex="0" tabindex="0"
> >
editor.editorToolbar.setStatus editor.editorToolbar.status
</span> </span>
</div> </div>
</div> </div>
@ -2104,7 +2104,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
class="emotion-30 emotion-31" class="emotion-30 emotion-31"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -2150,7 +2150,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
role="button" role="button"
tabindex="0" tabindex="0"
> >
editor.editorToolbar.setStatus editor.editorToolbar.status
</span> </span>
</div> </div>
<div <div
@ -2375,7 +2375,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
class="emotion-18 emotion-19" class="emotion-18 emotion-19"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -2580,7 +2580,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
class="emotion-16 emotion-17" class="emotion-16 emotion-17"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -2805,7 +2805,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
class="emotion-18 emotion-19" class="emotion-18 emotion-19"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -3035,7 +3035,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
class="emotion-18 emotion-19" class="emotion-18 emotion-19"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -3265,7 +3265,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
class="emotion-18 emotion-19" class="emotion-18 emotion-19"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div
@ -3495,7 +3495,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
class="emotion-18 emotion-19" class="emotion-18 emotion-19"
> >
<mock-link <mock-link
classname="css-1e27f5b-ToolbarSectionBackLink-toolbarSection evqrzhe8" classname="css-i3q6wb-ToolbarSectionBackLink-toolbarSection evqrzhe8"
to="" to=""
> >
<div <div

View File

@ -24,6 +24,12 @@ import {
UNPUBLISHED_ENTRY_PERSIST_REQUEST, UNPUBLISHED_ENTRY_PERSIST_REQUEST,
UNPUBLISHED_ENTRY_PERSIST_SUCCESS, UNPUBLISHED_ENTRY_PERSIST_SUCCESS,
UNPUBLISHED_ENTRY_PERSIST_FAILURE, UNPUBLISHED_ENTRY_PERSIST_FAILURE,
UNPUBLISHED_ENTRY_STATUS_CHANGE_REQUEST,
UNPUBLISHED_ENTRY_STATUS_CHANGE_SUCCESS,
UNPUBLISHED_ENTRY_STATUS_CHANGE_FAILURE,
UNPUBLISHED_ENTRY_PUBLISH_REQUEST,
UNPUBLISHED_ENTRY_PUBLISH_SUCCESS,
UNPUBLISHED_ENTRY_PUBLISH_FAILURE,
} from '../actions/editorialWorkflow'; } from '../actions/editorialWorkflow';
import { selectFolderEntryExtension, selectHasMetaPath } from './collections'; import { selectFolderEntryExtension, selectHasMetaPath } from './collections';
import { getDataPath, duplicateI18nFields } from '../lib/i18n'; import { getDataPath, duplicateI18nFields } from '../lib/i18n';
@ -136,6 +142,20 @@ function entryDraftReducer(state = Map(), action) {
return state.deleteIn(['entry', 'isPersisting']); return state.deleteIn(['entry', 'isPersisting']);
} }
case UNPUBLISHED_ENTRY_STATUS_CHANGE_REQUEST:
return state.setIn(['entry', 'isUpdatingStatus'], true);
case UNPUBLISHED_ENTRY_STATUS_CHANGE_FAILURE:
case UNPUBLISHED_ENTRY_STATUS_CHANGE_SUCCESS:
return state.deleteIn(['entry', 'isUpdatingStatus']);
case UNPUBLISHED_ENTRY_PUBLISH_REQUEST:
return state.setIn(['entry', 'isPublishing'], true);
case UNPUBLISHED_ENTRY_PUBLISH_SUCCESS:
case UNPUBLISHED_ENTRY_PUBLISH_FAILURE:
return state.deleteIn(['entry', 'isPublishing']);
case ENTRY_PERSIST_SUCCESS: case ENTRY_PERSIST_SUCCESS:
case UNPUBLISHED_ENTRY_PERSIST_SUCCESS: case UNPUBLISHED_ENTRY_PERSIST_SUCCESS:
return state.withMutations(state => { return state.withMutations(state => {

View File

@ -135,7 +135,7 @@ const bg = {
save: 'Запази', save: 'Запази',
deleting: 'Изтриване...', deleting: 'Изтриване...',
updating: 'Актуализиране...', updating: 'Актуализиране...',
setStatus: 'Задайте състояние', status: 'Cъстояние: %{status}',
backCollection: 'Записване в %{collectionLabel} колекция', backCollection: 'Записване в %{collectionLabel} колекция',
unsavedChanges: 'Незапазени Промени', unsavedChanges: 'Незапазени Промени',
changesSaved: 'Запазени промени', changesSaved: 'Запазени промени',

View File

@ -134,7 +134,7 @@ const ca = {
save: 'Guardar', save: 'Guardar',
deleting: 'Eliminant...', deleting: 'Eliminant...',
updating: 'Actualizant...', updating: 'Actualizant...',
setStatus: 'Actualizar estat', status: 'Estat: %{status}',
backCollection: ' Escrivint a la colecció %{collectionLabel}', backCollection: ' Escrivint a la colecció %{collectionLabel}',
unsavedChanges: 'Canvis no guardats', unsavedChanges: 'Canvis no guardats',
changesSaved: 'Canvis guardats', changesSaved: 'Canvis guardats',

View File

@ -134,7 +134,7 @@ const cs = {
save: 'Uložit', save: 'Uložit',
deleting: 'Vymazávání…', deleting: 'Vymazávání…',
updating: 'Aktualizace…', updating: 'Aktualizace…',
setStatus: 'Změnit status', status: 'Status: %{status}',
backCollection: ' Píšete v kolekci %{collectionLabel}', backCollection: ' Píšete v kolekci %{collectionLabel}',
unsavedChanges: 'Neuložené změny', unsavedChanges: 'Neuložené změny',
changesSaved: 'Změny uloženy', changesSaved: 'Změny uloženy',

View File

@ -131,7 +131,7 @@ const da = {
save: 'Gem', save: 'Gem',
deleting: 'Sletter...', deleting: 'Sletter...',
updating: 'Updaterer...', updating: 'Updaterer...',
setStatus: 'Sæt status', status: 'Status: %{status}',
backCollection: ' Skriver til %{collectionLabel} samlingen', backCollection: ' Skriver til %{collectionLabel} samlingen',
unsavedChanges: 'Ugemte ændringer', unsavedChanges: 'Ugemte ændringer',
changesSaved: 'Ændringer gemt', changesSaved: 'Ændringer gemt',

View File

@ -126,7 +126,7 @@ const de = {
save: 'Speichern', save: 'Speichern',
deleting: 'Löschen...', deleting: 'Löschen...',
updating: 'Aktualisieren...', updating: 'Aktualisieren...',
setStatus: 'Status setzen', status: 'Status: %{status}',
backCollection: 'Zurück zu allen %{collectionLabel}', backCollection: 'Zurück zu allen %{collectionLabel}',
unsavedChanges: 'Ungespeicherte Änderungen', unsavedChanges: 'Ungespeicherte Änderungen',
changesSaved: 'Änderungen gespeichert', changesSaved: 'Änderungen gespeichert',

View File

@ -137,7 +137,7 @@ const en = {
'Entry is being reviewed, no further actions are required. However, you can still make additional changes while it is being reviewed.', 'Entry is being reviewed, no further actions are required. However, you can still make additional changes while it is being reviewed.',
deleting: 'Deleting...', deleting: 'Deleting...',
updating: 'Updating...', updating: 'Updating...',
setStatus: 'Set status', status: 'Status: %{status}',
backCollection: ' Writing in %{collectionLabel} collection', backCollection: ' Writing in %{collectionLabel} collection',
unsavedChanges: 'Unsaved Changes', unsavedChanges: 'Unsaved Changes',
changesSaved: 'Changes saved', changesSaved: 'Changes saved',

View File

@ -115,7 +115,7 @@ const es = {
save: 'Guardar', save: 'Guardar',
deleting: 'Eliminando...', deleting: 'Eliminando...',
updating: 'Actualizando...', updating: 'Actualizando...',
setStatus: 'Actualizar estado', status: 'Estado: %{status}',
backCollection: ' Escribiendo en la colección %{collectionLabel}', backCollection: ' Escribiendo en la colección %{collectionLabel}',
unsavedChanges: 'Cambios no guardados', unsavedChanges: 'Cambios no guardados',
changesSaved: 'Cambios guardados', changesSaved: 'Cambios guardados',

View File

@ -136,7 +136,7 @@ const fr = {
save: 'Enregistrer', save: 'Enregistrer',
deleting: 'Suppression...', deleting: 'Suppression...',
updating: 'Mise à jour...', updating: 'Mise à jour...',
setStatus: 'Définir le statut', status: 'Statut: %{status}',
backCollection: ' Écriture dans la collection %{collectionLabel}', backCollection: ' Écriture dans la collection %{collectionLabel}',
unsavedChanges: 'Modifications non enregistrées', unsavedChanges: 'Modifications non enregistrées',
changesSaved: 'Modifications enregistrées', changesSaved: 'Modifications enregistrées',

View File

@ -101,7 +101,7 @@ const gr = {
save: 'Αποθήκευση', save: 'Αποθήκευση',
deleting: 'Διαγραφή...', deleting: 'Διαγραφή...',
updating: 'Ενημέρωση...', updating: 'Ενημέρωση...',
setStatus: 'Ορισμός κατάστασης', status: 'Κατάστασης: %{status}',
backCollection: ' Εγγραφή στη συλλογή %{collectionLabel}', backCollection: ' Εγγραφή στη συλλογή %{collectionLabel}',
unsavedChanges: 'Μη αποθηκευμένες αλλαγές', unsavedChanges: 'Μη αποθηκευμένες αλλαγές',
changesSaved: 'Αλλαγές που αποθηκεύτηκαν', changesSaved: 'Αλλαγές που αποθηκεύτηκαν',

View File

@ -130,7 +130,7 @@ const hr = {
save: 'Spremi', save: 'Spremi',
deleting: 'Brisanje...', deleting: 'Brisanje...',
updating: 'Ažuriranje...', updating: 'Ažuriranje...',
setStatus: 'Postavi status', status: 'Status: %{status}',
backCollection: 'Pisanje u %{collectionLabel} zbirci', backCollection: 'Pisanje u %{collectionLabel} zbirci',
unsavedChanges: 'Nespremljene promjene', unsavedChanges: 'Nespremljene promjene',
changesSaved: 'Promjene spremljene', changesSaved: 'Promjene spremljene',

View File

@ -85,7 +85,7 @@ const hu = {
save: 'Mentés', save: 'Mentés',
deleting: 'Törlés...', deleting: 'Törlés...',
updating: 'Frissítés...', updating: 'Frissítés...',
setStatus: 'Állapot beállitása', status: 'Beállitása: %{status}',
backCollection: ' Írás a %{collectionLabel} gyűjteménybe', backCollection: ' Írás a %{collectionLabel} gyűjteménybe',
unsavedChanges: 'Nemmentett változtatások', unsavedChanges: 'Nemmentett változtatások',
changesSaved: 'Változások elmentve', changesSaved: 'Változások elmentve',

View File

@ -98,7 +98,7 @@ const it = {
save: 'Salva', save: 'Salva',
deleting: 'Cancellando...', deleting: 'Cancellando...',
updating: 'Aggiornando...', updating: 'Aggiornando...',
setStatus: 'Imposta status', status: 'Status: %{status}',
backCollection: ' Scrivendo nella sezione %{collectionLabel}', backCollection: ' Scrivendo nella sezione %{collectionLabel}',
unsavedChanges: 'Modifiche non salvate', unsavedChanges: 'Modifiche non salvate',
changesSaved: 'Modifiche salvate', changesSaved: 'Modifiche salvate',

View File

@ -134,7 +134,7 @@ const ja = {
save: '保存', save: '保存',
deleting: '削除しています...', deleting: '削除しています...',
updating: '更新しています...', updating: '更新しています...',
setStatus: 'ステータスを変更する', status: 'ステータスを: %{status}',
backCollection: '%{collectionLabel}のエントリを作成中', backCollection: '%{collectionLabel}のエントリを作成中',
unsavedChanges: '未保存', unsavedChanges: '未保存',
changesSaved: '保存済', changesSaved: '保存済',

View File

@ -122,7 +122,7 @@ const ko = {
save: '저장', save: '저장',
deleting: '삭제 중...', deleting: '삭제 중...',
updating: '업데이트 중...', updating: '업데이트 중...',
setStatus: '상태 설정', status: '상태: %{status}',
backCollection: '%{collectionLabel} 컬랙션에 작성하는 중', backCollection: '%{collectionLabel} 컬랙션에 작성하는 중',
unsavedChanges: '변경사항 저장되지 않음', unsavedChanges: '변경사항 저장되지 않음',
changesSaved: '변경사항 저장됨', changesSaved: '변경사항 저장됨',

View File

@ -132,7 +132,7 @@ const lt = {
save: 'Išsaugoti', save: 'Išsaugoti',
deleting: 'Trinama...', deleting: 'Trinama...',
updating: 'Atnaujinama...', updating: 'Atnaujinama...',
setStatus: 'Nustatyti statusą', status: 'Statusą: %{status}',
backCollection: ' Rašoma %{collectionLabel} kolekcijoje', backCollection: ' Rašoma %{collectionLabel} kolekcijoje',
unsavedChanges: 'Neišsaugoti pakeitimai', unsavedChanges: 'Neišsaugoti pakeitimai',
changesSaved: 'Pakeitimai išsauogti', changesSaved: 'Pakeitimai išsauogti',

View File

@ -112,7 +112,7 @@ const nb_no = {
save: 'Lagre', save: 'Lagre',
deleting: 'Sletter...', deleting: 'Sletter...',
updating: 'Oppdaterer...', updating: 'Oppdaterer...',
setStatus: 'Sett status', status: 'Status: %{status}',
backCollection: ' Skriver i samlingen %{collectionLabel}', backCollection: ' Skriver i samlingen %{collectionLabel}',
unsavedChanges: 'Ulagrede endringer', unsavedChanges: 'Ulagrede endringer',
changesSaved: 'Endringer lagret', changesSaved: 'Endringer lagret',

View File

@ -133,7 +133,7 @@ const nl = {
save: 'Opslaan', save: 'Opslaan',
deleting: 'Verwijderen...', deleting: 'Verwijderen...',
updating: 'Bijwerken...', updating: 'Bijwerken...',
setStatus: 'Stel status in', status: 'Status: %{status}',
backCollection: ' Terug naar %{collectionLabel}', backCollection: ' Terug naar %{collectionLabel}',
unsavedChanges: 'Niet-opgeslagen wijzigingen', unsavedChanges: 'Niet-opgeslagen wijzigingen',
changesSaved: 'Wijzigingen opgeslagen', changesSaved: 'Wijzigingen opgeslagen',

View File

@ -113,7 +113,7 @@ const nn_no = {
save: 'Lagre', save: 'Lagre',
deleting: 'Slettar...', deleting: 'Slettar...',
updating: 'Oppdaterer...', updating: 'Oppdaterer...',
setStatus: 'Sett status', status: 'Status: %{status}',
backCollection: ' Skriv i samlinga %{collectionLabel}', backCollection: ' Skriv i samlinga %{collectionLabel}',
unsavedChanges: 'Ulagra endringar', unsavedChanges: 'Ulagra endringar',
changesSaved: 'Endringar lagret', changesSaved: 'Endringar lagret',

View File

@ -113,7 +113,7 @@ const pl = {
save: 'Zapisz', save: 'Zapisz',
deleting: 'Usuwanie...', deleting: 'Usuwanie...',
updating: 'Uaktualnianie...', updating: 'Uaktualnianie...',
setStatus: 'Ustaw status', status: 'Status: %{status}',
backCollection: ' Edycja treści w zbiorze %{collectionLabel}', backCollection: ' Edycja treści w zbiorze %{collectionLabel}',
unsavedChanges: 'Niezapisane zmiany', unsavedChanges: 'Niezapisane zmiany',
changesSaved: 'Zmiany zapisane', changesSaved: 'Zmiany zapisane',

View File

@ -121,7 +121,7 @@ const pt = {
save: 'Salvar', save: 'Salvar',
deleting: 'Excluindo...', deleting: 'Excluindo...',
updating: 'Atualizando...', updating: 'Atualizando...',
setStatus: 'Definir status', status: 'Status: %{status}',
backCollection: ' Escrevendo na coleção %{collectionLabel}', backCollection: ' Escrevendo na coleção %{collectionLabel}',
unsavedChanges: 'Alterações não salvas', unsavedChanges: 'Alterações não salvas',
changesSaved: 'Alterações salvas', changesSaved: 'Alterações salvas',

View File

@ -136,7 +136,7 @@ const ro = {
save: 'Salvează', save: 'Salvează',
deleting: 'Se șterge...', deleting: 'Se șterge...',
updating: 'Se actualizează...', updating: 'Se actualizează...',
setStatus: 'Setează status', status: 'Status: %{status}',
backCollection: ' Scrii în colecția „%{collectionLabel}”', backCollection: ' Scrii în colecția „%{collectionLabel}”',
unsavedChanges: 'Modificări nesalvate', unsavedChanges: 'Modificări nesalvate',
changesSaved: 'Modificări salvate', changesSaved: 'Modificări salvate',

View File

@ -131,7 +131,7 @@ const ru = {
save: 'Сохранить', save: 'Сохранить',
deleting: 'Удаление…', deleting: 'Удаление…',
updating: 'Обновление…', updating: 'Обновление…',
setStatus: 'Установить статус', status: 'Cтатус: %{status}',
backCollection: 'Запись в коллекцию %{collectionLabel}', backCollection: 'Запись в коллекцию %{collectionLabel}',
unsavedChanges: 'Несохраненные изменения', unsavedChanges: 'Несохраненные изменения',
changesSaved: 'Изменения сохранены', changesSaved: 'Изменения сохранены',

View File

@ -135,7 +135,7 @@ const sv = {
save: 'Spara', save: 'Spara',
deleting: 'Raderar...', deleting: 'Raderar...',
updating: 'Updaterar...', updating: 'Updaterar...',
setStatus: 'Sätt status', status: 'Status: %{status}',
backCollection: ' Redigerar i samlingen %{collectionLabel}', backCollection: ' Redigerar i samlingen %{collectionLabel}',
unsavedChanges: 'Osparade ändringar', unsavedChanges: 'Osparade ändringar',
changesSaved: 'Ändringar sparade', changesSaved: 'Ändringar sparade',

View File

@ -123,7 +123,7 @@ const th = {
save: 'บันทึก', save: 'บันทึก',
deleting: 'กำลังลบ...', deleting: 'กำลังลบ...',
updating: 'กำลังอัปเดต...', updating: 'กำลังอัปเดต...',
setStatus: 'เซ็ตสถานะ', status: 'สถานะ: %{status}',
backCollection: ' เขียนในกลุ่ม %{collectionLabel}', backCollection: ' เขียนในกลุ่ม %{collectionLabel}',
unsavedChanges: 'การเปลี่ยนแปลงยังไม่ได้บันทึก', unsavedChanges: 'การเปลี่ยนแปลงยังไม่ได้บันทึก',
changesSaved: 'การเปลี่ยนเปลงถูกบันทึกแล้ว', changesSaved: 'การเปลี่ยนเปลงถูกบันทึกแล้ว',

View File

@ -103,7 +103,7 @@ const tr = {
save: 'Kayıt Et', save: 'Kayıt Et',
deleting: 'Siliniyor...', deleting: 'Siliniyor...',
updating: 'Güncelleniyor...', updating: 'Güncelleniyor...',
setStatus: 'Durumu ayarla', status: 'Durumu: %{status}',
backCollection: '%{collectionLabel} koleksiyonunda yazılı', backCollection: '%{collectionLabel} koleksiyonunda yazılı',
unsavedChanges: 'Kaydedilmemiş Değişiklikler', unsavedChanges: 'Kaydedilmemiş Değişiklikler',
changesSaved: 'Değişiklikler kaydedildi', changesSaved: 'Değişiklikler kaydedildi',

View File

@ -79,7 +79,7 @@ const uk = {
save: 'Зберегти', save: 'Зберегти',
deleting: 'Видалення...', deleting: 'Видалення...',
updating: 'Оновлення...', updating: 'Оновлення...',
setStatus: 'Змінити стан', status: 'Cтан: %{status}',
backCollection: ' Робота над %{collectionLabel} колекцією', backCollection: ' Робота над %{collectionLabel} колекцією',
unsavedChanges: 'Незбережені зміни', unsavedChanges: 'Незбережені зміни',
changesSaved: 'Зміни збережено', changesSaved: 'Зміни збережено',

View File

@ -121,7 +121,7 @@ const vi = {
save: 'Lưu', save: 'Lưu',
deleting: 'Đang xoá...', deleting: 'Đang xoá...',
updating: 'Đang cập nhật...', updating: 'Đang cập nhật...',
setStatus: 'Đặt trạng thái', status: 'Trạng: %{status}',
backCollection: ' Đang viết trong bộ sưu tập %{collectionLabel}', backCollection: ' Đang viết trong bộ sưu tập %{collectionLabel}',
unsavedChanges: 'Thay đổi chưa được lưu', unsavedChanges: 'Thay đổi chưa được lưu',
changesSaved: 'Thay đổi đã được lưu', changesSaved: 'Thay đổi đã được lưu',

View File

@ -131,7 +131,7 @@ const zh_Hans = {
save: '保存', save: '保存',
deleting: '正在删除...', deleting: '正在删除...',
updating: '正在更新...', updating: '正在更新...',
setStatus: '设置状态', status: '状态: %{status}',
backCollection: '正在集合“%{collectionLabel}”中编写', backCollection: '正在集合“%{collectionLabel}”中编写',
unsavedChanges: '含未保存的修改', unsavedChanges: '含未保存的修改',
changesSaved: '修改已保存', changesSaved: '修改已保存',

View File

@ -120,7 +120,7 @@ const zh_Hant = {
save: '儲存', save: '儲存',
deleting: '刪除中...', deleting: '刪除中...',
updating: '更新中...', updating: '更新中...',
setStatus: '設定狀態', status: '狀態: %{status}',
backCollection: '在集合 %{collectionLabel} 新增內容', backCollection: '在集合 %{collectionLabel} 新增內容',
unsavedChanges: '未儲存變更', unsavedChanges: '未儲存變更',
changesSaved: '已儲存變更', changesSaved: '已儲存變更',