mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[loc] fix centering of update settings dialog for RTL languages
* This is part of #621
This commit is contained in:
parent
916eaa4113
commit
0e34d7aa8d
3 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@ o Version 2.5 (2015.10.??)
|
||||||
Add SHA-256 checksum verification
|
Add SHA-256 checksum verification
|
||||||
Add a cheat mode to disable exclusive USB drive locking (Alt-,)
|
Add a cheat mode to disable exclusive USB drive locking (Alt-,)
|
||||||
Add digital signature check on update downloads
|
Add digital signature check on update downloads
|
||||||
Fix an issue with improper display of the update settings under some conditions
|
Fix an where the update settings dialog may not display properly
|
||||||
Report Windows build number in the log (Windows 8 or later)
|
Report Windows build number in the log (Windows 8 or later)
|
||||||
Localization improvements
|
Localization improvements
|
||||||
Additional translation updates
|
Additional translation updates
|
||||||
|
|
10
src/rufus.rc
10
src/rufus.rc
|
@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
|
|
||||||
IDD_DIALOG DIALOGEX 12, 12, 242, 376
|
IDD_DIALOG DIALOGEX 12, 12, 242, 376
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "Rufus 2.5.782"
|
CAPTION "Rufus 2.5.783"
|
||||||
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
|
FONT 8, "Segoe UI Symbol", 400, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
|
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
|
||||||
|
@ -319,8 +319,8 @@ END
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 2,5,782,0
|
FILEVERSION 2,5,783,0
|
||||||
PRODUCTVERSION 2,5,782,0
|
PRODUCTVERSION 2,5,783,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -337,13 +337,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", "2.5.782"
|
VALUE "FileVersion", "2.5.783"
|
||||||
VALUE "InternalName", "Rufus"
|
VALUE "InternalName", "Rufus"
|
||||||
VALUE "LegalCopyright", "© 2011-2015 Pete Batard (GPL v3)"
|
VALUE "LegalCopyright", "© 2011-2015 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", "2.5.782"
|
VALUE "ProductVersion", "2.5.783"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -546,7 +546,7 @@ void ResizeMoveCtrl(HWND hDlg, HWND hCtrl, int dx, int dy, int dw, int dh, float
|
||||||
SIZE border;
|
SIZE border;
|
||||||
|
|
||||||
GetWindowRect(hCtrl, &rect);
|
GetWindowRect(hCtrl, &rect);
|
||||||
point.x = right_to_left_mode?rect.right:rect.left;
|
point.x = (right_to_left_mode && (hDlg != hCtrl))?rect.right:rect.left;
|
||||||
point.y = rect.top;
|
point.y = rect.top;
|
||||||
if (hDlg != hCtrl)
|
if (hDlg != hCtrl)
|
||||||
ScreenToClient(hDlg, &point);
|
ScreenToClient(hDlg, &point);
|
||||||
|
|
Loading…
Reference in a new issue