* Applied localization to the Installer.

* Some coding style fixes along the way.
 * Added German translation.

NOTE: The Installer will have to offer a way to change the current locale! So
any translations which are done at this point will have to receive one more
update after I added this feature.

NOTE2: There is something wrong with generating catalogs and the update-all
jam target. If you don't do a clean build, the build won't run through, but it
is enough to build for example an image and then run update-all on your actual
partition profile.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35209 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-01-20 20:06:30 +00:00
parent 33e5fc1cb2
commit 4a2da42550
8 changed files with 342 additions and 203 deletions
+10 -4
View File
@@ -1,12 +1,18 @@
/*
* Copyright 2009, Stephan Aßmus <[email protected]>
* All rights reserved. Distributed under the terms of the MIT License.
* Copyright 2009-2010, Stephan Aßmus <[email protected]>
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "ProgressReporter.h"
#include <stdio.h>
#include <Catalog.h>
#undef TR_CONTEXT
#define TR_CONTEXT "InstallProgress"
ProgressReporter::ProgressReporter(const BMessenger& messenger,
BMessage* message)
@@ -42,7 +48,7 @@ ProgressReporter::Reset()
if (fMessage) {
BMessage message(*fMessage);
message.AddString("status", "Collecting copy information.");
message.AddString("status", TR("Collecting copy information."));
fMessenger.SendMessage(&message);
}
}
@@ -66,7 +72,7 @@ ProgressReporter::StartTimer()
if (fMessage) {
BMessage message(*fMessage);
message.AddString("status", "Performing installation.");
message.AddString("status", TR("Performing installation."));
fMessenger.SendMessage(&message);
}
}