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:
vladimir.kuznetsov 2023-09-01 17:39:23 +05:00
parent 4e9f68acff
commit a96f485e3c
7 changed files with 25 additions and 15 deletions

View file

@ -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);