diff --git a/sources/gui/src/messages.cpp b/sources/gui/src/messages.cpp index f34970d..a92b542 100644 --- a/sources/gui/src/messages.cpp +++ b/sources/gui/src/messages.cpp @@ -116,9 +116,9 @@ QString infoMessage() { QString infoMessage = QString(""); // build information - infoMessage += QCoreApplication::translate("NetctlHelper", "Build date: %1"). + infoMessage += QCoreApplication::translate("MainWindow", "Build date: %1"). arg(QString(BUILD_DATE)); - infoMessage += QString("\n%1:\n").arg(QCoreApplication::translate("NetctlHelper", "cmake flags")); + infoMessage += QString("\n%1:\n").arg(QCoreApplication::translate("MainWindow", "cmake flags")); infoMessage += QString("\t-DCMAKE_BUILD_TYPE=%1 \\\n").arg(QString(CMAKE_BUILD_TYPE)); infoMessage += QString("\t-DCMAKE_INSTALL_PREFIX=%1 \\\n").arg(QString(CMAKE_INSTALL_PREFIX)); infoMessage += QString("\t-DBUILD_DOCS=%1 \\\n").arg(QString(PROJECT_BUILD_DOCS)); @@ -128,7 +128,7 @@ QString infoMessage() infoMessage += QString("\t-DBUILD_DATAENGINE=%1 \\\n").arg(QString(PROJECT_BUILD_DATAENGINE)); infoMessage += QString("\t-DBUILD_PLASMOID=%1\n").arg(QString(PROJECT_BUILD_PLASMOID)); // transport information - infoMessage += QString("%1:\n").arg(QCoreApplication::translate("NetctlHelper", "DBus configuration")); + infoMessage += QString("%1:\n").arg(QCoreApplication::translate("MainWindow", "DBus configuration")); infoMessage += QString("\tDBUS_SERVICE=%1\n").arg(QString(DBUS_SERVICE)); infoMessage += QString("\tDBUS_INTERFACE=%1\n").arg(QString(DBUS_INTERFACE)); infoMessage += QString("\tDBUS_OBJECT_PATH=%1\n").arg(QString(DBUS_OBJECT_PATH)); @@ -137,7 +137,7 @@ QString infoMessage() infoMessage += QString("\tDBUS_CTRL_PATH=%1\n").arg(QString(DBUS_CTRL_PATH)); infoMessage += QString("\tDBUS_LIB_PATH=%1\n").arg(QString(DBUS_LIB_PATH)); // docs path - infoMessage += QString("%1:\n").arg(QCoreApplication::translate("NetctlHelper", "Documentation")); + infoMessage += QString("%1:\n").arg(QCoreApplication::translate("MainWindow", "Documentation")); infoMessage += QString("\tDOCS_PATH=%1\n").arg(QString(DOCS_PATH)); QStringList docs = QDir(QString(DOCS_PATH)).entryList(QDir::NoDotAndDotDot); for (int i=0; i Status - Status + Status Refresh @@ -1074,6 +1074,18 @@ DBus configuration DBus configuration + + DBus API reference + DBus API reference + + + Security notes + Security notes + + + Library documentation + Library documentation + MobileWidget @@ -1343,6 +1355,10 @@ DBus configuration DBus configuration + + Documentation + Documentation + PasswdWidget @@ -1835,6 +1851,66 @@ Hide netctl-auto Hide netctl-auto + + Profile + Profile + + + (inactive) + (inactive) + + + (netctl-auto) + (netctl-auto) + + + (enabled) + (enabled) + + + (static) + (static) + + + Start another profile + Start another profile + + + Stop %1 + Stop %1 + + + Restart %1 + Restart %1 + + + Disable %1 + Disable %1 + + + Enable %1 + Enable %1 + + + Start profile + Start profile + + + Stop profile + Stop profile + + + Switch to profile + Switch to profile + + + Restart profile + Restart profile + + + Enable profile + Enable profile + TunnelWidget diff --git a/sources/resources/translations/netctl-gui.ts b/sources/resources/translations/netctl-gui.ts index 516bc4e..083bcaa 100644 --- a/sources/resources/translations/netctl-gui.ts +++ b/sources/resources/translations/netctl-gui.ts @@ -60,7 +60,7 @@ - + About @@ -739,216 +739,225 @@ MainWindow - + Netctl GUI - + Connect to profile - - - - + + + + Name - - + + Description - - Status - - - - - - - - - + + + + + + Refresh - - + + Ctrl+R - + Restart - - - - - + + + + + Start - + Create a new profile - - - + + Profile - - + + Clear - + Report a bug - - - Save - - - - - Connect to Wi-Fi - - - - - Please install 'wpa_supplicant' before using it - - - - - About - - - - - netctl-auto is running - - - - - Show - - - - - - Signal - - - - - - Security - - - Menu + DBus API reference - Actions + Security notes + Library documentation + + + + + Save + + + + + Connect to Wi-Fi + + + + + Please install 'wpa_supplicant' before using it + + + + + About + + + + + netctl-auto is running + + + + + Show + + + + + + Signal + + + + + + Security + + + + + Menu + + + + + Actions + + + + Help - + Settings - + Ctrl+S - + Quit - + Ctrl+Q - - - - + + + + Start profile - - + + Restart profile - - - - + + + + Enable profile - - + + Edit profile - - - + + + Remove profile - + Load profile - + Save profile - + Start Wi-Fi - + netctl-auto @@ -958,103 +967,109 @@ - + yes - + no - - - - + + + + Active - - + + Enabled - - - + + + Updated - - + + Stop profile - - + + Disable profile - - + + Exists - + ESSID - - + + Stop WiFi - - - - - + + + + + Start WiFi - - - - - - - - - + + + + + + + + + + + + Done - - - - - - - - - + + + + + + + + + + + + Error - - + + Stop @@ -1180,17 +1195,17 @@ - + Version - + Author - + License @@ -1547,6 +1562,11 @@ DBus configuration + + + Documentation + + PasswdWidget @@ -2122,34 +2142,113 @@ TrayIcon - - + + netctl status - + + + Profile + + + + + (inactive) + + + + + (netctl-auto) + + + + + (enabled) + + + + + (static) + + + + + Start another profile + + + + + Stop %1 + + + + + Restart %1 + + + + + Disable %1 + + + + + Enable %1 + + + + + + Start profile + + + + + Stop profile + + + + + Switch to profile + + + + + Restart profile + + + + + Enable profile + + + + Quit - - + + Show - + Show netctl-auto - + + + Status - + Hide diff --git a/sources/resources/translations/ru.ts b/sources/resources/translations/ru.ts index d7954ab..01832bc 100644 --- a/sources/resources/translations/ru.ts +++ b/sources/resources/translations/ru.ts @@ -720,7 +720,7 @@ Status - Статус + Статус Refresh @@ -1073,6 +1073,18 @@ DBus configuration Настройка DBus + + DBus API reference + Описание DBus API + + + Security notes + Примечания о безопасности + + + Library documentation + Документация + MobileWidget @@ -1342,6 +1354,10 @@ DBus configuration Настройка DBus + + Documentation + Документация + PasswdWidget @@ -1834,6 +1850,66 @@ Hide netctl-auto Свернуть netctl-auto + + Profile + Профиль + + + (inactive) + (неактивен) + + + (netctl-auto) + (netctl-auto) + + + (enabled) + (включен) + + + (static) + (статический) + + + Start another profile + Запустить другой профиль + + + Stop %1 + Остановить %1 + + + Restart %1 + Перезапустит %1 + + + Disable %1 + Отключить %1 + + + Enable %1 + Включить %1 + + + Start profile + Запустить профиль + + + Stop profile + Остановить профиль + + + Switch to profile + Переключиться на профиль + + + Restart profile + Перезапустить профиль + + + Enable profile + Включить профиль + TunnelWidget