This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user