[haiku-commits] r41269 - in haiku/trunk/src/apps: launchbox mail

  • From: zharik@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 19 Apr 2011 22:11:42 +0200 (CEST)

Author: siarzhuk
Date: 2011-04-19 22:11:41 +0200 (Tue, 19 Apr 2011)
New Revision: 41269
Changeset: https://dev.haiku-os.org/changeset/41269

Modified:
   haiku/trunk/src/apps/launchbox/MainWindow.cpp
   haiku/trunk/src/apps/mail/Header.cpp
Log:
Cosmetic fixes in localized strings. Pointed out by Sergei Reznikov (Diver). 
Thanks!



Modified: haiku/trunk/src/apps/launchbox/MainWindow.cpp
===================================================================
--- haiku/trunk/src/apps/launchbox/MainWindow.cpp       2011-04-19 20:09:59 UTC 
(rev 41268)
+++ haiku/trunk/src/apps/launchbox/MainWindow.cpp       2011-04-19 20:11:41 UTC 
(rev 41269)
@@ -143,7 +143,7 @@
                                        status_t ret = 
be_roster->Launch(button->Ref());
                                        if (ret < B_OK && ret != 
B_ALREADY_RUNNING) {
                                                BString 
errStr(B_TRANSLATE("Failed to launch '%1'.\n"
-                                                       "\nError:"));
+                                                       "\nError: "));
                                                BPath path(button->Ref());
                                                if (path.InitCheck() >= B_OK)
                                                        
errStr.ReplaceFirst("%1", path.Path());
@@ -159,7 +159,7 @@
                                status_t ret = 
be_roster->Launch(button->AppSignature());
                                if (ret != B_OK && ret != B_ALREADY_RUNNING) {
                                        BString errStr(B_TRANSLATE("Failed to 
launch application "
-                                               "with signature 
'%2'.\n\nError:"));
+                                               "with signature '%2'.\n\nError: 
"));
                                        errStr.ReplaceFirst("%2", 
button->AppSignature());
                                        errorMessage << errStr.String() << " ";
                                        errorMessage << strerror(ret);

Modified: haiku/trunk/src/apps/mail/Header.cpp
===================================================================
--- haiku/trunk/src/apps/mail/Header.cpp        2011-04-19 20:09:59 UTC (rev 
41268)
+++ haiku/trunk/src/apps/mail/Header.cpp        2011-04-19 20:11:41 UTC (rev 
41269)
@@ -345,7 +345,8 @@
                                item->SetMarked(true);
                                fAccountID = item->Message()->FindInt32("id");
                        } else {
-                               fAccountMenu->AddItem(item = new 
BMenuItem("<none>",NULL));
+                               fAccountMenu->AddItem(
+                                       item = new 
BMenuItem(B_TRANSLATE("<none>"), NULL));
                                item->SetEnabled(false);
                                fAccountID = ~0UL;
                        }


Other related posts:

  • » [haiku-commits] r41269 - in haiku/trunk/src/apps: launchbox mail - zharik