mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-07-14 06:15:50 +00:00
fix build
This commit is contained in:
@ -13,8 +13,7 @@ set (PROJECT_VERSION_MAJOR 1)
|
||||
set (PROJECT_VERSION_MINOR 2)
|
||||
set (PROJECT_VERSION_PATCH 0)
|
||||
set (PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
string (TIMESTAMP CURRENT_DATE UTC)
|
||||
string (REGEX REPLACE "T|Z" " " CURRENT_DATE ${CURRENT_DATE})
|
||||
string (TIMESTAMP CURRENT_DATE "%Y-%m-%d %H:%M" UTC)
|
||||
string (TIMESTAMP CURRENT_YEAR "%Y")
|
||||
|
||||
message (STATUS "Project: ${PROJECT_NAME}")
|
||||
|
@ -190,9 +190,10 @@ int main(int argc, char *argv[])
|
||||
.arg(QApplication::translate("MainWindow", "select profile %1").arg(selectProfile));
|
||||
// additional functions
|
||||
helpMessage += QString("%1\n").arg(QApplication::translate("MainWindow", "Additional flags:"));
|
||||
helpMessage += QString(" --config %1 - %2\n")
|
||||
.arg(configPath)
|
||||
.arg(QApplication::translate("MainWindow", "read configuration from file %1").arg(configPath));
|
||||
helpMessage += QString(" --config %1\n")
|
||||
.arg(configPath, -10);
|
||||
helpMessage += QString(" - %1\n")
|
||||
.arg(QApplication::translate("MainWindow", "read configuration from this file"));
|
||||
helpMessage += QString("%1 -d --debug - %2\n")
|
||||
.arg(isParametrEnable(debug))
|
||||
.arg(QApplication::translate("MainWindow", "print debug information"));
|
||||
|
@ -2,7 +2,7 @@
|
||||
set (SUBPROJECT plasma_applet_netctl)
|
||||
message (STATUS "Subproject ${SUBPROJECT}")
|
||||
# find resources
|
||||
set (RESOURCES ${PROJECT_RESOURCE_DIR}/resources.qrc)
|
||||
set (RESOURCES ${PROJECT_RESOURCE_DIR}/resources-plasmoid.qrc)
|
||||
|
||||
# find required libaries
|
||||
find_package (KDE4 REQUIRED)
|
||||
|
7
sources/resources/resources-plasmoid.qrc
Normal file
7
sources/resources/resources-plasmoid.qrc
Normal file
@ -0,0 +1,7 @@
|
||||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<!-- icons -->
|
||||
<file>icon.png</file>
|
||||
<file>wifi.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
@ -972,7 +972,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>read configuration from file %1</source>
|
||||
<translation>read configuration from file %1</translation>
|
||||
<translation type="vanished">read configuration from file %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
@ -986,6 +986,10 @@
|
||||
<source>License</source>
|
||||
<translation>License</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>read configuration from this file</source>
|
||||
<translation>read configuration from this file</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MobileWidget</name>
|
||||
|
@ -1069,72 +1069,72 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="195"/>
|
||||
<source>read configuration from file %1</source>
|
||||
<location filename="../../gui/src/main.cpp" line="196"/>
|
||||
<source>read configuration from this file</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="198"/>
|
||||
<location filename="../../gui/src/main.cpp" line="199"/>
|
||||
<source>print debug information</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="201"/>
|
||||
<location filename="../../gui/src/main.cpp" line="202"/>
|
||||
<source>start with default settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="205"/>
|
||||
<location filename="../../gui/src/main.cpp" line="206"/>
|
||||
<source>set options for this run, comma separated</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="208"/>
|
||||
<location filename="../../gui/src/main.cpp" line="209"/>
|
||||
<source>open a tab with number %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="210"/>
|
||||
<location filename="../../gui/src/main.cpp" line="211"/>
|
||||
<source>Show messages:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="212"/>
|
||||
<location filename="../../gui/src/main.cpp" line="213"/>
|
||||
<source>show version and exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="214"/>
|
||||
<location filename="../../gui/src/main.cpp" line="215"/>
|
||||
<source>show build information and exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="216"/>
|
||||
<location filename="../../gui/src/main.cpp" line="217"/>
|
||||
<source>show this help and exit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="219"/>
|
||||
<location filename="../../gui/src/main.cpp" line="220"/>
|
||||
<source>Build date: %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="221"/>
|
||||
<location filename="../../gui/src/main.cpp" line="222"/>
|
||||
<source>cmake flags:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="234"/>
|
||||
<location filename="../../gui/src/main.cpp" line="235"/>
|
||||
<source>Version</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="237"/>
|
||||
<location filename="../../gui/src/main.cpp" line="238"/>
|
||||
<source>Author</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../gui/src/main.cpp" line="240"/>
|
||||
<location filename="../../gui/src/main.cpp" line="241"/>
|
||||
<source>License</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -971,7 +971,7 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>read configuration from file %1</source>
|
||||
<translation>прочитать настройки из файла %1</translation>
|
||||
<translation type="vanished">прочитать настройки из файла %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
@ -985,6 +985,10 @@
|
||||
<source>License</source>
|
||||
<translation>Лицензия</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>read configuration from this file</source>
|
||||
<translation>read configuration from this file</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MobileWidget</name>
|
||||
|
Reference in New Issue
Block a user