Grid2Print - Suggestions

Source code related resources

Moderator: Rathinagiri

User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Grid2Print - Suggestions

Post by luisvasquezcl »

Hello,
The idea is that you see prominently in the message samples in the status bar.
Greetings
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Grid2Print - Suggestions

Post by Rathinagiri »

Ok. I understand. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Grid2Print - Suggestions

Post by Rathinagiri »

Here is the latest version of GridPrint.

Change log:

1. I had grouped all the message strings in an array to make it easy to translate into various languages.
2. The first item of the grid in "columns" page is selected by default. (Thanks a lot Esgici)

Now I am working on browse/grids with data types other than character string along with my wish list.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid2Print - Suggestions

Post by esgici »

rathinagiri wrote: Here is the latest version of GridPrint.
Good job, thanks a lot Rathi.

Regards

--

esgici
Viva INTERNATIONAL HMG :D
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Grid2Print - Suggestions

Post by Roberto Lopez »

rathinagiri wrote:Here is the latest version of GridPrint.

Change log:

1. I had grouped all the message strings in an array to make it easy to translate into various languages.
2. The first item of the grid in "columns" page is selected by default. (Thanks a lot Esgici)

Now I am working on browse/grids with data types other than character string along with my wish list.
Great!

I'll try to do the Spanish translation during weekend.

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Grid2Print - Suggestions

Post by Roberto Lopez »

rathinagiri wrote:Here is the latest version of GridPrint.

Change log:

1. I had grouped all the message strings in an array to make it easy to translate into various languages.
2. The first item of the grid in "columns" page is selected by default. (Thanks a lot Esgici)

Now I am working on browse/grids with data types other than character string along with my wish list.
I've downloaded but I can't find the message array. The messages appears to be simply declared in the controls, ie: (line 166):

value "Select the Columns in the Report"

Regards,

ROberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid2Print - Suggestions

Post by esgici »

Roberto Lopez wrote: I've downloaded but I can't find the message array. The messages appears to be simply declared in the controls, ie: (line 166):

value "Select the Columns in the Report"
Hi Roberto

IMHO this is first version. Sometimes file conflicts may appear in file servers.

My downloaded ( last ) version is different, include msgArray.

IMHO you have re-download.


Regards.

--

esgici
Viva INTERNATIONAL HMG :D
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Grid2Print - Suggestions

Post by Roberto Lopez »

rathinagiri wrote:Here is the latest version of GridPrint.

Change log:

1. I had grouped all the message strings in an array to make it easy to translate into various languages.
2. The first item of the grid in "columns" page is selected by default. (Thanks a lot Esgici)

Now I am working on browse/grids with data types other than character string along with my wish list.
Ok.

Attached is my humble contribution to grid2print.

I've translated interface messages to Spanish and added a 'Do Case' structure, similar to the others in HMG to suppor multiple languages automatically.

We need now the collaboration of users of native languages other than English.

I guess that we have some of them here :)

Code: Select all

Local cLang

	cLang := Set ( _SET_LANGUAGE )

	// LANGUAGES NOT SUPPORTED BY hb_langSelect() FUNCTION.

	IF _HMG_SYSDATA [ 211 ] == 'FI'		// FINNISH
		cLang := 'FI'
	ELSEIF _HMG_SYSDATA [ 211 ] == 'NL'	// DUTCH
		cLang := 'NL'
	ENDIF


	do case

        case cLang == "TRWIN" .OR. cLang == "TR"
	////////////////////////////////////////////////////////////
	// TÜRKÇE
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang ==  "CS" .OR. cLang == "CSWIN"
	/////////////////////////////////////////////////////////////
	// CZECH
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "HR852"
	/////////////////////////////////////////////////////////////
	// CROATIAN
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "EU"
	/////////////////////////////////////////////////////////////
	// BASQUE
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "EN"
	/////////////////////////////////////////////////////////////
	// ENGLISH
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "FR"
	/////////////////////////////////////////////////////////////
	// FRENCH
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "DEWIN" .OR. cLang == "DE"
	/////////////////////////////////////////////////////////////
	// GERMAN
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

	case cLang == "IT"
	/////////////////////////////////////////////////////////////
	// ITALIAN
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "PLWIN"  .OR. cLang == "PL852"  .OR. cLang == "PLISO"  .OR. cLang == ""  .OR. cLang == "PLMAZ"
	/////////////////////////////////////////////////////////////
	// POLISH
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "PT"
	/////////////////////////////////////////////////////////////
	// PORTUGUESE
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "RUWIN"  .OR. cLang == "RU866" .OR. cLang == "RUKOI8"
	/////////////////////////////////////////////////////////////
	// RUSSIAN
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "ES"  .OR. cLang == "ESWIN"
	/////////////////////////////////////////////////////////////
	// SPANISH
	////////////////////////////////////////////////////////////

	private msgarr := {"Nada para imprimir",;
                   "No hay impresoras instaladas!",;
                   "Asistente de Impresión",;
                   "Generador de Reportes",;
                   "Columnas",;
                   "Nombre de la columna",;
                   "Ancho (mm)",;
                   "Doble clic en una columna para seleccionar o deselecionarla para impresión",;
                   "Editar tamaño del texto de columna",;
                   "Ancho Total :",;
                   "out of",;
                   "Encabezado 1",;
                   "Encabezado 2",;
                   "Encabezado 3",;
                   "Pie de Página 1",;
                   "Propiedades del Reporte",;
                   "Tamaño de Fuente",;
                   "Línea larga",;
                   "Ajuste de Línea",;
                   "Truncar",;
                   "Paginación",;
                   "Apagado",;
                   "Superior",;
                   "Inferior",;
                   "Líneas de Grilla",;
                   "Columna",;
                   "Fila",;
                   "Centrado de Página",;
                   "Vertical",;
                   "Página/Impresora",;
                   "Orientación",;
                   "Horizontal",;
                   "Vertical",;
                   "Impresora: ",;
                   "Tamaño de Página",;
                   "Ancho de Página",;
                   "Altura de Página",;
                   "Márgenes (mm)",;
                   "Superior",;
                   "Derecho",;
                   "Izquierdo",;
                   "Inferior",;
                   "Imprimir",;
                   "Cancelar",;
                   "Bienvenido al asistente de Impresión",;
                   "Ha seleccionado más columnas de las que entran en una página!",;
                   "You have to select a printer!",;
                   "La impresora no puede ser seleccionada! Verifique la disponibilidad de la impresora.",;
                   "Página Nro. :",;
                   "Tamaño :",;
                   "Hecho",;
                   "EL tamaño de las columnas que no sean del tipo texto no pueden modificarse!",;
                   "Constantes de justificación no dadas apropiadamente.",;
                   }

        case cLang == "FI"
	///////////////////////////////////////////////////////////////////////
	// FINNISH
	///////////////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }
	
        case cLang == "NL"
	/////////////////////////////////////////////////////////////
	// DUTCH
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

        case cLang == "SLWIN" .OR. cLang == "SLISO" .OR. cLang == "SL852" .OR. cLang == "" .OR. cLang == "SL437"
  	/////////////////////////////////////////////////////////////
	// SLOVENIAN
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

	OtherWise
	/////////////////////////////////////////////////////////////
	// DEFAULT (ENGLISH)
	////////////////////////////////////////////////////////////

	private msgarr := {"Nothing to print",;
                   "No printers have been installed!",;
                   "Print Wizard",;
                   "Report Writer",;
                   "Columns",;
                   "Name of the Column",;
                   "Width (mm)",;
                   "Double Click a Column to toggle between selecting and not selecting for printing.",;
                   "Edit Text Column Size",;
                   "Total Width :",;
                   "out of",;
                   "Header 1",;
                   "Header 2",;
                   "Header 3",;
                   "Footer 1",;
                   "Report Properties",;
                   "Font Size",;
                   "Lengthy Line",;
                   "Word Wrap",;
                   "Truncate",;
                   "Pagination",;
                   "Off",;
                   "Top",;
                   "Bottom",;
                   "Grid Lines",;
                   "Column",;
                   "Row",;
                   "Page Center",;
                   "Vertical",;
                   "Page/Printer",;
                   "Orientation",;
                   "Landscape",;
                   "Portrait",;
                   "Printer: ",;
                   "Page Size",;
                   "Page Width",;
                   "Page Height",;
                   "Margins (mm)",;
                   "Top",;
                   "Right",;
                   "Left",;
                   "Bottom",;
                   "Print",;
                   "Cancel",;
                   "Welcome to Print Wizard",;
                   "You had selected more columns than to fit in a page!",;
                   "You have to select a printer!",;
                   "Printer could not be selected! Check Availability of Printer.",;
                   "Page No. :",;
                   "Size :",;
                   "Done",;
                   "Size of Columns other than text type can not be modified!",;
                   "Justification constants not given properly.",;
                   }

	endcase

Regards,

Roberto.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Grid2Print - Suggestions

Post by Rathinagiri »

Oh! Thanks a LOT Roberto. Does your day have more than 24 hours?! ;)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Grid2Print - Suggestions

Post by esgici »

Roberto Lopez wrote:
Attached is my humble contribution to grid2print.
...
We need now the collaboration of users of native languages other than English.
Ok; mine is here:

Code: Select all

      case cLang == "TRWIN" .OR. cLang == "TR"
   ////////////////////////////////////////////////////////////
   // TÜRKÇE
   ////////////////////////////////////////////////////////////

   private msgarr := {"Yazdırılacak bir şey yok",;
                      "Kurulu yazıcı yok!",;
                      "Yazdırma Sihirbazı",;
                      "Rapor Yazıcı",;
                      "Sütunlar",;
                      "Sütun Adı"",;
                      "Genişlik (mm)",;
                      "Yazıcı seçimi için bir sütunu çift tıklayın",; 
                      "Metin sütun genişliğini değiştir",;
                      "Toplam Genişlik :",;
                      "dışında",;
                      "Başlık 1",;
                      "Başlık 2",;
                      "Başlık 3",;
                      "Altlık 1",;
                      "Rapor Özellikleri",;
                      "Font Boyutu",;
                      "Uzun Satır",;
                      "Sözcük kaydır",;
                      "Kes",;
                      "Sayfalama",;
                      "Kapalı",;
                      "Üst",;
                      "Alt",;
                      "Izgara Satırları",;
                      "Sütun",;
                      "Satır",;
                      "Sayfa Ortalama",;
                      "Dikey",;
                      "Sayfa/Yazıcı",;
                      "Baskı Yönü",;
                      "Manzara",;
                      "Portre",;
                      "Yazıcı: ",;
                      "Sayfa Boyutu",;
                      "Sayfa Genişliği",;
                      "Sayfa Yüksekliği",;
                      "Kenar Boşlukları (mm)",;
                      "Üst",;
                      "Sağ",;
                      "Sol",;
                      "Alt",;
                      "Yazdır",;
                      "İptal",;
                      "Yazdırma Sihirbazına Hoşgeldiniz",;
                      "Sayfanın alabileceğinden fazla sütun seçtiniz!",;
                      "Bir Yazıcı Seçmelisiniz!",;
                      "Yazıcı seçilmedi! Yazıcı var mı denetle.",;
                      "Sayfa No. :",;
                      "Boyut :",;
                      "Tamam",;
                      "Metin türü dışında Sütun Boyutu değiştirilemez!",;
                      "Yanaştırma sabitleri düzgün verilmedi."  }
Regards

--

esgici
Viva INTERNATIONAL HMG :D
Post Reply