--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/igc.de_DE.ts Tue Jan 24 01:56:45 2012 +0100
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="de_DE">
+<context>
+ <name>MainWindow</name>
+ <message>
+ <location filename="ui/mainwindow.ui" line="14"/>
+ <source>MainWindow</source>
+ <translation>IGC</translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="25"/>
+ <source>Info</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="59"/>
+ <source>Attribute</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="70"/>
+ <source>Value</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="85"/>
+ <source>Altitude</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="108"/>
+ <source>&File</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="116"/>
+ <source>&Help</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="126"/>
+ <source>E&xit</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="131"/>
+ <source>&Open</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="ui/mainwindow.ui" line="136"/>
+ <source>About Qt</source>
+ <translation>Über Qt</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="29"/>
+ <source>Open IGC file</source>
+ <translation>IGC Datei Öffnen</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="30"/>
+ <source>IGC files (*.igc);; All files (*)</source>
+ <translation>IGC Dateien (*.igc);; Alle Dateien (*)</translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="43"/>
+ <source>Ooops!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="44"/>
+ <source>The file %1 cannot be opened: %2!</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="50"/>
+ <source>opening %1</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="67"/>
+ <source>Pilot</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="72"/>
+ <source>Date</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="mainwindow.cc" line="79"/>
+ <source>Glider</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>
--- a/igc.pro Tue Jan 24 01:47:33 2012 +0100
+++ b/igc.pro Tue Jan 24 01:56:45 2012 +0100
@@ -13,6 +13,8 @@
OBJECTS_DIR = .build/
MOC_DIR = .build/
+TRANSLATIONS = igc.de_DE.ts
+
# Input
PRECOMPILED_HEADER += pch.h
FORMS += ui/*.ui
--- a/main.cc Tue Jan 24 01:47:33 2012 +0100
+++ b/main.cc Tue Jan 24 01:56:45 2012 +0100
@@ -5,6 +5,11 @@
int main(int argc, char** argv)
{
QApplication app(argc, argv);
+
+ QTranslator translator;
+ translator.load("igc");
+ app.installTranslator(&translator);
+
MainWindow mw;
mw.show();