[haiku-commits] r40270 - haiku/trunk/src/apps/processcontroller

  • From: zharik@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 22 Jan 2011 22:49:08 +0100 (CET)

Author: siarzhuk
Date: 2011-01-22 22:49:08 +0100 (Sat, 22 Jan 2011)
New Revision: 40270
Changeset: http://dev.haiku-os.org/changeset/40270

Modified:
   haiku/trunk/src/apps/processcontroller/PCWorld.cpp
   haiku/trunk/src/apps/processcontroller/PCWorld.h
   haiku/trunk/src/apps/processcontroller/ProcessController.cpp
Log:
Fixed exessive internationalization: the names of the:
- thread;
- preferences file;
- preferences file parameters;
should not be translated. Pointed by Diver. Thanx!


Modified: haiku/trunk/src/apps/processcontroller/PCWorld.cpp
===================================================================
--- haiku/trunk/src/apps/processcontroller/PCWorld.cpp  2011-01-22 21:11:46 UTC 
(rev 40269)
+++ haiku/trunk/src/apps/processcontroller/PCWorld.cpp  2011-01-22 21:49:08 UTC 
(rev 40270)
@@ -55,10 +55,10 @@
 const char* kTrackerSig = "application/x-vnd.Be-TRAK";
 const char* kDeskbarSig = "application/x-vnd.Be-TSKB";
 const char* kTerminalSig = "application/x-vnd.Haiku-Terminal";
-const char* kPreferencesFileName = B_TRANSLATE("ProcessController Prefs");
+const char* kPreferencesFileName = "ProcessController Prefs";
 
-const char*    kPosPrefName = B_TRANSLATE("Position");
-const char*    kVersionName = B_TRANSLATE("Version");
+const char*    kPosPrefName = "Position";
+const char*    kVersionName = "Version";
 const int kCurrentVersion = 311;
 
 thread_id id = 0;

Modified: haiku/trunk/src/apps/processcontroller/PCWorld.h
===================================================================
--- haiku/trunk/src/apps/processcontroller/PCWorld.h    2011-01-22 21:11:46 UTC 
(rev 40269)
+++ haiku/trunk/src/apps/processcontroller/PCWorld.h    2011-01-22 21:49:08 UTC 
(rev 40270)
@@ -31,7 +31,6 @@
 extern const char* kPosPrefName;
 extern const char* kPreferencesFileName;
 
-extern const char* kPosPrefName;
 extern const char* kVersionName;
 extern const int kCurrentVersion;
 

Modified: haiku/trunk/src/apps/processcontroller/ProcessController.cpp
===================================================================
--- haiku/trunk/src/apps/processcontroller/ProcessController.cpp        
2011-01-22 21:11:46 UTC (rev 40269)
+++ haiku/trunk/src/apps/processcontroller/ProcessController.cpp        
2011-01-22 21:49:08 UTC (rev 40270)
@@ -492,8 +492,7 @@
        ConvertToScreen (&param->clickToOpenRect);
        param->top = where.y < BScreen(this->Window()).Frame().bottom-50;
 
-       gPopupThreadID = spawn_thread(thread_popup,
-       B_TRANSLATE("Popup holder thread"),
+       gPopupThreadID = spawn_thread(thread_popup, "Popup holder thread",
                B_URGENT_DISPLAY_PRIORITY, param);
        resume_thread(gPopupThreadID);
 }
@@ -719,7 +718,7 @@
                        char item_name[32];
                        sprintf (item_name, B_TRANSLATE("Processor %d"), i + 1);
                        BMessage* m = new BMessage ('CPU ');
-                       m->AddInt32 (B_TRANSLATE("cpu"), i);
+                       m->AddInt32 ("cpu", i);
                        item = new IconMenuItem (gPCView->fProcessorIcon, 
item_name, m);
                        if (_kern_cpu_enabled(i))
                                item->SetMarked (true);


Other related posts:

  • » [haiku-commits] r40270 - haiku/trunk/src/apps/processcontroller - zharik