mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[ui] Move the save and hash tooltips to the toolbar parent
* Also fix a .loc typo
This commit is contained in:
parent
0d0ad389ce
commit
34ee2f6382
3 changed files with 8 additions and 17 deletions
|
@ -456,7 +456,7 @@ t MSG_219 "NTFS Fixup: %d%% completed"
|
|||
# eg. "Formatting (UDF) - Estimated duration 3:21..."
|
||||
# NB: if "estimated duration" is too long, just use "estimated" or an abbreviation
|
||||
t MSG_220 "Formatting (%s) - estimated duration %d:%02d..."
|
||||
t MSG_221 "Setting Label (This may take while)..."
|
||||
t MSG_221 "Setting Label (This may take a while)..."
|
||||
# Parameter: the file system. eg. "Formatting (NTFS)..."
|
||||
t MSG_222 "Formatting (%s)..."
|
||||
t MSG_223 "NTFS Fixup (Checkdisk)..."
|
||||
|
|
13
src/rufus.c
13
src/rufus.c
|
@ -2673,6 +2673,8 @@ static void InitDialog(HWND hDlg)
|
|||
CreateTooltip(hLabel, lmprintf(MSG_159), -1);
|
||||
CreateTooltip(hAdvancedDeviceToolbar, lmprintf(MSG_160), -1);
|
||||
CreateTooltip(hAdvancedFormatToolbar, lmprintf(MSG_160), -1);
|
||||
CreateTooltip(hSaveToolbar, lmprintf(MSG_304), -1);
|
||||
CreateTooltip(hHashToolbar, lmprintf(MSG_272), -1);
|
||||
CreateTooltip(GetDlgItem(hDlg, IDC_BAD_BLOCKS), lmprintf(MSG_161), -1);
|
||||
CreateTooltip(GetDlgItem(hDlg, IDC_QUICK_FORMAT), lmprintf(MSG_162), -1);
|
||||
CreateTooltip(hBootType, lmprintf(MSG_164), -1);
|
||||
|
@ -3523,17 +3525,6 @@ static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPA
|
|||
utf8_to_wchar_no_alloc(lmprintf(MSG_303), wtooltip, ARRAYSIZE(wtooltip));
|
||||
lpttt->lpszText = wtooltip;
|
||||
break;
|
||||
case IDC_SAVE:
|
||||
utf8_to_wchar_no_alloc(lmprintf(MSG_304), wtooltip, ARRAYSIZE(wtooltip));
|
||||
lpttt->lpszText = wtooltip;
|
||||
break;
|
||||
case IDC_HASH:
|
||||
utf8_to_wchar_no_alloc(lmprintf(MSG_272), wtooltip, ARRAYSIZE(wtooltip));
|
||||
lpttt->lpszText = wtooltip;
|
||||
break;
|
||||
default:
|
||||
uprintf("TTN_GETDISPINFO called for unknown toolbar button!");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
10
src/rufus.rc
10
src/rufus.rc
|
@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|||
IDD_DIALOG DIALOGEX 12, 12, 232, 326
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
EXSTYLE WS_EX_ACCEPTFILES
|
||||
CAPTION "Rufus 3.0.1284"
|
||||
CAPTION "Rufus 3.0.1285"
|
||||
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
|
||||
BEGIN
|
||||
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
|
||||
|
@ -389,8 +389,8 @@ END
|
|||
//
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 3,0,1284,0
|
||||
PRODUCTVERSION 3,0,1284,0
|
||||
FILEVERSION 3,0,1285,0
|
||||
PRODUCTVERSION 3,0,1285,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
|
@ -407,13 +407,13 @@ BEGIN
|
|||
BEGIN
|
||||
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
|
||||
VALUE "FileDescription", "Rufus"
|
||||
VALUE "FileVersion", "3.0.1284"
|
||||
VALUE "FileVersion", "3.0.1285"
|
||||
VALUE "InternalName", "Rufus"
|
||||
VALUE "LegalCopyright", "© 2011-2018 Pete Batard (GPL v3)"
|
||||
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
|
||||
VALUE "OriginalFilename", "rufus.exe"
|
||||
VALUE "ProductName", "Rufus"
|
||||
VALUE "ProductVersion", "3.0.1284"
|
||||
VALUE "ProductVersion", "3.0.1285"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
|
Loading…
Reference in a new issue