From e6bffa0b5feb122adf7a0b52064d99edf061cfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 15 Aug 2010 15:30:42 +0000 Subject: [PATCH] Fixed #6450. "application type" string is not translated. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38120 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/preferences/filetypes/ApplicationTypeWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }