mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:38:25 +02:00
LazReport: Implements CRLF script function, patch by Maxim Ganetsky and João Cezar Tissot, issue #41089
(cherry picked from commit 01c4f3588d
)
Co-authored-by: Jesus Reyes A <jesusrmx@gmail.com>
This commit is contained in:
parent
01915e0dfb
commit
cbcab299f4
@ -460,6 +460,10 @@ msgstr "COPY(<Textový řezězec>, <Pozice>, <Délka>)/Vrací <Délka> znaků z
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<NázevSkupiny>)/Vrací počet datových řádků zadaných v <NázevSkupiny>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Datum>)/Vrací číslo dne (1..31) zadaného <Datum>."
|
||||
|
@ -461,6 +461,10 @@ msgstr "COPY(<String>, <Position>, <Length>)/gibt <Length> Zeichen von <String>
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<BandName>)/Liefert die Zahl der Datenreihen des angegebenen <BandName>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Datum>)/Gibt den Tag (1..31) des angegebenen <Datum> zurück."
|
||||
|
@ -454,6 +454,10 @@ msgstr "COPY(<String>, <Position>, <Length>)/Devuelve <Length> caracteres desde
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<NombreDeBanda>)/Regresa la cuenta de registros en <NombreDeBanda>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Fecha>)/Regresa el día (1..31) de una <Fecha> dada."
|
||||
|
@ -452,6 +452,10 @@ msgstr "COPY(<Chaîne>, <Position>, <Longueur>)/Retourne <Longueur> caractères
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<NomBande>)/Retourne le nombre de lignes de <NomBande>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Date>)/Renvoie le nombre de jours (1..31) de <Date>."
|
||||
|
@ -451,6 +451,10 @@ msgstr "COPY(<Karakterlánc>, <Kezdet>, <Hossz>)/A <Karakterlánc> <Hossz> hossz
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<Sávnév>)/A <Sávnév> oszlopban található adatsorok számát adja vissza."
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Dátum>)/A nap számát (1..31) adja vissza a <Dátum>-ból."
|
||||
|
@ -463,6 +463,10 @@ msgstr ""
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<BandName>)/Mengembalikan jumlah baris-data yang diberikan dalam <BandName>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Date>)/Mengembalikan angka hari (1..31) dari tanggal <Date>."
|
||||
|
@ -455,6 +455,10 @@ msgstr "COPY(<Stringa>, <Posizione>, <Lunghezza>)/Ritorna <Lunghezza> dalla <Str
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<BandName>)/Ritorna ilnumero di righe dati in <BandName>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Data>)/Ritorna il numero del giorno (1..31) della <Data>."
|
||||
|
@ -454,6 +454,10 @@ msgstr "COPY(<Tekstas>, <Vieta>, <Ilgis>)/Grąžina <Ilgis> simbolių iš <Tekst
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<JuostosPavadinimas>)/Grąžina duotame <JuostosPavadinimas> esančių eilučių kiekį."
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Data>)/Grąžina duotos <Data> dienos numerį (1..31)."
|
||||
|
@ -459,6 +459,10 @@ msgstr "COPY(<Tekst>, <Pozycja>, <Ilość>)/Zwraca <Ilość> znaków z <Tekst> z
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<NazwaBandy>)/Zwraca ilość wierszy z bazy danych dla danej <NazwaBandy>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Data>)/Zwraca numer dnia (1..31) z podanej daty w <Data>."
|
||||
|
@ -444,6 +444,10 @@ msgstr ""
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr ""
|
||||
|
@ -451,6 +451,10 @@ msgstr "COPY(<String>, <Posição>, <Tamanho>)/Retorna <Tamanho> caracteres de <
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<NomeBanda>)/Retorna a contagem de linhas de uma dada <NomeBanda>."
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Data>)/Retorna o numero do dia (1..31) de uma dada <Data>."
|
||||
|
@ -451,6 +451,10 @@ msgstr "COPY(<String>, <Position>, <Length>)/Возвращает <Length> си
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<BandName>)/Возвращает число строк данных в <BandName>. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Date>)/Возвращает номер дня (1..31) для заданной <Date>."
|
||||
|
@ -451,6 +451,10 @@ msgstr "COPY (<String>, <Position>, <Length>) / / <Position> ile başlayan <Stri
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT (<BandName>) / <BandName> içinde verilen veri satırı sayısını döndürür. "
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF (<Tarih>) / <Tarih> Verilen tarihin gün numarasını (1..31) döndürür."
|
||||
|
@ -453,6 +453,10 @@ msgstr "COPY(<String>, <Position>, <Length>)/Повертає <Length> симв
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr "COUNT(<BandName>)/Повертає кількість рядків даних у <BandName>."
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr "DAYOF(<Date>)/Повертає номер дня (1..31) для заданої <Date>."
|
||||
|
@ -452,6 +452,10 @@ msgstr ""
|
||||
msgid "COUNT(<BandName>)/Returns count of data rows given in the <BandName>. "
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptioncrlf
|
||||
msgid "CRLF/Returns lineending character sequence."
|
||||
msgstr ""
|
||||
|
||||
#: lr_const.sdescriptiondayof
|
||||
msgid "DAYOF(<Date>)/Returns day number (1..31) of given <Date>."
|
||||
msgstr ""
|
||||
|
@ -10380,6 +10380,12 @@ begin
|
||||
aValue:= frVariables[s];
|
||||
Exit;
|
||||
end else
|
||||
if s1 = 'CRLF' then
|
||||
begin
|
||||
aValue := LineEnding;
|
||||
Exit;
|
||||
end
|
||||
else
|
||||
if s1 = 'REPORTTITLE' then
|
||||
begin
|
||||
aValue := Title;
|
||||
@ -12622,6 +12628,7 @@ begin
|
||||
// internal functions/operators
|
||||
Add('COPY', true);
|
||||
Add('STR', true);
|
||||
Add('CRLF', true);
|
||||
Add('INT', true);
|
||||
Add('ROUND', true);
|
||||
Add('FRAC', true);
|
||||
@ -12661,6 +12668,7 @@ begin
|
||||
AddFunctionDesc('POS', SStringCategory, SDescriptionPOS);
|
||||
AddFunctionDesc('COPY', SStringCategory, SDescriptionCOPY);
|
||||
AddFunctionDesc('STR', SStringCategory, SDescriptionSTR);
|
||||
AddFunctionDesc('CRLF', SStringCategory, SDescriptionCRLF);
|
||||
|
||||
AddFunctionDesc('INPUT', SOtherCategory, SDescriptionINPUT);
|
||||
AddFunctionDesc('MESSAGEBOX', SOtherCategory, SDescriptionMESSAGEBOX);
|
||||
|
@ -769,6 +769,9 @@ resourcestring
|
||||
SDescriptionSTR = 'STR(<Value>)/'+
|
||||
'Converts the given (numeric) <Value> in string.';
|
||||
|
||||
SDescriptionCRLF = 'CRLF/'+
|
||||
'Returns lineending character sequence.';
|
||||
|
||||
SDescriptionINT = 'INT(<Value>)/'+
|
||||
'Returns the integer part of floating point <Value>.';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user