update translations
This commit is contained in:
arcan1s
2015-03-17 13:22:45 +03:00
parent e4bcfb1653
commit bf7521481a
23 changed files with 4927 additions and 2933 deletions

View File

@ -23,9 +23,6 @@ SKIPCOMPONENTS=false
# use netctlgui-helper if it is available.
# This option is not recognized by netctlgui-helper
USE_HELPER=true
# group which allows to control helper, refer to DBus configuration
# This option is not recognized by netctlgui-helper
HELPER_GROUP=network
# force use SUDO_PATH for helper instead of using setuid(3) to child processes
FORCE_SUDO=false
# hide application to tray on exit if tray is available.
@ -77,6 +74,3 @@ IFACE_DIR=/sys/class/net/
RFKILL_DIR=/sys/class/rfkill/
# prefered wireless interface
PREFERED_IFACE=

View File

@ -110,9 +110,11 @@ QString ControlAdaptor::SecurityDocs()
}
bool ControlAdaptor::SelfDestruct()
bool ControlAdaptor::SelfDestruct(const QString approve)
{
return SelfDestruct();
if (approve == QString("Yes, please")) return SelfDestruct(approve);
return false;
}

View File

@ -45,7 +45,7 @@ public slots:
QString LibraryDocs();
QString Pony();
QString SecurityDocs();
bool SelfDestruct();
bool SelfDestruct(const QString approve);
QStringList Settings();
QStringList UIDs();
bool Update();

View File

@ -156,7 +156,6 @@ QMap<QString, QString> NetctlHelper::getSettings(const QString file)
settings.beginGroup(QString("Helper"));
config[QString("USE_HELPER")] = settings.value(QString("USE_HELPER"), QString("true")).toString();
config[QString("HELPER_GROUP")] = settings.value(QString("HELPER_GROUP"), QString("network")).toString();
config[QString("FORCE_SUDO")] = settings.value(QString("FORCE_SUDO"), QString("false")).toString();
config[QString("CLOSE_HELPER")] = settings.value(QString("CLOSE_HELPER"), QString("false")).toString();
config[QString("HELPER_PATH")] = settings.value(QString("HELPER_PATH"), QString("/usr/bin/netctlgui-helper")).toString();