This commit is contained in:
2020-06-24 21:42:52 +00:00
parent 77621a4c9c
commit 272b620f61
3 changed files with 11 additions and 6 deletions

View File

@@ -11,7 +11,6 @@ export default {
//or they just edited a translation and saved it in translation editor and it's also their own local translation
if (editedTranslation) {
console.log("Updating local translation");
//iterate the keys that are cached and set them from whatever is in editedTranslation for that key
window.$gz._.forOwn(window.$gz.store.state.translationText, function(
cacheval,
@@ -28,6 +27,7 @@ export default {
});
} else {
//gather up the keys that are cached and fetch the latest and then replace them
console.log("STUB:translation:updateCache");
}
//if editedTranslation is empty that means just fetch the existing ones freshly again