diff options
Diffstat (limited to 'src-qt5/desktop-utils/lumina-screenshot')
4 files changed, 36 insertions, 35 deletions
diff --git a/src-qt5/desktop-utils/lumina-screenshot/i18n/l-screenshot_de.ts b/src-qt5/desktop-utils/lumina-screenshot/i18n/l-screenshot_de.ts index efda8a4c..13a8096e 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/i18n/l-screenshot_de.ts +++ b/src-qt5/desktop-utils/lumina-screenshot/i18n/l-screenshot_de.ts @@ -1,15 +1,15 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version='1.0' encoding='utf-8'?> <!DOCTYPE TS> <TS version="2.1" language="de"> <context> <name>ImageEditor</name> <message> - <location filename="../ImageEditor.cpp" line="14"/> + <location filename="../ImageEditor.cpp" line="14"></location> <source>Zoom In</source> <translation>Vergrößern</translation> </message> <message> - <location filename="../ImageEditor.cpp" line="15"/> + <location filename="../ImageEditor.cpp" line="15"></location> <source>Zoom Out</source> <translation>Verkleinern</translation> </message> @@ -17,115 +17,115 @@ <context> <name>MainUI</name> <message> - <location filename="../MainUI.ui" line="14"/> - <location filename="../MainUI.ui" line="162"/> - <location filename="../MainUI.ui" line="295"/> + <location filename="../MainUI.ui" line="14"></location> + <location filename="../MainUI.ui" line="162"></location> + <location filename="../MainUI.ui" line="295"></location> <source>Take Screenshot</source> <translation>Bildschirmfoto erstellen</translation> </message> <message> - <location filename="../MainUI.ui" line="37"/> + <location filename="../MainUI.ui" line="37"></location> <source>New Screenshot</source> <translation>Neues Bildschirmfoto</translation> </message> <message> - <location filename="../MainUI.ui" line="43"/> + <location filename="../MainUI.ui" line="43"></location> <source>Settings</source> <translation>Einstellungen</translation> </message> <message> - <location filename="../MainUI.ui" line="124"/> + <location filename="../MainUI.ui" line="124"></location> <source>Include Borders</source> <translation>Rahmen inkludieren</translation> </message> <message> - <location filename="../MainUI.ui" line="149"/> + <location filename="../MainUI.ui" line="149"></location> <source> Seconds</source> <translation> Sekunden</translation> </message> <message> - <location filename="../MainUI.ui" line="152"/> + <location filename="../MainUI.ui" line="152"></location> <source>Delay </source> <translation>Verzögerung </translation> </message> <message> - <location filename="../MainUI.ui" line="172"/> + <location filename="../MainUI.ui" line="172"></location> <source>View/Edit</source> <translation>Ansicht/Bearbeiten</translation> </message> <message> - <location filename="../MainUI.ui" line="212"/> - <location filename="../MainUI.ui" line="306"/> + <location filename="../MainUI.ui" line="212"></location> + <location filename="../MainUI.ui" line="306"></location> <source>Save As</source> <translation>Speichern unter</translation> </message> <message> - <location filename="../MainUI.ui" line="222"/> + <location filename="../MainUI.ui" line="222"></location> <source>Launch Editor</source> <translation>Editor starten</translation> </message> <message> - <location filename="../MainUI.ui" line="245"/> + <location filename="../MainUI.ui" line="245"></location> <source>Crop</source> <translation>Zuschneiden</translation> </message> <message> - <location filename="../MainUI.ui" line="255"/> + <location filename="../MainUI.ui" line="255"></location> <source>Resize</source> <translation>Größe ändern</translation> </message> <message> - <location filename="../MainUI.ui" line="282"/> + <location filename="../MainUI.ui" line="282"></location> <source>File</source> <translation>Datei</translation> </message> <message> - <location filename="../MainUI.ui" line="298"/> + <location filename="../MainUI.ui" line="298"></location> <source>Ctrl+N</source> <translation>Strg+N</translation> </message> <message> - <location filename="../MainUI.ui" line="322"/> + <location filename="../MainUI.ui" line="322"></location> <source>Close</source> <translation>Schließen</translation> </message> <message> - <location filename="../MainUI.ui" line="325"/> + <location filename="../MainUI.ui" line="325"></location> <source>Esc</source> <translation>Esc</translation> </message> <message> - <location filename="../MainUI.ui" line="67"/> + <location filename="../MainUI.ui" line="67"></location> <source>Entire Session</source> - <translation>vollständige Session</translation> + <translation>Vollständige Sitzung</translation> </message> <message> - <location filename="../MainUI.ui" line="81"/> + <location filename="../MainUI.ui" line="81"></location> <source>Single Window</source> - <translation>einzelnes Fenster</translation> + <translation>Einzelnes Fenster</translation> </message> <message> - <location filename="../MainUI.ui" line="74"/> + <location filename="../MainUI.ui" line="74"></location> <source>Single Screen</source> - <translation>einzelner Bildschirm</translation> + <translation>Einzelner Bildschirm</translation> </message> <message> - <location filename="../MainUI.cpp" line="77"/> + <location filename="../MainUI.cpp" line="77"></location> <source>Save Screenshot</source> <translation>Bildschirmfoto speichern</translation> </message> <message> - <location filename="../MainUI.ui" line="309"/> + <location filename="../MainUI.ui" line="309"></location> <source>Ctrl+S</source> <translation>Strg+S</translation> </message> <message> - <location filename="../MainUI.ui" line="317"/> + <location filename="../MainUI.ui" line="317"></location> <source>Quick Save</source> <translation>Schnellspeichern</translation> </message> <message> - <location filename="../MainUI.cpp" line="77"/> + <location filename="../MainUI.cpp" line="77"></location> <source>PNG Files (*.png);;AllFiles (*)</source> <translation>PNG-Dateien (*.png);;Alle Dateien (*)</translation> </message> diff --git a/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.desktop b/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.desktop index b1c386fc..c4678265 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.desktop +++ b/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Exec=lumina-screenshot +Exec=lumina-screenshot -new-instance Icon=camera-web Terminal=false Type=Application diff --git a/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.pro b/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.pro index 6f47f61f..a85b234c 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.pro +++ b/src-qt5/desktop-utils/lumina-screenshot/lumina-screenshot.pro @@ -1,6 +1,6 @@ include("$${PWD}/../../OS-detect.pri") -QT += core gui +QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets x11extras diff --git a/src-qt5/desktop-utils/lumina-screenshot/main.cpp b/src-qt5/desktop-utils/lumina-screenshot/main.cpp index aee374b0..27e1f2ff 100644 --- a/src-qt5/desktop-utils/lumina-screenshot/main.cpp +++ b/src-qt5/desktop-utils/lumina-screenshot/main.cpp @@ -7,14 +7,15 @@ #include <LuminaOS.h> #include <LuminaThemes.h> #include <LuminaUtils.h> +#include <LuminaSingleApplication.h> int main(int argc, char ** argv) { LTHEME::LoadCustomEnvSettings(); - QApplication a(argc, argv); + LSingleApplication a(argc, argv, "l-screenshot"); LuminaThemeEngine theme(&a); a.setApplicationName("Take Screenshot"); - LUtils::LoadTranslation(&a, "l-screenshot"); + //LUtils::LoadTranslation(&a, "l-screenshot"); MainUI w; QObject::connect(&theme,SIGNAL(updateIcons()), &w, SLOT(setupIcons()) ); |