Closed ankit-m closed 7 years ago
The user defined translations are no longer working
The following lines are generating the error. @rohankatyal29 you just need to handle these cases.
this.stats['translatorWiseWordCount'][0][currentMonth][this.translator][0] += numberOfTranslatedWords; this.stats['translatorWiseWordCount'][0][currentMonth][this.translator][1] += numberOfTranslatedCharacters; this.stats['translatorWiseWordCount'][0][currentMonth][this.translator][2] += numberOfTranslatedCharacters; this.stats['translatorWiseWordCount'][1][currentDay][this.translator][0] += numberOfTranslatedWords; this.stats['translatorWiseWordCount'][1][currentDay][this.translator][1] += numberOfTranslatedCharacters; this.stats['translatorWiseWordCount'][1][currentDay][this.translator][2] += numberOfTranslatedCharacters;
If you remove the previous version of the extension and then add the new one, this error should disappear. If you only refresh the rebased code, the local storage won't be refreshed.
The user defined translations are no longer working
The following lines are generating the error. @rohankatyal29 you just need to handle these cases.