Made another string of desklink translatable.

(+alpha4)
This commit is contained in:
Humdinger 2012-10-09 19:56:47 +02:00
parent 9c64737586
commit c58a87027a

View File

@ -170,8 +170,9 @@ DeskButton::MouseDown(BPoint point)
BPoint where = ConvertToScreen(point);
if (mouseButtons & B_SECONDARY_MOUSE_BUTTON) {
BString label = "Open ";
label += fRef.name;
BString label = B_TRANSLATE_COMMENT("Open %name", "Don't translate
variable %name");
label.ReplaceFirst("%name", fRef.name);
BPopUpMenu *menu = new BPopUpMenu("", false, false);
menu->SetFont(be_plain_font);
menu->AddItem(new BMenuItem(label.String(), new BMessage(OPEN_REF)));