Commit Graph

9307 Commits

Author SHA1 Message Date
Hosted Weblate
f05fecbcf0 TRANSLATION: Update Hebrew translation
Currently translated at 71.4% (1462 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/he/
Translation: Mumble/Mumble Client
2021-05-20 08:21:21 +02:00
Hosted Weblate
e324a2e4f1 TRANSLATION: Update Polish translation
Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pl/
Translation: Mumble/Mumble Client
2021-05-20 08:21:20 +02:00
Hosted Weblate
e881a304cc TRANSLATION: Update Portuguese (Brazil) translation
Currently translated at 93.6% (1916 of 2045 strings)

TRANSLATION: Update Portuguese (Brazil) translation

Currently translated at 93.6% (1916 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kett Lovahr <vagnerlunes@gmail.com>
Co-authored-by: Vitor Sabino Cardoso da SIlva <vitorcsilva180396@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pt_BR/
Translation: Mumble/Mumble Client
2021-05-20 08:21:20 +02:00
Hosted Weblate
8af7e0da0d TRANSLATION: Update Korean translation
Currently translated at 76.0% (1555 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 71.3% (1459 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 68.8% (1407 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 66.8% (1367 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 65.3% (1337 of 2045 strings)

TRANSLATION: Update Korean translation

Currently translated at 63.9% (1308 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Linmalu(린마루) <gkdwns0103@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ko/
Translation: Mumble/Mumble Client
2021-05-20 08:20:43 +02:00
Robert Adam
4f314e0e26
Merge PR #5013: CHANGE(client, ui): Display unit as suffix in SpinBox 2021-05-20 08:09:07 +02:00
Robert Adam
a4973c0f64
Merge PR #5010: BUILD: Fixes for Ubuntu 20.04 ppa build 2021-05-19 12:59:36 +02:00
Robert Adam
e12c05eb12 TRANSLATION: Update translation files 2021-05-19 12:55:37 +02:00
Robert Adam
dac3e5baf4 CHANGE(client, ui): Display unit as suffix in SpinBox
The units of the settings for positional audio were displayed behind the
SpinBox as an additional label.

This commit removes the labels and instead uses the "suffix" field of
the SpinBoxes to display the unit directly in the SpinBox itself.

In principal this also has the potential to fix the issue of the unit
being placed incorrectly when an right-to-left locale is being used as in
that case Qt should put the suffix on the other side.
Note that this has not been verified though.
2021-05-19 12:51:39 +02:00
Septarius
5f5024f723
BUILD(plugin): Add QT_CORE_LIB to QT_VERSION Check
PluginComponents uses this check to determine if Qt library is already used so we don't want to force a Qt include.
Unity build triggered this since I believe it moved the header into a different compilation unit or compiled it first.

QT_VERSION requires #include <QtGlobal> before using it.
From: https://stackoverflow.com/questions/24899558/how-to-check-qt-version-to-include-different-header

QT_CORE_LIB is set by CMake
From: https://stackoverflow.com/questions/30840176/what-preprocessor-can-i-used-to-detect-if-qt-is-used-to-build-my-codes

Alternate solution could be using __if_include per https://forum.qt.io/post/564320 . But that appears to require C++17 mode.

Error log:
In file included from src/mumble/CMakeFiles/mumble.dir/Unity/unity_1_cxx.cxx:4:
... /src/mumble/PluginInstaller.cpp: In member function ‘void PluginInstaller::init()’:
... /src/mumble/PluginInstaller.cpp:149:92: error: no matching function for call to ‘QString::QString(mumble_version_t&)’
  149 |    .arg(pluginVersion == VERSION_UNKNOWN ? "Unknown" : static_cast< QString >(pluginVersion))

Co-authored-by: Robert Adam <dev@robert-adam.de>
2021-05-18 16:26:28 -06:00
Septarius
b0044fd4b2
BUILD(cmake): celt has unresolvable reference symbol
lintian ran on the Ubuntu ppa build had the following warning:
dpkg-shlibdeps: warning: debian/mumble/usr/lib/mumble/libcelt0.so.0.7.0 "contains an unresolvable reference to symbol sin: it's probably a plugin"

Celt CMake build was missing the link to the math library.
See for more information:
https://hsf-training.github.io/hsf-training-cmake-webpage/aio/index.html#aside-linking-to-math

Co-authored-by: Robert Adam <dev@robert-adam.de>
2021-05-18 16:19:09 -06:00
Septarius
a2624cc017
BUILD(client,unix): #undef conflicting macros
These two QEvents are overridden by the defines in X11 causing unity build errors.
In file included from ../src/mumble/GlobalShortcut_unix.h:13,
...
... /src/mumble/CustomElements.cpp: In member function 'virtual bool ChatbarTextEdit::event(
... /src/mumble/CustomElements.cpp:234:29: error: expected unqualified-id before numeric constant
  234 |  if (evt->type() == QEvent::KeyPress) {
...
... /src/mumble/Log.cpp: In member function 'void LogDocument::finished()':
... /src/mumble/Log.cpp:880:37: error: expected unqualified-id before numeric constant
  880 |      QEvent *e = new QEvent(QEvent::FontChange);
2021-05-18 16:01:07 -06:00
Septarius
0d957eca4d
BUILD(cmake): Only use PRIVATE keyword for target_sources
Moved ${SHARED_HEADERS} from PUBLIC to PRIVATE in target_sources for the main CMakeLists.txt

Rational:
"You don't need to make headers public when using target_sources().
	It should be very rare that you ever need to use anything by[sic] PRIVATE with target_sources().
	One of the few cases where there might be justification for a non-PRIVATE use would be for a header-only (INTERFACE) library.
	Outside of that scenario, I would only use PRIVATE." - Craig Scott
"... Thanks, it works now and the compile time has decreased by 80%." - frozen-void
From: "Unity builds fail for Qt based static libraries" https://gitlab.kitware.com/cmake/cmake/-/issues/20489
Similar discussion here: https://discourse.cmake.org/t/target-sources-and-header-visibility/2096

"The PRIVATE and PUBLIC keywords specify where those corresponding sources should be used.
	PRIVATE simply means those sources should only be added to myLib, whereas PUBLIC means those sources should be added to myLib and to any target that links to myLib.
	...
	In practice, sources will almost always be PRIVATE, since they shouldn't generally be added to anything that links against the target.
	...
	Do not confuse the PRIVATE , PUBLIC and INTERFACE keywords with whether a header is part of the public API for the library or not, the keywords are specifically for controlling which target(s) the sources are added to in this case."
From: https://crascit.com/2016/01/31/enhanced-source-file-handling-with-target_sources/

Error Log:
[237/431] Linking CXX executable tests/TestCrypt
FAILED: tests/TestCrypt
...
... /release/src/shared_autogen/EWIEGA46WW/moc_LogEmitter.cpp:98: multiple definition of 'LogEmitter::metaObject() const';
... /release/src/shared_autogen/EWIEGA46WW/moc_ServerResolver.cpp:98: multiple definition of 'ServerResolver::metaObject() const';
... /release/src/shared_autogen/EWIEGA46WW/moc_LogEmitter.cpp:129: multiple definition of 'LogEmitter::newLogEntry(QString const&)';
... /release/src/shared_autogen/EWIEGA46WW/moc_ServerResolver.cpp:129: multiple definition of 'ServerResolver::resolved()';
... /release/src/shared_autogen/EWIEGA46WW/moc_ServerResolver.cpp:66: multiple definition of 'ServerResolver::qt_static_metacall ...
... /release/src/shared_autogen/EWIEGA46WW/moc_LogEmitter.cpp:67: multiple definition of 'LogEmitter::qt_static_metacall ...
... /release/src/shared_autogen/EWIEGA46WW/moc_ServerResolver.cpp:103: multiple definition of `ServerResolver::qt_metacast ...
... /release/src/shared_autogen/EWIEGA46WW/moc_LogEmitter.cpp:111: multiple definition of `LogEmitter::qt_metacall ...
... /release/src/shared_autogen/EWIEGA46WW/moc_ServerResolver.cpp:111: multiple definition of `ServerResolver::qt_metacall ...
2021-05-18 15:59:54 -06:00
Robert Adam
998eb37adb
Merge PR #5007: BUILD(macos): Fix package script failing
We were seeing errors like

could not access /Volumes/Mumble 1.4.0~2021-05-16~g789f2d79e~snapshot/Mumble.app/Contents/MacOS/Mumble - No space left on device
hdiutil: create failed - No space left on device

every now and then when attempting to package the DMG package for macOS.

Following the trick described at
www.apple.stackexchange.com/a/177071/417917, we now add the
-megabytes option to the call which seems to fix the issue somehow.

This PR also reverts 0b75cd6 which failed to solve the issue.
2021-05-17 10:15:28 +02:00
Robert Adam
57095b0045 BUILD(macos): Fix package script failing
We were seeing errors like
could not access /Volumes/Mumble 1.4.0~2021-05-16~g789f2d79e~snapshot/Mumble.app/Contents/MacOS/Mumble - No space left on device
hdiutil: create failed - No space left on device
every now and then when attempting to package the DMG package for macOS.

Following the trick described at
https://apple.stackexchange.com/a/177071/417917, we now add the
-megabytes option to the call which seems to fix the issue somehow.
2021-05-17 08:54:52 +02:00
Robert Adam
0d71b84ec7 REVERT: "BUILD(macos): Fix hdiutil error during dmg packaging"
This reverts commit 0b75cd6f8a.
2021-05-17 08:49:39 +02:00
Robert Adam
3511ba5a41 MAINT: Introduce REVERT commit type 2021-05-17 08:49:07 +02:00
Robert Adam
789f2d79e1
Merge PR #5004: TRANSLATION: Translations update from Weblate 2021-05-16 20:11:30 +02:00
Hosted Weblate
181f41ab6a TRANSLATION: Update Polish translation
Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Polish translation

Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pl/
Translation: Mumble/Mumble Client
2021-05-16 19:20:28 +02:00
Hosted Weblate
02d8c22175 TRANSLATION: Update Chinese (Simplified) translation
Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: deluxghost <deluxghost@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/zh_Hans/
Translation: Mumble/Mumble Client
2021-05-16 19:20:28 +02:00
Hosted Weblate
3b69da0162 TRANSLATION: Update Dutch translation
Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: Gert-dev <qnyasgjhapqyuhoibr@kiabws.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/nl/
Translation: Mumble/Mumble Client
2021-05-16 19:20:28 +02:00
Hosted Weblate
2467ed5d53 TRANSLATION: Update German translation
Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 99.9% (2043 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Co-authored-by: Translator <weblate.gledy@aleeas.com>
Co-authored-by: gitgrub <gitgrub.email@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2021-05-16 19:20:28 +02:00
Hosted Weblate
5722b05b97 TRANSLATION: Update Turkish translation
Currently translated at 100.0% (2045 of 2045 strings)

TRANSLATION: Update Turkish translation

Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: udo pton <udopton@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/tr/
Translation: Mumble/Mumble Client
2021-05-16 19:20:28 +02:00
Robert Adam
c272417575
Merge PR #5005: FORMAT: Run clang-format 10 on all source files 2021-05-16 19:20:22 +02:00
Robert Adam
ad5968cad4 FORMAT: Run clang-format 10 on all source files 2021-05-16 18:40:34 +02:00
Robert Adam
05db5fe6fc
Merge PR #5003: FIX(server): ChannelListener IDs colliding across VServers
As the ChannelListener feature was implemented via a Singleton class,
there was only ever a single, global instance keeping track of listeners.
If however there were multiple VServers running from within a single
Mumble server instance, all of them would use the same ChannelListener
instance. That allowed for user-IDs to collide across different VServers
when it came to listener-management.

Thus listeners could appear/disappear seemingly at random whenever a
user on a different VServer (with the same session ID on that server)
changed their listeners.

Fixes #4366
2021-05-16 17:33:51 +02:00
Jan Klass
372926e092
Merge PR #5002: Translations update from Weblate 2021-05-16 16:59:30 +02:00
Hosted Weblate
87df9ff889
TRANSLATION: Update Polish translation
Currently translated at 100.0% (2045 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/pl/
Translation: Mumble/Mumble Client
2021-05-16 16:52:02 +02:00
Hosted Weblate
edc34f55fa
TRANSLATION: Update German translation
Currently translated at 98.7% (2019 of 2045 strings)

TRANSLATION: Update German translation

Currently translated at 98.7% (2019 of 2045 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robert Adam <dev@robert-adam.de>
Co-authored-by: Thomas Umbach <thum@vikings.net>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/de/
Translation: Mumble/Mumble Client
2021-05-16 16:52:01 +02:00
Robert Adam
f518ad8018 FIX(server): ChannelListener IDs colliding across VServers
As the ChannelListener feature was implemented via a Singleton class,
there was only ever a single, global instance keeping track of listeners.
If however there were multiple VServers running from within a single
Mumble server instance, all of them would use the same ChannelListener
instance. That allowed for user-IDs to collide across different VServers
when it came to listener-management.

Thus listeners could appear/disappear seemingly at random whenever a
user on a different VServer (with the same session ID on that server)
changed their listeners.

Fixes #4366
2021-05-16 16:21:25 +02:00
Robert Adam
06ec271076
Merge PR #5000: FIX(client): Don't escape characters in URL targets
If one was to send a link like
"http://localhost/?var1=foo&var2=bar&var3=baz" either as-is or as a
markdown-style link ("name"), the "&" character in the link
would get escaped as "&".

For displaying purposes this is fine, as the Mumble client re-interprets
these escape sequences before rendering them to the user. The same
escaping was done in the surrounding HTML element's href
specification. This lead to invalid URLs being used as link targets.

Therefore this commit makes sure that the href content of an HTML
element will be un-escaped before inserting into the HTML structure
(thus preserving the original characters in the href specification).

Fixes #4999
2021-05-16 15:48:34 +02:00
Robert Adam
c521b2749c
Merge PR #4998: TRANSLATION: Translations update from Weblate 2021-05-16 15:17:13 +02:00
Robert Adam
d0bd1a0a1c FIX(client): Don't escape characters in URL targets
If one was to send a link like
"http://localhost/?var1=foo&var2=bar&var3=baz" either as-is or as a
markdown-style link ("[name](<url>)"), the "&" character in the link
would get escaped as "&amp;".

For displaying purposes this is fine, as the Mumble client re-interprets
these escape sequences before rendering them to the user. The same
escaping was done in the surrounding <a> HTML element's href
specification. This lead to invalid URLs being used as link targets.

Therefore this commit makes sure that the href content of an <a> HTML
element will be un-escaped before inserting into the HTML structure
(thus preserving the original characters in the href specification).

Fixes #4999
2021-05-16 15:09:19 +02:00
Hosted Weblate
fe275a05bd TRANSLATION: Update Korean translation
Currently translated at 60.3% (1233 of 2043 strings)

Co-authored-by: Linmalu(린마루) <gkdwns0103@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ko/
Translation: Mumble/Mumble Client
2021-05-16 14:20:52 +02:00
Robert Adam
1e388ac85f
Merge PR #4994: FIX(client): Echo cancellation options not translated
These Strings were not translated because as global static variables
they were created before the necessary translators are installed.

This commit fixes this by making sure the containing EchoCancelOption
objects are created lazily (at the time they are needed for the first
time), thus causing a delaying instantiation.

Fixes #4993
2021-05-16 09:32:41 +02:00
Robert Adam
029fdc4c7f
Merge PR #4995: FEAT(client): Revamp positional audio settings page
The following things were changed:

    Ordering of sliders to be grouped more logically
    Tooltips
    Added SpinBox to display and manually edit values (also partly beyond
    the slider's range)
    Increased slider range for maximum distance to 200m (instead 100m)

Fixes #4990
2021-05-16 08:52:54 +02:00
Robert Adam
a7bbef25bc TRANSLATION: Update translation files 2021-05-15 17:37:39 +02:00
Robert Adam
af1c4749a1 FEAT(client): Revamp positional audio settings page
The following things were changed/adapted:
- Ordering of sliders to be grouped more logically
- Tooltips
- Added SpinBox to display and manually edit values (also partly beyond
  the slider's range)
- Increased slider range for maximum distance to 200m (instead 100m)

Fixes #4990
2021-05-15 17:37:29 +02:00
Robert Adam
685480ef75 DOCS: Adde comments to AudioOutput::calcGain 2021-05-15 17:37:29 +02:00
Robert Adam
694ca16a6a MAINT: Remove overly verbose copyright notice 2021-05-15 17:37:29 +02:00
Jan Klass
0f3b8da906
Merge PR #4996: Translations update from Weblate 2021-05-15 13:04:11 +02:00
Hosted Weblate
a9c45d69ef
TRANSLATION: Update French translation
Currently translated at 93.0% (1902 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: bendem <online+weblate.org@bendem.be>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/fr/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Hosted Weblate
f0c93abb2c
TRANSLATION: Update Korean translation
Currently translated at 59.2% (1210 of 2043 strings)

TRANSLATION: Update Korean translation

Currently translated at 57.9% (1184 of 2043 strings)

TRANSLATION: Update Korean translation

Currently translated at 55.8% (1142 of 2043 strings)

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 린마루 <gkdwns0103@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ko/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Hosted Weblate
7fa3724a51
TRANSLATION: Update Dutch translation
Currently translated at 100.0% (2043 of 2043 strings)

TRANSLATION: Update Dutch translation

Currently translated at 99.9% (2042 of 2043 strings)

Co-authored-by: Gert-dev <qnyasgjhapqyuhoibr@kiabws.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: nocturnalfilth <nocturnalfilth@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/nl/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Hosted Weblate
81abf799ec
TRANSLATION: Update Russian translation
Currently translated at 99.8% (2039 of 2043 strings)

Co-authored-by: Game one <denis.melnyk.2006@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/mumble/mumble-client/ru/
Translation: Mumble/Mumble Client
2021-05-14 23:18:06 +02:00
Robert Adam
322d231cbb
Merge PR #4997: DOCS: Added info about Poco dependency 2021-05-14 20:01:16 +02:00
Robert Adam
c9ef111505 DOCS: Added info about Poco dependency 2021-05-14 18:24:54 +02:00
Davide Beatrici
d535e146d9
Merge PR #4970: FEAT(client): Implement native support for PipeWire 2021-05-14 01:51:09 +02:00
Davide Beatrici
0a31cd1c63 FEAT(client): Implement native support for PipeWire
Tested with PipeWire 0.3.26.

The implementation is quite basic and simple, yet it surpasses the JACK one in terms of features.
For example, support for the most common surround mappings is provided.

As opposed to JACK, an option to disable the auto endpoint connection is not provided.
However, it's something that can be easily implemented if needed.

Support for echo cancellation will definitely be added in future.
2021-05-13 21:09:35 +02:00
Robert Adam
7fb4708c03 BUILD(cmake, windows): Prevent definition min/max macros
These macros are defined in Windows.h if the NOMINMAX macro is not set.
This then causes all other uses of the terms "min" and "max" (as e.g. in
std::min, std::numeric_limits<>::min, etc.) to fail, which is
unacceptable. Therefore NOMINMAX is now defined globally when compiling
on Windows.
2021-05-13 19:46:38 +02:00
Robert Adam
c54a7dfbd9 FIX(client): Echo cancellation options not translated
These Strings were not translated because as global static variables
they were created before the necessary translators are installed.

This commit fixes this by making sure the containing EchoCancelOption
objects are created lazily (at the time they are needed for the first
time), thus causing a delaying instantiation.

Fixes #4993

Co-Authored-By: Jan Klass <kissaki@posteo.de>
2021-05-13 19:35:19 +02:00