Updated to use B_TRANSLATE* macros. relates to #5408.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36666 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia
2010-05-06 16:46:42 +00:00
parent 28ebad8ff6
commit e07f1f2f50
4 changed files with 112 additions and 91 deletions
+4 -4
View File
@@ -31,13 +31,13 @@ ExpanderApp::ExpanderApp()
void
ExpanderApp::AboutRequested()
{
BString appName = TR("Expander");
BString appName = B_TRANSLATE("Expander");
int nameLength = appName.CountChars();
BAlert* alert = new BAlert("about",
appName.Append(TR("\n\twritten by Jérôme Duval\n"
BAlert* alert = new BAlert("about",
appName.Append(B_TRANSLATE("\n\twritten by Jérôme Duval\n"
"\tCopyright 2004-2006, Haiku Inc.\n\noriginal Be version by \n"
"Dominic, Hiroshi, Peter, Pavel and Robert\n")),
TR("OK"));
B_TRANSLATE("OK"));
BTextView* view = alert->TextView();
BFont font;