mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SYSDM] Localize hardcoded megabyte units
CORE-12485 CORE-16915
This commit is contained in:
parent
94ca261449
commit
b65ff2084f
28 changed files with 42 additions and 9 deletions
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Въведете числена стойност за върховия размер на страниращия файл."
|
||||
IDS_WARNINITIALRANGE "Началният размер на страниращия файл не трябва да е по-малък от 2 МБ и не трябва да надхвърля свободното пространство на избраното устройство."
|
||||
IDS_WARNMAXIMUMRANGE "Върховият размер на страниращия файл не трябва да е по-малък от началния и не трябва да надвишава свободното пространство на избраното устройство"
|
||||
IDS_PAGEFILE_MB "%u МБ"
|
||||
IDS_PAGEFILE_NONE "Няма"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -340,6 +340,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Zadejte číselnou hodnotu pro maximální velikost stránkovacího souboru."
|
||||
IDS_WARNINITIALRANGE "Počáteční velikost stránkovacího souboru nesmí být menší než 2 MB a nesmí překročit množství volného místa na zvolené diskové jednotce."
|
||||
IDS_WARNMAXIMUMRANGE "Maximální velikost stránkovacího souboru nesmí být menší než velikost počáteční, nesmí být větší než 4095 MB a nesmí překročit množství volného místa na zvolené diskové jednotce."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Není"
|
||||
IDS_PAGEFILE_SYSTEM "Spravováno systémem"
|
||||
IDS_INFOREBOOT "Změny se projeví po restartování počítače."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -344,6 +344,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Geben Sie einen numerischen Wert für die Maximalgröße der Auslagerungsdatei an."
|
||||
IDS_WARNINITIALRANGE "Die Anfangsgröße der Auslagerungsdatei darf nicht kleiner als 2 MB sein und darf den verfügbaren Speicherplatz auf dem gewählten Laufwerk nicht überschreiten."
|
||||
IDS_WARNMAXIMUMRANGE "Die Maximalgröße der Auslagerungsdatei darf nicht kleiner als die Anfangsgröße sein und darf den verfügbaren Speicherplatz auf dem gewählten Laufwerk nicht überschreiten."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Keine"
|
||||
IDS_PAGEFILE_SYSTEM "Systemverwaltet"
|
||||
IDS_INFOREBOOT "Sie müssen den Computer neu starten, damit die Änderung wirksam wird."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Κανένα"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -337,6 +337,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Introduzca el tamaño máximo del archivo de paginación."
|
||||
IDS_WARNINITIALRANGE "El tamaño inicial del archivo de paginación no puede ser inferior a 2 MB y no puede exceder el espacio disponible en la unidad seleccionada."
|
||||
IDS_WARNMAXIMUMRANGE "El tamaño máximo del archivo de paginación no puede ser inferior al tamaño inicial y no puede exceder el espacio disponible en la unidad seleccionada."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Ninguno"
|
||||
IDS_PAGEFILE_SYSTEM "Administrado por el sistema"
|
||||
IDS_INFOREBOOT "Es necesario reiniciar el equipo para que se apliquen los cambios."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Entrez une valeur numérique pour la taille maximale du fichier d'échange."
|
||||
IDS_WARNINITIALRANGE "La taille initiale du fichier d'échange doit être comprise entre 2 Mo et 4096 Mo, et ne peut pas excéder la quantité d'espace libre sur le lecteur que vous avez sélectionné."
|
||||
IDS_WARNMAXIMUMRANGE "Entrez une valeur pour la taille maximale du fichier d'échange qui soit supérieure ou égale à la taille initiale du fichier d'échange, et inférieure à 4096 Mo."
|
||||
IDS_PAGEFILE_MB "%u Mo"
|
||||
IDS_PAGEFILE_NONE "Aucun"
|
||||
IDS_PAGEFILE_SYSTEM "Géré par le système"
|
||||
IDS_INFOREBOOT "Vous devez redémarrer le système pour appliquer les changements."
|
||||
|
|
|
@ -337,6 +337,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "ללא"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -337,6 +337,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Masukkan nilai numerik untuk ukuran maksimum halaman berkas."
|
||||
IDS_WARNINITIALRANGE "Ukuran awal halaman berkas tidak boleh lebih kecil dari 2 MB dan tidak boleh melebihi ruang yang tersedia pada drive yang dipilih."
|
||||
IDS_WARNMAXIMUMRANGE "Ukuran maksimum halaman berkas tidak boleh lebih kecil dari ukuran awal, maupun lebih besar dari 4095 MB dan tidak boleh melebihi ruang yang tersedia pada drive yang dipilih."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Tidak ada"
|
||||
IDS_PAGEFILE_SYSTEM "Diatur Sistem"
|
||||
IDS_INFOREBOOT "Anda harus memulai ulang komputer untuk menerapkan perubahan."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Immettere la dimensione massima del file di paging."
|
||||
IDS_WARNINITIALRANGE "La dimensione iniziale del file di paging non può essere inferiore a 2 MB e non può superare lo spazio disponibile nell'unità selezionata."
|
||||
IDS_WARNMAXIMUMRANGE "La dimensione massima del file di paging non può essere inferiore a quella iniziale e non può superare lo spazio disponibile nell'unità selezionata."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "ページングファイルの最大サイズの数値を入力して下さい。"
|
||||
IDS_WARNINITIALRANGE "ページングファイルの初期サイズは2 MB以上でなければなりません。また、選択中のドライブの利用可能なサイズを超えてはいけません。"
|
||||
IDS_WARNMAXIMUMRANGE "ページングファイルの最大サイズは初期サイズ以上でなければなりません。また、4095 MB か選択中のドライブの利用可能なサイズを超えてはいけません。"
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "なし"
|
||||
IDS_PAGEFILE_SYSTEM "システム管理"
|
||||
IDS_INFOREBOOT "変更を適用するには、コンピュータを再起動する必要があります。"
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Ingen"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -344,6 +344,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Wprowadź wielkość dla maksymalnego rozmiaru pliku stronicowania."
|
||||
IDS_WARNINITIALRANGE "Początkowy rozmiar pliku stronicowania nie może być mniejszy niż 2 MB i nie może przekraczać dostępnej ilości miejsca w wybranym napędzie."
|
||||
IDS_WARNMAXIMUMRANGE "Maksymalny rozmiar pliku stronicowania nie może być mniejszy niż jego rozmiar początkowy i nie może przekraczać dostępnej ilości miejsca w wybranym napędzie."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Brak"
|
||||
IDS_PAGEFILE_SYSTEM "Kontrolowany przez system"
|
||||
IDS_INFOREBOOT "Musisz ponownie uruchomić komputer, aby zastosować zmiany."
|
||||
|
|
|
@ -339,6 +339,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Digite um valor numérico para o tamanho máximo do arquivo de paginação."
|
||||
IDS_WARNINITIALRANGE "O tamanho inicial do arquivo de paginação não deve ser menor que 2 MB e não deve exceder o espaço disponível na unidade seleccionada."
|
||||
IDS_WARNMAXIMUMRANGE "O tamanho máximo do arquivo de paginação não deve ser menor que o tamanho inicial, não deve ser maior que 4095 MB e não deve exceder o espaço disponível na unidade seleccionada."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Nenhum"
|
||||
IDS_PAGEFILE_SYSTEM "Sistema gerenciado"
|
||||
IDS_INFOREBOOT "Precisa reiniciar o computador para aplicar as alterações."
|
||||
|
|
|
@ -344,6 +344,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Introduceți o valoare numerică pentru dimensiunea maximă a fișierului de paginare."
|
||||
IDS_WARNINITIALRANGE "Dimensiunea inițială a fișierului de paginare trebuie să fie încadrată între 2 Mo și spațiul liber disponibil al unității selectate."
|
||||
IDS_WARNMAXIMUMRANGE "Dimensiunea maximă a fișierului de paginare trebuie să fie încadrată între dimensiunea inițială și spațiul liber disponibil al unității selectate."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Nespecificat"
|
||||
IDS_PAGEFILE_SYSTEM "Gestionat de sistem"
|
||||
IDS_INFOREBOOT "Pentru aplicarea modificărilor este necesară repornirea calculatorului."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Введите числовое значение для параметра максимальный размер файла подкачки."
|
||||
IDS_WARNINITIALRANGE "Начальный размер файла подкачки должен быть не меньше, чем 2 МБ и не должен превышать свободного места на выбранном диске."
|
||||
IDS_WARNMAXIMUMRANGE "Максимальный размер файла подкачки должен быть не меньше, чем начальный размер, который не должен превышать свободного места на выбранном диске."
|
||||
IDS_PAGEFILE_MB "%u МБ"
|
||||
IDS_PAGEFILE_NONE "Нет"
|
||||
IDS_PAGEFILE_SYSTEM "По выбору системы"
|
||||
IDS_INFOREBOOT "Необходимо перезагрузить компьютер для применения изменений."
|
||||
|
|
|
@ -343,6 +343,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Žiadne"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -335,6 +335,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Futni një vlerë numerike për madhësinë maksimale e faqeve të dokumentave."
|
||||
IDS_WARNINITIALRANGE "Madhësia fillestare e faqes së dokumentit nuk duhet të jetë më e vogël se 2 MB dhe nuk duhet të kalojë hapësirën në dispozicion në driver-in e përzgjedhur."
|
||||
IDS_WARNMAXIMUMRANGE "Madhësia maksimale e faqes së dokumenit nuk duhet të jetë më e vogël se madhësia e saj fillestare dhe nuk duhet të kalojë hapësirën në dispozicion në driver-in e përzgjedhur."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Asnjë"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -337,6 +337,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Enter a numeric value for the maximum size of the paging file."
|
||||
IDS_WARNINITIALRANGE "The initial size of the paging file must not be smaller than 2 MB, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_WARNMAXIMUMRANGE "The maximum size of the paging file must not be smaller than its initial size, must not be larger than 4095 MB and must not exceed the available space on the selected drive."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
|
|
|
@ -337,6 +337,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Sayfalama kütüğünün en çok büyüklüğü için bir sayılık değer giriniz."
|
||||
IDS_WARNINITIALRANGE "Sayfalama kütüğünün başlangıç büyüklüğü, 2 MB'tan küçük olmamalıdır ve seçili sürücüde var olan boşluğu aşmamalıdır."
|
||||
IDS_WARNMAXIMUMRANGE "Sayfalama kütüğünün en çok büyüklüğü, kendisinin başlangıç büyüklüğünden küçük olmamalıdır ve seçili sürücüde var olan boşluğu aşmamalıdır."
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "Yok"
|
||||
IDS_PAGEFILE_SYSTEM "Dizge Yönetimli"
|
||||
IDS_INFOREBOOT "Değişiklikleri uygulamak için bilgisayarı yeniden başlatmalısınız."
|
||||
|
|
|
@ -343,6 +343,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "Введіть числове значення для максимального розміру файлу довантаження."
|
||||
IDS_WARNINITIALRANGE "Початковий розмір файлу довантаження не повинен бути меншим 2 Мб і не повинен перевищувати об'єм вільного місця на обраному диску."
|
||||
IDS_WARNMAXIMUMRANGE "Максимальний розмір файлу довантаження не повинен бути меншим від початкового та не повинен перевищувати об'єм вільного місця на обраному диску."
|
||||
IDS_PAGEFILE_MB "%u МБ"
|
||||
IDS_PAGEFILE_NONE "Немає"
|
||||
IDS_PAGEFILE_SYSTEM "За вибором системи"
|
||||
IDS_INFOREBOOT "Необхідно перезавантажити комп'ютер для застосування нових параметрів."
|
||||
|
|
|
@ -338,6 +338,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "为分页文件的最大大小输入一个数字值。"
|
||||
IDS_WARNINITIALRANGE "分页文件的初始大小不得小于 2 MB,并且不得超过所选磁盘上的可用空间。"
|
||||
IDS_WARNMAXIMUMRANGE "分页文件的最大大小不能小于其初始大小和不能超过所选磁盘上的可用空间。"
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "无"
|
||||
IDS_PAGEFILE_SYSTEM "系统已托管"
|
||||
IDS_INFOREBOOT "您必须重新启动计算机,才能应用更改。"
|
||||
|
|
|
@ -338,6 +338,7 @@ BEGIN
|
|||
IDS_WARNMAXIMUMSIZE "爲分頁文件的最大大小輸入一個數字值。"
|
||||
IDS_WARNINITIALRANGE "分頁文件的初始大小不得小於 2 MB,並且不得超過所選磁碟上的可用空間。"
|
||||
IDS_WARNMAXIMUMRANGE "分頁文件的最大大小不能小於其初始大小和不能超過所選磁碟上的可用空間。"
|
||||
IDS_PAGEFILE_MB "%u MB"
|
||||
IDS_PAGEFILE_NONE "無"
|
||||
IDS_PAGEFILE_SYSTEM "系統已管理"
|
||||
IDS_INFOREBOOT "您必須重新啓動電腦,才能套用更改。"
|
||||
|
|
|
@ -47,9 +47,10 @@
|
|||
#define IDS_WARNMAXIMUMSIZE 102
|
||||
#define IDS_WARNINITIALRANGE 103
|
||||
#define IDS_WARNMAXIMUMRANGE 104
|
||||
#define IDS_PAGEFILE_NONE 105
|
||||
#define IDS_PAGEFILE_SYSTEM 106
|
||||
#define IDS_INFOREBOOT 107
|
||||
#define IDS_PAGEFILE_MB 105
|
||||
#define IDS_PAGEFILE_NONE 106
|
||||
#define IDS_PAGEFILE_SYSTEM 107
|
||||
#define IDS_INFOREBOOT 108
|
||||
|
||||
#define IDS_HWPROFILE_CONFIRM_DELETE_TITLE 120
|
||||
#define IDS_HWPROFILE_CONFIRM_DELETE 121
|
||||
|
|
|
@ -508,7 +508,7 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
|||
ULARGE_INTEGER FreeDiskSpace;
|
||||
UINT i, FreeMemMb, RecoMemMb, PageFileSizeMb;
|
||||
INT Index;
|
||||
TCHAR szText[MAX_PATH];
|
||||
TCHAR szText[MAX_PATH], szMegabytes[8];
|
||||
WIN32_FIND_DATAW fdata = {0};
|
||||
HANDLE hFind;
|
||||
ULARGE_INTEGER pfSize;
|
||||
|
@ -520,6 +520,11 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
|||
0);
|
||||
if (Index >= 0 && Index < pVirtMem->Count)
|
||||
{
|
||||
LoadString(hApplet,
|
||||
IDS_PAGEFILE_MB,
|
||||
szMegabytes,
|
||||
ARRAYSIZE(szMegabytes));
|
||||
|
||||
/* Set drive letter */
|
||||
SetDlgItemText(hwndDlg, IDC_DRIVE,
|
||||
pVirtMem->Pagefile[Index].szDrive);
|
||||
|
@ -529,7 +534,7 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
|||
NULL, NULL, &FreeDiskSpace))
|
||||
{
|
||||
pVirtMem->Pagefile[Index].FreeSize = (UINT)(FreeDiskSpace.QuadPart / (1024 * 1024));
|
||||
_stprintf(szBuffer, _T("%u MB"), pVirtMem->Pagefile[Index].FreeSize);
|
||||
_stprintf(szBuffer, szMegabytes, pVirtMem->Pagefile[Index].FreeSize);
|
||||
SetDlgItemText(hwndDlg, IDC_SPACEAVAIL, szBuffer);
|
||||
}
|
||||
|
||||
|
@ -576,8 +581,9 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
|||
BST_CHECKED);
|
||||
}
|
||||
|
||||
/* Set minimum pagefile size */
|
||||
SetDlgItemText(hwndDlg, IDC_MINIMUM, _T("2 MB"));
|
||||
/* Set minimum pagefile size (2 MB) */
|
||||
_stprintf(szBuffer, szMegabytes, 2);
|
||||
SetDlgItemText(hwndDlg, IDC_MINIMUM, szBuffer);
|
||||
|
||||
/* Set recommended pagefile size */
|
||||
MemoryStatus.dwLength = sizeof(MEMORYSTATUSEX);
|
||||
|
@ -587,7 +593,7 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
|||
RecoMemMb = FreeMemMb + (FreeMemMb / 2); /* The recommended VM size is 150% of free memory. */
|
||||
if (RecoMemMb > 4096)
|
||||
RecoMemMb = 4096;
|
||||
_stprintf(szBuffer, _T("%u MB"), RecoMemMb);
|
||||
_stprintf(szBuffer, szMegabytes, RecoMemMb);
|
||||
SetDlgItemText(hwndDlg, IDC_RECOMMENDED, szBuffer);
|
||||
}
|
||||
|
||||
|
@ -614,7 +620,7 @@ OnSelChange(HWND hwndDlg, PVIRTMEM pVirtMem)
|
|||
}
|
||||
}
|
||||
|
||||
_stprintf(szBuffer, _T("%u MB"), PageFileSizeMb);
|
||||
_stprintf(szBuffer, szMegabytes, PageFileSizeMb);
|
||||
SetDlgItemText(hwndDlg, IDC_CURRENT, szBuffer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue