Mercurial > gemma
view src/stores/language.js @ 11:e0b5dd98665e vue-cli
current frontend with asset server configured
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 20 Jun 2018 14:43:48 +0200 |
parents | ee6d3836014e |
children |
line wrap: on
line source
const i18n = { namespaced: true, state: { signinHeader: "Please sign in", emailLabel: "Email address", passwordLabel: "Password", loginButtonLabel: "Log In", loginAttemptFailed: "Login Failed\n(try other email & passphrase)", passPhraseForgotten: "Passphrase forgotten?" }, 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; }, passPhraseForgotten: state => { return state.passPhraseForgotten; } }, mutations: {}, actions: {} }; export default i18n;