mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[misc] minor improvements to the About dialog
* Bigger dialog, larger font, etc. * Also fix a MinGW warning in parser.c
This commit is contained in:
parent
e9e27d7034
commit
b4e5a148ce
4 changed files with 23 additions and 23 deletions
|
@ -3749,7 +3749,7 @@ t MSG_173 "Spauskite pasirinkti..."
|
||||||
# The following will appear in the about dialog
|
# The following will appear in the about dialog
|
||||||
t MSG_174 "Rufus - patikima USB formatavimo priemonė"
|
t MSG_174 "Rufus - patikima USB formatavimo priemonė"
|
||||||
t MSG_175 "Versija %d.%d.%d (sąranka %d)"
|
t MSG_175 "Versija %d.%d.%d (sąranka %d)"
|
||||||
t MSG_176 "Lietuviškas vertimas: Gintaras Venslovas (gintaras.venslovas@gmail.com)"
|
t MSG_176 "Lietuviškas vertimas: Gintaras Venslovas <gintaras.venslovas@gmail.com>"
|
||||||
t MSG_177 "Dėl pastebėtų klaidų ar pageidaujamų patobulinimų kreipkitės:"
|
t MSG_177 "Dėl pastebėtų klaidų ar pageidaujamų patobulinimų kreipkitės:"
|
||||||
t MSG_178 "Kitos autorių teisės:"
|
t MSG_178 "Kitos autorių teisės:"
|
||||||
t MSG_179 "Naujinių politika:"
|
t MSG_179 "Naujinių politika:"
|
||||||
|
@ -5679,7 +5679,7 @@ t MSG_173 "Kliknite, da izberete…"
|
||||||
# The following will appear in the about dialog
|
# The following will appear in the about dialog
|
||||||
t MSG_174 "Rufus - zanesljivi pripomoček za USB formatiranje"
|
t MSG_174 "Rufus - zanesljivi pripomoček za USB formatiranje"
|
||||||
t MSG_175 "Verzija %d.%d.%d (izgradnja %d)"
|
t MSG_175 "Verzija %d.%d.%d (izgradnja %d)"
|
||||||
t MSG_176 "V slovenščino prevedel Matej Horvat (mailto:matej.horvat@guest.arnes.si)"
|
t MSG_176 "V slovenščino prevedel Matej Horvat <matej.horvat@guest.arnes.si>"
|
||||||
t MSG_177 "Prijavite hrošče ali zahtevajte izboljšave na:"
|
t MSG_177 "Prijavite hrošče ali zahtevajte izboljšave na:"
|
||||||
t MSG_178 "Dodatne avtorske pravice:"
|
t MSG_178 "Dodatne avtorske pravice:"
|
||||||
t MSG_179 "Politika posodobitev:"
|
t MSG_179 "Politika posodobitev:"
|
||||||
|
|
|
@ -24,13 +24,13 @@ const char* about_blurb_format =
|
||||||
"\\line\n"
|
"\\line\n"
|
||||||
"Copyright © 2011-2014 Pete Batard / Akeo\\line\n"
|
"Copyright © 2011-2014 Pete Batard / Akeo\\line\n"
|
||||||
RUFUS_URL "\\line\n"
|
RUFUS_URL "\\line\n"
|
||||||
"\\fs6 \\line\n"
|
"\\fs3 \\line\n"
|
||||||
"\\fs18%s\\line\n"
|
"\\fs18%s\\line\n"
|
||||||
"\\line\n"
|
"\\line\n"
|
||||||
"%s\\line\n"
|
"%s\\line\n"
|
||||||
"https://github.com/pbatard/rufus/issues\\line\n"
|
"https://github.com/pbatard/rufus/issues\\line\n"
|
||||||
"\\line\n"
|
"\\line\n"
|
||||||
"{\\b %s}}";
|
"{\\b\\fs19 %s}}";
|
||||||
|
|
||||||
const char* additional_copyrights =
|
const char* additional_copyrights =
|
||||||
"{\\rtf1\\ansi\n"
|
"{\\rtf1\\ansi\n"
|
||||||
|
|
14
src/parser.c
14
src/parser.c
|
@ -363,7 +363,7 @@ BOOL get_loc_data_file(const char* filename, loc_cmd* lcmd)
|
||||||
size_t i = 0;
|
size_t i = 0;
|
||||||
int r = 0, line_nr_incr = 1;
|
int r = 0, line_nr_incr = 1;
|
||||||
int c = 0, eol_char = 0;
|
int c = 0, eol_char = 0;
|
||||||
int start_line, old_loc_line_nr;
|
int start_line, old_loc_line_nr = 0;
|
||||||
BOOL ret = FALSE, eol = FALSE, escape_sequence = FALSE, reentrant = (fd != NULL);
|
BOOL ret = FALSE, eol = FALSE, escape_sequence = FALSE, reentrant = (fd != NULL);
|
||||||
long offset, cur_offset = -1, end_offset;
|
long offset, cur_offset = -1, end_offset;
|
||||||
// The default locale is always the first one
|
// The default locale is always the first one
|
||||||
|
@ -383,7 +383,12 @@ BOOL get_loc_data_file(const char* filename, loc_cmd* lcmd)
|
||||||
populate_default = FALSE;
|
populate_default = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!reentrant) {
|
if (reentrant) {
|
||||||
|
// Called, from a 'b' command - no need to reopen the file,
|
||||||
|
// just save the current offset and current line number
|
||||||
|
cur_offset = ftell(fd);
|
||||||
|
old_loc_line_nr = loc_line_nr;
|
||||||
|
} else {
|
||||||
if ((filename == NULL) || (filename[0] == 0))
|
if ((filename == NULL) || (filename[0] == 0))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
if (!populate_default) {
|
if (!populate_default) {
|
||||||
|
@ -398,11 +403,6 @@ BOOL get_loc_data_file(const char* filename, loc_cmd* lcmd)
|
||||||
fd = open_loc_file(filename);
|
fd = open_loc_file(filename);
|
||||||
if (fd == NULL)
|
if (fd == NULL)
|
||||||
goto out;
|
goto out;
|
||||||
} else {
|
|
||||||
// Called, from a 'b' command - no need to reopen the file,
|
|
||||||
// just save the current offset and current line number
|
|
||||||
cur_offset = ftell(fd);
|
|
||||||
old_loc_line_nr = loc_line_nr;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
offset = (long)lcmd->num[0];
|
offset = (long)lcmd->num[0];
|
||||||
|
|
24
src/rufus.rc
24
src/rufus.rc
|
@ -33,7 +33,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
|
||||||
EXSTYLE WS_EX_APPWINDOW
|
EXSTYLE WS_EX_APPWINDOW
|
||||||
CAPTION "Rufus v1.4.2.368"
|
CAPTION "Rufus v1.4.2.369"
|
||||||
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
|
||||||
|
@ -71,17 +71,17 @@ BEGIN
|
||||||
PUSHBUTTON "",IDC_LANG,183,2,15,13,BS_TOP | BS_FLAT
|
PUSHBUTTON "",IDC_LANG,183,2,15,13,BS_TOP | BS_FLAT
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_ABOUTBOX DIALOGEX 0, 0, 287, 204
|
IDD_ABOUTBOX DIALOGEX 0, 0, 319, 229
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
CAPTION "About Rufus"
|
CAPTION "About Rufus"
|
||||||
FONT 8, "MS Shell Dlg", 400, 0, 0x0
|
FONT 8, "MS Shell Dlg", 400, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
ICON IDI_ICON,IDC_ABOUT_ICON,11,8,21,20
|
ICON IDI_ICON,IDC_ABOUT_ICON,11,8,21,20
|
||||||
DEFPUSHBUTTON "OK",IDOK,231,183,50,14,WS_GROUP
|
DEFPUSHBUTTON "OK",IDOK,251,207,50,14,WS_GROUP
|
||||||
PUSHBUTTON "License",IDC_ABOUT_LICENSE,46,183,50,14,WS_GROUP
|
PUSHBUTTON "License",IDC_ABOUT_LICENSE,46,207,50,14,WS_GROUP
|
||||||
CONTROL "",IDC_ABOUT_COPYRIGHTS,"RichEdit20W",ES_MULTILINE | ES_READONLY | WS_VSCROLL,46,103,235,74,WS_EX_STATICEDGE
|
CONTROL "",IDC_ABOUT_COPYRIGHTS,"RichEdit20W",ES_MULTILINE | ES_READONLY | WS_VSCROLL,46,107,267,90,WS_EX_STATICEDGE
|
||||||
CONTROL "",IDC_ABOUT_BLURB,"RichEdit20W",ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY | WS_TABSTOP,46,7,235,95
|
CONTROL "",IDC_ABOUT_BLURB,"RichEdit20W",ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY | WS_TABSTOP,45,7,268,99
|
||||||
PUSHBUTTON "Updates",IDC_ABOUT_UPDATES,100,183,50,14,NOT WS_VISIBLE | WS_GROUP
|
PUSHBUTTON "Updates",IDC_ABOUT_UPDATES,100,207,50,14,NOT WS_VISIBLE | WS_GROUP
|
||||||
END
|
END
|
||||||
|
|
||||||
IDD_ISO_EXTRACT DIALOGEX 0, 0, 262, 66
|
IDD_ISO_EXTRACT DIALOGEX 0, 0, 262, 66
|
||||||
|
@ -289,8 +289,8 @@ END
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,4,2,368
|
FILEVERSION 1,4,2,369
|
||||||
PRODUCTVERSION 1,4,2,368
|
PRODUCTVERSION 1,4,2,369
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -307,13 +307,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.2.368"
|
VALUE "FileVersion", "1.4.2.369"
|
||||||
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.2.368"
|
VALUE "ProductVersion", "1.4.2.369"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
Loading…
Reference in a new issue