diff --git a/src/preferences/filetypes/ApplicationTypeWindow.cpp b/src/preferences/filetypes/ApplicationTypeWindow.cpp index 7ffe5ca72f..428dfd98b5 100644 --- a/src/preferences/filetypes/ApplicationTypeWindow.cpp +++ b/src/preferences/filetypes/ApplicationTypeWindow.cpp @@ -459,8 +459,8 @@ ApplicationTypeWindow::_Title(const BEntry& entry) if (entry.GetName(name) != B_OK) strcpy(name, "\"-\""); - BString title(name); - title.Append(" application type"); + BString title = B_TRANSLATE("%1 application type"); + title.ReplaceFirst("%1", name); return title; }