export interface ButtonText {
  buttonText: {
    submit: string;
    reset: string;
    login: string;
  };
  submitText: {
    success: string;
    error: string;
  };
  loginText: {
    success: string;
    error: string;
  };
}

export const buttonZhCn: ButtonText = {
  buttonText: {
    submit: '提交',
    reset: '清空',
    login: '登录',
  },
  submitText: {
    success: '提交成功',
    error: '提交失败：',
  },
  loginText: {
    success: '登录成功',
    error: '登录失败',
  },
};

export const buttonEnUs: ButtonText = {
  buttonText: {
    submit: 'Submit',
    reset: 'Reset',
    login: 'Login',
  },
  submitText: {
    success: 'Success',
    error: 'Error: ',
  },
  loginText: {
    success: '登录成功',
    error: '登录失败',
  },
};
