Qt interface: Changed the icon names to lookup according to the Icon Naming Specification (bug #7)
the build was successful Details

This commit is contained in:
tastytea 2018-10-25 00:43:52 +02:00
parent ed4fa40a3c
commit a6fe38af2f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
5 changed files with 81 additions and 43 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.6) cmake_minimum_required (VERSION 3.6)
project (whyblocked project (whyblocked
VERSION 0.10.9 VERSION 0.10.10
LANGUAGES CXX LANGUAGES CXX
) )

View File

@ -104,6 +104,7 @@
<addaction name="action_edit"/> <addaction name="action_edit"/>
<addaction name="action_remove"/> <addaction name="action_remove"/>
<addaction name="action_reload"/> <addaction name="action_reload"/>
<addaction name="separator"/>
<addaction name="action_about"/> <addaction name="action_about"/>
<addaction name="action_quit"/> <addaction name="action_quit"/>
</widget> </widget>
@ -137,7 +138,7 @@
</widget> </widget>
<action name="action_add"> <action name="action_add">
<property name="icon"> <property name="icon">
<iconset theme="add"> <iconset theme="list-add">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -147,12 +148,12 @@
<string>Add user or instance</string> <string>Add user or instance</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string notr="true">Ctrl+N</string> <string>Ctrl+N</string>
</property> </property>
</action> </action>
<action name="action_remove"> <action name="action_remove">
<property name="icon"> <property name="icon">
<iconset theme="remove"> <iconset theme="list-remove">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -162,12 +163,12 @@
<string>Remove user or instance</string> <string>Remove user or instance</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string notr="true">Del</string> <string>Del</string>
</property> </property>
</action> </action>
<action name="action_about"> <action name="action_about">
<property name="icon"> <property name="icon">
<iconset theme="info"> <iconset theme="help-about">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -176,13 +177,10 @@
<property name="toolTip"> <property name="toolTip">
<string>About this application</string> <string>About this application</string>
</property> </property>
<property name="shortcut">
<string notr="true"/>
</property>
</action> </action>
<action name="action_reload"> <action name="action_reload">
<property name="icon"> <property name="icon">
<iconset theme="reload"> <iconset theme="view-refresh">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -192,12 +190,12 @@
<string>Reload database</string> <string>Reload database</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string notr="true">Ctrl+R</string> <string>Ctrl+R</string>
</property> </property>
</action> </action>
<action name="action_quit"> <action name="action_quit">
<property name="icon"> <property name="icon">
<iconset theme="exit"> <iconset theme="application-exit">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
<property name="text"> <property name="text">
@ -207,7 +205,7 @@
<string>Quit application</string> <string>Quit application</string>
</property> </property>
<property name="shortcut"> <property name="shortcut">
<string notr="true">Ctrl+Q</string> <string>Ctrl+Q</string>
</property> </property>
</action> </action>
<action name="action_edit"> <action name="action_edit">

View File

@ -56,7 +56,7 @@
<string>&amp;Add</string> <string>&amp;Add</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="add"> <iconset theme="list-add">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
</widget> </widget>
@ -154,7 +154,7 @@
<string>Re&amp;move</string> <string>Re&amp;move</string>
</property> </property>
<property name="icon"> <property name="icon">
<iconset theme="remove"> <iconset theme="list-remove">
<normaloff>.</normaloff>.</iconset> <normaloff>.</normaloff>.</iconset>
</property> </property>
</widget> </widget>

View File

@ -97,72 +97,92 @@
<translation>Werkzeugleiste</translation> <translation>Werkzeugleiste</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="121"/> <location filename="../src/whyblocked.ui" line="122"/>
<source>&amp;Database</source> <source>&amp;Database</source>
<translation>&amp;Datenbank</translation> <translation>&amp;Datenbank</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="131"/> <location filename="../src/whyblocked.ui" line="132"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation>&amp;Hilfe</translation> <translation>&amp;Hilfe</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="144"/> <location filename="../src/whyblocked.ui" line="145"/>
<source>&amp;Add</source> <source>&amp;Add</source>
<translation>&amp;Hinzufügen</translation> <translation>&amp;Hinzufügen</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="147"/> <location filename="../src/whyblocked.ui" line="148"/>
<source>Add user or instance</source> <source>Add user or instance</source>
<translation>Benutzer oder Instanz hinzufügen</translation> <translation>Benutzer oder Instanz hinzufügen</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="159"/> <location filename="../src/whyblocked.ui" line="151"/>
<source>Ctrl+N</source>
<translation></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="160"/>
<source>Re&amp;move</source> <source>Re&amp;move</source>
<translation>Ent&amp;fernen</translation> <translation>Ent&amp;fernen</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="162"/> <location filename="../src/whyblocked.ui" line="163"/>
<source>Remove user or instance</source> <source>Remove user or instance</source>
<translation>Benutzer oder Instanz entfernen</translation> <translation>Benutzer oder Instanz entfernen</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="174"/> <location filename="../src/whyblocked.ui" line="166"/>
<source>Del</source>
<translation></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="175"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation>&amp;Über</translation> <translation>&amp;Über</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="177"/> <location filename="../src/whyblocked.ui" line="178"/>
<source>About this application</source> <source>About this application</source>
<translation>Über dieses Programm</translation> <translation>Über dieses Programm</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="189"/> <location filename="../src/whyblocked.ui" line="187"/>
<source>&amp;Reload</source> <source>&amp;Reload</source>
<translation>Neu &amp;laden</translation> <translation>Neu &amp;laden</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="192"/> <location filename="../src/whyblocked.ui" line="190"/>
<source>Reload database</source> <source>Reload database</source>
<translation>Datenbank neu laden</translation> <translation>Datenbank neu laden</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="204"/> <location filename="../src/whyblocked.ui" line="193"/>
<source>Ctrl+R</source>
<translation></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="202"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation>&amp;Beenden</translation> <translation>&amp;Beenden</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="207"/> <location filename="../src/whyblocked.ui" line="205"/>
<source>Quit application</source> <source>Quit application</source>
<translation>Programm beenden</translation> <translation>Programm beenden</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="219"/> <location filename="../src/whyblocked.ui" line="208"/>
<source>Ctrl+Q</source>
<translation></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="217"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation>B&amp;earbeiten</translation> <translation>B&amp;earbeiten</translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="222"/> <location filename="../src/whyblocked.ui" line="220"/>
<location filename="../src/interface_qt.cpp" line="93"/> <location filename="../src/interface_qt.cpp" line="93"/>
<source>Edit entry</source> <source>Edit entry</source>
<translation>Eintrag bearbeiten</translation> <translation>Eintrag bearbeiten</translation>

View File

@ -97,72 +97,92 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="121"/> <location filename="../src/whyblocked.ui" line="122"/>
<source>&amp;Database</source> <source>&amp;Database</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="131"/> <location filename="../src/whyblocked.ui" line="132"/>
<source>&amp;Help</source> <source>&amp;Help</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="144"/> <location filename="../src/whyblocked.ui" line="145"/>
<source>&amp;Add</source> <source>&amp;Add</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="147"/> <location filename="../src/whyblocked.ui" line="148"/>
<source>Add user or instance</source> <source>Add user or instance</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="159"/> <location filename="../src/whyblocked.ui" line="151"/>
<source>Ctrl+N</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="160"/>
<source>Re&amp;move</source> <source>Re&amp;move</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="162"/> <location filename="../src/whyblocked.ui" line="163"/>
<source>Remove user or instance</source> <source>Remove user or instance</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="174"/> <location filename="../src/whyblocked.ui" line="166"/>
<source>Del</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="175"/>
<source>&amp;About</source> <source>&amp;About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="177"/> <location filename="../src/whyblocked.ui" line="178"/>
<source>About this application</source> <source>About this application</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="189"/> <location filename="../src/whyblocked.ui" line="187"/>
<source>&amp;Reload</source> <source>&amp;Reload</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="192"/> <location filename="../src/whyblocked.ui" line="190"/>
<source>Reload database</source> <source>Reload database</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="204"/> <location filename="../src/whyblocked.ui" line="193"/>
<source>Ctrl+R</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="202"/>
<source>&amp;Quit</source> <source>&amp;Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="207"/> <location filename="../src/whyblocked.ui" line="205"/>
<source>Quit application</source> <source>Quit application</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="219"/> <location filename="../src/whyblocked.ui" line="208"/>
<source>Ctrl+Q</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="217"/>
<source>&amp;Edit</source> <source>&amp;Edit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../src/whyblocked.ui" line="222"/> <location filename="../src/whyblocked.ui" line="220"/>
<location filename="../src/interface_qt.cpp" line="93"/> <location filename="../src/interface_qt.cpp" line="93"/>
<source>Edit entry</source> <source>Edit entry</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>