[haiku-commits] r35859 - haiku/trunk/src/apps/screenshot

  • From: pulkomandy@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 14 Mar 2010 15:53:57 +0100 (CET)

Author: pulkomandy
Date: 2010-03-14 15:53:57 +0100 (Sun, 14 Mar 2010)
New Revision: 35859
Changeset: http://dev.haiku-os.org/changeset/35859/haiku

Modified:
   haiku/trunk/src/apps/screenshot/ScreenshotWindow.cpp
Log:
Dummy strings used as size indicators should not be localized.


Modified: haiku/trunk/src/apps/screenshot/ScreenshotWindow.cpp
===================================================================
--- haiku/trunk/src/apps/screenshot/ScreenshotWindow.cpp        2010-03-14 
14:39:58 UTC (rev 35858)
+++ haiku/trunk/src/apps/screenshot/ScreenshotWindow.cpp        2010-03-14 
14:53:57 UTC (rev 35859)
@@ -400,8 +400,7 @@
                .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 @@
        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);
 


Other related posts:

  • » [haiku-commits] r35859 - haiku/trunk/src/apps/screenshot - pulkomandy