diff options
author | Robert Adam <dev@robert-adam.de> | 2021-03-16 21:41:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-16 21:41:40 +0300 |
commit | 9c98a65734f1c37fc1a92d53014e5ce75896e3c3 (patch) | |
tree | 813fc97d5c034e6a704c4162fa526ac769935813 /src/mumble/mumble_eu.ts | |
parent | 88d7f31311892f50a1459c662e24cd33d2db6ecf (diff) | |
parent | 6fdcb61fcabb5cfa7e3174a158a61b4cf3fb41ad (diff) |
Merge pull request #4864: FIX(client): Make translations work again
Commit 0dcc1f6 introduced a regression
that caused translations to no longer work (the UI would always remain
in English).
The reason for this is that the translator objects installed into the
application have to remain alive in order to function. By moving them
into a dedicated function they went out of scope very quickly after
their creation and thus none of them actually performed any work.
This commit fixes this by creating the translator objects on the heap
and using a smart-pointer-like structure for making sure they are only
deleted once they are really not needed anymore.
Fixes #4856
Diffstat (limited to 'src/mumble/mumble_eu.ts')
0 files changed, 0 insertions, 0 deletions