Skip to content
Snippets Groups Projects
Commit f23afb93 authored by buczekp's avatar buczekp
Browse files

[LMS-2366] minor: fixed empty trash dialog title & msg

SVN: 22144
parent a98eb17c
No related branches found
No related tags found
No related merge requests found
...@@ -37,12 +37,11 @@ public final class EmptyTrashConfirmationDialog extends ...@@ -37,12 +37,11 @@ public final class EmptyTrashConfirmationDialog extends
private final AbstractAsyncCallback<Void> callback; private final AbstractAsyncCallback<Void> callback;
public EmptyTrashConfirmationDialog( public EmptyTrashConfirmationDialog(IViewContext<ICommonClientServiceAsync> viewContext,
IViewContext<ICommonClientServiceAsync> viewContext,
AbstractAsyncCallback<Void> callback) AbstractAsyncCallback<Void> callback)
{ {
super(viewContext, Collections.<Deletion> emptyList(), viewContext super(viewContext, Collections.<Deletion> emptyList(), viewContext
.getMessage(Dict.PERMANENT_DELETIONS_CONFIRMATION_TITLE)); .getMessage(Dict.EMPTY_TRASH_CONFIRMATION_TITLE));
this.viewContext = viewContext; this.viewContext = viewContext;
this.callback = callback; this.callback = callback;
} }
...@@ -56,7 +55,7 @@ public final class EmptyTrashConfirmationDialog extends ...@@ -56,7 +55,7 @@ public final class EmptyTrashConfirmationDialog extends
@Override @Override
protected String createMessage() protected String createMessage()
{ {
return viewContext.getMessage(Dict.PERMANENT_DELETIONS_CONFIRMATION_MSG, data.size()); return viewContext.getMessage(Dict.EMPTY_TRASH_CONFIRMATION_MSG, data.size());
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment