1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

v1.4.5 [TAKE TWO] (build 428)

* Fix a missing CloseHandle
* Closes #293
This commit is contained in:
Pete Batard 2014-02-27 21:40:12 +00:00
parent ff37b4e6df
commit 24392b2fb6
3 changed files with 10 additions and 68 deletions

View file

@ -436,66 +436,6 @@ t MSG_261 "Writing image: %0.1f%% completed"
############################# TRANSLATOR END COPY ############################## ############################# TRANSLATOR END COPY ##############################
################################################################################ ################################################################################
l "ar-AR" "Arabic (العربية)" 0x0401
a "ra"
v 1.0.8
b "en-US"
g IDD_DIALOG
t IDS_DEVICE_TXT "جهاز"
t IDS_PARTITION_TYPE_TXT "نوع مخطط التقسيم وهدف النظام"
t IDS_FILESYSTEM_TXT "نظام الملفات"
t IDS_CLUSTERSIZE_TXT "حجم الكتلة"
t IDS_LABEL_TXT "تسمية وحدة التخزين الجديدة"
t IDS_FORMAT_OPTIONS_GRP "خيارات تنسيق "
m IDC_ADVANCED -8,0
t IDC_BADBLOCKS "تحقق الجهاز لكتل سيئة:"
t IDC_QUICKFORMAT "تهيئة سريعة"
t IDC_BOOT "إنشاء قرص تمهيد باستخدام:"
t IDC_SET_ICON "إنشاء التسمية ورمز ملفات موسعة"
t IDC_ABOUT "حول ..."
t IDC_LOG "ثقيل"
t IDCANCEL "قريب"
t IDC_START "إقلاع"
t IDS_ADVANCED_OPTIONS_GRP "خيارات متقدمة"
t IDC_ENABLE_FIXED_DISKS "محركات الأقراص الصلبة USB قائمة"
t IDC_EXTRA_PARTITION "إصلاحات BIOS القديمة"
t IDC_RUFUS_MBR "استخدام روفوس MBR مع BIOS ID:"
# About dialog
g IDD_ABOUTBOX
t IDD_ABOUTBOX "Rufus حول"
t IDC_ABOUT_LICENSE "ترخيص"
t IDC_ABOUT_UPDATES "تحديثات"
t IDOK "حسنا"
t MSG_003 "تحذير: كل البيانات على الجهاز '%s' سيتم تدمير. \n"
"الاستمرار في هذه العملية، انقر فوق موافق. لإنهاء انقر فوق إلغاء الأمر."
t MSG_026 "بايت"
t MSG_027 "كيلو بايت"
t MSG_028 "ميغابايت"
t MSG_030 "%s (الافتراضي)"
t MSG_034 "%d يمر"
t MSG_035 "%d تمريرات"
t MSG_109 "0x%02X (أسطوانة %d)"
# NOTE: In the line below, there are (potentially) invisible Right-To-Left marks
# (UTF-8: 0xE2 0x80 0x8f) After "USB" and after "Rufus".
t MSG_174 "Rufus - وموثوق USB تنسيق المساعدة"
# This one's a massive empirical fest of RTL marks and nonsensical parenthesis, to
# make the output look about right... If you edit this, all I can say is: GOOD LUCK!!!
t MSG_175 "الإصدار‏ %d.%d.%d)بناء‏ %d("
# NOTE: RTL mark after the ':'
t MSG_176 "ترجمة: هارون الرشيد <mailto:pete@akeo.ie>"
t MSG_177 "البق تقرير أو طلب تعزيزات في:"
t MSG_178 "حقوق الطبع والنشر إضافية:"
t MSG_208 "%d جهاز تم العثور عليه"
t MSG_209 "%d الأجهزة الموجودة"
t MSG_210 "منجز"
t MSG_211 "ألغي"
t MSG_212 "فشل"
################################################################################ ################################################################################
l "zh-CN" "Chinese Simplified (简体中文)" 0x0804, 0x1004 l "zh-CN" "Chinese Simplified (简体中文)" 0x0804, 0x1004
v 1.0.10 v 1.0.10

View file

@ -306,7 +306,7 @@ static BOOL _GetDriveLettersAndType(DWORD DriveIndex, char* drive_letters, UINT*
BOOL r = FALSE; BOOL r = FALSE;
HANDLE hDrive = INVALID_HANDLE_VALUE; HANDLE hDrive = INVALID_HANDLE_VALUE;
UINT _drive_type; UINT _drive_type;
int i = 0; int i = 0, drive_number;
char *drive, drives[26*4]; /* "D:\", "E:\", etc. */ char *drive, drives[26*4]; /* "D:\", "E:\", etc. */
char logical_drive[] = "\\\\.\\#:"; char logical_drive[] = "\\\\.\\#:";
@ -351,7 +351,9 @@ static BOOL _GetDriveLettersAndType(DWORD DriveIndex, char* drive_letters, UINT*
continue; continue;
} }
if (GetDriveNumber(hDrive, logical_drive) == DriveIndex) { drive_number = GetDriveNumber(hDrive, logical_drive);
safe_closehandle(hDrive);
if (drive_number == DriveIndex) {
r = TRUE; r = TRUE;
if (drive_letters != NULL) if (drive_letters != NULL)
drive_letters[i++] = *drive; drive_letters[i++] = *drive;

View file

@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 206, 329 IDD_DIALOG DIALOGEX 12, 12, 206, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 1.4.5.427" CAPTION "Rufus 1.4.5.428"
FONT 8, "MS Shell Dlg", 400, 0, 0x1 FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14 DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
@ -165,7 +165,7 @@ END
RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329 RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL
CAPTION "Rufus 1.4.5.427" CAPTION "Rufus 1.4.5.428"
FONT 8, "MS Shell Dlg", 400, 0, 0x1 FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN BEGIN
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14 DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
@ -427,8 +427,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,4,5,427 FILEVERSION 1,4,5,428
PRODUCTVERSION 1,4,5,427 PRODUCTVERSION 1,4,5,428
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -445,13 +445,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus" VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "1.4.5.427" VALUE "FileVersion", "1.4.5.428"
VALUE "InternalName", "Rufus" VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)" VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe" VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus" VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "1.4.5.427" VALUE "ProductVersion", "1.4.5.428"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"