浏览代码

[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();
             }