export default {
  trans: true,
  key: 'system.views.function',
  data: {
    common: {
      catalogue: 'Catalogue',
      menu: 'Menu',
      function: 'Function',
      rootCatalogue: 'Root catalogue',
    },
    table: {
      functionName: 'Function name',
      functionType: 'Function type',
      i18nCode: 'I18n code',
      icon: 'Icon',
      permission: 'Permission',
      httpMethod: 'Http method',
      menuIs: 'Is menu',
      internalOrExternal: 'Open externally',
      dataRule: 'Data permissions',
      component: 'Component path',
      componentName: 'Component name',
    },
    validate: {
      httpMethod: 'Please select the request method',
      functionName: 'Please enter the function name',
      functionType: 'Please enter the function type',
      i18nCode: 'Please enter the i18n code',
      url: 'Please enter the url',
      permission: 'Please enter the permission',
      icon: 'Please enter the icon',
      component: 'Please enter component path',
      componentName: 'Please enter component name',
      redirect: 'Please enter redirect',
    },
  },
};

/**
 * Function I18N
 */
// export default {
//   system: {
//     views: {
//       function: {
//         common: {
//           catalogue: 'Catalogue',
//           menu: 'Menu',
//           function: 'Function',
//           rootCatalogue: 'Root catalogue'
//         },
//         table: {
//           functionName: 'Function name',
//           functionType: 'Function type',
//           i18nCode: 'I18n code',
//           icon: 'Icon',
//           permission: 'Permission',
//           httpMethod: 'Http method',
//           menuIs: 'Is menu',
//           internalOrExternal: 'Open externally',
//           dataRule: 'Data permissions'
//         },
//         validate: {
//           httpMethod: 'Please select the request method',
//           functionName: 'Please enter the function name',
//           functionType: 'Please enter the function type',
//           i18nCode: 'Please enter the i18n code',
//           url: 'Please enter the url',
//           permission: 'Please enter the permission',
//           icon: 'Please enter the icon'
//         }
//       }
//     }
//   }
// }
