mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
added display of all protocols in the settings after installing a new container
- set the app's max height and width to 600/800 - expanded the description when removing containers
This commit is contained in:
@@ -206,8 +206,8 @@ void AmneziaApplication::loadFonts()
|
||||
void AmneziaApplication::loadTranslator()
|
||||
{
|
||||
auto locale = m_settings->getAppLanguage();
|
||||
m_translator.reset(new QTranslator());
|
||||
if (locale != QLocale::English) {
|
||||
m_translator.reset(new QTranslator());
|
||||
if (m_translator->load(locale, QString("amneziavpn"), QLatin1String("_"), QLatin1String(":/i18n"))) {
|
||||
if (QCoreApplication::installTranslator(m_translator.get())) {
|
||||
m_settings->setAppLanguage(locale);
|
||||
|
||||
Reference in New Issue
Block a user