1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 16:38:31 +00:00
* Fixed: Use loaded translations when populating the Translation Tester.
This commit is contained in:
SirStendec 2019-10-04 15:21:21 -04:00
parent f4c989561e
commit 13ccc577f5
5 changed files with 18 additions and 7 deletions

View file

@ -192,7 +192,14 @@ export class TranslationManager extends Module {
}
getKeys() {
return deep_copy(Array.from(this.captured.values()));
const out = [];
for(const entry of this.captured.values()) {
const thing = deep_copy(entry);
thing.translation = this._.phrases.get(thing.key) || thing.phrase;
out.push(thing);
}
return out;
}
requestKeys() {