Fixed exessive internationalization: the names of the:
- thread; - preferences file; - preferences file parameters; should not be translated. Pointed by Diver. Thanx! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40270 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5552f88f04
commit
2dfee1f79a
@ -55,10 +55,10 @@ const char* kSignature = "application/x-vnd.Haiku-ProcessController";
|
||||
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;
|
||||
|
@ -31,7 +31,6 @@ extern const char* kTerminalSig;
|
||||
extern const char* kPosPrefName;
|
||||
extern const char* kPreferencesFileName;
|
||||
|
||||
extern const char* kPosPrefName;
|
||||
extern const char* kVersionName;
|
||||
extern const int kCurrentVersion;
|
||||
|
||||
|
@ -492,8 +492,7 @@ ProcessController::MouseDown(BPoint where)
|
||||
ConvertToScreen (¶m->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 @@ thread_popup(void *arg)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user