From c58a87027a546012b0b6a25e1ab098d618bbf266 Mon Sep 17 00:00:00 2001 From: Humdinger Date: Tue, 9 Oct 2012 19:56:47 +0200 Subject: [PATCH] Made another string of desklink translatable. (+alpha4) --- src/bin/desklink/DeskButton.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/desklink/DeskButton.cpp b/src/bin/desklink/DeskButton.cpp index 724481efc5..d5b0794895 100644 --- a/src/bin/desklink/DeskButton.cpp +++ b/src/bin/desklink/DeskButton.cpp @@ -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)));