Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ae62524d
Commit
ae62524d
authored
Jun 25, 2009
by
Aurimas Fišeras
Committed by
Alexandre Julliard
Jun 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Make remaining strings translatable.
parent
fe1cc327
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
67 additions
and
17 deletions
+67
-17
En.rc
programs/taskmgr/En.rc
+14
-0
Lt.rc
programs/taskmgr/Lt.rc
+14
-0
applpage.c
programs/taskmgr/applpage.c
+9
-7
dbgchnl.c
programs/taskmgr/dbgchnl.c
+11
-5
perfdata.c
programs/taskmgr/perfdata.c
+2
-1
procpage.c
programs/taskmgr/procpage.c
+1
-2
resource.h
programs/taskmgr/resource.h
+10
-0
trayicon.c
programs/taskmgr/trayicon.c
+6
-2
No files found.
programs/taskmgr/En.rc
View file @
ae62524d
...
...
@@ -556,3 +556,17 @@ BEGIN
IDS_AFFINITY_ERROR_TITLE "Invalid Option"
IDS_AFFINITY_UNABLE2ACCESS "Unable to Access or Set Process Affinity"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SYSTEM_IDLE_PROCESS "System Idle Process"
IDS_APPLICATION_NOT_RESPONDING "Not Responding"
IDS_APPLICATION_RUNNING "Running"
IDS_APPLICATION_TASK "Task"
IDS_APPLICATION_STATUS "Status"
IDS_DEBUG_CHANNEL "Debug Channels"
IDS_DEBUG_CHANNEL_FIXME "Fixme"
IDS_DEBUG_CHANNEL_ERR "Err"
IDS_DEBUG_CHANNEL_WARN "Warn"
IDS_DEBUG_CHANNEL_TRACE "Trace"
END
programs/taskmgr/Lt.rc
View file @
ae62524d
...
...
@@ -547,4 +547,18 @@ BEGIN
IDS_AFFINITY_UNABLE2ACCESS "Nepavyko prieiti prie ar nustatyti proceso atitikimo"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SYSTEM_IDLE_PROCESS "Sistemos neveikos procesas"
IDS_APPLICATION_NOT_RESPONDING "Neatsako"
IDS_APPLICATION_RUNNING "Vykdoma"
IDS_APPLICATION_TASK "Užduotis"
IDS_APPLICATION_STATUS "Būsena"
IDS_DEBUG_CHANNEL "Derinimo kanalai"
IDS_DEBUG_CHANNEL_FIXME "Fixme (pataisyk)"
IDS_DEBUG_CHANNEL_ERR "Err (klaida)"
IDS_DEBUG_CHANNEL_WARN "Warn (įspėjimas)"
IDS_DEBUG_CHANNEL_TRACE "Trace (pėdsakas)"
END
#pragma code_page(default)
programs/taskmgr/applpage.c
View file @
ae62524d
...
...
@@ -417,9 +417,11 @@ static void ApplicationPageOnNotify(WPARAM wParam, LPARAM lParam)
LV_DISPINFOW
*
pnmdi
;
LPAPPLICATION_PAGE_LIST_ITEM
pAPLI
;
static
const
WCHAR
wszNotResponding
[]
=
{
'N'
,
'o'
,
't'
,
' '
,
'R'
,
'e'
,
's'
,
'p'
,
'o'
,
'n'
,
'd'
,
'i'
,
'n'
,
'g'
,
0
}
;
static
const
WCHAR
wszRunning
[]
=
{
'R'
,
'u'
,
'n'
,
'n'
,
'i'
,
'n'
,
'g'
,
0
}
;
WCHAR
wszNotResponding
[
255
]
;
WCHAR
wszRunning
[
255
]
;
LoadStringW
(
hInst
,
IDS_APPLICATION_NOT_RESPONDING
,
wszNotResponding
,
sizeof
(
wszNotResponding
)
/
sizeof
(
WCHAR
));
LoadStringW
(
hInst
,
IDS_APPLICATION_RUNNING
,
wszRunning
,
sizeof
(
wszRunning
)
/
sizeof
(
WCHAR
));
idctrl
=
(
int
)
wParam
;
pnmh
=
(
LPNMHDR
)
lParam
;
...
...
@@ -837,9 +839,11 @@ ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
int
cx
,
cy
;
LVCOLUMNW
column
;
static
const
WCHAR
wszTasks
[]
=
{
'T'
,
'a'
,
's'
,
'k'
,
's'
,
0
};
static
WCHAR
wszTask
[]
=
{
'T'
,
'a'
,
's'
,
'k'
,
0
};
static
WCHAR
wszStatus
[]
=
{
'S'
,
't'
,
'a'
,
't'
,
'u'
,
's'
,
0
};
WCHAR
wszTask
[
255
];
WCHAR
wszStatus
[
255
];
LoadStringW
(
hInst
,
IDS_APPLICATION_TASK
,
wszTask
,
sizeof
(
wszTask
)
/
sizeof
(
WCHAR
));
LoadStringW
(
hInst
,
IDS_APPLICATION_STATUS
,
wszStatus
,
sizeof
(
wszStatus
)
/
sizeof
(
WCHAR
));
switch
(
message
)
{
case
WM_INITDIALOG
:
...
...
@@ -858,8 +862,6 @@ ApplicationPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
hApplicationPageSwitchToButton
=
GetDlgItem
(
hDlg
,
IDC_SWITCHTO
);
hApplicationPageNewTaskButton
=
GetDlgItem
(
hDlg
,
IDC_NEWTASK
);
SetWindowTextW
(
hApplicationPageListCtrl
,
wszTasks
);
/* Initialize the application page's controls */
column
.
mask
=
LVCF_TEXT
|
LVCF_WIDTH
;
column
.
pszText
=
wszTask
;
...
...
programs/taskmgr/dbgchnl.c
View file @
ae62524d
...
...
@@ -224,11 +224,17 @@ static void DebugChannels_OnCreate(HWND hwndDlg)
HWND
hLV
=
GetDlgItem
(
hwndDlg
,
IDC_DEBUG_CHANNELS_LIST
);
LVCOLUMNW
lvc
;
static
WCHAR
debug_channelW
[]
=
{
'D'
,
'e'
,
'b'
,
'u'
,
'g'
,
' '
,
'C'
,
'h'
,
'a'
,
'n'
,
'n'
,
'e'
,
'l'
,
0
},
fixmeW
[]
=
{
'F'
,
'i'
,
'x'
,
'm'
,
'e'
,
0
},
errW
[]
=
{
'E'
,
'r'
,
'r'
,
0
},
warnW
[]
=
{
'W'
,
'a'
,
'r'
,
'n'
,
0
},
traceW
[]
=
{
'T'
,
'r'
,
'a'
,
'c'
,
'e'
,
0
};
WCHAR
debug_channelW
[
255
];
WCHAR
fixmeW
[
255
];
WCHAR
errW
[
255
];
WCHAR
warnW
[
255
];
WCHAR
traceW
[
255
];
LoadStringW
(
hInst
,
IDS_DEBUG_CHANNEL
,
debug_channelW
,
sizeof
(
debug_channelW
)
/
sizeof
(
WCHAR
));
LoadStringW
(
hInst
,
IDS_DEBUG_CHANNEL_FIXME
,
fixmeW
,
sizeof
(
fixmeW
)
/
sizeof
(
WCHAR
));
LoadStringW
(
hInst
,
IDS_DEBUG_CHANNEL_ERR
,
errW
,
sizeof
(
errW
)
/
sizeof
(
WCHAR
));
LoadStringW
(
hInst
,
IDS_DEBUG_CHANNEL_WARN
,
warnW
,
sizeof
(
warnW
)
/
sizeof
(
WCHAR
));
LoadStringW
(
hInst
,
IDS_DEBUG_CHANNEL_TRACE
,
traceW
,
sizeof
(
traceW
)
/
sizeof
(
WCHAR
));
lvc
.
mask
=
LVCF_FMT
|
LVCF_TEXT
|
LVCF_WIDTH
;
lvc
.
fmt
=
LVCFMT_LEFT
;
...
...
programs/taskmgr/perfdata.c
View file @
ae62524d
...
...
@@ -253,7 +253,8 @@ void PerfDataRefresh(void)
lstrcpyW
(
pPerfData
[
Idx
].
ImageName
,
pSPI
->
Name
.
Buffer
);
else
{
static
const
WCHAR
idleW
[]
=
{
'S'
,
'y'
,
's'
,
't'
,
'e'
,
'm'
,
' '
,
'I'
,
'd'
,
'l'
,
'e'
,
' '
,
'P'
,
'r'
,
'o'
,
'c'
,
'e'
,
's'
,
's'
,
0
};
WCHAR
idleW
[
255
];
LoadStringW
(
hInst
,
IDS_SYSTEM_IDLE_PROCESS
,
idleW
,
sizeof
(
idleW
)
/
sizeof
(
WCHAR
));
lstrcpyW
(
pPerfData
[
Idx
].
ImageName
,
idleW
);
}
...
...
programs/taskmgr/procpage.c
View file @
ae62524d
...
...
@@ -466,9 +466,8 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
hProcessPageShowAllProcessesButton
=
GetDlgItem
(
hDlg
,
IDC_SHOWALLPROCESSES
);
/*
* Set the
title and
extended window styles for the list control
* Set the extended window styles for the list control
*/
SetWindowText
(
hProcessPageListCtrl
,
_T
(
"Processes"
));
SendMessage
(
hProcessPageListCtrl
,
LVM_SETEXTENDEDLISTVIEWSTYLE
,
0
,
ListView_GetExtendedListViewStyle
(
hProcessPageListCtrl
)
|
LVS_EX_FULLROWSELECT
|
LVS_EX_HEADERDRAGDROP
);
AddColumns
();
...
...
programs/taskmgr/resource.h
View file @
ae62524d
...
...
@@ -233,6 +233,16 @@
#define IDS_AFFINITY_ERROR_MESSAGE 32864
#define IDS_AFFINITY_ERROR_TITLE 32865
#define IDS_AFFINITY_UNABLE2ACCESS 32866
#define IDS_SYSTEM_IDLE_PROCESS 32867
#define IDS_APPLICATION_NOT_RESPONDING 32868
#define IDS_APPLICATION_RUNNING 32869
#define IDS_APPLICATION_TASK 32870
#define IDS_APPLICATION_STATUS 32871
#define IDS_DEBUG_CHANNEL 32872
#define IDS_DEBUG_CHANNEL_FIXME 32873
#define IDS_DEBUG_CHANNEL_ERR 32874
#define IDS_DEBUG_CHANNEL_WARN 32875
#define IDS_DEBUG_CHANNEL_TRACE 32876
#define IDC_STATIC -1
/*
...
...
programs/taskmgr/trayicon.c
View file @
ae62524d
...
...
@@ -142,7 +142,9 @@ BOOL TrayIcon_ShellAddTrayIcon(void)
NOTIFYICONDATAW
nid
;
HICON
hIcon
=
NULL
;
BOOL
bRetVal
;
WCHAR
wszCPU_Usage
[]
=
{
'C'
,
'P'
,
'U'
,
' '
,
'U'
,
's'
,
'a'
,
'g'
,
'e'
,
':'
,
' '
,
'%'
,
'd'
,
'%'
,
'%'
,
0
};
WCHAR
wszCPU_Usage
[
255
];
LoadStringW
(
hInst
,
IDS_STATUS_BAR_CPU_USAGE
,
wszCPU_Usage
,
sizeof
(
wszCPU_Usage
)
/
sizeof
(
WCHAR
));
memset
(
&
nid
,
0
,
sizeof
(
NOTIFYICONDATAW
));
...
...
@@ -187,7 +189,9 @@ BOOL TrayIcon_ShellUpdateTrayIcon(void)
NOTIFYICONDATAW
nid
;
HICON
hIcon
=
NULL
;
BOOL
bRetVal
;
WCHAR
wszCPU_Usage
[]
=
{
'C'
,
'P'
,
'U'
,
' '
,
'U'
,
's'
,
'a'
,
'g'
,
'e'
,
':'
,
' '
,
'%'
,
'd'
,
'%'
,
'%'
,
0
};
WCHAR
wszCPU_Usage
[
255
];
LoadStringW
(
hInst
,
IDS_STATUS_BAR_CPU_USAGE
,
wszCPU_Usage
,
sizeof
(
wszCPU_Usage
)
/
sizeof
(
WCHAR
));
memset
(
&
nid
,
0
,
sizeof
(
NOTIFYICONDATAW
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment