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
887c1c58
Commit
887c1c58
authored
Nov 24, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Fix a string resource so its format placeholders can be reordered.
Also the numbers we format are actually unsigned.
parent
e057be7d
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
76 additions
and
51 deletions
+76
-51
ar.po
po/ar.po
+1
-1
bg.po
po/bg.po
+1
-1
ca.po
po/ca.po
+2
-1
cs.po
po/cs.po
+1
-1
da.po
po/da.po
+2
-1
de.po
po/de.po
+2
-1
el.po
po/el.po
+1
-1
en.po
po/en.po
+1
-1
en_US.po
po/en_US.po
+2
-2
eo.po
po/eo.po
+1
-1
es.po
po/es.po
+1
-1
fa.po
po/fa.po
+1
-1
fi.po
po/fi.po
+1
-1
fr.po
po/fr.po
+2
-1
he.po
po/he.po
+2
-1
hi.po
po/hi.po
+1
-1
hu.po
po/hu.po
+1
-1
it.po
po/it.po
+2
-1
ja.po
po/ja.po
+2
-1
ko.po
po/ko.po
+2
-1
lt.po
po/lt.po
+2
-1
ml.po
po/ml.po
+1
-1
nb_NO.po
po/nb_NO.po
+2
-1
nl.po
po/nl.po
+2
-1
or.po
po/or.po
+1
-1
pa.po
po/pa.po
+1
-1
pl.po
po/pl.po
+2
-1
pt_BR.po
po/pt_BR.po
+2
-1
pt_PT.po
po/pt_PT.po
+2
-1
rm.po
po/rm.po
+1
-1
ro.po
po/ro.po
+2
-1
ru.po
po/ru.po
+2
-1
sk.po
po/sk.po
+1
-1
sl.po
po/sl.po
+2
-1
sr_RS@cyrillic.po
po/sr_RS@cyrillic.po
+1
-1
sr_RS@latin.po
po/sr_RS@latin.po
+1
-1
sv.po
po/sv.po
+2
-1
te.po
po/te.po
+1
-1
th.po
po/th.po
+1
-1
tr.po
po/tr.po
+1
-1
uk.po
po/uk.po
+2
-1
wa.po
po/wa.po
+1
-1
wine.pot
po/wine.pot
+1
-1
zh_CN.po
po/zh_CN.po
+1
-1
zh_TW.po
po/zh_TW.po
+1
-1
perfpage.c
programs/taskmgr/perfpage.c
+10
-4
taskmgr.rc
programs/taskmgr/taskmgr.rc
+1
-1
No files found.
po/ar.po
View file @
887c1c58
...
...
@@ -10593,7 +10593,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/bg.po
View file @
887c1c58
...
...
@@ -10756,7 +10756,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/ca.po
View file @
887c1c58
...
...
@@ -11187,7 +11187,8 @@ msgid "Processes: %d"
msgstr "Processos: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Ús de Memòria: %dK / %dK"
#: taskmgr.rc:272
...
...
po/cs.po
View file @
887c1c58
...
...
@@ -11201,7 +11201,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/da.po
View file @
887c1c58
...
...
@@ -11257,7 +11257,8 @@ msgid "Processes: %d"
msgstr "Processer: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Hukommelses Forbrug: %dK / %dK"
#: taskmgr.rc:272
...
...
po/de.po
View file @
887c1c58
...
...
@@ -11098,7 +11098,8 @@ msgid "Processes: %d"
msgstr "Prozesse: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Speicherauslastung: %dK / %dK"
#: taskmgr.rc:272
...
...
po/el.po
View file @
887c1c58
...
...
@@ -10597,7 +10597,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/en.po
View file @
887c1c58
...
...
@@ -10814,7 +10814,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/en_US.po
View file @
887c1c58
...
...
@@ -10999,8 +10999,8 @@ msgid "Processes: %d"
msgstr "Processes: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgstr "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr "Mem Usage: %
1!u!kB / %2!u!kB
"
#: taskmgr.rc:272
msgid "Image Name"
...
...
po/eo.po
View file @
887c1c58
...
...
@@ -10793,7 +10793,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/es.po
View file @
887c1c58
...
...
@@ -11479,7 +11479,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/fa.po
View file @
887c1c58
...
...
@@ -10596,7 +10596,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/fi.po
View file @
887c1c58
...
...
@@ -10902,7 +10902,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/fr.po
View file @
887c1c58
...
...
@@ -11136,7 +11136,8 @@ msgid "Processes: %d"
msgstr "Processus : %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Utilisation mémoire : %dK / %dK"
#: taskmgr.rc:272
...
...
po/he.po
View file @
887c1c58
...
...
@@ -11083,7 +11083,8 @@ msgid "Processes: %d"
msgstr "תהליכים: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "שימוש בזיכרון: %d ק׳ / %d ק׳"
#: taskmgr.rc:272
...
...
po/hi.po
View file @
887c1c58
...
...
@@ -10448,7 +10448,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/hu.po
View file @
887c1c58
...
...
@@ -11137,7 +11137,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/it.po
View file @
887c1c58
...
...
@@ -11074,7 +11074,8 @@ msgid "Processes: %d"
msgstr "Processi: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Uso della Memoria: %dK / %dK"
#: taskmgr.rc:272
...
...
po/ja.po
View file @
887c1c58
...
...
@@ -11030,7 +11030,8 @@ msgid "Processes: %d"
msgstr "プロセス数: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "メモリ使用量: %dK / %dK"
#: taskmgr.rc:272
...
...
po/ko.po
View file @
887c1c58
...
...
@@ -10966,7 +10966,8 @@ msgid "Processes: %d"
msgstr "프로세스: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "메모리 사용량: %dK / %dK"
#: taskmgr.rc:272
...
...
po/lt.po
View file @
887c1c58
...
...
@@ -11040,7 +11040,8 @@ msgid "Processes: %d"
msgstr "Procesai: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Atminties naudojimas: %dK / %dK"
#: taskmgr.rc:272
...
...
po/ml.po
View file @
887c1c58
...
...
@@ -10448,7 +10448,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/nb_NO.po
View file @
887c1c58
...
...
@@ -11295,7 +11295,8 @@ msgid "Processes: %d"
msgstr "Prosesser: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Minnebruk: %dK / %dK"
#: taskmgr.rc:272
...
...
po/nl.po
View file @
887c1c58
...
...
@@ -11165,7 +11165,8 @@ msgid "Processes: %d"
msgstr "Processen: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Geheugengebruik: %dK / %dK"
#: taskmgr.rc:272
...
...
po/or.po
View file @
887c1c58
...
...
@@ -10448,7 +10448,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/pa.po
View file @
887c1c58
...
...
@@ -10448,7 +10448,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/pl.po
View file @
887c1c58
...
...
@@ -11060,7 +11060,8 @@ msgid "Processes: %d"
msgstr "Procesy: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Pam. zadeklar.: %dK / %dK"
#: taskmgr.rc:272
...
...
po/pt_BR.po
View file @
887c1c58
...
...
@@ -11373,7 +11373,8 @@ msgid "Processes: %d"
msgstr "Processos: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Utilização da memória: %dK / %dK"
#: taskmgr.rc:272
...
...
po/pt_PT.po
View file @
887c1c58
...
...
@@ -11391,7 +11391,8 @@ msgid "Processes: %d"
msgstr "Processos: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Utilização da memória: %dK / %dK"
#: taskmgr.rc:272
...
...
po/rm.po
View file @
887c1c58
...
...
@@ -10509,7 +10509,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/ro.po
View file @
887c1c58
...
...
@@ -11612,7 +11612,8 @@ msgid "Processes: %d"
msgstr "Procese: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Utilizare memorie: %dK / %dK"
#: taskmgr.rc:272
...
...
po/ru.po
View file @
887c1c58
...
...
@@ -11033,7 +11033,8 @@ msgid "Processes: %d"
msgstr "Процессов: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Выделение памяти: %dK / %dK"
#: taskmgr.rc:272
...
...
po/sk.po
View file @
887c1c58
...
...
@@ -10637,7 +10637,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/sl.po
View file @
887c1c58
...
...
@@ -11067,7 +11067,8 @@ msgid "Processes: %d"
msgstr "Opravila: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Uporaba pomnilnika: %dK / %dK"
#: taskmgr.rc:272
...
...
po/sr_RS@cyrillic.po
View file @
887c1c58
...
...
@@ -10989,7 +10989,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/sr_RS@latin.po
View file @
887c1c58
...
...
@@ -11073,7 +11073,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/sv.po
View file @
887c1c58
...
...
@@ -11006,7 +11006,8 @@ msgid "Processes: %d"
msgstr "Processer: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Minne använt: %dK / %dK"
#: taskmgr.rc:272
...
...
po/te.po
View file @
887c1c58
...
...
@@ -10448,7 +10448,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/th.po
View file @
887c1c58
...
...
@@ -10625,7 +10625,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/tr.po
View file @
887c1c58
...
...
@@ -11296,7 +11296,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/uk.po
View file @
887c1c58
...
...
@@ -10994,7 +10994,8 @@ msgid "Processes: %d"
msgstr "Процесів: %d"
#: taskmgr.rc:267
msgid "Mem Usage: %dK / %dK"
#, fuzzy
msgid "Mem Usage: %1!u!kB / %2!u!kB"
msgstr "Використання пам'яті: %dK / %dK"
#: taskmgr.rc:272
...
...
po/wa.po
View file @
887c1c58
...
...
@@ -10572,7 +10572,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/wine.pot
View file @
887c1c58
...
...
@@ -10414,7 +10414,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/zh_CN.po
View file @
887c1c58
...
...
@@ -10890,7 +10890,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
po/zh_TW.po
View file @
887c1c58
...
...
@@ -10928,7 +10928,7 @@ msgid "Processes: %d"
msgstr ""
#: taskmgr.rc:267
msgid "Mem Usage: %
dK / %dK
"
msgid "Mem Usage: %
1!u!kB / %2!u!kB
"
msgstr ""
#: taskmgr.rc:272
...
...
programs/taskmgr/perfpage.c
View file @
887c1c58
...
...
@@ -140,7 +140,7 @@ static DWORD WINAPI PerformancePageRefreshThread(void *lpParameter)
WCHAR
Text
[
256
];
static
const
WCHAR
wszFormatDigit
[]
=
{
'%'
,
'
d
'
,
0
};
static
const
WCHAR
wszFormatDigit
[]
=
{
'%'
,
'
u
'
,
0
};
WCHAR
wszMemUsage
[
255
];
LoadStringW
(
hInst
,
IDS_STATUS_BAR_MEMORY_USAGE
,
wszMemUsage
,
sizeof
(
wszMemUsage
)
/
sizeof
(
WCHAR
));
...
...
@@ -168,8 +168,8 @@ static DWORD WINAPI PerformancePageRefreshThread(void *lpParameter)
{
ULONG
CpuUsage
;
ULONG
CpuKernelUsage
;
int
nBarsUsed1
;
int
nBarsUsed2
;
int
nBarsUsed1
,
nBarsUsed2
;
DWORD_PTR
args
[
2
]
;
/* Reset our event */
ResetEvent
(
hPerformancePageEvent
);
...
...
@@ -185,8 +185,14 @@ static DWORD WINAPI PerformancePageRefreshThread(void *lpParameter)
wsprintfW
(
Text
,
wszFormatDigit
,
CommitChargeLimit
);
SetWindowTextW
(
hPerformancePageCommitChargeLimitEdit
,
Text
);
wsprintfW
(
Text
,
wszFormatDigit
,
CommitChargePeak
);
SetWindowTextW
(
hPerformancePageCommitChargePeakEdit
,
Text
);
wsprintfW
(
Text
,
wszMemUsage
,
CommitChargeTotal
,
CommitChargeLimit
);
args
[
0
]
=
CommitChargeTotal
;
args
[
1
]
=
CommitChargeLimit
;
FormatMessageW
(
FORMAT_MESSAGE_FROM_STRING
|
FORMAT_MESSAGE_ARGUMENT_ARRAY
,
wszMemUsage
,
0
,
0
,
Text
,
sizeof
(
Text
)
/
sizeof
(
*
Text
),
(
__ms_va_list
*
)
args
);
SendMessageW
(
hStatusWnd
,
SB_SETTEXTW
,
2
,
(
LPARAM
)
Text
);
/*
...
...
programs/taskmgr/taskmgr.rc
View file @
887c1c58
...
...
@@ -263,7 +263,7 @@ BEGIN
IDS_PERFORMANCE "Performance"
IDS_STATUS_BAR_CPU_USAGE "CPU Usage: %3d%%"
IDS_STATUS_BAR_PROCESSES "Processes: %d"
IDS_STATUS_BAR_MEMORY_USAGE "Mem Usage: %
dK / %dK
"
IDS_STATUS_BAR_MEMORY_USAGE "Mem Usage: %
1!u!kB / %2!u!kB
"
END
STRINGTABLE
...
...
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