Added a success message on deletion of revision.

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
Abijeet 2018-09-15 16:08:20 +05:30
parent f0add69b61
commit 25da4d9a8b
15 changed files with 16 additions and 1 deletions

View File

@ -484,6 +484,7 @@ class PageController extends Controller
}
$revision->delete();
session()->flash('success', trans('entities.revision_delete_success'));
return view('pages/revisions', ['page' => $page, 'book' => $page->book, 'current' => $page]);
}

View File

@ -261,4 +261,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Sind Sie sicher, dass Sie diese Revision löschen wollen?',
'revision_delete_success' => 'Revision gelöscht'
];

View File

@ -271,4 +271,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Are you sure you want to delete this revision?',
'revision_delete_success' => 'Revision deleted'
];

View File

@ -270,4 +270,5 @@ return [
* Revision
*/
'revision_delete_confirm' => '¿Está seguro de que desea eliminar esta revisión?',
'revision_delete_success' => 'Revisión eliminada'
];

View File

@ -270,4 +270,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Are you sure you want to delete this revision?',
'revision_delete_success' => 'Revisión eliminada'
];

View File

@ -270,4 +270,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Êtes-vous sûr de vouloir supprimer cette révision?',
'revision_delete_success' => 'Révision supprimée'
];

View File

@ -265,4 +265,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Sei sicuro di voler eliminare questa revisione?',
'revision_delete_success' => 'Revisione cancellata'
];

View File

@ -262,4 +262,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'このリビジョンを削除しますか?',
'revision_delete_success' => 'リビジョンを削除しました'
];

View File

@ -264,4 +264,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Weet u zeker dat u deze revisie wilt verwijderen?',
'revision_delete_success' => 'Revisie verwijderd'
];

View File

@ -262,4 +262,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Czy na pewno chcesz usunąć tę wersję?',
'revision_delete_success' => 'Usunięto wersję'
];

View File

@ -263,4 +263,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Tem certeza de que deseja excluir esta revisão?',
'revision_delete_success' => 'Revisão excluída'
];

View File

@ -263,4 +263,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Вы действительно хотите удалить эту ревизию?',
'revision_delete_success' => 'Редактирование удалено'
];

View File

@ -237,4 +237,5 @@ return [
* Revision
*/
'revision_delete_confirm' => 'Naozaj chcete túto revíziu odstrániť?',
'revision_delete_success' => 'Revízia bola vymazaná'
];

View File

@ -269,5 +269,6 @@ return [
/**
* Revision
*/
'revision_delete_confirm' => 'Är du säker på att du vill radera den här versionen?'
'revision_delete_confirm' => 'Är du säker på att du vill radera den här versionen?',
'revision_delete_success' => 'Revisionen raderad'
];

View File

@ -264,4 +264,5 @@ return [
* Revision
*/
'revision_delete_confirm' => '您確定要刪除此修訂版嗎?',
'revision_delete_success' => '修訂刪除'
];