Qt interface: Made keyboard shortcuts not translatable.

Turns out, they no longer work after translation.
develop
tastytea 2018-10-20 00:40:45 +02:00
parent 7fcfd3618f
commit b5cb58e612
No known key found for this signature in database
GPG Key ID: CFC39497F1B26E07
4 changed files with 21 additions and 68 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.6)
project (whyblocked
VERSION 0.10.2
VERSION 0.10.3
LANGUAGES CXX
)

View File

@ -146,7 +146,7 @@
<string>Add user or instance</string>
</property>
<property name="shortcut">
<string>Ctrl+N</string>
<string notr="true">Ctrl+N</string>
</property>
</action>
<action name="action_remove">
@ -161,7 +161,7 @@
<string>Remove user or instance</string>
</property>
<property name="shortcut">
<string>Del</string>
<string notr="true">Del</string>
</property>
</action>
<action name="action_about">
@ -175,6 +175,9 @@
<property name="toolTip">
<string>About this application</string>
</property>
<property name="shortcut">
<string notr="true"/>
</property>
</action>
<action name="action_reload">
<property name="icon">
@ -188,7 +191,7 @@
<string>Reload database</string>
</property>
<property name="shortcut">
<string>Ctrl+R</string>
<string notr="true">Ctrl+R</string>
</property>
</action>
<action name="action_quit">
@ -203,7 +206,7 @@
<string>Quit application</string>
</property>
<property name="shortcut">
<string>Ctrl+Q</string>
<string notr="true">Ctrl+Q</string>
</property>
</action>
<action name="action_edit">
@ -218,7 +221,7 @@
<string>Edit entry</string>
</property>
<property name="shortcut">
<string>Ctrl+E</string>
<string notr="true">Ctrl+E</string>
</property>
</action>
</widget>

View File

@ -111,11 +111,6 @@
<source>Add user or instance</source>
<translation>Benutzer oder Instanz hinzufügen</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="149"/>
<source>Ctrl+N</source>
<translation>Strg+N</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="158"/>
<source>Re&amp;move</source>
@ -126,11 +121,6 @@
<source>Remove user or instance</source>
<translation>Benutzer oder Instanz entfernen</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="164"/>
<source>Del</source>
<translation>Entf</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="173"/>
<source>&amp;About</source>
@ -142,51 +132,36 @@
<translation>Über dieses Programm</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="185"/>
<location filename="../src/whyblocked.ui" line="188"/>
<source>&amp;Reload</source>
<translation>Neu &amp;laden</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="188"/>
<location filename="../src/whyblocked.ui" line="191"/>
<source>Reload database</source>
<translation>Datenbank neu laden</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="191"/>
<source>Ctrl+R</source>
<translation>Strg+R</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="200"/>
<location filename="../src/whyblocked.ui" line="203"/>
<source>&amp;Quit</source>
<translation>&amp;Beenden</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="203"/>
<location filename="../src/whyblocked.ui" line="206"/>
<source>Quit application</source>
<translation>Programm beenden</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="206"/>
<source>Ctrl+Q</source>
<translation>Strg+Q</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="215"/>
<location filename="../src/whyblocked.ui" line="218"/>
<source>&amp;Edit</source>
<translation>B&amp;earbeiten</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="218"/>
<location filename="../src/whyblocked.ui" line="221"/>
<location filename="../src/interface_qt.cpp" line="92"/>
<source>Edit entry</source>
<translation>Eintrag bearbeiten</translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="221"/>
<source>Ctrl+E</source>
<translation>Strg+E</translation>
</message>
<message>
<location filename="../src/interface_qt.cpp" line="40"/>
<source>User/Instance</source>

View File

@ -111,11 +111,6 @@
<source>Add user or instance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="149"/>
<source>Ctrl+N</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="158"/>
<source>Re&amp;move</source>
@ -126,11 +121,6 @@
<source>Remove user or instance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="164"/>
<source>Del</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="173"/>
<source>&amp;About</source>
@ -142,51 +132,36 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="185"/>
<location filename="../src/whyblocked.ui" line="188"/>
<source>&amp;Reload</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="188"/>
<location filename="../src/whyblocked.ui" line="191"/>
<source>Reload database</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="191"/>
<source>Ctrl+R</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="200"/>
<location filename="../src/whyblocked.ui" line="203"/>
<source>&amp;Quit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="203"/>
<location filename="../src/whyblocked.ui" line="206"/>
<source>Quit application</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="206"/>
<source>Ctrl+Q</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="215"/>
<location filename="../src/whyblocked.ui" line="218"/>
<source>&amp;Edit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="218"/>
<location filename="../src/whyblocked.ui" line="221"/>
<location filename="../src/interface_qt.cpp" line="92"/>
<source>Edit entry</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/whyblocked.ui" line="221"/>
<source>Ctrl+E</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/interface_qt.cpp" line="40"/>
<source>User/Instance</source>