diff --git a/PictureDialog.cpp b/PictureDialog.cpp
index 8966b03..4b78ef4 100755
--- a/PictureDialog.cpp
+++ b/PictureDialog.cpp
@@ -41,6 +41,7 @@ PictureDialog::PictureDialog(ProfileDatabase *profileDB, QWidget *parent) :
jsonDrawString = ui->labJSON->text();
ui->cmdExport->setEnabled(0);
plyrsList = QStringList();
+ picTitl = "";
crewID = "";
locX = "";
locY = "";
@@ -75,6 +76,7 @@ void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, bool readOk)
locZ = QString::number(picture->getLocationZ());
crewID = QString::number(picture->getCrewNumber());
plyrsList = picture->getPlayers();
+ picTitl = picture->getPictureTitl();
QString plyrsStr;
if (plyrsList.length() >= 1)
@@ -100,7 +102,7 @@ void PictureDialog::setSnapmaticPicture(SnapmaticPicture *picture, bool readOk)
if (crewID == "") { crewID = tr("No crew"); }
this->setWindowTitle(windowTitleStr.arg(picture->getPictureStr()));
- ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID));
+ ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID, picTitl));
}
else
{
@@ -136,7 +138,7 @@ void PictureDialog::on_playerNameUpdated()
plyrsStr.append("");
}
plyrsStr.remove(0,2);
- ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID));
+ ui->labJSON->setText(jsonDrawString.arg(locX, locY, locZ, plyrsStr, crewID, picTitl));
}
}
diff --git a/PictureDialog.h b/PictureDialog.h
index 16d0af4..c280e71 100755
--- a/PictureDialog.h
+++ b/PictureDialog.h
@@ -49,6 +49,7 @@ private:
QString jsonDrawString;
QString windowTitleStr;
QStringList plyrsList;
+ QString picTitl;
QString crewID;
QString locX;
QString locY;
diff --git a/PictureDialog.ui b/PictureDialog.ui
index d1054b2..f885561 100755
--- a/PictureDialog.ui
+++ b/PictureDialog.ui
@@ -62,29 +62,28 @@
-
+
+
+ 0
+ 0
+
+
- <span style=" font-weight:600;">Location: </span>%1, %2, %3 <br><span style=" font-weight:600;">Players: </span>%4<br><span style=" font-weight:600;">Crew ID: </span>%5
+ <span style=" font-weight:600;">Title: </span>%6<br>
+<span style=" font-weight:600;">Location: </span>%1, %2, %3 <br>
+<span style=" font-weight:600;">Players: </span>%4<br>
+<span style=" font-weight:600;">Crew ID: </span>%5
true
- -
-
-
- Qt::Horizontal
-
-
-
- 0
- 0
-
-
-
-
-
+
+ Export picture
+
Export
@@ -92,6 +91,9 @@
-
+
+ Close
+
Close
diff --git a/gta5sync.pro b/gta5sync.pro
index 7b43aea..160bd72 100755
--- a/gta5sync.pro
+++ b/gta5sync.pro
@@ -66,13 +66,14 @@ FORMS += \
UserInterface.ui
TRANSLATIONS += \
- gta5sync_de.ts
+ res/gta5sync_de.ts
RESOURCES += \
res/app.qrc
-OTHER_FILES += \
- app.rc
+OTHER_FILES += app.rc \
+ res/gta5sync.desktop \
+ res/gta5sync_de.ts
win32: RC_FILE += app.rc
@@ -100,6 +101,6 @@ isEqual(QT_MAJOR_VERSION, 4): SOURCES += qjson4/QJsonArray.cpp \
# UNIX SYSTEM STUFF
unix: !macx: appfiles.path = $$(INSTALL_PATH)/share/applications
-unix: !macx: appfiles.files = $$PWD/res/5sync.desktop
+unix: !macx: appfiles.files = $$PWD/res/gta5sync.desktop
unix: !macx: target.path = $$(INSTALL_PATH)/bin
unix: !macx: INSTALLS += target appfiles
diff --git a/res/app.qrc b/res/app.qrc
index 67a1099..5517c88 100755
--- a/res/app.qrc
+++ b/res/app.qrc
@@ -6,7 +6,6 @@
savegame.png
- 5sync.ico
5sync-48.png
diff --git a/res/gta5sync.desktop b/res/gta5sync.desktop
new file mode 100755
index 0000000..94c3b4c
--- /dev/null
+++ b/res/gta5sync.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Type=Application
+Name=gta5sync
+Comment=gta5sync
+Categories=Qt;Application;Utility;
+Exec=gta5sync
+Icon=gta5sync
+Terminal=false
+StartupNotify=false
diff --git a/res/gta5sync_de.qm b/res/gta5sync_de.qm
index 1388ce6..ee250ff 100755
Binary files a/res/gta5sync_de.qm and b/res/gta5sync_de.qm differ
diff --git a/res/gta5sync_de.ts b/res/gta5sync_de.ts
index 59bc191..9354c95 100755
--- a/res/gta5sync_de.ts
+++ b/res/gta5sync_de.ts
@@ -4,17 +4,17 @@
AboutDialog
-
+
Über gta5sync
-
+
-
+
Schließen
@@ -22,71 +22,92 @@
PictureDialog
-
+
%1 - Snapmatic Bildansicht
-
- <span style=" font-weight:600;">Standort: </span>%1, %2, %3 <br><span style=" font-weight:600;">Spieler: </span>%4<br><span style=" font-weight:600;">Crew ID: </span>%5
+ <span style=" font-weight:600;">Standort: </span>%1, %2, %3 <br><span style=" font-weight:600;">Spieler: </span>%4<br><span style=" font-weight:600;">Crew ID: </span>%5
-
+
+ <span style=" font-weight:600;">Bildtitel: </span>%6<br>
+<span style=" font-weight:600;">Standort: </span>%1, %2, %3 <br>
+<span style=" font-weight:600;">Spieler: </span>%4<br>
+<span style=" font-weight:600;">Crew ID: </span>%5
+
+
+
+
+ <span style=" font-weight:600;">Titel: </span>%6<br>
+<span style=" font-weight:600;">Standort: </span>%1, %2, %3 <br>
+<span style=" font-weight:600;">Spieler: </span>%4<br>
+<span style=" font-weight:600;">Crew ID: </span>%5
+
+
+
Exportieren
-
+
+
Schließen
-
-
+
+
Snapmatic Bildansicht
-
-
+
+
Fehlgeschlagen bei %1
-
-
+
+
Keine Spieler
-
-
+
+
Keine Crew
-
+
JPEG Bild (*.jpg)
-
+
Portable Network Graphics (*.png)
-
+
Überschreibe %1 mit aktuellen Snapmatic Bild?
-
+
Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Snapmatic Bild
-
+
Fehlgeschlagen beim Speichern vom aktuellen Bild
@@ -95,11 +116,12 @@
JPEG Bild (*.jpg);;Portable Network Graphics (*.png)
-
-
-
-
-
+
+
+
+
+
+
Bild exportieren
@@ -112,7 +134,7 @@
Beim Speichern des Bildes ist ein Fehler aufgetreten
-
+
Keine gültige Datei wurde ausgewählt
@@ -120,27 +142,28 @@
ProfileInterface
-
+
Profil Interface
-
+
Loading %1 files of %2 files
Lade Datei %1 von %2 Dateien
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
Kopie importieren
@@ -153,68 +176,73 @@
Ansehen
-
+
Profil schließen
-
+
Lade...
-
+
Alle Profildateien (SGTA* PGTA*)
-
+
Spielstanddateien (SGTA*)
-
+
Snapmatic Bilder (PGTA*)
-
+
Alle Dateien (**)
-
+
Fehler beim Lesen vom Snapmatic Bild
-
+
Fehler beim Lesen von Spielstanddatei
-
-
+
+
+ Kann %1 nicht importieren weil das Dateiformat nicht gültig ist
+
+
+
+
Keine gültige Datei wurde ausgewählt
-
+
Fehlgeschlagenen beim Import vom Snapmatic Bild weil die Datei nicht mit PGTA begint
-
+
Fehlgeschlagenen beim Import vom Snapmatic Bild weil kopieren fehlgeschlagen ist
-
+
Fehlgeschlagenen beim Import vom Spielstand weil kopieren fehlgeschlagen ist
-
+
Fehlgeschlagenen beim Import vom Spielstand weil kein Spielstandslot mehr übrig ist
@@ -222,23 +250,23 @@
SavegameDialog
-
-
+
+
Spielstandanzeiger
-
+
<span style=" font-weight:600;">Spielstand</span><br><br>%1
-
+
Schließen
-
+
Fehlgeschlagen bei %1
@@ -246,72 +274,72 @@
SavegameWidget
-
+
Spielstand Widget
-
+
The Third Way (100%) - 00/00/00 00:00:00
-
+
Kopieren
-
+
Löschen
-
-
+
+
Savegame löschen
-
+
Bist du sicher %1 von deinen Spielständen zu löschen?
-
+
Fehlgeschlagen beim Löschen %1 von deinen Spielständen
-
-
-
-
-
+
+
+
+
+
Spielstand kopieren
-
+
Spielstanddateien (SGTA*)
-
+
Alle Dateien (**)
-
+
Überschreibe %1 mit aktuellen Spielstand?
-
+
Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Spielstand
-
+
Fehlgeschlagen beim Kopieren vom Spielstand
@@ -320,7 +348,7 @@
Beim Kopieren vom Spielstand ist ein Fehler aufgetreten
-
+
Keine gültige Datei wurde ausgewählt
@@ -336,33 +364,33 @@
SnapmaticWidget
-
+
Snapmatic Widget
-
+
FOTO - 00/00/00 00:00:00
-
+
Ansehen
-
+
Löschen
-
-
+
+
Bild löschen
-
+
Bist du sicher %1 von deinen Snapmatic Bilder zu löschen?
@@ -371,7 +399,7 @@
Bist du sicher %1 von deinen Snapmatic Bilder zu löschen?
-
+
Fehlgeschlagen beim Löschen %1 von deinen Snapmatic Bildern
@@ -387,33 +415,33 @@
GTA V Sync
-
+
gta5sync - %1
-
+
Datei
-
+
Hilfe
-
+
Über gta5sync
-
+
Strg+A
-
-
+
+
Schließen
@@ -422,30 +450,30 @@
Schließen
-
+
Strg+Q
-
-
-
-
+
+
+
+
Profil auswählen
-
+
Strg+P
-
+
GTA V Ordner nicht gefunden!
-
+
gta5sync