Compare commits

...

2 Commits

Author SHA1 Message Date
bc6f80c187
update language 2022-10-10 21:40:36 +02:00
ec4566f76a
copyright label as single label 2022-10-10 21:38:35 +02:00
4 changed files with 114 additions and 191 deletions

View File

@ -22,110 +22,83 @@
<translation>LoL-Auto-Accept</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="60"/>
<location filename="../../ui/mainwindow.ui" line="203"/>
<source>Mainswitch</source>
<translation>Hauptschalter</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="93"/>
<location filename="../../ui/mainwindow.ui" line="196"/>
<source>Enable LoL-Auto-Accept</source>
<translation>Spiel automatisch annehmen</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="77"/>
<location filename="../../ui/mainwindow.ui" line="60"/>
<source>Spam &quot;smite&quot; 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 &quot;smite&quot; in den Chat gespammt</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="67"/>
<location filename="../../ui/mainwindow.ui" line="186"/>
<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"/>
<location filename="../../ui/mainwindow.ui" line="189"/>
<source>Auto Write</source>
<translation>Automatisch Schreiben</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="80"/>
<location filename="../../ui/mainwindow.ui" line="63"/>
<source>Enable Smite Warning</source>
<translation>Smite Warnung</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="100"/>
<source>Developed by MrBesen</source>
<translation>Entwickelt von MrBesen</translation>
<translation type="vanished">Entwickelt von MrBesen</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="146"/>
<location filename="../../ui/mainwindow.ui" line="179"/>
<source>autowriteText</source>
<translation>Zu schreibender Text</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="172"/>
<location filename="../../ui/mainwindow.ui" line="92"/>
<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="178"/>
<location filename="../../ui/mainwindow.ui" line="98"/>
<source>Default</source>
<translation>Default</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="186"/>
<location filename="../../ui/mainwindow.ui" line="106"/>
<source>Top</source>
<translation>Top</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="194"/>
<location filename="../../ui/mainwindow.ui" line="114"/>
<source>Jungle</source>
<translation>Jungle</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="202"/>
<location filename="../../ui/mainwindow.ui" line="122"/>
<source>Middle</source>
<translation></translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="210"/>
<location filename="../../ui/mainwindow.ui" line="130"/>
<source>Bottom</source>
<translation></translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="218"/>
<location filename="../../ui/mainwindow.ui" line="138"/>
<source>Support</source>
<translation>Support</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="226"/>
<source>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</source>
<translation>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</translation>
</message>
<message>
<source>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Homepage&lt;/a&gt;</source>
<translation type="vanished">&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="245"/>
<source>Version: </source>
<translation>Version: </translation>
</message>
<message>
<source>Pick</source>
<translation type="vanished">Pick</translation>
</message>
<message>
<source>Champion:</source>
<translation type="vanished">Champion:</translation>
</message>
<message>
<source>Ban</source>
<translation type="vanished">Bannen</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="10"/>
<source>Version: %1</source>
<translation>Version: %1</translation>
<location filename="../../ui/mainwindow.ui" line="210"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Developed by MrBesen&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Webseite&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Version: %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Entwickelt von MrBesen&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Webseite&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Version: %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="62"/>

View File

@ -22,110 +22,83 @@
<translation>LoL-Auto-Accept</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="60"/>
<location filename="../../ui/mainwindow.ui" line="203"/>
<source>Mainswitch</source>
<translation>Mainswitch</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="93"/>
<location filename="../../ui/mainwindow.ui" line="196"/>
<source>Enable LoL-Auto-Accept</source>
<translation>Automatically accept game</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="77"/>
<location filename="../../ui/mainwindow.ui" line="60"/>
<source>Spam &quot;smite&quot; in the chat when there is not exactly 1 player with smite equiped in champ select</source>
<translation>Spam &quot;smite&quot; 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="67"/>
<location filename="../../ui/mainwindow.ui" line="186"/>
<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"/>
<location filename="../../ui/mainwindow.ui" line="189"/>
<source>Auto Write</source>
<translation>Auto write</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="80"/>
<location filename="../../ui/mainwindow.ui" line="63"/>
<source>Enable Smite Warning</source>
<translation>Enable Smite Warning</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="100"/>
<source>Developed by MrBesen</source>
<translation>Developed by MrBesen</translation>
<translation type="vanished">Developed by MrBesen</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="146"/>
<location filename="../../ui/mainwindow.ui" line="179"/>
<source>autowriteText</source>
<translation>Text to autowrite</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="172"/>
<location filename="../../ui/mainwindow.ui" line="92"/>
<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="178"/>
<location filename="../../ui/mainwindow.ui" line="98"/>
<source>Default</source>
<translation>Default</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="186"/>
<location filename="../../ui/mainwindow.ui" line="106"/>
<source>Top</source>
<translation>Top</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="194"/>
<location filename="../../ui/mainwindow.ui" line="114"/>
<source>Jungle</source>
<translation>Jungle</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="202"/>
<location filename="../../ui/mainwindow.ui" line="122"/>
<source>Middle</source>
<translation></translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="210"/>
<location filename="../../ui/mainwindow.ui" line="130"/>
<source>Bottom</source>
<translation></translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="218"/>
<location filename="../../ui/mainwindow.ui" line="138"/>
<source>Support</source>
<translation>Support</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="226"/>
<source>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</source>
<translation>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</translation>
</message>
<message>
<source>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Homepage&lt;/a&gt;</source>
<translation type="vanished">&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</translation>
</message>
<message>
<location filename="../../ui/mainwindow.ui" line="245"/>
<source>Version: </source>
<translation>Version: </translation>
</message>
<message>
<source>Pick</source>
<translation type="vanished">Pick</translation>
</message>
<message>
<source>Champion:</source>
<translation type="vanished">Champion:</translation>
</message>
<message>
<source>Ban</source>
<translation type="vanished">Ban</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="10"/>
<source>Version: %1</source>
<translation>Version: %1</translation>
<location filename="../../ui/mainwindow.ui" line="210"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Developed by MrBesen&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Webseite&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Version: %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Developed by MrBesen&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Webseite&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Version: %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/mainwindow.cpp" line="62"/>

View File

@ -7,7 +7,7 @@ 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));
ui->copyrightlabel->setText(ui->copyrightlabel->text().arg(LOLAA_VERSION));
lolaa.setOnRuneChangeFunc(std::bind(&RuneDisplay::setRunes, ui->runedisplay, std::placeholders::_1));

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>482</width>
<height>629</height>
<width>550</width>
<height>633</height>
</rect>
</property>
<property name="sizePolicy">
@ -31,7 +31,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>475</width>
<width>541</width>
<height>581</height>
</rect>
</property>
@ -54,23 +54,6 @@
<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 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>Auto Write</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="enableSmiteWarning">
<property name="toolTip">
@ -84,69 +67,6 @@
</property>
</widget>
</item>
<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>Enable LoL-Auto-Accept</string>
</property>
</widget>
</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>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::WheelFocus</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
<property name="placeholderText">
<string>autowriteText</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="2">
<widget class="QTabWidget" name="tabWidget">
<property name="tabPosition">
@ -220,16 +140,83 @@
</widget>
</widget>
</item>
<item row="2" column="1">
<widget class="QLabel" name="homepagelink">
<item row="4" column="0" colspan="2">
<widget class="QTextEdit" name="autoWriteText">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<property name="baseSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy">
<enum>Qt::WheelFocus</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="acceptRichText">
<bool>false</bool>
</property>
<property name="textInteractionFlags">
<set>Qt::LinksAccessibleByMouse|Qt::TextEditable|Qt::TextEditorInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
</property>
<property name="placeholderText">
<string>autowriteText</string>
</property>
</widget>
</item>
<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>&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;Webseite&lt;/a&gt;</string>
<string>Auto Write</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="enableAll">
<property name="text">
<string>Enable LoL-Auto-Accept</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QCheckBox" name="mainswitch">
<property name="text">
<string>Mainswitch</string>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="4">
<widget class="QLabel" name="copyrightlabel">
<property name="contextMenuPolicy">
<enum>Qt::NoContextMenu</enum>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Developed by MrBesen&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://git.mrbesen.de/MrBesen/lolautoaccept/releases&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#007af4;&quot;&gt;Webseite&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Version: %1&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
</property>
<property name="openExternalLinks">
<bool>true</bool>
@ -239,18 +226,8 @@
</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 row="6" column="0" colspan="2">
<widget class="RuneDisplay" name="runedisplay" native="true"/>
</item>
</layout>
</widget>
@ -260,7 +237,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>482</width>
<width>550</width>
<height>24</height>
</rect>
</property>