Преглед на файлове

[oozie] Update notify error on workflow page to use i18n translations

abec преди 13 години
родител
ревизия
af2f86c829
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow.mako

+ 1 - 1
apps/oozie/src/oozie/templates/dashboard/list_oozie_workflow.mako

@@ -262,7 +262,7 @@ ${ layout.menubar(section='dashboard') }
        $.post($(this).attr("data-url"),
           function(response) {
             if (response['status'] != 0) {
-              $.jHueNotify.error('Problem: ' + response['data']);
+              $.jHueNotify.error("${ _('Problem: ') }" + response['data']);
             } else {
               window.location.reload();
             }