shlwapi: Don't use a long where an int is more than big enough.

This commit is contained in:
Francois Gouget 2011-10-18 16:46:29 +02:00 committed by Alexandre Julliard
parent 0cdabdd648
commit c8ecf2c721
47 changed files with 76 additions and 48 deletions

View File

@ -24,7 +24,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
{
IDS_BYTES_FORMAT "%ld bytes"
IDS_BYTES_FORMAT "%d bytes"
IDS_TIME_INTERVAL_HOURS "#msgctxt#time unit: hours# hr"
IDS_TIME_INTERVAL_MINUTES "#msgctxt#time unit: minutes# min"
IDS_TIME_INTERVAL_SECONDS "#msgctxt#time unit: seconds# sec"

View File

@ -2344,7 +2344,7 @@ LPWSTR WINAPI StrFormatByteSizeW(LONGLONG llBytes, LPWSTR lpszDest, UINT cchMax)
{
WCHAR wszBytesFormat[64];
LoadStringW(shlwapi_hInstance, IDS_BYTES_FORMAT, wszBytesFormat, 64);
snprintfW(lpszDest, cchMax, wszBytesFormat, (long)llBytes);
snprintfW(lpszDest, cchMax, wszBytesFormat, (int)llBytes);
return lpszDest;
}

View File

@ -6680,7 +6680,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6804,7 +6804,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6740,7 +6740,8 @@ msgid "Trash"
msgstr "Paperera"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -6911,7 +6911,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6946,7 +6946,8 @@ msgid "Trash"
msgstr "Papirkurven"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -6747,7 +6747,8 @@ msgid "Trash"
msgstr "Papierkorb"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld Bytes"
#: shlwapi.rc:28

View File

@ -6712,7 +6712,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6629,7 +6629,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6726,8 +6726,8 @@ msgid "Trash"
msgstr "Trash"
#: shlwapi.rc:27
msgid "%ld bytes"
msgstr "%ld bytes"
msgid "%d bytes"
msgstr "%d bytes"
#: shlwapi.rc:28
msgctxt "time unit: hours"

View File

@ -6802,7 +6802,8 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -7083,7 +7083,8 @@ msgid "Trash"
msgstr "Papelera de reciclaje"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -6680,7 +6680,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6903,7 +6903,8 @@ msgid "Trash"
msgstr "Roskakori"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld tavua"
#: shlwapi.rc:28

View File

@ -6750,7 +6750,8 @@ msgid "Trash"
msgstr "Corbeille"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld octets"
#: shlwapi.rc:28

View File

@ -6941,7 +6941,8 @@ msgid "Trash"
msgstr "אשפה"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld בתים"
#: shlwapi.rc:28

View File

@ -6600,7 +6600,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -7102,7 +7102,8 @@ msgid "Trash"
msgstr "Lomtár"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bájt"
#: shlwapi.rc:28

View File

@ -6739,7 +6739,8 @@ msgid "Trash"
msgstr "Cestino"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld byte"
#: shlwapi.rc:28

View File

@ -6704,7 +6704,8 @@ msgid "Trash"
msgstr "ごみ箱"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld バイト"
#: shlwapi.rc:28

View File

@ -6711,7 +6711,8 @@ msgid "Trash"
msgstr "휴지통"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld 바이트"
#: shlwapi.rc:28

View File

@ -6733,7 +6733,8 @@ msgid "Trash"
msgstr "Šiukšlinė"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld baitai"
#: shlwapi.rc:28

View File

@ -6600,7 +6600,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -7008,7 +7008,8 @@ msgid "Trash"
msgstr "Papirkurv"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld byte"
#: shlwapi.rc:28

View File

@ -6843,7 +6843,8 @@ msgid "Trash"
msgstr "Prullenbak"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -6600,7 +6600,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6600,7 +6600,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6739,7 +6739,8 @@ msgid "Trash"
msgstr "Kosz"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bajtów"
#: shlwapi.rc:28

View File

@ -7001,7 +7001,8 @@ msgid "Trash"
msgstr "Lixeira"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -7014,7 +7014,8 @@ msgid "Trash"
msgstr "Reciclagem"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bytes"
#: shlwapi.rc:28

View File

@ -6632,7 +6632,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -7249,7 +7249,8 @@ msgid "Trash"
msgstr "Gunoi"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld octeți"
#: shlwapi.rc:28

View File

@ -6718,7 +6718,8 @@ msgid "Trash"
msgstr "Корзина"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld байт"
#: shlwapi.rc:28

View File

@ -6712,7 +6712,8 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bajtov"
#: shlwapi.rc:28

View File

@ -6765,7 +6765,8 @@ msgid "Trash"
msgstr "Smeti"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bajtov"
#: shlwapi.rc:28

View File

@ -6990,7 +6990,8 @@ msgid "Trash"
msgstr "Смеће"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld бајтова"
#: shlwapi.rc:28

View File

@ -7038,7 +7038,8 @@ msgid "Trash"
msgstr "Smeće"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld bajtova"
#: shlwapi.rc:28

View File

@ -6736,7 +6736,8 @@ msgid "Trash"
msgstr "Papperskorg"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld byte"
#: shlwapi.rc:28

View File

@ -6600,7 +6600,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6702,7 +6702,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -7011,7 +7011,7 @@ msgid "Trash"
msgstr "Çöp"
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6734,7 +6734,8 @@ msgid "Trash"
msgstr "Кошик"
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld байт"
#: shlwapi.rc:28

View File

@ -6659,7 +6659,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6578,7 +6578,7 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
msgid "%d bytes"
msgstr ""
#: shlwapi.rc:28

View File

@ -6937,7 +6937,8 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld 字节"
#: shlwapi.rc:28

View File

@ -6969,7 +6969,8 @@ msgid "Trash"
msgstr ""
#: shlwapi.rc:27
msgid "%ld bytes"
#, fuzzy
msgid "%d bytes"
msgstr "%ld 字節"
#: shlwapi.rc:28