mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
4.12.6
* Fixed: Use loaded translations when populating the Translation Tester.
This commit is contained in:
parent
f4c989561e
commit
13ccc577f5
5 changed files with 18 additions and 7 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue