mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Display size of BLOB in preview panel. Closes #429.
This commit is contained in:
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: HeidiSQL\n"
|
||||
"POT-Creation-Date: 2012-11-05 21:40\n"
|
||||
"PO-Revision-Date: 2018-12-05 20:41+0100\n"
|
||||
"PO-Revision-Date: 2018-12-05 21:11+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"
|
||||
@@ -4440,8 +4440,8 @@ msgid "Loading ..."
|
||||
msgstr "Loading ..."
|
||||
|
||||
#: main.pas:2611
|
||||
msgid "No image detected."
|
||||
msgstr "No image detected."
|
||||
msgid "No image detected, %s"
|
||||
msgstr "No image detected, %s"
|
||||
|
||||
#: main.pas:2711
|
||||
msgid "Drop Database \"%s\"?"
|
||||
|
||||
@@ -3075,7 +3075,7 @@ begin
|
||||
Results.RecNo := RowNum^;
|
||||
|
||||
Content := AnsiString(Results.Col(Grid.FocusedColumn));
|
||||
StrLen := Length(Content);
|
||||
StrLen := Results.ColumnLengths(Grid.FocusedColumn);
|
||||
ContentStream := TMemoryStream.Create;
|
||||
ContentStream.Write(Content[1], StrLen);
|
||||
ContentStream.Position := 0;
|
||||
@@ -3110,7 +3110,7 @@ begin
|
||||
end;
|
||||
FreeAndNil(ContentStream);
|
||||
end else
|
||||
lblPreviewTitle.Caption := _('No image detected.');
|
||||
lblPreviewTitle.Caption := f_('No image detected, %s', [FormatByteNumber(StrLen)]);
|
||||
finally
|
||||
lblPreviewTitle.Hint := lblPreviewTitle.Caption;
|
||||
ShowStatusMsg;
|
||||
|
||||
Reference in New Issue
Block a user