[haiku-commits] r40857 - haiku/trunk/src/apps/people

  • From: philippe.houdoin@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 7 Mar 2011 15:25:32 +0100 (CET)

Author: phoudoin
Date: 2011-03-07 15:25:32 +0100 (Mon, 07 Mar 2011)
New Revision: 40857
Changeset: http://dev.haiku-os.org/changeset/40857

Modified:
   haiku/trunk/src/apps/people/PictureView.cpp
Log:
Fix error message formating.


Modified: haiku/trunk/src/apps/people/PictureView.cpp
===================================================================
--- haiku/trunk/src/apps/people/PictureView.cpp 2011-03-07 03:17:21 UTC (rev 
40856)
+++ haiku/trunk/src/apps/people/PictureView.cpp 2011-03-07 14:25:32 UTC (rev 
40857)
@@ -533,7 +533,7 @@
                } else {
                        BString text = B_TRANSLATE("The file '%name%' could not 
"
                                "be written.");
-                       text.ReplaceFirst("%name", name);
+                       text.ReplaceFirst("%name%", name);
                        BAlert* alert = new BAlert(B_TRANSLATE("Error"), 
text.String(),
                                B_TRANSLATE("OK"), NULL, NULL, 
B_WIDTH_AS_USUAL, B_STOP_ALERT);
                        alert->Go();


Other related posts:

  • » [haiku-commits] r40857 - haiku/trunk/src/apps/people - philippe . houdoin