You've already forked lazarus-ccr
RxFPC:fix compile rxdbgridexportpdf.pas after fpc rev. 35083
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5466 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -245,6 +245,22 @@ msgstr "Menu panel herramienta"
|
|||||||
msgid "Transparent"
|
msgid "Transparent"
|
||||||
msgstr "Transparente"
|
msgstr "Transparente"
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotboolean
|
||||||
|
msgid "Variable %s is not boolean"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotdt
|
||||||
|
msgid "Variable %s is not date/time"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotfloat
|
||||||
|
msgid "Variable %s is not float"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotinteger
|
||||||
|
msgid "Variable %s is not integer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: rxconst.svariableisnotstring
|
#: rxconst.svariableisnotstring
|
||||||
msgid "Variable %s is not string"
|
msgid "Variable %s is not string"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -241,6 +241,22 @@ msgstr ""
|
|||||||
msgid "Transparent"
|
msgid "Transparent"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotboolean
|
||||||
|
msgid "Variable %s is not boolean"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotdt
|
||||||
|
msgid "Variable %s is not date/time"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotfloat
|
||||||
|
msgid "Variable %s is not float"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotinteger
|
||||||
|
msgid "Variable %s is not integer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: rxconst.svariableisnotstring
|
#: rxconst.svariableisnotstring
|
||||||
msgid "Variable %s is not string"
|
msgid "Variable %s is not string"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -241,6 +241,22 @@ msgstr "Настройка панели инструментов"
|
|||||||
msgid "Transparent"
|
msgid "Transparent"
|
||||||
msgstr "Прозрачно"
|
msgstr "Прозрачно"
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotboolean
|
||||||
|
msgid "Variable %s is not boolean"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotdt
|
||||||
|
msgid "Variable %s is not date/time"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotfloat
|
||||||
|
msgid "Variable %s is not float"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotinteger
|
||||||
|
msgid "Variable %s is not integer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: rxconst.svariableisnotstring
|
#: rxconst.svariableisnotstring
|
||||||
msgid "Variable %s is not string"
|
msgid "Variable %s is not string"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -258,6 +258,22 @@ msgstr "Налаштування панелі інструментів"
|
|||||||
msgid "Transparent"
|
msgid "Transparent"
|
||||||
msgstr "Прозоро"
|
msgstr "Прозоро"
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotboolean
|
||||||
|
msgid "Variable %s is not boolean"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotdt
|
||||||
|
msgid "Variable %s is not date/time"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotfloat
|
||||||
|
msgid "Variable %s is not float"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: rxconst.svariableisnotinteger
|
||||||
|
msgid "Variable %s is not integer"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: rxconst.svariableisnotstring
|
#: rxconst.svariableisnotstring
|
||||||
msgid "Variable %s is not string"
|
msgid "Variable %s is not string"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -339,7 +339,7 @@ begin
|
|||||||
if FDataType = cvtBoolean then
|
if FDataType = cvtBoolean then
|
||||||
Result:=FValue
|
Result:=FValue
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not boolean', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotBoolean, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TConfigValue.GetAsDateTime: TDateTime;
|
function TConfigValue.GetAsDateTime: TDateTime;
|
||||||
@ -347,7 +347,7 @@ begin
|
|||||||
if FDataType = cvtDateTime then
|
if FDataType = cvtDateTime then
|
||||||
Result:=FValue
|
Result:=FValue
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not date/time', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotDT, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TConfigValue.GetAsFloat: Double;
|
function TConfigValue.GetAsFloat: Double;
|
||||||
@ -355,7 +355,7 @@ begin
|
|||||||
if FDataType = cvtFloat then
|
if FDataType = cvtFloat then
|
||||||
Result:=FValue
|
Result:=FValue
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not float', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotFloat, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TConfigValue.GetAsInteger: integer;
|
function TConfigValue.GetAsInteger: integer;
|
||||||
@ -363,7 +363,7 @@ begin
|
|||||||
if FDataType = cvtInteger then
|
if FDataType = cvtInteger then
|
||||||
Result:=FValue
|
Result:=FValue
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not integer', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotInteger, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TConfigValue.GetAsString: string;
|
function TConfigValue.GetAsString: string;
|
||||||
@ -385,7 +385,7 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not boolean', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotBoolean, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TConfigValue.SetAsDateTime(const AValue: TDateTime);
|
procedure TConfigValue.SetAsDateTime(const AValue: TDateTime);
|
||||||
@ -399,7 +399,7 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not date/time', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotDT, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TConfigValue.SetAsFloat(const AValue: Double);
|
procedure TConfigValue.SetAsFloat(const AValue: Double);
|
||||||
@ -413,7 +413,7 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not float', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotFloat, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TConfigValue.SetAsInteger(const AValue: integer);
|
procedure TConfigValue.SetAsInteger(const AValue: integer);
|
||||||
@ -427,7 +427,7 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
raise Exception.CreateFmt('Variable %s is not integer', [FName]);
|
raise Exception.CreateFmt(sVariableIsNotInteger, [FName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TConfigValue.SetAsString(const AValue: string);
|
procedure TConfigValue.SetAsString(const AValue: string);
|
||||||
|
@ -122,6 +122,10 @@ resourcestring
|
|||||||
|
|
||||||
{ TConfigValues }
|
{ TConfigValues }
|
||||||
sVariableIsNotString = 'Variable %s is not string';
|
sVariableIsNotString = 'Variable %s is not string';
|
||||||
|
sVariableIsNotInteger = 'Variable %s is not integer';
|
||||||
|
sVariableIsNotFloat = 'Variable %s is not float';
|
||||||
|
sVariableIsNotDT = 'Variable %s is not date/time';
|
||||||
|
sVariableIsNotBoolean = 'Variable %s is not boolean';
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@ -1017,7 +1017,7 @@ begin
|
|||||||
CreateFontDirList;
|
CreateFontDirList;
|
||||||
if gTTFontCache.Count = 0 then
|
if gTTFontCache.Count = 0 then
|
||||||
begin
|
begin
|
||||||
gTTFontCache.BuildFontFacheIgnoresErrors:=true;
|
gTTFontCache.BuildFontCacheIgnoresErrors:=true;
|
||||||
CreateFontDirList;
|
CreateFontDirList;
|
||||||
gTTFontCache.SearchPath.Assign(FontDirList);
|
gTTFontCache.SearchPath.Assign(FontDirList);
|
||||||
FreeAndNil(FontDirList);
|
FreeAndNil(FontDirList);
|
||||||
|
Reference in New Issue
Block a user