summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2012-12-10 10:19:25 +0000
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2012-12-10 10:19:25 +0000
commit7a644cd180c037b74dbb8648e5969f190a691287 (patch)
treed6183beac615996742989dcede5896bd76eb5458
parent139dc0f86b8ca851a2e5d4e1bd5bb5e7d0b43c67 (diff)
downloadfpGUI-7a644cd180c037b74dbb8648e5969f190a691287.tar.xz
Replace text strings in the reporting units with resource strings - for localization.
I also updated all language files to include the latest resource string constants.
-rw-r--r--languages/fpgui.af.po32
-rw-r--r--languages/fpgui.de.po32
-rw-r--r--languages/fpgui.en.po32
-rw-r--r--languages/fpgui.es.po32
-rw-r--r--languages/fpgui.fr.po32
-rw-r--r--languages/fpgui.it.po32
-rw-r--r--languages/fpgui.po36
-rw-r--r--languages/fpgui.pt.po32
-rw-r--r--languages/fpgui.ru.po32
-rw-r--r--src/corelib/lang_af.inc8
-rw-r--r--src/corelib/lang_de.inc8
-rw-r--r--src/corelib/lang_en.inc8
-rw-r--r--src/corelib/lang_es.inc8
-rw-r--r--src/corelib/lang_fr.inc8
-rw-r--r--src/corelib/lang_it.inc8
-rw-r--r--src/corelib/lang_pt.inc8
-rw-r--r--src/corelib/lang_ru.inc8
-rw-r--r--src/reportengine/u_pdf.pas3
-rw-r--r--src/reportengine/u_report.pas10
-rw-r--r--src/reportengine/u_visu.pas23
20 files changed, 371 insertions, 21 deletions
diff --git a/languages/fpgui.af.po b/languages/fpgui.af.po
index 52af352a..cff74632 100644
--- a/languages/fpgui.af.po
+++ b/languages/fpgui.af.po
@@ -268,6 +268,10 @@ msgstr "Vaste wydte"
msgid "Font Aliases"
msgstr "Font Kenname"
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Vr"
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr "Ignoreer"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Informasie"
@@ -432,6 +440,14 @@ msgstr "Maak 'n leêr op"
msgid "Owner"
msgstr "Eienaar"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Wagwoord"
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Onlangs gebruik"
@@ -492,6 +512,10 @@ msgstr "Stoor 'n lêer as"
msgid "Search"
msgstr "Soek"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Kies"
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr "Teks om in te voeg"
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Do"
@@ -620,3 +648,7 @@ msgstr "Ja"
msgid "Yes to All"
msgstr "Ja vir Alles"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.de.po b/languages/fpgui.de.po
index 715681fd..e079f440 100644
--- a/languages/fpgui.de.po
+++ b/languages/fpgui.de.po
@@ -267,6 +267,10 @@ msgstr "Feste Breite"
msgid "Font Aliases"
msgstr "Font-Aliase"
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Fre"
@@ -291,6 +295,10 @@ msgstr ""
msgid "Ignore"
msgstr "Übergehen"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Information"
@@ -431,6 +439,14 @@ msgstr "Eine Datei öffnen"
msgid "Owner"
msgstr "Eigentümer"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Passwort"
@@ -447,6 +463,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Zuletzt verwendet"
@@ -491,6 +511,10 @@ msgstr "Datei speichern unter"
msgid "Search"
msgstr "Suchen"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Ausgewählte"
@@ -551,6 +575,10 @@ msgstr ""
msgid "Text to Insert"
msgstr ""
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Don"
@@ -619,3 +647,7 @@ msgstr "Ja"
msgid "Yes to All"
msgstr "Ja zu allem"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.en.po b/languages/fpgui.en.po
index 798e7fe5..fe4e5c70 100644
--- a/languages/fpgui.en.po
+++ b/languages/fpgui.en.po
@@ -268,6 +268,10 @@ msgstr ""
msgid "Font Aliases"
msgstr ""
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr ""
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr ""
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr ""
@@ -432,6 +440,14 @@ msgstr ""
msgid "Owner"
msgstr ""
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr ""
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr ""
@@ -492,6 +512,10 @@ msgstr ""
msgid "Search"
msgstr ""
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr ""
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr ""
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr ""
@@ -620,3 +648,7 @@ msgstr ""
msgid "Yes to All"
msgstr ""
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.es.po b/languages/fpgui.es.po
index 0a8aec1e..c33ce8af 100644
--- a/languages/fpgui.es.po
+++ b/languages/fpgui.es.po
@@ -268,6 +268,10 @@ msgstr "Ancho Fijo"
msgid "Font Aliases"
msgstr "Aliases de Fuentes"
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Vie"
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr "Ignorar"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Información"
@@ -432,6 +440,14 @@ msgstr "Abrir un archivo"
msgid "Owner"
msgstr "Dueño"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Contraseña"
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Usados Recientemente"
@@ -492,6 +512,10 @@ msgstr "Guardar como"
msgid "Search"
msgstr "Buscar"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Seleccionar"
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr ""
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Jun"
@@ -620,3 +648,7 @@ msgstr "Si"
msgid "Yes to All"
msgstr "Si a Todo"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.fr.po b/languages/fpgui.fr.po
index 000f85a6..8a740b3c 100644
--- a/languages/fpgui.fr.po
+++ b/languages/fpgui.fr.po
@@ -268,6 +268,10 @@ msgstr "Longueur fixe"
msgid "Font Aliases"
msgstr "Alias"
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Ven"
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr "Ignorer"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Information"
@@ -432,6 +440,14 @@ msgstr "Ouvrir un fichier"
msgid "Owner"
msgstr "Propriétaire"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Mot de passe"
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Récemment utilisé"
@@ -492,6 +512,10 @@ msgstr "Sauver sous"
msgid "Search"
msgstr "Chercher"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Selectionner"
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr "Texte à insérer"
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Jeu"
@@ -620,3 +648,7 @@ msgstr "Oui"
msgid "Yes to All"
msgstr "Oui à tous"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.it.po b/languages/fpgui.it.po
index d79541dd..9231802a 100644
--- a/languages/fpgui.it.po
+++ b/languages/fpgui.it.po
@@ -268,6 +268,10 @@ msgstr "Larghezza Fissa"
msgid "Font Aliases"
msgstr ""
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Ven"
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr "Ignora"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Informazione"
@@ -432,6 +440,14 @@ msgstr "Apri un file"
msgid "Owner"
msgstr "Proprietario"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Password"
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Usati Recentemente"
@@ -492,6 +512,10 @@ msgstr "Salva con nome"
msgid "Search"
msgstr "Cerca"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Seleziona"
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr ""
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Gio"
@@ -620,3 +648,7 @@ msgstr "Sì"
msgid "Yes to All"
msgstr "Sì a Tutto"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.po b/languages/fpgui.po
index 9938fdbd..d84c2be4 100644
--- a/languages/fpgui.po
+++ b/languages/fpgui.po
@@ -210,6 +210,10 @@ msgstr ""
msgid "Failed to create the directory <%s>"
msgstr ""
+#: fpg_constants:rsfailedtofindhelpviewer
+msgid "Failed to find the help viewer."
+msgstr ""
+
#: fpg_constants:rsfalse
msgid "False"
msgstr ""
@@ -606,7 +610,35 @@ msgstr ""
msgid "Yes to All"
msgstr ""
-#: fpg_constants:rsfailedtofindhelpviewer
-msgid "Failed to find the help viewer."
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
+#: fpg_constants:rsreportpreview
+msgid "Preview"
msgstr ""
diff --git a/languages/fpgui.pt.po b/languages/fpgui.pt.po
index 8734d864..ab5cddb2 100644
--- a/languages/fpgui.pt.po
+++ b/languages/fpgui.pt.po
@@ -268,6 +268,10 @@ msgstr "Largura Fixa"
msgid "Font Aliases"
msgstr ""
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Sex"
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr "Ignorar"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Informação"
@@ -432,6 +440,14 @@ msgstr "Abrir um arquivo"
msgid "Owner"
msgstr "Dono"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Senha"
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Recentemente Usado"
@@ -492,6 +512,10 @@ msgstr "Salvar arquivo como"
msgid "Search"
msgstr "Pesquisar"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Selecionar"
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr "Texto para Inserir"
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Qui"
@@ -620,3 +648,7 @@ msgstr "Sim"
msgid "Yes to All"
msgstr "Sim para todos"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/languages/fpgui.ru.po b/languages/fpgui.ru.po
index 90f434b9..7cf1cc80 100644
--- a/languages/fpgui.ru.po
+++ b/languages/fpgui.ru.po
@@ -268,6 +268,10 @@ msgstr "Моноширинные"
msgid "Font Aliases"
msgstr "Псевдонимы шрифтов"
+#: fpg_constants:rserrreportfontfilemissing
+msgid "Font file <%s.fnt> not found"
+msgstr ""
+
#: fpg_constants:rsshortfri
msgid "Fri"
msgstr "Пт"
@@ -292,6 +296,10 @@ msgstr ""
msgid "Ignore"
msgstr "Пропустить"
+#: fpg_constants:rserrreportimagefilemissing
+msgid "Image <%s> is missing"
+msgstr ""
+
#: fpg_constants:rsinformation
msgid "Information"
msgstr "Информация"
@@ -432,6 +440,14 @@ msgstr "Открыть файл"
msgid "Owner"
msgstr "Владелец"
+#: fpg_constants:rsfiletypepdf
+msgid "PDF Documents"
+msgstr ""
+
+#: fpg_constants:rsreportpage
+msgid "Page"
+msgstr ""
+
#: fpg_constants:rspassword
msgid "Password"
msgstr "Пароль"
@@ -448,6 +464,10 @@ msgstr ""
msgid "PgUp"
msgstr ""
+#: fpg_constants:rsreportpreview
+msgid "Preview"
+msgstr ""
+
#: fpg_constants:rscollectionrecentlyused
msgid "Recently Used"
msgstr "Ранее использованные"
@@ -492,6 +512,10 @@ msgstr "Сохранить файл как"
msgid "Search"
msgstr "Поиск"
+#: fpg_constants:rsreportsection
+msgid "Section"
+msgstr ""
+
#: fpg_constants:rsselect
msgid "Select"
msgstr "Выбрать"
@@ -552,6 +576,10 @@ msgstr ""
msgid "Text to Insert"
msgstr ""
+#: fpg_constants:rserrreportnopagestoprint
+msgid "There are no pages to print"
+msgstr ""
+
#: fpg_constants:rsshortthu
msgid "Thu"
msgstr "Чт"
@@ -620,3 +648,7 @@ msgstr "Да"
msgid "Yes to All"
msgstr "Да для всех"
+#: fpg_constants:rsreportpageof
+msgid "of"
+msgstr ""
+
diff --git a/src/corelib/lang_af.inc b/src/corelib/lang_af.inc
index 5a024dbc..bd15fe69 100644
--- a/src/corelib/lang_af.inc
+++ b/src/corelib/lang_af.inc
@@ -67,12 +67,14 @@ rsfiles = 'Lêers';
rsfind = 'Vind';
rscollectionfixedwidth = 'Vaste wydte';
rscollectionfontaliases = 'Font Kenname';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Vr';
rslongfri = 'Vrydag';
rsfilegroup = 'Groep';
rshelp = 'Help';
rskeyhome = 'Home';
rsignore = 'Ignoreer';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Informasie';
rskeyins = 'Ins';
rsinsert = 'Invoeg';
@@ -109,10 +111,13 @@ rslongoct = 'Oktober';
rsopen = 'Open';
rsopenafile = 'Maak ''n leêr op';
rsfileowner = 'Eienaar';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Wagwoord';
rspaste = 'Plak';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Onlangs gebruik';
rsreplace = 'Vervang';
rsretry = 'Herprobeer';
@@ -124,6 +129,7 @@ rslongsat = 'Saterdag';
rssave = 'Stoor';
rssaveafile = 'Stoor ''n lêer as';
rssearch = 'Soek';
+rsreportsection = 'Section';
rsselect = 'Kies';
rsselectadirectory = 'Kies ''n lêergids';
rsselectafont = 'Kies ''n lettertipe';
@@ -139,6 +145,7 @@ rsshortsun = 'So';
rslongsun = 'Sondag';
rskeytab = 'Tab';
rstexttoinsert = 'Teks om in te voeg';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Do';
rslongthu = 'Donderdag';
rstoday = 'Vandag';
@@ -156,3 +163,4 @@ rslongwed = 'Woensdag';
rsaddnewitem = 'Wil jy die nuwe item <%s> in die lys bylas?';
rsyes = 'Ja';
rsyestoall = 'Ja vir Alles';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_de.inc b/src/corelib/lang_de.inc
index 2d16926a..e8fe0a9a 100644
--- a/src/corelib/lang_de.inc
+++ b/src/corelib/lang_de.inc
@@ -67,12 +67,14 @@ rsfiles = 'Dateien';
rsfind = 'Finden';
rscollectionfixedwidth = 'Feste Breite';
rscollectionfontaliases = 'Font-Aliase';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Fre';
rslongfri = 'Freitag';
rsfilegroup = 'Gruppe';
rshelp = 'Hilfe';
rskeyhome = 'Home';
rsignore = 'Übergehen';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Information';
rskeyins = 'Ins';
rsinsert = 'Einfügen';
@@ -109,10 +111,13 @@ rslongoct = 'Oktober';
rsopen = 'Öffnen';
rsopenafile = 'Eine Datei öffnen';
rsfileowner = 'Eigentümer';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Passwort';
rspaste = 'Einfügen';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Zuletzt verwendet';
rsreplace = 'Ersetzen';
rsretry = 'Wiederholen';
@@ -124,6 +129,7 @@ rslongsat = 'Samstag';
rssave = 'Speichern';
rssaveafile = 'Datei speichern unter';
rssearch = 'Suchen';
+rsreportsection = 'Section';
rsselect = 'Ausgewählte';
rsselectadirectory = 'Wählen Sie ein Verzeichnis';
rsselectafont = 'Schriftart auswählen';
@@ -139,6 +145,7 @@ rsshortsun = 'Son';
rslongsun = 'Sonntag';
rskeytab = 'Tab';
rstexttoinsert = 'Text to Insert';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Don';
rslongthu = 'Donnerstag';
rstoday = 'Heute';
@@ -156,3 +163,4 @@ rslongwed = 'Mittwoch';
rsaddnewitem = 'Soll der neue Eintrag <%s> in die Liste aufgenommen werden?';
rsyes = 'Ja';
rsyestoall = 'Ja zu allem';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_en.inc b/src/corelib/lang_en.inc
index a7ada1ae..6a681932 100644
--- a/src/corelib/lang_en.inc
+++ b/src/corelib/lang_en.inc
@@ -67,12 +67,14 @@ rsfiles = 'Files';
rsfind = 'Find';
rscollectionfixedwidth = 'Fixed Width';
rscollectionfontaliases = 'Font Aliases';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Fri';
rslongfri = 'Friday';
rsfilegroup = 'Group';
rshelp = 'Help';
rskeyhome = 'Home';
rsignore = 'Ignore';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Information';
rskeyins = 'Ins';
rsinsert = 'Insert';
@@ -109,10 +111,13 @@ rslongoct = 'October';
rsopen = 'Open';
rsopenafile = 'Open a file';
rsfileowner = 'Owner';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Password';
rspaste = 'Paste';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Recently Used';
rsreplace = 'Replace';
rsretry = 'Retry';
@@ -124,6 +129,7 @@ rslongsat = 'Saturday';
rssave = 'Save';
rssaveafile = 'Save file as';
rssearch = 'Search';
+rsreportsection = 'Section';
rsselect = 'Select';
rsselectadirectory = 'Select a Directory';
rsselectafont = 'Select a font';
@@ -139,6 +145,7 @@ rsshortsun = 'Sun';
rslongsun = 'Sunday';
rskeytab = 'Tab';
rstexttoinsert = 'Text to Insert';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Thu';
rslongthu = 'Thursday';
rstoday = 'Today';
@@ -156,3 +163,4 @@ rslongwed = 'Wednesday';
rsaddnewitem = 'Would you like to add the new item <%s> to the list?';
rsyes = 'Yes';
rsyestoall = 'Yes to All';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_es.inc b/src/corelib/lang_es.inc
index a30a484e..780af188 100644
--- a/src/corelib/lang_es.inc
+++ b/src/corelib/lang_es.inc
@@ -67,12 +67,14 @@ rsfiles = 'Archivos';
rsfind = 'Buscar';
rscollectionfixedwidth = 'Ancho Fijo';
rscollectionfontaliases = 'Aliases de Fuentes';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Vie';
rslongfri = 'Viernes';
rsfilegroup = 'Grupo';
rshelp = 'Ayuda';
rskeyhome = 'Home';
rsignore = 'Ignorar';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Información';
rskeyins = 'Ins';
rsinsert = 'Insertar';
@@ -109,10 +111,13 @@ rslongoct = 'October';
rsopen = 'Abrir';
rsopenafile = 'Abrir un archivo';
rsfileowner = 'Dueño';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Contraseña';
rspaste = 'Pegar';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Usados Recientemente';
rsreplace = 'Reemplazar';
rsretry = 'Reintentar';
@@ -124,6 +129,7 @@ rslongsat = 'Sábado';
rssave = 'Guardar';
rssaveafile = 'Guardar como';
rssearch = 'Buscar';
+rsreportsection = 'Section';
rsselect = 'Seleccionar';
rsselectadirectory = 'Seleccione un directorio';
rsselectafont = 'Seleccione una fuente';
@@ -139,6 +145,7 @@ rsshortsun = 'Dom';
rslongsun = 'Domingo';
rskeytab = 'Tab';
rstexttoinsert = 'Text to Insert';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Jun';
rslongthu = 'Jueves';
rstoday = 'Today';
@@ -156,3 +163,4 @@ rslongwed = 'Miércoles';
rsaddnewitem = 'Would you like to add the new item <%s> to the list?';
rsyes = 'Si';
rsyestoall = 'Si a Todo';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_fr.inc b/src/corelib/lang_fr.inc
index 774348d1..7409c5ff 100644
--- a/src/corelib/lang_fr.inc
+++ b/src/corelib/lang_fr.inc
@@ -67,12 +67,14 @@ rsfiles = 'Fichiers';
rsfind = 'Trouver';
rscollectionfixedwidth = 'Longueur fixe';
rscollectionfontaliases = 'Alias';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Ven';
rslongfri = 'Vendredi';
rsfilegroup = 'Groupe';
rshelp = 'Aide';
rskeyhome = 'Home';
rsignore = 'Ignorer';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Information';
rskeyins = 'Ins';
rsinsert = 'Insérer';
@@ -109,10 +111,13 @@ rslongoct = 'Octobre';
rsopen = 'Ouvrir';
rsopenafile = 'Ouvrir un fichier';
rsfileowner = 'Propriétaire';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Mot de passe';
rspaste = 'Coller';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Récemment utilisé';
rsreplace = 'Remplacer';
rsretry = 'Retenter';
@@ -124,6 +129,7 @@ rslongsat = 'Samedi';
rssave = 'Sauver';
rssaveafile = 'Sauver sous';
rssearch = 'Chercher';
+rsreportsection = 'Section';
rsselect = 'Selectionner';
rsselectadirectory = 'Sélectionner un répertoire';
rsselectafont = 'Choisir la police';
@@ -139,6 +145,7 @@ rsshortsun = 'Dim';
rslongsun = 'Dimanche';
rskeytab = 'Tab';
rstexttoinsert = 'Texte à insérer';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Jeu';
rslongthu = 'Jeudi';
rstoday = 'Aujourd''''hui';
@@ -156,3 +163,4 @@ rslongwed = 'Mercredi';
rsaddnewitem = 'Voulez-vous ajouter l''''item <%s> à la liste?';
rsyes = 'Oui';
rsyestoall = 'Oui à tous';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_it.inc b/src/corelib/lang_it.inc
index 976fe22e..2ab860ad 100644
--- a/src/corelib/lang_it.inc
+++ b/src/corelib/lang_it.inc
@@ -67,12 +67,14 @@ rsfiles = 'Files';
rsfind = 'Trova';
rscollectionfixedwidth = 'Larghezza Fissa';
rscollectionfontaliases = 'Font Aliases';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Ven';
rslongfri = 'Venerdì';
rsfilegroup = 'Gruppo';
rshelp = 'Aiuto';
rskeyhome = 'Home';
rsignore = 'Ignora';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Informazione';
rskeyins = 'Ins';
rsinsert = 'Inserisci';
@@ -109,10 +111,13 @@ rslongoct = 'Ottobre';
rsopen = 'Apri';
rsopenafile = 'Apri un file';
rsfileowner = 'Proprietario';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Password';
rspaste = 'Incolla';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Usati Recentemente';
rsreplace = 'Sostituisci';
rsretry = 'Riprova';
@@ -124,6 +129,7 @@ rslongsat = 'Sabato';
rssave = 'Salva';
rssaveafile = 'Salva con nome';
rssearch = 'Cerca';
+rsreportsection = 'Section';
rsselect = 'Seleziona';
rsselectadirectory = 'Selezionare una directory';
rsselectafont = 'Seleziona un font';
@@ -139,6 +145,7 @@ rsshortsun = 'Dom';
rslongsun = 'Domenica';
rskeytab = 'Tab';
rstexttoinsert = 'Text to Insert';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Gio';
rslongthu = 'Giovedì';
rstoday = 'Oggi';
@@ -156,3 +163,4 @@ rslongwed = 'Mercoledì';
rsaddnewitem = 'Vorresti aggiungere il nuovo elemento <%s> alla lista?';
rsyes = 'Sì';
rsyestoall = 'Sì a Tutto';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_pt.inc b/src/corelib/lang_pt.inc
index e8c31f0a..f9c4aa13 100644
--- a/src/corelib/lang_pt.inc
+++ b/src/corelib/lang_pt.inc
@@ -67,12 +67,14 @@ rsfiles = 'Arquivos';
rsfind = 'Encontrar';
rscollectionfixedwidth = 'Largura Fixa';
rscollectionfontaliases = 'Font Aliases';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Sex';
rslongfri = 'Sexta-feira';
rsfilegroup = 'Grupo';
rshelp = 'Ajuda';
rskeyhome = 'Home';
rsignore = 'Ignorar';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Informação';
rskeyins = 'Ins';
rsinsert = 'Inserir';
@@ -109,10 +111,13 @@ rslongoct = 'Outubro';
rsopen = 'Abir';
rsopenafile = 'Abrir um arquivo';
rsfileowner = 'Dono';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Senha';
rspaste = 'Colar';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Recentemente Usado';
rsreplace = 'Substituir';
rsretry = 'Retentar';
@@ -124,6 +129,7 @@ rslongsat = 'Sabado';
rssave = 'Salvar';
rssaveafile = 'Salvar arquivo como';
rssearch = 'Pesquisar';
+rsreportsection = 'Section';
rsselect = 'Selecionar';
rsselectadirectory = 'Selecione um diretório';
rsselectafont = 'Selecione a fonte';
@@ -139,6 +145,7 @@ rsshortsun = 'Sun';
rslongsun = 'Sunday';
rskeytab = 'Tab';
rstexttoinsert = 'Texto para Inserir';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Qui';
rslongthu = 'Quinta-feira';
rstoday = 'Hoje';
@@ -156,3 +163,4 @@ rslongwed = 'Quarta-feira';
rsaddnewitem = 'Você gostaria de adicionar um novo item <%s> para a lista?';
rsyes = 'Sim';
rsyestoall = 'Sim para todos';
+rsreportpageof = 'of';
diff --git a/src/corelib/lang_ru.inc b/src/corelib/lang_ru.inc
index 2d8f5021..a6d8a46e 100644
--- a/src/corelib/lang_ru.inc
+++ b/src/corelib/lang_ru.inc
@@ -67,12 +67,14 @@ rsfiles = 'Файлы';
rsfind = 'Найти';
rscollectionfixedwidth = 'Моноширинные';
rscollectionfontaliases = 'Псевдонимы шрифтов';
+rserrreportfontfilemissing = 'Font file <%s.fnt> not found';
rsshortfri = 'Пт';
rslongfri = 'Пятница';
rsfilegroup = 'Группа';
rshelp = 'Справка';
rskeyhome = 'Home';
rsignore = 'Пропустить';
+rserrreportimagefilemissing = 'Image <%s> is missing';
rsinformation = 'Информация';
rskeyins = 'Ins';
rsinsert = 'Вставка';
@@ -109,10 +111,13 @@ rslongoct = 'Октябрь';
rsopen = 'Открыть';
rsopenafile = 'Открыть файл';
rsfileowner = 'Владелец';
+rsfiletypepdf = 'PDF Documents';
+rsreportpage = 'Page';
rspassword = 'Пароль';
rspaste = 'Вставить';
rskeypgdn = 'PgDn';
rskeypgup = 'PgUp';
+rsreportpreview = 'Preview';
rscollectionrecentlyused = 'Ранее использованные';
rsreplace = 'Заменить';
rsretry = 'Повторить';
@@ -124,6 +129,7 @@ rslongsat = 'Суббота';
rssave = 'Сохранить';
rssaveafile = 'Сохранить файл как';
rssearch = 'Поиск';
+rsreportsection = 'Section';
rsselect = 'Выбрать';
rsselectadirectory = 'Выберите директорию';
rsselectafont = 'Выбор шрифта';
@@ -139,6 +145,7 @@ rsshortsun = 'Вс';
rslongsun = 'Воскресенье';
rskeytab = 'Tab';
rstexttoinsert = 'Text to Insert';
+rserrreportnopagestoprint = 'There are no pages to print';
rsshortthu = 'Чт';
rslongthu = 'Четверг';
rstoday = 'Сегодня';
@@ -156,3 +163,4 @@ rslongwed = 'Среда';
rsaddnewitem = 'Добавить новый элемент <%s> в список?';
rsyes = 'Да';
rsyestoall = 'Да для всех';
+rsreportpageof = 'of';
diff --git a/src/reportengine/u_pdf.pas b/src/reportengine/u_pdf.pas
index f1faf700..9f31bada 100644
--- a/src/reportengine/u_pdf.pas
+++ b/src/reportengine/u_pdf.pas
@@ -1482,8 +1482,7 @@ begin
Result := FontDef.FType;
end
else
- { TODO: Localize this message }
- ShowMessage('Font file ' + NomFonte + '.fnt not found');
+ ShowMessage(Format(rsErrReportFontFileMissing, [NomFonte]));
end;
procedure TPdfDocument.CreateTtfFont(const NumFonte: integer);
diff --git a/src/reportengine/u_report.pas b/src/reportengine/u_report.pas
index 50672245..6fd2ac0b 100644
--- a/src/reportengine/u_report.pas
+++ b/src/reportengine/u_report.pas
@@ -2746,8 +2746,7 @@ begin
PaintImage(Horiz, Verti, ColNum, RefImage, zPage);
end
else
- { TODO: localize this message }
- ShowMessage('Image ' + ImgFileName + ' is missing');
+ ShowMessage(Format(rsErrReportImageFileMissing, [ImgFileName]));
end;
procedure T_Report.ImageFooter(Horiz, Verti: single; ImgFileName: string; ColNum, Scale: integer);
@@ -2787,8 +2786,7 @@ begin
PaintImage(Horiz, Verti, ColNum, RefImage, zPage);
end
else
- { TODO: localize this message }
- ShowMessage('Image ' + ImgFileName + ' is missing');
+ ShowMessage(Format(rsErrReportImageFileMissing, [ImgFileName]));
end;
procedure T_Report.PrintPdf(Layout: TPageLayout; Zoom: string; Prefer: Boolean);
@@ -2799,13 +2797,13 @@ var
begin
if T_Section(Sections[Pred(Sections.Count)]).TotPages = 0 then
begin
- ShowMessage('There is no file to print');
+ ShowMessage(rsErrReportNoPagesToPrint);
Exit;
end;
Fd_SavePdf := TfpgFileDialog.Create(nil);
Fd_SavePdf.InitialDir := fpgExtractFilePath(ParamStr(0));
- Fd_SavePdf.Filter := 'PDF Documents |*.pdf';
+ Fd_SavePdf.Filter := rsFileTypePDF + ' |*.pdf';
Fd_SavePdf.FileName := DefaultFile;
try
if Fd_SavePdf.RunSaveFile then
diff --git a/src/reportengine/u_visu.pas b/src/reportengine/u_visu.pas
index bb8e9542..bd82c704 100644
--- a/src/reportengine/u_visu.pas
+++ b/src/reportengine/u_visu.pas
@@ -107,15 +107,16 @@ var
implementation
uses
+ fpg_constants,
U_Command,
U_ReportImages;
procedure TF_Visu.FormShow(Sender: TObject);
begin
- L_Pages.Text := 'Page';
- L_Sections.Text := 'Section';
- L_PageSect.Text := 'Page';
- L_FromPage.Text := 'of';
+ L_Pages.Text := rsReportPage;
+ L_Sections.Text := rsReportSection;
+ L_PageSect.Text := rsReportPage;
+ L_FromPage.Text := rsReportPageOf;
with FReport do
begin
if Sections.Count = 1 then
@@ -474,7 +475,7 @@ begin
inherited Create(AOwner);
FReport := AImprime;
Name := 'F_Visu';
- WindowTitle := 'Preview';
+ WindowTitle := rsReportPreview;
WindowPosition := wpAuto;
if fpgApplication.ScreenWidth < 1055 then
w := fpgApplication.ScreenWidth
@@ -519,20 +520,20 @@ begin
E_NumPage.OnKeyPress := @E_NumPageKeypress;
Bt_NextPage := CreateButton(Bv_Pages, 174, 6, 26, '', @Bt_NextPageClick, 'repimg.Next');
Bt_LastPage := CreateButton(Bv_Pages, 200, 6, 26, '', @Bt_LastPageClick, 'repimg.Last');
- L_Pages := CreateLabel(Bv_Pages, 5, E_NumPage.Top, 'Page', 45, E_NumPage.Height, taLeftJustify, tlcenter);
- L_FromPage := CreateLabel(Bv_Pages, 235, E_NumPage.Top, 'of', 30, E_NumPage.Height, taLeftJustify, tlcenter);
+ L_Pages := CreateLabel(Bv_Pages, 5, E_NumPage.Top, rsReportPage, 45, E_NumPage.Height, taLeftJustify, tlcenter);
+ L_FromPage := CreateLabel(Bv_Pages, 235, E_NumPage.Top, rsReportPageOf, 30, E_NumPage.Height, taLeftJustify, tlcenter);
L_NbrPages := CreateLabel(Bv_Pages, 265, E_NumPage.Top, ' ', 30, E_NumPage.Height, taCenter, tlcenter);
Bt_PrecSect := CreateButton(Bv_Sections, 90, 6, 26, '', @Bt_PrecSectClick, 'repimg.Precedent');
E_NumSect := CreateEditInteger(Bv_Sections, 120, 6, 60, 0);
E_NumSect.OnKeyPress := @E_NumSectKeyPress;
Bt_NextSect := CreateButton(Bv_Sections, 184, 6, 26, '', @Bt_NextSectClick, 'repimg.Next');
- L_Sections := CreateLabel(Bv_Sections, 5, E_NumSect.Top, 'Section', 75, E_NumSect.Height, taLeftJustify, tlcenter);
- L_FromSect := CreateLabel(Bv_Sections, 250, E_NumSect.Top, 'of', 30, E_NumSect.Height, taLeftJustify, tlcenter);
+ L_Sections := CreateLabel(Bv_Sections, 5, E_NumSect.Top, rsReportSection, 75, E_NumSect.Height, taLeftJustify, tlcenter);
+ L_FromSect := CreateLabel(Bv_Sections, 250, E_NumSect.Top, rsReportPageOf, 30, E_NumSect.Height, taLeftJustify, tlcenter);
L_NbrSect := CreateLabel(Bv_Sections, 280, E_NumSect.Top, '-', 30, E_NumSect.Height, taLeftJustify, tlcenter);
- L_PageSect := CreateLabel(Bv_Sections, 320, E_NumSect.Top, 'Page', 45, E_NumSect.Height, taLeftJustify, tlcenter);
+ L_PageSect := CreateLabel(Bv_Sections, 320, E_NumSect.Top, rsReportPage, 45, E_NumSect.Height, taLeftJustify, tlcenter);
L_NumPageSect := CreateLabel(Bv_Sections, 365, E_NumSect.Top, '-', 30, E_NumSect.Height, taLeftJustify, tlcenter);
- L_FromPageSect := CreateLabel(Bv_Sections, 410, E_NumSect.Top, 'of', 30, E_NumSect.Height, taLeftJustify, tlcenter);
+ L_FromPageSect := CreateLabel(Bv_Sections, 410, E_NumSect.Top, rsReportPageOf, 30, E_NumSect.Height, taLeftJustify, tlcenter);
L_NbrPageSect := CreateLabel(Bv_Sections, 440, E_NumSect.Top, '-', 30, E_NumSect.Height, taLeftJustify, tlcenter);
Bv_Visu := Bv_PreviewPage; // assign to global reference variable