diff --git a/src/kits/tracker/infowindow/GeneralInfoView.cpp b/src/kits/tracker/infowindow/GeneralInfoView.cpp index eae27a7b43..870d64f4ed 100644 --- a/src/kits/tracker/infowindow/GeneralInfoView.cpp +++ b/src/kits/tracker/infowindow/GeneralInfoView.cpp @@ -419,7 +419,8 @@ GeneralInfoView::ModelChanged(Model* model, BMessage* message) && itemNode.node == model->NodeRef()->node)) { model->UpdateEntryRef(&dirNode, name); BString title; - title << name << B_TRANSLATE(" info"); + title.SetToFormat(B_TRANSLATE_COMMENT("%s info", + "window title"), name); Window()->SetTitle(title.String()); WidgetAttributeText::AttrAsString(model, &fPathStr, kAttrPath, B_STRING_TYPE, 0, this);