Add German translations for autorun and stay awake options

This commit is contained in:
Sebastian Wolf 2020-12-14 23:01:35 +01:00
parent c771f395da
commit f9fee1c312
5 changed files with 14 additions and 9 deletions

View file

@ -43,7 +43,6 @@ namespace {
AppSettings::AppSettings(QObject *parent) : QObject(parent), settings("harbour-fernschreiber", "settings") AppSettings::AppSettings(QObject *parent) : QObject(parent), settings("harbour-fernschreiber", "settings")
{ {
getAutoRun() ? initializeAutoRun() : disableAutoRun();
} }
bool AppSettings::getSendByEnter() const bool AppSettings::getSendByEnter() const

View file

@ -33,6 +33,11 @@ void StayAwakeAdaptor::setAppView(QQuickView *appView)
this->appView = appView; this->appView = appView;
} }
void StayAwakeAdaptor::sendToBackground()
{
LOG("Minimize appo! But how?");
}
bool StayAwakeAdaptor::showUI() bool StayAwakeAdaptor::showUI()
{ {
LOG("UI shall wake up!"); LOG("UI shall wake up!");

View file

@ -35,6 +35,7 @@ public:
StayAwakeAdaptor(QObject *parent); StayAwakeAdaptor(QObject *parent);
void setAppView(QQuickView* appView); void setAppView(QQuickView* appView);
Q_INVOKABLE void sendToBackground();
public slots: public slots:
bool showUI(); bool showUI();

View file

@ -1296,19 +1296,19 @@
</message> </message>
<message> <message>
<source>Stay in background</source> <source>Stay in background</source>
<translation type="unfinished"></translation> <translation>Im Hintergrund bleiben</translation>
</message> </message>
<message> <message>
<source>Fernschreiber will stay active in the background after the app was closed</source> <source>Fernschreiber will stay active in the background after the app was closed</source>
<translation type="unfinished"></translation> <translation>Fernschreiber wird im Hintergrund aktiv bleiben nachdem die App geschlossen wurde</translation>
</message> </message>
<message> <message>
<source>Autorun at startup</source> <source>Autorun at startup</source>
<translation type="unfinished"></translation> <translation>Automatischer Start</translation>
</message> </message>
<message> <message>
<source>Fernschreiber will automatically be run at startup</source> <source>Fernschreiber will automatically be run at startup</source>
<translation type="unfinished"></translation> <translation>Fernschreiber wird automatisch gestartet während das Gerät hochgefahren wird.</translation>
</message> </message>
</context> </context>
<context> <context>

View file

@ -1296,19 +1296,19 @@
</message> </message>
<message> <message>
<source>Stay in background</source> <source>Stay in background</source>
<translation type="unfinished"></translation> <translation>Stay in background</translation>
</message> </message>
<message> <message>
<source>Fernschreiber will stay active in the background after the app was closed</source> <source>Fernschreiber will stay active in the background after the app was closed</source>
<translation type="unfinished"></translation> <translation>Fernschreiber will stay active in the background after the app was closed</translation>
</message> </message>
<message> <message>
<source>Autorun at startup</source> <source>Autorun at startup</source>
<translation type="unfinished"></translation> <translation>Autorun at startup</translation>
</message> </message>
<message> <message>
<source>Fernschreiber will automatically be run at startup</source> <source>Fernschreiber will automatically be run at startup</source>
<translation type="unfinished"></translation> <translation>Fernschreiber will automatically be run at startup</translation>
</message> </message>
</context> </context>
<context> <context>