summaryrefslogtreecommitdiffstats
path: root/src/i18n
diff options
context:
space:
mode:
authorJan Darmochwal2010-10-07 14:53:20 +0200
committerJan Darmochwal2010-10-07 14:53:20 +0200
commit3932297962d7394574346c016c38ef5103dc5a7c (patch)
tree2a1f8d128d1e87965fea6be41943717b3cddce65 /src/i18n
parentrecursive globbing in VSession::readXmlDir() (diff)
downloadvmchooser-3932297962d7394574346c016c38ef5103dc5a7c.tar.gz
vmchooser-3932297962d7394574346c016c38ef5103dc5a7c.tar.xz
vmchooser-3932297962d7394574346c016c38ef5103dc5a7c.zip
Support for command line arguments and conf files
* anyoption has been replaced by getopt * replaces huge unmaintainable .cpp and .h files from an external source by standard POSIX library calls * I would suggest using Boost.Program_options if cross-platform support is needed * support user/global configuration file
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/de.ts37
1 files changed, 35 insertions, 2 deletions
diff --git a/src/i18n/de.ts b/src/i18n/de.ts
index b8063d6..6887b07 100644
--- a/src/i18n/de.ts
+++ b/src/i18n/de.ts
@@ -2,6 +2,39 @@
<!DOCTYPE TS>
<TS version="2.0" language="de">
<context>
+ <name>Console</name>
+ <message>
+ <location filename="../main.cpp" line="31"/>
+ <source>Usage: vmchooser [ OPTIONS | FILE ]
+
+ -d, --default name of default session
+ -p, --path path to vmware .xml files
+ -x, --xpath path of X Session .desktop files
+ -s, --size window size &lt;width&gt;x&lt;height&gt;
+ -v, --version print version and exit
+ -h, --help print usage information and exit
+
+FILE can be a vmware .xml or an X .desktop file
+</source>
+ <translation>Aufruf: vmchooser [ OPTIONEN | DATEI ]
+
+ -d, --default Name der Standardsitzung
+ -p, --path Pfad zu .xml-Dateien für virtuelle Sitzungen
+ -x, --xpath Pfad zu .desktop-Dateien für X Sitzungen
+ -s, --size Fenstergröße &lt;Breite&gt;x&lt;Höhe&gt;
+ -v, --version Version anzeigen und beenden
+ -h, --help Hilfetext anzeigen und beenden
+
+DATEI kann eine .xml- oder .desktop-Datei sein
+</translation>
+ </message>
+ <message>
+ <location filename="../main.cpp" line="136"/>
+ <source>invlid size argument</source>
+ <translation>ungültige Fenstergröße</translation>
+ </message>
+</context>
+<context>
<name>Dialog</name>
<message>
<location filename="../ui/dialog.ui" line="14"/>
@@ -59,12 +92,12 @@
<translation>Vollzugriff</translation>
</message>
<message>
- <location filename="../main.cpp" line="196"/>
+ <location filename="../main.cpp" line="150"/>
<source>X Sessions</source>
<translation>X Sitzungen</translation>
</message>
<message>
- <location filename="../main.cpp" line="197"/>
+ <location filename="../main.cpp" line="153"/>
<source>Virtual Sessions</source>
<translation>Virtuelle Sitzungen</translation>
</message>