Fixed #6450. "application type" string is not translated.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38120 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2010-08-15 15:30:42 +00:00
parent df2895e0f8
commit e6bffa0b5f

View File

@ -459,8 +459,8 @@ ApplicationTypeWindow::_Title(const BEntry& entry)
if (entry.GetName(name) != B_OK) if (entry.GetName(name) != B_OK)
strcpy(name, "\"-\""); strcpy(name, "\"-\"");
BString title(name); BString title = B_TRANSLATE("%1 application type");
title.Append(" application type"); title.ReplaceFirst("%1", name);
return title; return title;
} }