Follow up to e66121a1c3cfe00c3ddbaca27ac11a052f4f4f6a: extend warning message to point the user in the right direction. See https://www.heidisql.com/forum.php?t=37505#p37514

This commit is contained in:
Ansgar Becker
2021-01-22 08:05:29 +01:00
parent 391a9aba88
commit 9fcfda8cba
2 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: HeidiSQL\n"
"POT-Creation-Date: 2012-11-05 21:40\n"
"PO-Revision-Date: 2021-01-17 14:36+0100\n"
"PO-Revision-Date: 2021-01-22 08:03+0100\n"
"Last-Translator: Ansgar Becker <anse@heidisql.com>\n"
"Language-Team: English (http://www.transifex.com/projects/p/heidisql/language/en/)\n"
"MIME-Version: 1.0\n"
@ -6649,6 +6649,9 @@ msgstr "Really auto-detect file encoding?"
msgid "Auto detecting the encoding of a file is highly discouraged. You may experience data loss if the detection fails."
msgstr "Auto detecting the encoding of a file is highly discouraged. You may experience data loss if the detection fails."
msgid "To avoid this message select the correct encoding before pressing Open."
msgstr "To avoid this message select the correct encoding before pressing Open."
msgid "keyword"
msgstr "keyword"

View File

@ -3856,7 +3856,8 @@ begin
Encoding := GetEncodingByName(Dialog.Encodings[Dialog.EncodingIndex]);
if Encoding = nil then begin
ProceedResult := MessageDialog(_('Really auto-detect file encoding?') + SLineBreak + SLineBreak +
_('Auto detecting the encoding of a file is highly discouraged. You may experience data loss if the detection fails.'),
_('Auto detecting the encoding of a file is highly discouraged. You may experience data loss if the detection fails.') + SLineBreak + SLineBreak +
_('To avoid this message select the correct encoding before pressing Open.'),
mtConfirmation, [mbYes, mbCancel]);
end else begin
ProceedResult := mrYes;