Made another string of desklink translatable.

(+alpha4)
This commit is contained in:
Humdinger 2012-10-09 19:56:47 +02:00 committed by Alexander von Gluck IV
parent 1d2e2f5171
commit ce60ba4c1c

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)));