view src/stores/language.js @ 6:7c1bde663c8e vue-cli

current frontend
author Thomas Junk <thomas.junk@intevation.de>
date Thu, 14 Jun 2018 13:33:26 +0200
parents 1597506a2241
children ee6d3836014e
line wrap: on
line source

const i18n = {
  namespaced: true,
  state: {
    signinHeader: "Please sign in",
    emailLabel: "Email address",
    passwordLabel: "Password",
    loginButtonLabel: "Login",
    loginAttemptFailed: "Login Failed"
  },
  getters: {
    signinHeader: state => {
      return state.signinHeader;
    },
    emailLabel: state => {
      return state.emailLabel;
    },
    passwordLabel: state => {
      return state.passwordLabel;
    },
    loginAttemptFailed: state => {
      return state.loginAttemptFailed;
    },
    loginButtonLabel: state => {
      return state.loginButtonLabel;
    }
  },
  mutations: {},
  actions: {}
};

export default i18n;