浏览代码

Fix typo s/Applicaiton/Application/ in error messages (#17765)

Alexandre de Verteuil 6 年之前
父节点
当前提交
4f1d495ba1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      public/app/features/plugins/AppRootPage.tsx
  2. 1 1
      public/app/features/plugins/plugin_page_ctrl.ts

+ 1 - 1
public/app/features/plugins/AppRootPage.tsx

@@ -37,7 +37,7 @@ export function getAppPluginPageError(meta: AppPluginMeta) {
     return 'Plugin must be an app';
   }
   if (!meta.enabled) {
-    return 'Applicaiton Not Enabled';
+    return 'Application Not Enabled';
   }
   return null;
 }

+ 1 - 1
public/app/features/plugins/plugin_page_ctrl.ts

@@ -35,7 +35,7 @@ export class AppPageCtrl {
       return;
     }
     if (app.type !== 'app' || !app.enabled) {
-      this.$rootScope.appEvent('alert-error', ['Applicaiton Not Enabled', '']);
+      this.$rootScope.appEvent('alert-error', ['Application Not Enabled', '']);
       this.navModel = this.navModelSrv.getNotFoundNav();
       return;
     }