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); BPoint where = ConvertToScreen(point);
if (mouseButtons & B_SECONDARY_MOUSE_BUTTON) { if (mouseButtons & B_SECONDARY_MOUSE_BUTTON) {
BString label = "Open "; BString label = B_TRANSLATE_COMMENT("Open %name", "Don't translate
label += fRef.name; variable %name");
label.ReplaceFirst("%name", fRef.name);
BPopUpMenu *menu = new BPopUpMenu("", false, false); BPopUpMenu *menu = new BPopUpMenu("", false, false);
menu->SetFont(be_plain_font); menu->SetFont(be_plain_font);
menu->AddItem(new BMenuItem(label.String(), new BMessage(OPEN_REF))); menu->AddItem(new BMenuItem(label.String(), new BMessage(OPEN_REF)));