This commit is contained in:
2020-03-06 20:26:42 +00:00
parent 1eaf564851
commit 1d874d8d1f
20 changed files with 70 additions and 72 deletions

View File

@@ -16,7 +16,7 @@ function addNavItem(title, icon, route, navItems, key) {
export default function initialize() {
var promise = new Promise(function(resolve) {
if (window.$gz.store.state.authenticated) {
//Fetch the core localized text keys that will always be required by user
//Fetch the core translated text keys that will always be required by user
window.$gz.translation
.fetch(window.$gz.translation.coreKeys)
.then(function initializeNavPanel() {
@@ -110,9 +110,9 @@ export default function initialize() {
});
//Moved these two into user settings
// //USER LOCALE
// //USER TRANSLATE
// sub.push({
// title: window.$gz.translation.get("Locale"),
// title: window.$gz.translation.get("Translation"),
// icon: "language",
// route: "/home-translation",
// key: key++
@@ -560,7 +560,7 @@ export default function initialize() {
sub.push({
title: window.$gz.translation.get("Translation"),
icon: "language",
route: "/adm-localized-text",
route: "/adm-translation",
key: key++
});
@@ -735,7 +735,7 @@ export default function initialize() {
}
})
.then(() => {
//CACHE LOCALE SETTINGS
//CACHE TRANSLATION SETTINGS
window.$gz.api
.get("UserOptions/" + window.$gz.store.state.userId)
.then(res => {