changeset 31:749ecdfd036a

Store ini file in relayit folder (using organization name)
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 06 May 2015 15:30:47 +0200
parents c09d38033fde
children 179239c94740
files src/constants.h src/l10n/main_de_DE.ts src/main.cpp
diffstat 3 files changed, 17 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/src/constants.h	Wed May 06 15:06:50 2015 +0200
+++ b/src/constants.h	Wed May 06 15:30:47 2015 +0200
@@ -23,11 +23,6 @@
 #define APPNAME "undefined"
 #endif
 
-/**@def The user visible organization behind this. */
-#ifndef ORGANIZATION
-#define ORGANIZATION "Intevation GmbH"
-#endif
-
 /**@def Short command line description. */
 #define DESCRIPTION "A tool to replay recorded user sessions."
 
--- a/src/l10n/main_de_DE.ts	Wed May 06 15:06:50 2015 +0200
+++ b/src/l10n/main_de_DE.ts	Wed May 06 15:30:47 2015 +0200
@@ -40,52 +40,52 @@
 <context>
     <name>MainWindow</name>
     <message>
-        <location filename="../mainwindow.cpp" line="56"/>
+        <location filename="../mainwindow.cpp" line="59"/>
         <source>Player</source>
         <translation>Player</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="57"/>
+        <location filename="../mainwindow.cpp" line="60"/>
         <source>Filter/Details</source>
         <translation>Filter/Details</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="73"/>
+        <location filename="../mainwindow.cpp" line="76"/>
         <source>Error!</source>
         <translation>Fehler!</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="136"/>
+        <location filename="../mainwindow.cpp" line="139"/>
         <source>Failed to access directory: &apos;%1&apos;</source>
         <translation>Auf das Verzeichnis &apos;%1&apos; konnte nicht zugegriffen werden.</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="141"/>
+        <location filename="../mainwindow.cpp" line="144"/>
         <source>Failed to access meta data file: &apos;%1&apos;</source>
         <translation>Auf die Metadaten-Datei: &apos;%1&apos; konnte nicht zugegriffen werden.</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="150"/>
+        <location filename="../mainwindow.cpp" line="153"/>
         <source>Parsed: &apos;%1&apos;</source>
         <translation>&apos;%1&apos; eingelesen</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="161"/>
+        <location filename="../mainwindow.cpp" line="169"/>
         <source>Showing: &apos;%1&apos;</source>
         <translation>Zeige: &apos;%1&apos;</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="179"/>
+        <location filename="../mainwindow.cpp" line="187"/>
         <source>Persons</source>
         <translation>Personen</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="195"/>
+        <location filename="../mainwindow.cpp" line="203"/>
         <source>Exams</source>
         <translation>Prüfungen</translation>
     </message>
     <message>
-        <location filename="../mainwindow.cpp" line="194"/>
+        <location filename="../mainwindow.cpp" line="202"/>
         <source>Root-Path</source>
         <translation>Wurzelverzeichnis</translation>
     </message>
@@ -93,7 +93,7 @@
 <context>
     <name>MetaDataView</name>
     <message>
-        <location filename="../metadataview.cpp" line="65"/>
+        <location filename="../metadataview.cpp" line="66"/>
         <source>Failed to parse file: &apos;%1&apos;</source>
         <translation>Die Datei &apos;%1&apos; konnte nicht eingelesen werden.</translation>
     </message>
@@ -134,9 +134,13 @@
 <context>
     <name>main</name>
     <message>
+        <source>The folder containing the data to relay.</source>
+        <translation type="vanished">Der Ordner mit den Relaydaten</translation>
+    </message>
+    <message>
         <location filename="../main.cpp" line="146"/>
         <source>The folder containing the data to replay.</source>
-        <translation>Der Ordner mit den Replaydaten</translation>
+        <translation type="unfinished"></translation>
     </message>
     <message>
         <location filename="../main.cpp" line="148"/>
--- a/src/main.cpp	Wed May 06 15:06:50 2015 +0200
+++ b/src/main.cpp	Wed May 06 15:30:47 2015 +0200
@@ -105,7 +105,7 @@
     /* QApplication setup */
     QApplication app (argc, argv);
     QApplication::setQuitOnLastWindowClosed(true);
-    QApplication::setOrganizationName(QString::fromLatin1(ORGANIZATION));
+    QApplication::setOrganizationName(QString::fromLatin1(APPNAME));
     QApplication::setApplicationName(QString::fromLatin1(APPNAME));
     QApplication::setApplicationVersion(QString::fromLatin1(VERSION));
     QSettings::setDefaultFormat(QSettings::IniFormat);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)