add version, copyright info, link to release page, update translation
This commit is contained in:
parent
53d642f507
commit
7cd1795155
|
@ -20,6 +20,8 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
|
||||
DEFINES += LOLAA_VERSION=\\\"0.0.6\\\"
|
||||
|
||||
# parameters: var, prepend, append
|
||||
defineReplace(prependAll) {
|
||||
for(a,$$1):result += $$2$${a}$$3
|
||||
|
|
|
@ -22,59 +22,93 @@
|
|||
<translation>LoL-Auto-Accept</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="45"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="60"/>
|
||||
<source>Mainswitch</source>
|
||||
<translation>Hauptschalter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="52"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="93"/>
|
||||
<source>Enable LoL-Auto-Accept</source>
|
||||
<translation>Spiel automatisch annehmen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="59"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="77"/>
|
||||
<source>Spam "smite" in the chat when there is not exactly 1 player with smite equiped in champ select</source>
|
||||
<translation>Wenn nicht genau 1 Spieler Smite ausgewählt hat, wird "smite" in den Chat gespammt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="62"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="67"/>
|
||||
<source>Write a Text as soon as you are in a champ select lobby.</source>
|
||||
<translation>Einen Text schreiben, sobald du in der Champion Auswahl bist.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="70"/>
|
||||
<source>Auto Write</source>
|
||||
<translation>Automatisch Schreiben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="80"/>
|
||||
<source>Enable Smite Warning</source>
|
||||
<translation>Smite Warnung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="91"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="100"/>
|
||||
<source>Developed by MrBesen</source>
|
||||
<translation>Entwickelt von MrBesen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="146"/>
|
||||
<source>autowriteText</source>
|
||||
<translation>Zu schreibender Text</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="172"/>
|
||||
<source>This Tab is used, when you are in a gamemode with no fixed roles</source>
|
||||
<translation>Dieser Tab wird verwendet, wenn der Gamemode keine festen Rollen hat</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="97"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="178"/>
|
||||
<source>Default</source>
|
||||
<translation>Default</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="105"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="186"/>
|
||||
<source>Top</source>
|
||||
<translation>Top</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="113"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="194"/>
|
||||
<source>Jungle</source>
|
||||
<translation>Jungle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="121"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="202"/>
|
||||
<source>Middle</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="129"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="210"/>
|
||||
<source>Bottom</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="137"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="218"/>
|
||||
<source>Support</source>
|
||||
<translation></translation>
|
||||
<translation>Support</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="226"/>
|
||||
<source><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></source>
|
||||
<translation><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Homepage</a></source>
|
||||
<translation type="vanished"><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="245"/>
|
||||
<source>Version: </source>
|
||||
<translation>Version: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Pick</source>
|
||||
|
@ -89,22 +123,27 @@
|
|||
<translation type="vanished">Bannen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="56"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="10"/>
|
||||
<source>Version: %1</source>
|
||||
<translation>Version: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="62"/>
|
||||
<source>League of Legends Client not found!</source>
|
||||
<translation>League of Legends Client nicht gefunden!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="66"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="72"/>
|
||||
<source>Auto-Acceptor started!</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="70"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="76"/>
|
||||
<source>Auto-Acceptor stoped!</source>
|
||||
<translation>Auto Acceptor gestoppt!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="118"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="129"/>
|
||||
<source>Auto-Acceptor failed!</source>
|
||||
<translation>Auto-Acceptor fehlgeschlagen!</translation>
|
||||
</message>
|
||||
|
@ -161,7 +200,7 @@ ID: %4</translation>
|
|||
<translation type="vanished">Champion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/stagesettings.cpp" line="25"/>
|
||||
<location filename="../../src/stagesettings.cpp" line="29"/>
|
||||
<source>Enable %1</source>
|
||||
<translation>Aktiviere %1</translation>
|
||||
</message>
|
||||
|
|
|
@ -22,59 +22,93 @@
|
|||
<translation>LoL-Auto-Accept</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="45"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="60"/>
|
||||
<source>Mainswitch</source>
|
||||
<translation>Mainswitch</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="52"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="93"/>
|
||||
<source>Enable LoL-Auto-Accept</source>
|
||||
<translation>Automatically accept game</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="59"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="77"/>
|
||||
<source>Spam "smite" in the chat when there is not exactly 1 player with smite equiped in champ select</source>
|
||||
<translation>Spam "smite" in the chat when there is not exactly 1 player with smite equiped in champ select</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="62"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="67"/>
|
||||
<source>Write a Text as soon as you are in a champ select lobby.</source>
|
||||
<translation>Write a Text as soon as you are in the champ select lobby.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="70"/>
|
||||
<source>Auto Write</source>
|
||||
<translation>Auto write</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="80"/>
|
||||
<source>Enable Smite Warning</source>
|
||||
<translation>Enable Smite Warning</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="91"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="100"/>
|
||||
<source>Developed by MrBesen</source>
|
||||
<translation>Developed by MrBesen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="146"/>
|
||||
<source>autowriteText</source>
|
||||
<translation>Text to autowrite</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="172"/>
|
||||
<source>This Tab is used, when you are in a gamemode with no fixed roles</source>
|
||||
<translation>This Tab is used, when you are in a gamemode with no fixed roles</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="97"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="178"/>
|
||||
<source>Default</source>
|
||||
<translation>Default</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="105"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="186"/>
|
||||
<source>Top</source>
|
||||
<translation>Top</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="113"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="194"/>
|
||||
<source>Jungle</source>
|
||||
<translation>Jungle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="121"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="202"/>
|
||||
<source>Middle</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="129"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="210"/>
|
||||
<source>Bottom</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="137"/>
|
||||
<location filename="../../ui/mainwindow.ui" line="218"/>
|
||||
<source>Support</source>
|
||||
<translation></translation>
|
||||
<translation>Support</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="226"/>
|
||||
<source><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></source>
|
||||
<translation><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Homepage</a></source>
|
||||
<translation type="vanished"><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../ui/mainwindow.ui" line="245"/>
|
||||
<source>Version: </source>
|
||||
<translation>Version: </translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Pick</source>
|
||||
|
@ -89,22 +123,27 @@
|
|||
<translation type="vanished">Ban</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="56"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="10"/>
|
||||
<source>Version: %1</source>
|
||||
<translation>Version: %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="62"/>
|
||||
<source>League of Legends Client not found!</source>
|
||||
<translation>League of Legends Client not found!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="66"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="72"/>
|
||||
<source>Auto-Acceptor started!</source>
|
||||
<translation>Auto-Acceptor started!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="70"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="76"/>
|
||||
<source>Auto-Acceptor stoped!</source>
|
||||
<translation>Auto-Acceptor stopped!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/mainwindow.cpp" line="118"/>
|
||||
<location filename="../../src/mainwindow.cpp" line="129"/>
|
||||
<source>Auto-Acceptor failed!</source>
|
||||
<translation>Auto-Acceptor failed!</translation>
|
||||
</message>
|
||||
|
@ -161,7 +200,7 @@ ID: %4</translation>
|
|||
<translation type="vanished">Champion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/stagesettings.cpp" line="25"/>
|
||||
<location filename="../../src/stagesettings.cpp" line="29"/>
|
||||
<source>Enable %1</source>
|
||||
<translation>Enable %1</translation>
|
||||
</message>
|
||||
|
|
|
@ -7,6 +7,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
|||
lolaa(conf.getConfig(), dd, std::bind(&MainWindow::onFail, this), std::bind(&MainWindow::onPosChange, this, std::placeholders::_1)) {
|
||||
ui->setupUi(this);
|
||||
|
||||
ui->versionLabel->setText(tr("Version: %1").arg(LOLAA_VERSION));
|
||||
|
||||
lolaa.setOnRuneChangeFunc(std::bind(&RuneDisplay::setRunes, ui->runedisplay, std::placeholders::_1));
|
||||
|
||||
conf.load();
|
||||
|
|
117
ui/mainwindow.ui
117
ui/mainwindow.ui
|
@ -6,8 +6,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>465</width>
|
||||
<height>635</height>
|
||||
<width>482</width>
|
||||
<height>629</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
|
@ -31,29 +31,47 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>465</width>
|
||||
<width>475</width>
|
||||
<height>581</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<property name="leftMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>6</number>
|
||||
</property>
|
||||
<property name="spacing">
|
||||
<number>9</number>
|
||||
</property>
|
||||
<item row="0" column="0">
|
||||
<widget class="QCheckBox" name="mainswitch">
|
||||
<property name="text">
|
||||
<string>Mainswitch</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="enableAll">
|
||||
<item row="3" column="0">
|
||||
<widget class="QCheckBox" name="enableAutoWrite">
|
||||
<property name="toolTip">
|
||||
<string>Write a Text as soon as you are in a champ select lobby.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enable LoL-Auto-Accept</string>
|
||||
<string>Auto Write</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QCheckBox" name="enableSmiteWarning">
|
||||
<property name="toolTip">
|
||||
<string>Spam "smite" in the chat when there is not exactly 1 player with smite equiped in champ select</string>
|
||||
|
@ -66,14 +84,30 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="enableAutoWrite">
|
||||
<item row="6" column="0">
|
||||
<widget class="RuneDisplay" name="runedisplay" native="true"/>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QCheckBox" name="enableAll">
|
||||
<property name="text">
|
||||
<string>Auto Write</string>
|
||||
<string>Enable LoL-Auto-Accept</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLabel" name="copyright">
|
||||
<property name="text">
|
||||
<string>Developed by MrBesen</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::PlainText</enum>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0" colspan="2">
|
||||
<widget class="QTextEdit" name="autoWriteText">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
|
@ -113,7 +147,7 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<item row="5" column="0" colspan="2">
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="tabPosition">
|
||||
<enum>QTabWidget::North</enum>
|
||||
|
@ -186,8 +220,37 @@
|
|||
</widget>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="RuneDisplay" name="runedisplay" native="true"/>
|
||||
<item row="2" column="1">
|
||||
<widget class="QLabel" name="homepagelink">
|
||||
<property name="text">
|
||||
<string><a href="https://git.mrbesen.de/MrBesen/lolautoaccept/releases">Webseite</a></string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::RichText</enum>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="textInteractionFlags">
|
||||
<set>Qt::TextBrowserInteraction</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QLabel" name="versionLabel">
|
||||
<property name="text">
|
||||
<string>Version: </string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::PlainText</enum>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
@ -197,7 +260,7 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>465</width>
|
||||
<width>482</width>
|
||||
<height>24</height>
|
||||
</rect>
|
||||
</property>
|
||||
|
@ -224,6 +287,10 @@
|
|||
<tabstops>
|
||||
<tabstop>mainswitch</tabstop>
|
||||
<tabstop>enableAll</tabstop>
|
||||
<tabstop>enableSmiteWarning</tabstop>
|
||||
<tabstop>enableAutoWrite</tabstop>
|
||||
<tabstop>autoWriteText</tabstop>
|
||||
<tabstop>tabWidget</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
|
@ -234,8 +301,8 @@
|
|||
<slot>aatoggled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>19</x>
|
||||
<y>61</y>
|
||||
<x>25</x>
|
||||
<y>88</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>393</x>
|
||||
|
@ -282,8 +349,8 @@
|
|||
<slot>applyRunes()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>270</x>
|
||||
<y>599</y>
|
||||
<x>232</x>
|
||||
<y>598</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>452</x>
|
||||
|
@ -314,8 +381,8 @@
|
|||
<slot>autoWriteChanged()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>182</x>
|
||||
<y>130</y>
|
||||
<x>188</x>
|
||||
<y>156</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>441</x>
|
||||
|
@ -346,8 +413,8 @@
|
|||
<slot>setEnabled(bool)</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>88</x>
|
||||
<y>131</y>
|
||||
<x>94</x>
|
||||
<y>156</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>86</x>
|
||||
|
|
Loading…
Reference in New Issue