Made another string of desklink translatable.
(+alpha4)
This commit is contained in:
parent
9c64737586
commit
c58a87027a
@ -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)));
|
||||
|
Loading…
Reference in New Issue
Block a user