mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Added a success message on deletion of revision.
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
parent
f0add69b61
commit
25da4d9a8b
@ -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]);
|
||||
}
|
||||
|
||||
|
@ -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'
|
||||
];
|
||||
|
@ -271,4 +271,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Are you sure you want to delete this revision?',
|
||||
'revision_delete_success' => 'Revision deleted'
|
||||
];
|
@ -270,4 +270,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => '¿Está seguro de que desea eliminar esta revisión?',
|
||||
'revision_delete_success' => 'Revisión eliminada'
|
||||
];
|
||||
|
@ -270,4 +270,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Are you sure you want to delete this revision?',
|
||||
'revision_delete_success' => 'Revisión eliminada'
|
||||
];
|
||||
|
@ -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'
|
||||
];
|
@ -265,4 +265,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Sei sicuro di voler eliminare questa revisione?',
|
||||
'revision_delete_success' => 'Revisione cancellata'
|
||||
];
|
@ -262,4 +262,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'このリビジョンを削除しますか?',
|
||||
'revision_delete_success' => 'リビジョンを削除しました'
|
||||
];
|
||||
|
@ -264,4 +264,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Weet u zeker dat u deze revisie wilt verwijderen?',
|
||||
'revision_delete_success' => 'Revisie verwijderd'
|
||||
];
|
||||
|
@ -262,4 +262,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Czy na pewno chcesz usunąć tę wersję?',
|
||||
'revision_delete_success' => 'Usunięto wersję'
|
||||
];
|
@ -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'
|
||||
];
|
@ -263,4 +263,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Вы действительно хотите удалить эту ревизию?',
|
||||
'revision_delete_success' => 'Редактирование удалено'
|
||||
];
|
@ -237,4 +237,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => 'Naozaj chcete túto revíziu odstrániť?',
|
||||
'revision_delete_success' => 'Revízia bola vymazaná'
|
||||
];
|
||||
|
@ -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'
|
||||
];
|
@ -264,4 +264,5 @@ return [
|
||||
* Revision
|
||||
*/
|
||||
'revision_delete_confirm' => '您確定要刪除此修訂版嗎?',
|
||||
'revision_delete_success' => '修訂刪除'
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user