Skip to content

Commit

Permalink
fix for translation of message on page import object (MID-6921)
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Mar 29, 2021
1 parent a9d8209 commit e5c167b
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -65,7 +65,7 @@ public class PageImportObject extends PageAdminConfiguration {
private static final Trace LOGGER = TraceManager.getTrace(PageImportObject.class);
private static final String DOT_CLASS = PageImportObject.class.getName() + ".";
private static final String OPERATION_IMPORT_FILE = DOT_CLASS + "importFile";
private static final String OPERATION_IMPORT_XML = DOT_CLASS + "importXml";
private static final String OPERATION_IMPORT = DOT_CLASS + "import";

private static final String ID_MAIN_FORM = "mainForm";
private static final String ID_BUTTON_BAR = "buttonBar";
Expand Down Expand Up @@ -240,7 +240,8 @@ protected void onError(AjaxRequestTarget target) {

@Override
protected void onSubmit(AjaxRequestTarget target) {
savePerformed(true, OPERATION_IMPORT_XML, target);
String operation = OPERATION_IMPORT + "." + dataLanguage;
savePerformed(true, operation, target);
}

@Override
Expand Down

0 comments on commit e5c167b

Please sign in to comment.