From 9d933b51567fb273768bed91926b4ad8dd30acfb Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 14 Mar 2010 14:53:57 +0000 Subject: [PATCH] Dummy strings used as size indicators should not be localized. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35859 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/screenshot/ScreenshotWindow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/apps/screenshot/ScreenshotWindow.cpp b/src/apps/screenshot/ScreenshotWindow.cpp index 171476a417..bc0b5b33f0 100644 --- a/src/apps/screenshot/ScreenshotWindow.cpp +++ b/src/apps/screenshot/ScreenshotWindow.cpp @@ -400,8 +400,7 @@ ScreenshotWindow::_SetupSecondLayoutItem(BCardLayout* layout) .Add(menuField2->CreateLabelLayoutItem(), 0, 2) .Add(menuField2->CreateMenuBarLayoutItem(), 1, 2); gridLayout->SetMinColumnWidth(1, - menuField->StringWidth( - TR_CMT("SomethingLongHere", "!! length >= screenshot file name? !!"))); + menuField->StringWidth("SomethingLongHere")); layout->AddView(1, BGroupLayoutBuilder(B_VERTICAL) .Add(BGroupLayoutBuilder(B_HORIZONTAL, 10.0) @@ -525,8 +524,7 @@ ScreenshotWindow::_AddItemToPathMenu(const char* path, BString& label, message->AddString("path", path); fOutputPathMenu->TruncateString(&label, B_TRUNCATE_MIDDLE, - fOutputPathMenu->StringWidth( - TR_CMT("SomethingLongHere", "!! length >= screenshot file name? !!"))); + fOutputPathMenu->StringWidth("SomethingLongHere")); fOutputPathMenu->AddItem(new BMenuItem(label.String(), message), index);