Fix typo in variable editor, and make "on"/"off" buttons slightly wider, so different translation fit.

This commit is contained in:
Ansgar Becker
2012-12-10 22:27:45 +00:00
parent 7c1c03fc17
commit ff1d7fa001
3 changed files with 16 additions and 7 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: 2012-12-03 19:26+0100\n"
"PO-Revision-Date: 2012-12-10 23:21+0100\n"
"Last-Translator: Ansgar Becker <heidisql@anse.de>\n"
"Language-Team: English (http://www.transifex.com/projects/p/heidisql/"
"language/en/)\n"
@ -553,6 +553,10 @@ msgstr "Number:"
msgid "Enumeration:"
msgstr "Enumeration:"
#. editvar.dfm
msgid "Boolean:"
msgstr "Boolean:"
#. frmEditVariable..gbValue..radioBooleanOn..Caption
#: editvar.dfm:117
msgid "On"
@ -4013,6 +4017,10 @@ msgstr "Unknown, should never appear"
msgid "Unsupported type (%d) in %s."
msgstr "Unsupported type (%d) in %s."
#. editvar.pas
msgid "\"%s\" is a read only variable, not editable.
msgstr "\"%s\" is a read only variable, not editable.
#: editvar.pas:90
msgid "Could not find %s variable in internal mapping."
msgstr "Could not find %s variable in internal mapping."

View File

@ -105,23 +105,24 @@ object frmEditVariable: TfrmEditVariable
object lblBoolean: TLabel
Left = 8
Top = 105
Width = 36
Width = 42
Height = 13
Caption = 'Bolean:'
Caption = 'Boolean:'
end
object radioBooleanOn: TRadioButton
Left = 88
Top = 104
Width = 48
Width = 82
Height = 17
Caption = 'On'
TabOrder = 0
end
object radioBooleanOff: TRadioButton
Left = 142
Left = 176
Top = 104
Width = 113
Width = 91
Height = 17
Anchors = [akLeft, akTop, akRight]
Caption = 'Off'
TabOrder = 1
end

View File

@ -82,7 +82,7 @@ begin
FVar := MySQLVariables[i];
Found := True;
if not FVar.IsDynamic then
raise EVariableError.Create(Value+' is a read only variable, not editable.');
raise EVariableError.CreateFmt(_('"%s" is a read only variable, not editable.'), [Value]);
break;
end;
end;