diff --git a/src/app/euromat/routes.js b/src/app/euromat/routes.js index ed0171d..6fae502 100644 --- a/src/app/euromat/routes.js +++ b/src/app/euromat/routes.js @@ -2,7 +2,7 @@ import { DEFAULT_LOCALE } from '@/config' import i18n from '@/i18n' import localI18n from './i18n' import { storageAvailable } from '@/helper/storage' -import { getTranslatedTitles, getTranslatedAliases } from '@/i18n/helper' +import { getTranslatedAliases, getTranslatedTitles } from '@/i18n/helper' function hasAnswers (to, from, next) { if (storageAvailable('sessionStorage') && !sessionStorage.getItem('euromat-answers')) { @@ -26,7 +26,7 @@ export default [ } }, { - path: 'emphasis', + path: localI18n[DEFAULT_LOCALE].emphasis.url, alias: getTranslatedAliases(localI18n, 'emphasis'), name: 'emphasis', component: () => import('./components/emphasis' /* webpackChunkName: "euromat" */), @@ -36,7 +36,7 @@ export default [ } }, { - path: 'results', + path: localI18n[DEFAULT_LOCALE].results.url, alias: getTranslatedAliases(localI18n, 'results'), name: 'results', component: () => import('./components/results' /* webpackChunkName: "euromat" */),