From cd9e9a13694273d3f9d14b6cf15b232a71da97d0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 24 Dec 2017 14:02:51 +0000 Subject: net-misc/nm-tray : bump to r99999 (git tree) --- net-misc/nm-tray/files/nm-tray-0.3.0-r99999.patch | 2434 +++++++++++++++++++++ net-misc/nm-tray/nm-tray-0.3.0-r99999.ebuild | 30 + net-misc/nm-tray/nm-tray-0.3.0.ebuild | 24 - 3 files changed, 2464 insertions(+), 24 deletions(-) create mode 100644 net-misc/nm-tray/files/nm-tray-0.3.0-r99999.patch create mode 100644 net-misc/nm-tray/nm-tray-0.3.0-r99999.ebuild delete mode 100644 net-misc/nm-tray/nm-tray-0.3.0.ebuild (limited to 'net-misc') diff --git a/net-misc/nm-tray/files/nm-tray-0.3.0-r99999.patch b/net-misc/nm-tray/files/nm-tray-0.3.0-r99999.patch new file mode 100644 index 00000000..97ed919d --- /dev/null +++ b/net-misc/nm-tray/files/nm-tray-0.3.0-r99999.patch @@ -0,0 +1,2434 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d76c52e..05e2445 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -81,3 +81,4 @@ install(TARGETS nm-tray RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}" COMPO + install(FILES ${QMS} DESTINATION "${TRANSLATION_DIR}" COMPONENT translations) + install(FILES "resources/nm-tray.desktop" DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications" COMPONENT data) + install(FILES "resources/nm-tray-autostart.desktop" DESTINATION "${NM_TRAY_XDG_AUTOSTART_DIR}" COMPONENT data) ++install(FILES "resources/nm-tray.conf" DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}" COMPONENT data) +diff --git a/README.md b/README.md +index a5ebf6c..eece088 100644 +--- a/README.md ++++ b/README.md +@@ -3,8 +3,6 @@ + **nm-tray** is a simple [NetworkManager](https://wiki.gnome.org/Projects/NetworkManager) front end with information icon residing in system tray (like e.g. nm-applet). + It's a pure Qt application. For interaction with *NetworkManager* it uses API provided by [**KF5::NetworkManagerQt**](https://projects.kde.org/projects/frameworks/networkmanager-qt) -> plain DBus communication. + +-**! This is work in progress and there are still many TODOs and debugs all around in the code !** +- + ## License + + This software is licensed under [GNU GPLv2 or later](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html) +@@ -24,3 +22,7 @@ This software is licensed under [GNU GPLv2 or later](https://www.gnu.org/license + For [arch users](https://www.archlinux.org/) there is an AUR packge [nm-tray-git](https://aur.archlinux.org/packages/nm-tray-git/) (thanks to [pmattern](https://github.com/pmattern)). + + For [openSUSE users](https://www.opensuse.org/) there is a [package](https://build.opensuse.org/package/show/X11:LXQt:git/nm-tray) in the [X11:LXQt:git](https://build.opensuse.org/project/show/X11:LXQt:git) devel project of OBS. ++ ++## Translations ++ ++Thanks to [Weblate](https://weblate.org/) anyone can help us to localize nm-tray by using the [hosted weblate service](https://hosted.weblate.org/projects/nm-tray/translations/). +diff --git a/resources/nm-tray.conf b/resources/nm-tray.conf +new file mode 100644 +index 0000000..77593c7 +--- /dev/null ++++ b/resources/nm-tray.conf +@@ -0,0 +1,3 @@ ++[General] ++connectionsEditor=xterm, -e, nmtui-edit ++enableNotifications=true +diff --git a/resources/nm-tray.desktop b/resources/nm-tray.desktop +index 1ef7353..f86c82d 100644 +--- a/resources/nm-tray.desktop ++++ b/resources/nm-tray.desktop +@@ -5,4 +5,4 @@ Comment=NetworkManager frontend (tray icon) + Icon=network-transmit + TryExec=nm-tray + Exec=nm-tray +-Categories=Network;System;Monitor;Qt;TrayIcon ++Categories=System;Monitor;Qt; +diff --git a/src/nmmodel.cpp b/src/nmmodel.cpp +index beee319..82a5676 100644 +--- a/src/nmmodel.cpp ++++ b/src/nmmodel.cpp +@@ -378,7 +378,8 @@ void NmModelPrivate::onDeviceAdded(QString const & uni) + NetworkManager::Device::Ptr dev = NetworkManager::findNetworkInterface(uni); + if (!dev.isNull()) + { +- Q_ASSERT(dev->isValid()); ++ if (dev->isValid()) ++ qCWarning(NM_TRAY).noquote() << Q_FUNC_INFO << uni << " is currently invalid..."; + emit deviceAdd(dev); + } + } +@@ -388,7 +389,8 @@ void NmModelPrivate::onDeviceRemoved(QString const & uni) + NetworkManager::Device::Ptr dev = findDeviceUni(uni); + if (!dev.isNull()) + { +- Q_ASSERT(dev->isValid()); ++ if (dev->isValid()) ++ qCWarning(NM_TRAY).noquote() << Q_FUNC_INFO << uni << " is currently invalid..."; + emit deviceRemove(dev.data()); + } + } +@@ -398,7 +400,8 @@ void NmModelPrivate::onActiveConnectionAdded(QString const & path) + NetworkManager::ActiveConnection::Ptr conn = NetworkManager::findActiveConnection(path);//XXX: const QString &uni + if (!conn.isNull()) + { +- Q_ASSERT(conn->isValid()); ++ if (conn->isValid()) ++ qCWarning(NM_TRAY).noquote() << Q_FUNC_INFO << path << " is currently invalid..."; + emit activeConnectionAdd(conn); + } + } +@@ -408,7 +411,8 @@ void NmModelPrivate::onActiveConnectionRemoved(QString const & path) + NetworkManager::ActiveConnection::Ptr conn = findActiveConnection(path);//XXX: const QString &uni + if (!conn.isNull()) + { +- Q_ASSERT(conn->isValid()); ++ if (conn->isValid()) ++ qCWarning(NM_TRAY).noquote() << Q_FUNC_INFO << path << " is currently invalid..."; + emit activeConnectionRemove(conn.data()); + } + } +@@ -423,7 +427,8 @@ void NmModelPrivate::onConnectionAdded(QString const & path) + NetworkManager::Connection::Ptr conn = NetworkManager::findConnection(path); + if (!conn.isNull()) + { +- Q_ASSERT(conn->isValid()); ++ if (conn->isValid()) ++ qCWarning(NM_TRAY).noquote() << Q_FUNC_INFO << path << " is currently invalid..."; + emit connectionAdd(conn); + } + } +@@ -433,7 +438,8 @@ void NmModelPrivate::onConnectionRemoved(QString const & path) + NetworkManager::Connection::Ptr conn = NetworkManager::findConnection(path); + if (!conn.isNull()) + { +- Q_ASSERT(conn->isValid()); ++ if (conn->isValid()) ++ qCWarning(NM_TRAY).noquote() << Q_FUNC_INFO << path << " is currently invalid..."; + emit connectionRemove(conn.data()); + } + } +diff --git a/src/tray.cpp b/src/tray.cpp +index 2fec52d..ba1e33f 100644 +--- a/src/tray.cpp ++++ b/src/tray.cpp +@@ -43,6 +43,7 @@ COPYRIGHT_HEADER*/ + + // config keys + static const QString ENABLE_NOTIFICATIONS = QStringLiteral("enableNotifications"); ++static const QString CONNECTIONS_EDITOR = QStringLiteral("connectionsEditor"); + + class TrayPrivate + { +@@ -79,7 +80,7 @@ class TrayPrivate + + + // configuration +- bool mEnableNotifications; //!< should info about connection establishment etc. be send by org.freedesktop.Notifications ++ bool mEnableNotifications; //!< should info about connection establishment etc. be sent by org.freedesktop.Notifications + }; + + TrayPrivate::TrayPrivate() +@@ -199,7 +200,7 @@ void TrayPrivate::notify(QModelIndex const & index, bool removing) + { + mConnectionsToNotify.removeOne(index); + summary = Tray::tr("Connection lost"); +- body = Tray::tr("We have just lost the connection to %1 '%2'."); ++ body = Tray::tr("No longer connected to %1 '%2'."); + } else + { + const int notif_i = mConnectionsToNotify.indexOf(index); +@@ -212,7 +213,7 @@ void TrayPrivate::notify(QModelIndex const & index, bool removing) + } + mConnectionsToNotify.removeAt(notif_i); // fire the notification only once + summary = Tray::tr("Connection established"); +- body = Tray::tr("We have just established the connection to %1 '%2'."); ++ body = Tray::tr("Now connected to %1 '%2'."); + } + + // TODO: do somehow check the result? +@@ -250,7 +251,7 @@ Tray::Tray(QObject *parent/* = nullptr*/) + d->mIconTimer.setInterval(0); + + d->mActEnableNetwork = d->mContextMenu.addAction(Tray::tr("Enable Networking")); +- d->mActEnableWifi = d->mContextMenu.addAction(Tray::tr("Enable Wi-fi")); ++ d->mActEnableWifi = d->mContextMenu.addAction(Tray::tr("Enable Wi-Fi")); + d->mContextMenu.addSeparator(); + QAction * enable_notifications = d->mContextMenu.addAction(Tray::tr("Enable notifications")); + d->mContextMenu.addSeparator(); +@@ -345,17 +346,35 @@ bool Tray::eventFilter(QObject * object, QEvent * event) + + void Tray::onEditConnectionsTriggered() + { ++ const QStringList connections_editor = QSettings{}.value(CONNECTIONS_EDITOR, QStringList{{"xterm", "-e", "nmtui-edit"}}).toStringList(); ++ if (connections_editor.empty() || connections_editor.front().isEmpty()) ++ { ++ qCCritical(NM_TRAY) << "Can't start connection editor, because of misconfiguration. Value of" ++ << CONNECTIONS_EDITOR << "invalid key," << connections_editor; ++ return; ++ } ++ + // Note: let this object dangle, if the process isn't finished until our application is closed + QProcess * editor = new QProcess; + editor->setProcessChannelMode(QProcess::ForwardedChannels); +- // TODO: allow the command to be configurable!? +- qCInfo(NM_TRAY) << "starting the nm-connection-editor"; +- editor->start(QStringLiteral("nm-connection-editor")); +- editor->closeWriteChannel(); +- connect(editor, static_cast(&QProcess::finished), [editor] { +- qCInfo(NM_TRAY) << "the nm-connection-editor finished"; ++ connect(editor, static_cast(&QProcess::finished) ++ , [connections_editor, editor] (int exitCode, QProcess::ExitStatus exitStatus) { ++ qCInfo(NM_TRAY) << "connection editor " << connections_editor << " finished, exitCode=" << exitCode << ", exitStatus=" << exitStatus; + editor->deleteLater(); + }); ++ connect(editor, &QProcess::errorOccurred ++ , [connections_editor, editor] (QProcess::ProcessError error) { ++ qCInfo(NM_TRAY) << "connection editor " << connections_editor << " failed, error=" << error; ++ editor->deleteLater(); ++ }); ++ ++ qCInfo(NM_TRAY) << "starting connection editor " << connections_editor; ++ ++ QString program = connections_editor.front(); ++ QStringList args; ++ std::copy(connections_editor.cbegin() + 1, connections_editor.cend(), std::back_inserter(args)); ++ editor->start(program, args); ++ editor->closeWriteChannel(); + } + + void Tray::onAboutTriggered() +diff --git a/translations/nm-tray.ts b/translations/nm-tray.ts +index 720cf7b..b39bbae 100644 +--- a/translations/nm-tray.ts ++++ b/translations/nm-tray.ts +@@ -35,125 +35,125 @@ + + NmModel + +- ++ ++ nm-tray - wireless password ++ ++ ++ ++ ++ Password is needed for connection to '%1': ++ ++ ++ ++ + root + + + +- ++ + active connection(s) + + + +- ++ + connection(s) + + + +- ++ + device(s) + + + +- ++ + wifi network(s) + + + +- ++ + unknown + hardware address + + + +- +- nm-tray - wireless password +- +- +- +- +- Password is needed for connection to '%1': +- +- +- +- ++ + General + Active connection information + + + +- ++ + Interface + Active connection information + + + +- ++ + Hardware Address + Active connection information + + + +- ++ + Driver + Active connection information + + + +- ++ + Speed + Active connection information + + + +- ++ + Kb/s + + + +- ++ + unknown + Speed + + + +- ++ + Security + Active connection information + + + +- ++ + IPv4 + Active connection information + + + +- ++ + IPv6 + Active connection information + + + +- ++ + IP Address + Active connection information + + + +- ++ + Subnet Mask + Active connection information + + + +- ++ + Default route + Active connection information + + + +- ++ + DNS(%1) + Active connection information + +@@ -162,92 +162,112 @@ + + Tray + +- +- Connection lost ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> ++ ++ ++ ++ ++ <pre>No active connection</pre> + + + +- +- We have just lost the connection to %1 '%2'. ++ ++ Connection lost + + + + ++ No longer connected to %1 '%2'. ++ ++ ++ ++ + Connection established + + + +- +- We have just established the connection to %1 '%2'. ++ ++ Now connected to %1 '%2'. + + + +- ++ + NetworkManager(nm-tray) + + + +- ++ + Enable Networking + + + +- +- Enable Wi-fi ++ ++ Enable Wi-Fi + + + +- ++ + Enable notifications + + + +- ++ + Connection information + + + +- ++ + Debug information + + + +- ++ ++ Edit connections... ++ ++ ++ ++ + About + + + +- ++ + Quit + + + +- +- %1 about ++ ++ nm-tray info + + + +- +- <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ ++ %1 about + + + +- +- nm-tray info ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 + + + + + WindowMenu + +- ++ + Active connection(s) + + + +- ++ + Wi-Fi network(s) + + ++ ++ ++ Known connection(s) ++ ++ + + +diff --git a/translations/nm-tray_cs.ts b/translations/nm-tray_cs.ts +new file mode 100644 +index 0000000..daeaedd +--- /dev/null ++++ b/translations/nm-tray_cs.ts +@@ -0,0 +1,273 @@ ++ ++ ++ ++ ++ ConnectionInfo ++ ++ ++ Connection information ++ Informace o spojení ++ ++ ++ ++ NmList ++ ++ ++ Dialog ++ ++ ++ ++ ++ All information ++ Všechny informace ++ ++ ++ ++ Active connections ++ Aktivní připojení ++ ++ ++ ++ Available wireless ++ Bezdrátové sítě k dispozici ++ ++ ++ ++ NmModel ++ ++ ++ nm-tray - wireless password ++ nm-tray – heslo k bezdrátové síti ++ ++ ++ ++ Password is needed for connection to '%1': ++ Pro připojení k „%1“ je třeba heslo: ++ ++ ++ ++ root ++ ++ ++ ++ ++ active connection(s) ++ aktivní spojení ++ ++ ++ ++ connection(s) ++ spojení ++ ++ ++ ++ device(s) ++ zařízení ++ ++ ++ ++ wifi network(s) ++ WiFi sítě ++ ++ ++ ++ unknown ++ hardware address ++ neznámé ++ ++ ++ ++ General ++ Active connection information ++ Obecné ++ ++ ++ ++ Interface ++ Active connection information ++ Rozhraní ++ ++ ++ ++ Hardware Address ++ Active connection information ++ Hardwarová (MAC) adresa ++ ++ ++ ++ Driver ++ Active connection information ++ Ovladač ++ ++ ++ ++ Speed ++ Active connection information ++ Rychlost ++ ++ ++ ++ Kb/s ++ ++ ++ ++ ++ unknown ++ Speed ++ neznámá ++ ++ ++ ++ Security ++ Active connection information ++ Zabezpečení ++ ++ ++ ++ IPv4 ++ Active connection information ++ ++ ++ ++ ++ IPv6 ++ Active connection information ++ ++ ++ ++ ++ IP Address ++ Active connection information ++ IP Adresa ++ ++ ++ ++ Subnet Mask ++ Active connection information ++ Maska sítě ++ ++ ++ ++ Default route ++ Active connection information ++ Výchozí trasa ++ ++ ++ ++ DNS(%1) ++ Active connection information ++ ++ ++ ++ ++ Tray ++ ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> ++ <pre>Spojení <strong>%1</strong>(%2) aktivní</pre> ++ ++ ++ ++ <pre>No active connection</pre> ++ <pre>Žádné aktivní spojení</pre> ++ ++ ++ ++ Connection lost ++ Spojení ztraceno ++ ++ ++ ++ No longer connected to %1 '%2'. ++ Nadále už nepřipojeno k %1 „%2“. ++ ++ ++ ++ Connection established ++ Spojení navázáno ++ ++ ++ ++ Now connected to %1 '%2'. ++ Nyní připojeno k %1 „%2“. ++ ++ ++ ++ NetworkManager(nm-tray) ++ ++ ++ ++ ++ Enable Networking ++ Zapnout síť ++ ++ ++ ++ Enable Wi-Fi ++ Zapnout WiFi ++ ++ ++ ++ Enable notifications ++ Zapnout oznamování ++ ++ ++ ++ Connection information ++ Informace o připojení ++ ++ ++ ++ Debug information ++ Ladící informace ++ ++ ++ ++ Edit connections... ++ Upravit připojení… ++ ++ ++ ++ About ++ O aplikaci ++ ++ ++ ++ Quit ++ Ukončit ++ ++ ++ ++ nm-tray info ++ nm-tray informace ++ ++ ++ ++ %1 about ++ o %1 ++ ++ ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> je jednoduchá nadstavba pro <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>, založená na Qt.<br/><br/>Verze: %1 ++ ++ ++ ++ WindowMenu ++ ++ ++ Active connection(s) ++ Aktivní připojení ++ ++ ++ ++ Wi-Fi network(s) ++ WiFi sítě ++ ++ ++ ++ Known connection(s) ++ Známá připojení ++ ++ ++ +diff --git a/translations/nm-tray_de.ts b/translations/nm-tray_de.ts +index ca57e7b..bdabb3e 100644 +--- a/translations/nm-tray_de.ts ++++ b/translations/nm-tray_de.ts +@@ -1,12 +1,12 @@ + + +- ++ + + ConnectionInfo + + + Connection information +- Verbindungsinformationen ++ + + + +@@ -14,148 +14,146 @@ + + + Dialog +- Did not translate as "Dialog" seems to get replaced with string "nm-tray info" from context "Tray". +- Dialog ++ + + + + All information +- Verfügbare Informationen ++ + + + + Active connections +- Aktive Verbindungen ++ + + + + Available wireless +- Verfügbare drahtlose Verbindungen ++ + + + + NmModel + +- ++ ++ nm-tray - wireless password ++ ++ ++ ++ ++ Password is needed for connection to '%1': ++ ++ ++ ++ + root +- Translated as "network" hence not literally at all. Not sure what's best here but this seems a bit more reasonable to me. +- Netzwerk ++ + + +- ++ + active connection(s) +- Aktive Verbindungen ++ + + +- ++ + connection(s) +- Verbindungen ++ + + +- ++ + device(s) +- Geräte ++ + + +- ++ + wifi network(s) +- Drahtlose Netzwerke ++ + + +- ++ + unknown + hardware address +- unbekannt +- +- +- +- nm-tray - wireless password + + + +- +- Password is needed for connection to '%1': +- +- +- +- ++ + General + Active connection information +- Allgemeines ++ + + +- ++ + Interface + Active connection information +- Schnittstelle ++ + + +- ++ + Hardware Address + Active connection information +- Hardware-Adresse ++ + + +- ++ + Driver + Active connection information +- Treiber ++ + + +- ++ + Speed + Active connection information +- Übertragungsrate ++ + + +- ++ + Kb/s +- Kb/s ++ + + +- ++ + unknown + Speed +- unbekannt ++ + + +- ++ + Security + Active connection information +- Sicherheit ++ + + +- ++ + IPv4 + Active connection information + + + +- ++ + IPv6 + Active connection information + + + +- ++ + IP Address + Active connection information + + + +- ++ + Subnet Mask + Active connection information + + + +- ++ + Default route + Active connection information + + + +- ++ + DNS(%1) + Active connection information + +@@ -164,97 +162,112 @@ + + Tray + +- +- Connection lost ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> + + + +- +- We have just lost the connection to %1 '%2'. ++ ++ <pre>No active connection</pre> ++ ++ ++ ++ ++ Connection lost + + + + ++ No longer connected to %1 '%2'. ++ ++ ++ ++ + Connection established + + + +- +- We have just established the connection to %1 '%2'. ++ ++ Now connected to %1 '%2'. + + + +- ++ + NetworkManager(nm-tray) + + + +- ++ + Enable Networking +- Netzwerk aktivieren ++ + + +- +- Enable Wi-fi +- Drahtlose Verbindungen aktivieren ++ ++ Enable Wi-Fi ++ + + +- ++ + Enable notifications + + + +- ++ + Connection information +- Verbindungsinformationen ++ + + +- ++ + Debug information + + + +- +- About +- Über ++ ++ Edit connections... ++ + + +- +- Quit +- Beenden ++ ++ About ++ + + +- +- %1 about +- %1 über ++ ++ Quit ++ + + +- +- <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ ++ nm-tray info + + + +- This is the about nm-tray! +- Pimped this a little bit. Hope that's okay. +- nm-tray ist eine auf Qt basierende Nutzeroberfläche für den NetworkManager zur Ausführung in der Leiste von Desktop-Umgebungen. ++ ++ %1 about ++ + + +- +- nm-tray info +- nm-tray Informationen ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ + + + + WindowMenu + +- ++ + Active connection(s) + + + +- ++ + Wi-Fi network(s) + + ++ ++ ++ Known connection(s) ++ ++ + + +diff --git a/translations/nm-tray_he.ts b/translations/nm-tray_he.ts +new file mode 100644 +index 0000000..b5cfe6e +--- /dev/null ++++ b/translations/nm-tray_he.ts +@@ -0,0 +1,273 @@ ++ ++ ++ ++ ++ ConnectionInfo ++ ++ ++ Connection information ++ פרטי החיבור ++ ++ ++ ++ NmList ++ ++ ++ Dialog ++ תיבת דו־שיח ++ ++ ++ ++ All information ++ כל הפרטים ++ ++ ++ ++ Active connections ++ חיבורים פעילים ++ ++ ++ ++ Available wireless ++ אלחוטיות זמינות ++ ++ ++ ++ NmModel ++ ++ ++ root ++ ++ ++ ++ ++ active connection(s) ++ חיבורים פעילים ++ ++ ++ ++ connection(s) ++ חיבורים ++ ++ ++ ++ device(s) ++ התקנים ++ ++ ++ ++ wifi network(s) ++ רשתות אלחוטיות ++ ++ ++ ++ unknown ++ hardware address ++ לא ידוע ++ ++ ++ ++ nm-tray - wireless password ++ nm-tray - ססמה לרשת אלחוטית ++ ++ ++ ++ Password is needed for connection to '%1': ++ נדרשת ססמה כדי להתחבר אל ‚%1’: ++ ++ ++ ++ General ++ Active connection information ++ כללי ++ ++ ++ ++ Interface ++ Active connection information ++ מנשק ++ ++ ++ ++ Hardware Address ++ Active connection information ++ כתובת חומרה ++ ++ ++ ++ Driver ++ Active connection information ++ מנהל התקן ++ ++ ++ ++ Speed ++ Active connection information ++ מהירות ++ ++ ++ ++ Kb/s ++ קסל״ש ++ ++ ++ ++ unknown ++ Speed ++ לא ידועה ++ ++ ++ ++ Security ++ Active connection information ++ אבטחה ++ ++ ++ ++ IPv4 ++ Active connection information ++ ++ ++ ++ ++ IPv6 ++ Active connection information ++ ++ ++ ++ ++ IP Address ++ Active connection information ++ כתובת IP ++ ++ ++ ++ Subnet Mask ++ Active connection information ++ מסכת רשת ++ ++ ++ ++ Default route ++ Active connection information ++ נתיב בררת מחדל ++ ++ ++ ++ DNS(%1) ++ Active connection information ++ ++ ++ ++ ++ Tray ++ ++ ++ Connection lost ++ החיבור נותק ++ ++ ++ ++ Connection established ++ החיבור הצליח ++ ++ ++ ++ NetworkManager(nm-tray) ++ ++ ++ ++ ++ Enable Networking ++ הפעלת קישוריות רשת ++ ++ ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> ++ <pre>החיבור <strong>%1</strong>(%2) פעיל</pre> ++ ++ ++ ++ <pre>No active connection</pre> ++ <pre>אין חיבורים פעילים</pre> ++ ++ ++ ++ No longer connected to %1 '%2'. ++ החיבור אל %1 נותק ‚%2’. ++ ++ ++ ++ Now connected to %1 '%2'. ++ הצלחנו להתחבר אל %1 ‚%2’. ++ ++ ++ ++ Enable Wi-Fi ++ הפעלת חיבור אלחוטי ++ ++ ++ ++ Enable notifications ++ הפעלת התרעות ++ ++ ++ ++ Connection information ++ פרטי החיבור ++ ++ ++ ++ Debug information ++ פרטים לניפוי שגיאות ++ ++ ++ ++ Edit connections... ++ עריכת חיבורים… ++ ++ ++ ++ About ++ על אודות ++ ++ ++ ++ Quit ++ יציאה ++ ++ ++ ++ %1 about ++ על אודות %1 ++ ++ ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> הוא מנשק מבוסס Qt עבור <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>גרסה: %1 ++ ++ ++ ++ nm-tray info ++ פרטי nm-tray ++ ++ ++ ++ WindowMenu ++ ++ ++ Active connection(s) ++ חיבורים פעילים ++ ++ ++ ++ Wi-Fi network(s) ++ רשתות אלחוטיות ++ ++ ++ ++ Known connection(s) ++ חיבורים מוכרים ++ ++ ++ +diff --git a/translations/nm-tray_nb_NO.ts b/translations/nm-tray_nb_NO.ts +new file mode 100644 +index 0000000..2a3ceaf +--- /dev/null ++++ b/translations/nm-tray_nb_NO.ts +@@ -0,0 +1,285 @@ ++ ++ ++ ++ ++ ConnectionInfo ++ ++ ++ Connection information ++ Tilkoblingsinformasjon ++ ++ ++ ++ NmList ++ ++ ++ Dialog ++ ++ ++ ++ ++ All information ++ All informasjon ++ ++ ++ ++ Active connections ++ Aktive tilkoblinger ++ ++ ++ ++ Available wireless ++ Tilgjengelige trådløsnettverk ++ ++ ++ ++ NmModel ++ ++ ++ root ++ ++ ++ ++ ++ active connection(s) ++ aktiv(e) tilkobling(er) ++ ++ ++ ++ connection(s) ++ tilkobling(er) ++ ++ ++ ++ device(s) ++ enhet(er) ++ ++ ++ ++ wifi network(s) ++ ++ ++ ++ ++ unknown ++ hardware address ++ ukjent ++ ++ ++ ++ nm-tray - wireless password ++ nm-tray - trådløspassord ++ ++ ++ ++ Password is needed for connection to '%1': ++ Passord kreves for tilkobling til '%1': ++ ++ ++ ++ General ++ Active connection information ++ ++ ++ ++ ++ Interface ++ Active connection information ++ Grensesnitt ++ ++ ++ ++ Hardware Address ++ Active connection information ++ ++ ++ ++ ++ Driver ++ Active connection information ++ ++ ++ ++ ++ Speed ++ Active connection information ++ Hastighet ++ ++ ++ ++ Kb/s ++ ++ ++ ++ ++ unknown ++ Speed ++ ukjent ++ ++ ++ ++ Security ++ Active connection information ++ Sikkerhet ++ ++ ++ ++ IPv4 ++ Active connection information ++ ++ ++ ++ ++ IPv6 ++ Active connection information ++ ++ ++ ++ ++ IP Address ++ Active connection information ++ ++ ++ ++ ++ Subnet Mask ++ Active connection information ++ Nettmaske ++ ++ ++ ++ Default route ++ Active connection information ++ ++ ++ ++ ++ DNS(%1) ++ Active connection information ++ ++ ++ ++ ++ Tray ++ ++ ++ Connection lost ++ Tilknytningen gitt tapt ++ ++ ++ We have just lost the connection to %1 '%2'. ++ Mistet tilknytningen til %1 '%2'. ++ ++ ++ ++ Connection established ++ Tilkobling opprettet ++ ++ ++ We have just established the connection to %1 '%2'. ++ Tilkobling etablert til %1 '%2'. ++ ++ ++ ++ NetworkManager(nm-tray) ++ ++ ++ ++ ++ Enable Networking ++ Skru på nettverk ++ ++ ++ Enable Wi-fi ++ Skru på Wi-Fi ++ ++ ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> ++ ++ ++ ++ ++ <pre>No active connection</pre> ++ ++ ++ ++ ++ No longer connected to %1 '%2'. ++ ++ ++ ++ ++ Now connected to %1 '%2'. ++ ++ ++ ++ ++ Enable Wi-Fi ++ ++ ++ ++ ++ Enable notifications ++ Skru på merknader ++ ++ ++ ++ Connection information ++ Tilkoblingsinformasjon ++ ++ ++ ++ Debug information ++ ++ ++ ++ ++ Edit connections... ++ ++ ++ ++ ++ About ++ Om ++ ++ ++ ++ Quit ++ Avslutt ++ ++ ++ ++ %1 about ++ %1 om ++ ++ ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> er en enkel Qt-basert grenseflate for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ ++ ++ ++ nm-tray info ++ ++ ++ ++ ++ WindowMenu ++ ++ ++ Active connection(s) ++ Aktiv(e) tilkobling(er) ++ ++ ++ ++ Wi-Fi network(s) ++ ++ ++ ++ ++ Known connection(s) ++ ++ ++ ++ +diff --git a/translations/nm-tray_pl.ts b/translations/nm-tray_pl.ts +index c638ebd..82c8a15 100644 +--- a/translations/nm-tray_pl.ts ++++ b/translations/nm-tray_pl.ts +@@ -1,12 +1,12 @@ + + +- ++ + + ConnectionInfo + + + Connection information +- Informacje o połączeniu ++ + + + +@@ -14,240 +14,260 @@ + + + Dialog +- Okno dialogowe ++ + + + + All information +- Wszystkie informacje ++ + + + + Active connections +- Aktywne połączenia ++ + + + + Available wireless +- Dostępne połączenia bezprzewodowe ++ + + + + NmModel + +- ++ ++ nm-tray - wireless password ++ ++ ++ ++ ++ Password is needed for connection to '%1': ++ ++ ++ ++ + root +- root ++ + + +- ++ + active connection(s) +- aktywne połączenia ++ + + +- ++ + connection(s) +- połączenia ++ + + +- ++ + device(s) +- urządzenia ++ + + +- ++ + wifi network(s) +- sieci bezprzewodowe ++ + + +- ++ + unknown + hardware address +- nieznany ++ + + +- +- nm-tray - wireless password +- nm-tray - hasło połączenia bezprzewodowego +- +- +- +- Password is needed for connection to '%1': +- Potrzebne jest hasło, aby połączyć się z '%1': +- +- +- ++ + General + Active connection information +- Ogólne ++ + + +- ++ + Interface + Active connection information +- Interfejs ++ + + +- ++ + Hardware Address + Active connection information +- Adres urządzenia ++ + + +- ++ + Driver + Active connection information +- Informacje o aktywnym połączeniu ++ + + +- ++ + Speed + Active connection information +- Prędkość ++ + + +- ++ + Kb/s +- Kb/s ++ + + +- ++ + unknown + Speed +- nieznana ++ + + +- ++ + Security + Active connection information +- Bezpieczeństwo ++ + + +- ++ + IPv4 + Active connection information +- IPv4 ++ + + +- ++ + IPv6 + Active connection information +- IPv6 ++ + + +- ++ + IP Address + Active connection information +- Adres IP ++ + + +- ++ + Subnet Mask + Active connection information +- Maska podsieci ++ + + +- ++ + Default route + Active connection information +- Brama domyślna ++ + + +- ++ + DNS(%1) + Active connection information +- DNS(%1) ++ + + + + Tray + +- +- Connection lost +- Utracono połączenie ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> ++ + + +- +- We have just lost the connection to %1 '%2'. +- Utracono połączenie z %1 '%2'. ++ ++ <pre>No active connection</pre> ++ ++ ++ ++ ++ Connection lost ++ + + + ++ No longer connected to %1 '%2'. ++ ++ ++ ++ + Connection established +- Ustanowiono połączenie ++ + + +- +- We have just established the connection to %1 '%2'. +- Ustanowiono połączenie z %1 '%2'. ++ ++ Now connected to %1 '%2'. ++ + + +- ++ + NetworkManager(nm-tray) +- NetworkManager(nm-tray) ++ + + +- ++ + Enable Networking +- Włącz sieci ++ + + +- +- Enable Wi-fi +- Włącz Wi-Fi ++ ++ Enable Wi-Fi ++ + + +- ++ + Enable notifications +- Włącz powiadomienia ++ + + +- ++ + Connection information +- Informacje o połączeniu ++ + + +- ++ + Debug information +- Informacje debugowania ++ ++ ++ ++ ++ Edit connections... ++ + + +- ++ + About +- O programie ++ + + +- ++ + Quit +- Zakończ ++ + + +- +- %1 about +- o %1 ++ ++ nm-tray info ++ + + +- +- <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 +- <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> jest prostą, napisaną w Qt nakładką dla <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManagera</a>.<br/><br/>Wersja: %1 ++ ++ %1 about ++ + + +- +- nm-tray info +- Informacje o nm-tray ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ + + + + WindowMenu + +- ++ + Active connection(s) +- Aktywne połączenia ++ + + +- ++ + Wi-Fi network(s) +- Sieci Wi-Fi ++ ++ ++ ++ ++ Known connection(s) ++ + + + +diff --git a/translations/nm-tray_sk.ts b/translations/nm-tray_sk.ts +index 173c920..b2ffb50 100644 +--- a/translations/nm-tray_sk.ts ++++ b/translations/nm-tray_sk.ts +@@ -1,6 +1,6 @@ + + +- ++ + + ConnectionInfo + +@@ -14,7 +14,7 @@ + + + Dialog +- ++ Dialóg + + + +@@ -29,226 +29,245 @@ + + + Available wireless +- Dostupné bezdôtové ++ Dostupné bezdrôtové + + + + NmModel + +- ++ ++ nm-tray - wireless password ++ nm-tray - Wi-Fi heslo ++ ++ ++ ++ Password is needed for connection to '%1': ++ Pre pripojenie k '%1' je potrebné heslo: ++ ++ ++ + root +- ++ koreň + + +- ++ + active connection(s) + aktívne spojenie/a + + +- ++ + connection(s) + spojenie/a + + +- ++ + device(s) + zariadenie/a + + +- ++ + wifi network(s) +- wifi sieť/siete ++ wifi sieť/te + + +- ++ + unknown + hardware address +- neznáme +- +- +- +- nm-tray - wireless password +- ++ neznáma + + +- +- Password is needed for connection to '%1': +- +- +- +- ++ + General + Active connection information +- Základné ++ Všeobecné + + +- ++ + Interface + Active connection information + Rozhranie + + +- ++ + Hardware Address + Active connection information + Hardvérová adresa + + +- ++ + Driver + Active connection information +- Ovládač ++ Driver + + +- ++ + Speed + Active connection information + Rýchlosť + + +- ++ + Kb/s +- ++ Kb/s + + +- ++ + unknown + Speed +- neznáme ++ neznáma + + +- ++ + Security + Active connection information + Bezpečnosť + + +- ++ + IPv4 + Active connection information +- ++ IPv4 + + +- ++ + IPv6 + Active connection information +- ++ IPv6 + + +- ++ + IP Address + Active connection information +- ++ IP adresa + + +- ++ + Subnet Mask + Active connection information +- ++ Maska podsiete + + +- ++ + Default route + Active connection information +- ++ Predvolená cesta + + +- ++ + DNS(%1) + Active connection information +- ++ DNS(%1) + + + + Tray + +- +- Connection lost +- ++ ++ <pre>Connection <strong>%1</strong>(%2) active</pre> ++ <pre>Spojenie <strong>%1</strong>(%2) aktívne</pre> + + +- +- We have just lost the connection to %1 '%2'. +- ++ ++ <pre>No active connection</pre> ++ <pre>Žiadne aktívne spojenie</pre> ++ ++ ++ ++ Connection lost ++ Spojenie stratené + + + ++ No longer connected to %1 '%2'. ++ Už nie je spojenie k %1 '%2'. ++ ++ ++ + Connection established +- ++ Spojenie naviazané + + +- +- We have just established the connection to %1 '%2'. +- ++ ++ Now connected to %1 '%2'. ++ Aktuálne pripojený k %1 '%2'. + + +- ++ + NetworkManager(nm-tray) +- ++ NetworkManager(nm-tray) + + +- ++ + Enable Networking +- don't know how to correctly translate + Zapnúť sieť + + +- +- Enable Wi-fi +- Zapnúť Wi-fi ++ ++ Enable Wi-Fi ++ Zapnúť Wi-Fi + + +- ++ + Enable notifications +- ++ Zapnúť notifikácie + + +- ++ + Connection information + Informácie o spojení + + +- ++ + Debug information +- ++ Debug informácie ++ ++ ++ ++ Edit connections... ++ Editovať spojenia... + + +- ++ + About +- O ... ++ O aplikácii + + +- ++ + Quit + Vypnúť + + +- +- %1 about +- O %1 ++ ++ nm-tray info ++ nm-tray info + + +- +- <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 +- ++ ++ %1 about ++ %1 o aplikácii + + +- +- nm-tray info +- nm-tray info ++ ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> is a simple Qt based frontend for <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Version: %1 ++ <strong><a href="https://github.com/palinek/nm-tray">nm-tray</a></strong> je jednoduchý Qt frontend pre <a href="https://wiki.gnome.org/Projects/NetworkManager">NetworkManager</a>.<br/><br/>Verzia: %1 + + + + WindowMenu + +- ++ + Active connection(s) +- ++ Aktívne spojenie/a + + +- ++ + Wi-Fi network(s) +- ++ Wi-Fi sieť/te ++ ++ ++ ++ Known connection(s) ++ Známe spojenie/a + + + diff --git a/net-misc/nm-tray/nm-tray-0.3.0-r99999.ebuild b/net-misc/nm-tray/nm-tray-0.3.0-r99999.ebuild new file mode 100644 index 00000000..eeacc9db --- /dev/null +++ b/net-misc/nm-tray/nm-tray-0.3.0-r99999.ebuild @@ -0,0 +1,30 @@ +# Copyright 2016-2017 Redcore Linux Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit kde5 + +DESCRIPTION="Pure Qt NetworkManager front-end residing in panels" +HOMEPAGE="https://github.com/palinek/nm-tray" +SRC_URI="https://github.com/palinek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep networkmanager-qt) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep linguist-tools) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets)" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}"/"${P}"-r99999.patch + cmake-utils_src_prepare +} diff --git a/net-misc/nm-tray/nm-tray-0.3.0.ebuild b/net-misc/nm-tray/nm-tray-0.3.0.ebuild deleted file mode 100644 index 38daf1fa..00000000 --- a/net-misc/nm-tray/nm-tray-0.3.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 2016-2017 Redcore Linux Project -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit kde5 - -DESCRIPTION="Pure Qt NetworkManager front-end residing in panels" -HOMEPAGE="https://github.com/palinek/nm-tray" -SRC_URI="https://github.com/palinek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND=" - $(add_frameworks_dep networkmanager-qt) - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep linguist-tools) - $(add_qt_dep qtnetwork) - $(add_qt_dep qtwidgets)" -RDEPEND="${DEPEND}" -- cgit v1.2.3