Profile plugin #46
@@ -3,6 +3,7 @@ TEMPLATE = subdirs
|
||||
SUBDIRS += advancedviewplugin \
|
||||
devtoolsplugin \
|
||||
lunchmealplugin \
|
||||
profileplugin \
|
||||
presenceplugin \
|
||||
reportsplugin \
|
||||
updaterplugin \
|
||||
|
BIN
plugins/profileplugin/images/profile.png
Normal file
BIN
plugins/profileplugin/images/profile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
@@ -1,9 +1,9 @@
|
||||
#include "aboutmedialog.h"
|
||||
#include "ui_aboutmedialog.h"
|
||||
#include "profiledialog.h"
|
||||
#include "ui_profiledialog.h"
|
||||
|
||||
AboutMeDialog::AboutMeDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent) :
|
||||
ProfileDialog::ProfileDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::AboutMeDialog)
|
||||
ui(new Ui::ProfileDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -26,7 +26,7 @@ AboutMeDialog::AboutMeDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget
|
||||
ui->lineEditBetriebsnr->setText(userInfo.betriebsnr);
|
||||
}
|
||||
|
||||
AboutMeDialog::~AboutMeDialog()
|
||||
ProfileDialog::~ProfileDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
20
plugins/profileplugin/profiledialog.h
Normal file
20
plugins/profileplugin/profiledialog.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "zeiterfassungguilib_global.h"
|
||||
#include "replies/getuserinforeply.h"
|
||||
|
||||
namespace Ui { class ProfileDialog; }
|
||||
|
||||
class ZEITERFASSUNGGUILIBSHARED_EXPORT ProfileDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ProfileDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent = Q_NULLPTR);
|
||||
~ProfileDialog();
|
||||
|
||||
private:
|
||||
Ui::ProfileDialog *ui;
|
||||
};
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>AboutMeDialog</class>
|
||||
<widget class="QDialog" name="AboutMeDialog">
|
||||
<class>ProfileDialog</class>
|
||||
<widget class="QDialog" name="ProfileDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
@@ -11,21 +11,9 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>About me</string>
|
||||
<string>Profile</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelTitle">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>About me</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QScrollArea" name="scrollArea">
|
||||
<property name="widgetResizable">
|
||||
@@ -315,7 +303,7 @@
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>AboutMeDialog</receiver>
|
||||
<receiver>ProfileDialog</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
39
plugins/profileplugin/profileplugin.cpp
Normal file
39
plugins/profileplugin/profileplugin.cpp
Normal file
@@ -0,0 +1,39 @@
|
||||
#include "profileplugin.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QDir>
|
||||
#include <QCoreApplication>
|
||||
#include <QLocale>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
|
||||
#include "mainwindow.h"
|
||||
|
||||
#include "profiledialog.h"
|
||||
|
||||
ProfilePlugin::ProfilePlugin(QObject *parent) :
|
||||
ZeiterfassungPlugin(parent)
|
||||
{
|
||||
qDebug() << "called";
|
||||
|
||||
static auto dir = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath(QStringLiteral("translations"));
|
||||
|
||||
if(m_translator.load(QLocale(), QStringLiteral("profileplugin"), QStringLiteral("_"), dir))
|
||||
{
|
||||
if(!QCoreApplication::installTranslator(&m_translator))
|
||||
{
|
||||
qWarning() << "could not install translation profileplugin";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
qWarning() << "could not load translation profileplugin";
|
||||
}
|
||||
}
|
||||
|
||||
void ProfilePlugin::attachTo(MainWindow &mainWindow)
|
||||
{
|
||||
auto dialog = new ProfileDialog(mainWindow.userInfo(), &mainWindow);
|
||||
mainWindow.menuTools()->addAction(QIcon(QStringLiteral(":/zeiterfassung/plugins/profileplugin/images/profile.png")),
|
||||
tr("My profile"), dialog, &QDialog::open);
|
||||
}
|
24
plugins/profileplugin/profileplugin.h
Normal file
24
plugins/profileplugin/profileplugin.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <QObject>
|
||||
#include <QTranslator>
|
||||
|
||||
#include "zeiterfassungplugin.h"
|
||||
|
||||
class MainWindow;
|
||||
|
||||
class Q_DECL_EXPORT ProfilePlugin : public ZeiterfassungPlugin
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "dbsoftware.zeiterfassung.plugin/1.0" FILE "profileplugin.json")
|
||||
Q_INTERFACES(ZeiterfassungPlugin)
|
||||
|
||||
public:
|
||||
explicit ProfilePlugin(QObject *parent = Q_NULLPTR);
|
||||
|
||||
// ZeiterfassungPlugin interface
|
||||
void attachTo(MainWindow &mainWindow) Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
QTranslator m_translator;
|
||||
};
|
0
plugins/profileplugin/profileplugin.json
Normal file
0
plugins/profileplugin/profileplugin.json
Normal file
37
plugins/profileplugin/profileplugin.pro
Normal file
37
plugins/profileplugin/profileplugin.pro
Normal file
@@ -0,0 +1,37 @@
|
||||
QT += core network gui widgets
|
||||
|
||||
TARGET = profileplugin
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += shared c++14
|
||||
|
||||
DESTDIR = $${OUT_PWD}/../../bin/plugins/zeiterfassung
|
||||
|
||||
LIBS += -L$$OUT_PWD/../../lib -lzeiterfassungcorelib -lzeiterfassungguilib
|
||||
|
||||
INCLUDEPATH += $$PWD/../../zeiterfassungcorelib $$PWD/../../zeiterfassungguilib
|
||||
DEPENDPATH += $$PWD/../../zeiterfassungcorelib $$PWD/../../zeiterfassungguilib
|
||||
|
||||
DEFINES += QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000 QT_MESSAGELOGCONTEXT
|
||||
|
||||
HEADERS += profiledialog.h \
|
||||
profileplugin.h
|
||||
|
||||
SOURCES += profiledialog.cpp \
|
||||
profileplugin.cpp
|
||||
|
||||
FORMS += profiledialog.ui
|
||||
|
||||
RESOURCES += profileplugin_resources.qrc
|
||||
|
||||
TRANSLATIONS += translations/profileplugin_en.ts \
|
||||
translations/profileplugin_de.ts
|
||||
|
||||
OTHER_FILES += profileplugin.json
|
||||
|
||||
include(../../lrelease.pri)
|
||||
|
||||
COMPILED_TRANSLATIONS += $${OUT_PWD}/translations/profileplugin_en.qm \
|
||||
$${OUT_PWD}/translations/profileplugin_de.qm
|
||||
|
||||
include(../copy_translations.pri)
|
5
plugins/profileplugin/profileplugin_resources.qrc
Normal file
5
plugins/profileplugin/profileplugin_resources.qrc
Normal file
@@ -0,0 +1,5 @@
|
||||
<RCC>
|
||||
<qresource prefix="/zeiterfassung/plugins/profileplugin">
|
||||
<file>images/profile.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
111
plugins/profileplugin/translations/profileplugin_de.ts
Normal file
111
plugins/profileplugin/translations/profileplugin_de.ts
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>ProfileDialog</name>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="14"/>
|
||||
<source>Profile</source>
|
||||
<translation>Profil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="35"/>
|
||||
<source>User-ID:</source>
|
||||
<translation>Benutzer-ID:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="45"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation>E-Mail:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="55"/>
|
||||
<source>Long username:</source>
|
||||
<translation>Langer Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="65"/>
|
||||
<source>Text:</source>
|
||||
<translation>Text:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="75"/>
|
||||
<source>Username:</source>
|
||||
<translation>Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="123"/>
|
||||
<source>Street:</source>
|
||||
<translation>Straße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="130"/>
|
||||
<source>City:</source>
|
||||
<translation>Stadt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="137"/>
|
||||
<source>Employed since:</source>
|
||||
<translation>Angestellt seit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="144"/>
|
||||
<source>Employed till:</source>
|
||||
<translation>Angestellt bis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="151"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation>Geburtsort:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="158"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation>Postleitzahl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="165"/>
|
||||
<source>Religion:</source>
|
||||
<translation>Religion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="172"/>
|
||||
<source>Department:</source>
|
||||
<translation>Abteilung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="179"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation>Verwendgr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="186"/>
|
||||
<source>Taetig:</source>
|
||||
<translation>Taetig:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation>Arbverh:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="200"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation>Betriebsnr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.cpp" line="17"/>
|
||||
<location filename="../profiledialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation>dd.MM.yyyy</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProfilePlugin</name>
|
||||
<message>
|
||||
<location filename="../profileplugin.cpp" line="38"/>
|
||||
<source>My profile</source>
|
||||
<translation>Mein Profil</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
111
plugins/profileplugin/translations/profileplugin_en.ts
Normal file
111
plugins/profileplugin/translations/profileplugin_en.ts
Normal file
@@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>ProfileDialog</name>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="14"/>
|
||||
<source>Profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="35"/>
|
||||
<source>User-ID:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="45"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="55"/>
|
||||
<source>Long username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="65"/>
|
||||
<source>Text:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="75"/>
|
||||
<source>Username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="123"/>
|
||||
<source>Street:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="130"/>
|
||||
<source>City:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="137"/>
|
||||
<source>Employed since:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="144"/>
|
||||
<source>Employed till:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="151"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="158"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="165"/>
|
||||
<source>Religion:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="172"/>
|
||||
<source>Department:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="179"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="186"/>
|
||||
<source>Taetig:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="200"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.cpp" line="17"/>
|
||||
<location filename="../profiledialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProfilePlugin</name>
|
||||
<message>
|
||||
<location filename="../profileplugin.cpp" line="38"/>
|
||||
<source>My profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
@@ -1,20 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "zeiterfassungguilib_global.h"
|
||||
#include "replies/getuserinforeply.h"
|
||||
|
||||
namespace Ui { class AboutMeDialog; }
|
||||
|
||||
class ZEITERFASSUNGGUILIBSHARED_EXPORT AboutMeDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AboutMeDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent = Q_NULLPTR);
|
||||
~AboutMeDialog();
|
||||
|
||||
private:
|
||||
Ui::AboutMeDialog *ui;
|
||||
};
|
@@ -19,7 +19,6 @@
|
||||
#include "zeiterfassungsettings.h"
|
||||
#include "stripfactory.h"
|
||||
#include "stripswidget.h"
|
||||
#include "dialogs/aboutmedialog.h"
|
||||
#include "dialogs/settingsdialog.h"
|
||||
#include "replies/getprojectsreply.h"
|
||||
#include "replies/createbookingreply.h"
|
||||
@@ -47,7 +46,6 @@ MainWindow::MainWindow(ZeiterfassungSettings &settings, ZeiterfassungApi &erfass
|
||||
ui->actionRefresh->setShortcut(QKeySequence::Refresh);
|
||||
connect(ui->actionRefresh, &QAction::triggered, this, &MainWindow::refreshEverything);
|
||||
|
||||
connect(ui->actionAboutMe, &QAction::triggered, [=](){ AboutMeDialog(userInfo, this).exec(); });
|
||||
connect(ui->actionSettings, &QAction::triggered, [=](){ SettingsDialog(m_settings, this).exec(); });
|
||||
|
||||
ui->actionHelp->setShortcut(QKeySequence::HelpContents);
|
||||
|
@@ -211,7 +211,6 @@
|
||||
<property name="title">
|
||||
<string>&About</string>
|
||||
</property>
|
||||
<addaction name="actionAboutMe"/>
|
||||
<addaction name="actionSettings"/>
|
||||
<addaction name="actionHelp"/>
|
||||
<addaction name="separator"/>
|
||||
|
@@ -1,106 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>AboutMeDialog</name>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="14"/>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="25"/>
|
||||
<source>About me</source>
|
||||
<translation>Über mich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="47"/>
|
||||
<source>User-ID:</source>
|
||||
<translation>Benutzer-ID:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="57"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation>E-Mail:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="67"/>
|
||||
<source>Long username:</source>
|
||||
<translation>Langer Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="77"/>
|
||||
<source>Text:</source>
|
||||
<translation>Text:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="87"/>
|
||||
<source>Username:</source>
|
||||
<translation>Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="135"/>
|
||||
<source>Street:</source>
|
||||
<translation>Straße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="142"/>
|
||||
<source>City:</source>
|
||||
<translation>Stadt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="149"/>
|
||||
<source>Employed since:</source>
|
||||
<translation>Angestellt seit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="156"/>
|
||||
<source>Employed till:</source>
|
||||
<translation>Angestellt bis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="163"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation>Geburtsort:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="170"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation>Postleitzahl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="177"/>
|
||||
<source>Religion:</source>
|
||||
<translation>Religion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="184"/>
|
||||
<source>Department:</source>
|
||||
<translation>Abteilung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="191"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation>Verwendgr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="198"/>
|
||||
<source>Taetig:</source>
|
||||
<translation>Taetig:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="205"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation>Arbverh:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="212"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation>Betriebsnr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="17"/>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation>dd.MM.yyyy</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AuthenticationDialog</name>
|
||||
<message>
|
||||
@@ -168,8 +68,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="143"/>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Start</source>
|
||||
<translation>Kommen</translation>
|
||||
</message>
|
||||
@@ -189,107 +89,107 @@
|
||||
<translation>&Über</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="223"/>
|
||||
<location filename="../mainwindow.ui" line="222"/>
|
||||
<source>&View</source>
|
||||
<translation>&Ansicht</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="230"/>
|
||||
<location filename="../mainwindow.ui" line="229"/>
|
||||
<source>&Tools</source>
|
||||
<translation>&Werkzeuge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="255"/>
|
||||
<location filename="../mainwindow.ui" line="254"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Beenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="264"/>
|
||||
<location filename="../mainwindow.ui" line="263"/>
|
||||
<source>About &Me</source>
|
||||
<translation>Über &mich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="273"/>
|
||||
<location filename="../mainwindow.ui" line="272"/>
|
||||
<source>About &zeiterfassung</source>
|
||||
<translation>Über &zeiterfassung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="282"/>
|
||||
<location filename="../mainwindow.ui" line="281"/>
|
||||
<source>About &Qt</source>
|
||||
<translation>Über &Qt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="291"/>
|
||||
<location filename="../mainwindow.ui" line="290"/>
|
||||
<source>&Today</source>
|
||||
<translation>&Heute</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="300"/>
|
||||
<location filename="../mainwindow.ui" line="299"/>
|
||||
<source>&Refresh everything</source>
|
||||
<translation>Alles &neu laden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="309"/>
|
||||
<location filename="../mainwindow.ui" line="308"/>
|
||||
<source>&Settings</source>
|
||||
<translation>&Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="318"/>
|
||||
<location filename="../mainwindow.ui" line="317"/>
|
||||
<source>Help</source>
|
||||
<translation>Hilfe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="41"/>
|
||||
<location filename="../mainwindow.cpp" line="40"/>
|
||||
<source>Zeiterfassung - %0 (%1)</source>
|
||||
<translation>Zeiterfassung - %0 (%1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<location filename="../mainwindow.cpp" line="68"/>
|
||||
<source>Subproject</source>
|
||||
<translation>Subprojekt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="71"/>
|
||||
<location filename="../mainwindow.cpp" line="69"/>
|
||||
<source>Workpackage</source>
|
||||
<translation>Arbeitspaket</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="72"/>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<source>Text</source>
|
||||
<translation>Text</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="171"/>
|
||||
<location filename="../mainwindow.cpp" line="172"/>
|
||||
<location filename="../mainwindow.cpp" line="169"/>
|
||||
<location filename="../mainwindow.cpp" line="170"/>
|
||||
<source>Could not load bookings!</source>
|
||||
<translation>Konnte Buchungen nicht laden!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="192"/>
|
||||
<location filename="../mainwindow.cpp" line="291"/>
|
||||
<location filename="../mainwindow.cpp" line="190"/>
|
||||
<location filename="../mainwindow.cpp" line="289"/>
|
||||
<source>Could not create booking!</source>
|
||||
<translation>Konnte Buchung nicht erstellen!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="220"/>
|
||||
<location filename="../mainwindow.cpp" line="276"/>
|
||||
<location filename="../mainwindow.cpp" line="218"/>
|
||||
<location filename="../mainwindow.cpp" line="274"/>
|
||||
<source>Could not edit time assignment!</source>
|
||||
<translation>Konnte Kontierung nicht bearbeiten!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="384"/>
|
||||
<location filename="../mainwindow.cpp" line="393"/>
|
||||
<location filename="../mainwindow.cpp" line="382"/>
|
||||
<location filename="../mainwindow.cpp" line="391"/>
|
||||
<source>%0 (%1)</source>
|
||||
<translation>%0 (%1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="237"/>
|
||||
<location filename="../mainwindow.cpp" line="235"/>
|
||||
<source>Could not create time assignment!</source>
|
||||
<translation>Konnte Kontierung nicht erstellen!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Switch</source>
|
||||
<translation>Wechseln</translation>
|
||||
</message>
|
||||
|
@@ -1,106 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>AboutMeDialog</name>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="14"/>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="25"/>
|
||||
<source>About me</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="47"/>
|
||||
<source>User-ID:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="57"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="67"/>
|
||||
<source>Long username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="77"/>
|
||||
<source>Text:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="87"/>
|
||||
<source>Username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="135"/>
|
||||
<source>Street:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="142"/>
|
||||
<source>City:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="149"/>
|
||||
<source>Employed since:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="156"/>
|
||||
<source>Employed till:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="163"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="170"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="177"/>
|
||||
<source>Religion:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="184"/>
|
||||
<source>Department:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="191"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="198"/>
|
||||
<source>Taetig:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="205"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="212"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="17"/>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AuthenticationDialog</name>
|
||||
<message>
|
||||
@@ -168,8 +68,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="143"/>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Start</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -189,107 +89,107 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="223"/>
|
||||
<location filename="../mainwindow.ui" line="222"/>
|
||||
<source>&View</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="230"/>
|
||||
<location filename="../mainwindow.ui" line="229"/>
|
||||
<source>&Tools</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="255"/>
|
||||
<location filename="../mainwindow.ui" line="254"/>
|
||||
<source>&Quit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="264"/>
|
||||
<location filename="../mainwindow.ui" line="263"/>
|
||||
<source>About &Me</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="273"/>
|
||||
<location filename="../mainwindow.ui" line="272"/>
|
||||
<source>About &zeiterfassung</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="282"/>
|
||||
<location filename="../mainwindow.ui" line="281"/>
|
||||
<source>About &Qt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="291"/>
|
||||
<location filename="../mainwindow.ui" line="290"/>
|
||||
<source>&Today</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="300"/>
|
||||
<location filename="../mainwindow.ui" line="299"/>
|
||||
<source>&Refresh everything</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="309"/>
|
||||
<location filename="../mainwindow.ui" line="308"/>
|
||||
<source>&Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="318"/>
|
||||
<location filename="../mainwindow.ui" line="317"/>
|
||||
<source>Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="41"/>
|
||||
<location filename="../mainwindow.cpp" line="40"/>
|
||||
<source>Zeiterfassung - %0 (%1)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<location filename="../mainwindow.cpp" line="68"/>
|
||||
<source>Subproject</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="71"/>
|
||||
<location filename="../mainwindow.cpp" line="69"/>
|
||||
<source>Workpackage</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="72"/>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<source>Text</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="171"/>
|
||||
<location filename="../mainwindow.cpp" line="172"/>
|
||||
<location filename="../mainwindow.cpp" line="169"/>
|
||||
<location filename="../mainwindow.cpp" line="170"/>
|
||||
<source>Could not load bookings!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="192"/>
|
||||
<location filename="../mainwindow.cpp" line="291"/>
|
||||
<location filename="../mainwindow.cpp" line="190"/>
|
||||
<location filename="../mainwindow.cpp" line="289"/>
|
||||
<source>Could not create booking!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="237"/>
|
||||
<location filename="../mainwindow.cpp" line="235"/>
|
||||
<source>Could not create time assignment!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="220"/>
|
||||
<location filename="../mainwindow.cpp" line="276"/>
|
||||
<location filename="../mainwindow.cpp" line="218"/>
|
||||
<location filename="../mainwindow.cpp" line="274"/>
|
||||
<source>Could not edit time assignment!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Switch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="384"/>
|
||||
<location filename="../mainwindow.cpp" line="393"/>
|
||||
<location filename="../mainwindow.cpp" line="382"/>
|
||||
<location filename="../mainwindow.cpp" line="391"/>
|
||||
<source>%0 (%1)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@@ -19,7 +19,6 @@ SOURCES += mainwindow.cpp \
|
||||
stripfactory.cpp \
|
||||
stripswidget.cpp \
|
||||
zeiterfassungplugin.cpp \
|
||||
dialogs/aboutmedialog.cpp \
|
||||
dialogs/authenticationdialog.cpp \
|
||||
dialogs/languageselectiondialog.cpp \
|
||||
dialogs/settingsdialog.cpp
|
||||
@@ -29,7 +28,6 @@ HEADERS += mainwindow.h \
|
||||
stripswidget.h \
|
||||
zeiterfassungguilib_global.h \
|
||||
zeiterfassungplugin.h \
|
||||
dialogs/aboutmedialog.h \
|
||||
dialogs/authenticationdialog.h \
|
||||
dialogs/languageselectiondialog.h \
|
||||
dialogs/settingsdialog.h
|
||||
@@ -37,8 +35,7 @@ HEADERS += mainwindow.h \
|
||||
FORMS += mainwindow.ui \
|
||||
dialogs/settingsdialog.ui \
|
||||
dialogs/languageselectiondialog.ui \
|
||||
dialogs/authenticationdialog.ui \
|
||||
dialogs/aboutmedialog.ui
|
||||
dialogs/authenticationdialog.ui
|
||||
|
||||
RESOURCES += zeiterfassungguilib_resources.qrc
|
||||
|
||||
|
Reference in New Issue
Block a user