# msgs/ROOT.msg
#
# To translate the user interface strings to another language,
# make a copy of this file and store it in the same directory. Its
# name should be something like:
#
#     en.msg    for English, or
#     en_us.msg for US English, or
#     en_gb.msg for UK English
#     nl.msg    for Dutch, or
#     de.msg    for German, or
#     de_ch.msg for Swiss German, etc.
#
# ROOT.msg is the default language file and will be used if there
# is no msg-file matching the user's locale.
#
# This file must be encoded in UTF-8. Always check that your text editor
# displays the following characters correctly:
#     &euml : ë
#     &oelig : œ
#     &ccedil: ç
#     &euro : €

package require Tcl 8.5
package require msgcat 1.4.2

# specify the locale in the next statement:
#   {} for any, en for English, en_us for US English, en_gb for UK English
#   nl for Dutch, or de_ch for Swiss German, etc.

set locale {}

# In defintions for menus, buttons and notebook tabs, 1 character can
# be underlined, which has a special meaning for keyboard shortcuts:
# pressing ALT-<underlined character> invokes the menu, button or notebook
# tab. In this file, underlined characters are indicated by a "&" before
# the character that has to be underlined.

# Menu definitions
::msgcat::mcmset $locale {

mnuDatabase
{&Database}

mnuOpen
{&Open}

mnuClose
{&Close}

mnuQuit
{&Quit}

mnuSQL
{&SQL}

mnuTools
{&Tools}

mnuInstallTables
{install &pfm_* tables}

mnuInstallExample
{install &example database ...}

mnuOptions
{&Options}

mnuIncrFont
{&Bigger fonts}

mnuDecrFont
{&Smaller fonts}

mnuHelp
{&Help}

mnuHelpFile
{&Help file}

mnuLicense
{&License}

mnuAbout
{&About}

}

# Button defintions
::msgcat::mcmset $locale {

btnOK
{&OK}

btnCancel
{&Cancel}

btnYes
{&Yes}

btnNo
{&No}

btnDefault
{&Default}

btnHelp
{&Help}

btnOpen
{&Open}

btnRun
{&Run}

btnAdd
{&Add}

btnUpdate
{&Update}

btnDelete
{&Delete}

btnNext
{&Next}

btnPrev
{&Previous}

btnClear
{&Clear}

btnWrap
{&Wrap}

btnExpand
{E&xpand}

btnSelect
{&Select}

btnSearch
{&Search}

lbReadOnly
{READ ONLY}

}

# Main window

::msgcat::mcmset $locale {

pfm_no_database
{pfm - No database opened}

tabForms
{&Forms}

tabDesign
{D&esign}

tabReports
{&Reports}

lblForms
{List of forms}

lblDesign
{Forms for designing forms and reports}

lblReports
{Reports}

lblDescription
{Description}

browser_failed
{Command %1$s has failed:
%2$s}

about_pfm
{Postgres Forms (pfm) version %1$s

Copyright © Willem Herremans 2004-2011

Postgres Forms comes with ABSOLUTELY NO WARRANTY.

This is free software, and you are welcome to redistribute it under certain conditions.

See 'Help -> License' for details.

The pfm home page is at http://pgfoundry.org/projects/pfm. There you can report bugs, request new features and get support.

pfm is using %4$s as Tcl run time environment. The Tcl version is %5$s.

pfm is using %3$s to communicate with PostgreSQL.

pfm is installed in %2$s}

OpenDialog
{pfm - Open database}

lb_host
{host}

lb_port
{port}

lb_dbname
{dbname}

lb_user
{user}

pfm_tables_newer
{This database contains pfm_* tables of version %2$s whereas this
version of pfm can only work with tables of version %1$s.
You are strongly advised to upgrade to a newer version of pfm}

noTables
{This database does not contain the pfm_* tables. You can run SQL commands, but you cannot use or design forms or reports.

Hint: Use 'Tools -> Install pfm_* tables' or 'Tools -> Install example database...'}

convertDB
{pfm - Convert database?}

questionConvertDB
{This database contains pfm_* tables of version %2$s whereas this
version of pfm requires pfm_* tables of version %1$s.
Do you want to convert the pfm_* tables to the newer version?}

oldVersion
{This database contains pfm_* tables of version %2$s whereas this
version of pfm requires pfm_* tables of version %1$s.
Continue at your own risk.}

watchScript
{The script %s is going to be executed.
Please check the output for errors.}

scriptNotFound
{The script %s does not exist.}

pressOkWhenFinished
{Please press OK when the script has finished.}

selectExampleDB
{Select an example database}

}

# options.tcl
::msgcat::mcmset $locale {
optionsTitle
{pfm - Options}

optHelpTitle
{pfm - Help for option %s}

optTabGeneral
{&General}

optTabPostgresql
{&PostgreSQL}

optPasteFilename
{&Paste filename}

optHelp_browser
{
The command by which your favourite browser is invoked.  It is used by
pfm to display the on-line help.

Use '%s' as a placeholder for the URL.

Use curly braces { and } to delimit filenames containing spaces.

Examples:

    - UNIX: mozilla %s
            firefox %s
            konqueror %s
            iceweasel %s

    - Windows: {C:/Program Files/Internet Explorer/iexplore.exe} %s
               {C:/Program Files/mozilla.org/Mozilla/firefox.exe} %s

      Note: Use '/' instead of '\' as directory name separator.
}

optHelp_dblist {
A space separated list of the database names available in the
'Database -> Open' dialogue.

When a database that is not in the list yet, is opened successfully, it
is automatically added to the list.
}

optHelp_dbname {
The default database name in the 'Database -> Open' dialogue.

pfm sets this to the last opened database.
}

optHelp_host {
The default host name or host address in the 'Database -> Open'
dialogue.
}

optHelp_port {
The default port number in the 'Database -> Open' dialogue.

The default is : 5432
}

optHelp_printcmd {
The print command issued by pfm when printing reports or results from
queries.

It is a SPACE separated list of commands that are executed one after
the other to print plain text. If a command includes spaces, enclose
it in curly braces. Example:

{cmd1 args... } {cmd2 args ...} {cmd3 args...}

You can use the following placeholders within these commands:

   - %txt : the temporary file in which pfm will store the text to be
            printed;

   - %ps :  a temporary postscript file which will be generated by
            a text to postscript tool such as a2ps or enscript;

   - %pdf : a temporary PDF file which will be generated from the
            temporary postscript file %ps by a tool such as ps2pdf and
            wich can then be viewed by a PDF viewer such as evince,
            kpdf or Adobe Reader.

Note: From version 2.0.0 on, the printcmd option always has to use the
      temporary text file %txt as its source of input. pfm no longer
      sends the text to be printed to the standard input of the first
      command.

The commands may also contain parameters for which the user is prompted
to provide a value when the command is called. The syntax is as
follows:

$(parameter_name=default_value)

where '=default_value' is optional.

Examples:

    - UNIX: {a2ps --output=%ps --$(portrait_or_landscape=portrait)
            --rows=$(nr-of-rows=1) --columns=$(nr-of-columns=1)
            --major=rows --chars-per-line=$(nr_of_chars_per_line=90)
            --center-title=$(title=Report) %txt}
            {ps2pdf -sPAPERSIZE=a4 %ps %pdf} {evince %pdf}

            This is a list of 3 commands:

               1. a2ps converts the text contained in the temporary
                  file %txt to a temporary postscript file %ps;

               2. ps2pdf converts the temporary postscript file %ps
                  to a temporary PDF file %pdf;

               3. evince opens the temporary PDF file %pdf for viewing
                  and printing.

            Notes:

              - If you use this printcmd, you should put the
                printencoding option to iso8859-1. a2ps does not
                support the utf-8 encoding which is now the default
                character encoding on most Linux systems.

              - Instead of this complicated "printcmd" you can use
                something as simple as {gedit %txt} or {soffice %txt}
                or {kwrite %txt}.


    - Windows:

      {{C:/Program Files/Windows NT/Bureau-accessoires/wordpad.exe} %txt}

            The temporary text file %txt will be loaded in Wordpad in
            which you can then choose the font, margin, page orientation
            etc.

            Remark the curly braces enclosing the full filename of
            wordpad.exe. They are necessary because of the spaces
            within the filename.

            Notes:

               - This command is also the default for Windows
                 platforms, but the full filename may differ from
                 system to system. Use the 'Paste filename' button to
                 paste a new filename into the option.

               - Use '/' instead of '\' as directory name separator.

}

optHelp_printencoding {
The character encoding used by pfm for sending text to the print
command.

The default value is your system's default encoding. That should be
alright in most cases.

Note: If you are using a2ps in the printcmd option, you should put
      the printencoding option to an encoding that is supported by a2ps
      (e.g. iso8859-1).
}

optHelp_psql {
The command by which the PostgreSQL interactive terminal 'psql' is
called.

If the PostgreSQL binaries are in your system's PATH, the command can
be as simple as 'psql' (on UNIX) or 'psql.exe' (on Windows).

It may be necessary to provide the full filename.

Examples:

    - UNIX: /usr/bin/psql
            /opt/postgresql/bin/psql

    - Windows:
           C:/Program Files/PostgreSQL/8.2/bin/psql.exe
}

optHelp_theme {
Here you can choose the 'theme', i.e. the overall look of the application.
}

optHelp_tmpdir {
The directory in which pfm stores the temporary files it generates.

Normally, pfm also deletes its temporary files on exit.

Defaults:

    - UNIX: /tmp

    - Windows: TEMP where TEMP is the user's TEMP directory which is
      something like

      C:/Documents and Settings/'username'/Local Settings/Temp

Note: Use '/' instead of '\' as directory name separator.
}

optHelp_usePGPASSWORD {
    - If enabled, the environment variable PGPASSWORD is used to
      temporarily store the password you type on the "Open database
      window", between pressing the 'OK' button and the actual opening
      of the database.

    - If disabled, the environment variable PGPASSWORD is not used and
      you are not prompted for a password when opening a database, but
      you need a properly configured password file. See subsection "The
      Password File" in the libpq C-library of the PostgreSQL
      documentation for more details.

Default: 'enabled'

Note: According to the postgresql documentation, the use of the
      environment variable PGPASSWORD is deprecated for security
      reasons. See subsection "Environment variables" in the "libpq
      C-library" section of the PostgreSQL documentation for more
      details.

}

optHelp_user {
The default value for 'user' in the 'Database -> Open' dialogue.

The default value is your login name.
}

}

# misc.tcl
::msgcat::mcmset $locale {

pfm_message
{pfm - message}

searchEOT
{End of text reached.
Find will return to begin of file now.}

lsbSearchFound
{'%s' found}

lsbSearchNotFound
{Begin of list}

mnuCopy
{Copy}

mnuCut
{Cut}

mnuPaste
{Paste}

mnuText
{&Text}

mnuTxtSave
{&Save as ...}

mnuTxtPrint
{&Print}

mnuTxtClose
{&Close}

mnuExtra
{&Extra}

miscSelectSaveText
{pfm - Specify filename for saving text}

}

# sql.tcl
::msgcat::mcmset $locale {

sqlTitle
{SQL - %s}

sqlStatement
{SQL statement}

sqlOutput
{Output}

sqlMnuSql
{&SQL}

sqlMnuDatabases
{List of &Databases}

sqlMnuImport
{&Import SQL from file}

sqlMnuListTables
{List of &Relations}

sqlMnuSaveToFile
{&Save SQL to file}

sqlMnuClose
{&Close window}

sqlMnuOutput
{&Output}

sqlMnuOutputClear
{&Clear}

sqlMnuOutputPrint
{&Print}

sqlMnuOutputSave
{&Save}

sqlMnuOutputScrollUp
{Scroll &Up}

sqlMnuOutputScrollDown
{Scroll &Down}

sqlMnuOutputScrollRight
{Scroll &Right}

sqlMnuOutputScrollLeft
{Scroll &Left}

sqlMnuHelp
{&Help}

sqlMnuHelpSQL
{List of &SQL commands}

sqlMnuHelpSpecial
{Help for &Special commands}

sqlMnuHelpSQLcommand
{&Help for a particular SQL command}

sqlTypeCmd
{Complete the next line with the SQL command you want help about}

sqlImportTitle
{pfm - Import SQL from file}

sqlHelpEncoding
{Select the character encoding that was used to create the file.
The default encoding is normally OK, but if you know it was made
with a different encoding, you can choose it here.}

sqlCharEncoding
{Character encoding}

sqlHelpImportType
{Select whether you want to import the file in the SQL text area or
to execute the script file using the '%s' command.}

sqlRbExecute
{&Execute script file using '%s' (recommended for large files)}

sqlRbImport
{&Import script file in SQL text area}

sqlGetImportFile
{pfm - Select SQL file to import}

sqlSelectSaveSQL
{pfm - Specify filename for saving SQL}

sqlErrCmd
{Error parsing print command %s}

sqlPrintOptions
{pfm - Print options}

sqlPrintHelp
{The longest line to print contains %s characters}

}

# postgresql
::msgcat::mcmset $locale {

no_api
{%1$s
%2$s
Neither Pgtcl, nor pgintcl were found.
pfm cannot connect to postgreSQL}

pg_connect_failed
{Connection to database %1$s has failed:

%2$s}

wrongPermissions
{The permissions on ~/.pgpass are %1$s. They should be 'rw-------'}

psqlFailed
{Starting psql has failed:

%s}

}

# database.tcl
::msgcat::mcmset $locale {

getFormList
{List of forms could not be retrieved:

%s}

getFormFailed
{Retrieval of form definition failed for form %1$s:
%2$s}

getAttribFailed
{Retrieval of attributes definition failed for form %1$s:
%2$s}

getLinkDefFailed
{Retrieval of links failed for form %1$s:
%2$s}

}

# forms.tcl
::msgcat::mcmset $locale {

titleOpenForm
{pfm - Open form: %s}

tabOpen
{Query}

mnuCloseForm
{&Close form}

mnuCloseTab
{Close &tab}

mnuUnlockTab
{Un&lock tab}

mnuForm
{&Form}

mnuPasteName
{paste attribute &Name}

mnuPasteValue
{paste attribute &Value}

mnuUpdateRecord
{&Update}

mnuAddRecord
{&Add}

mnuDeleteRecord
{&Delete}

mnuGoTonext
{&Next}

mnuGoToprev
{&Prev}

mnuGoTofirst
{&First}

mnuGoTolast
{&Last}

mnuRecordMenu
{&Record}

mnuGoToMenu
{&Go to}

mnuSearchMenu
{&Search}

mnuSearchHide
{&Hide search bar}

mnuSearchCase
{&Match case}

mnuFormHelp
{&Help}

formHelp
{Help text for form %s}

lbSearchFor
{Search for}

lbLinks
{Links}

lbTabLocked
{Tab locked}

btnUnlockTab
{Un&lock tab}

btnCloseTab
{Close &tab}

btnMatchCase
{&Match case}

btnFindNext
{Next F3}

btnHide
{Hide}

lbSearchFor
{for}

lbSearchIn
{Search in}

histOpenForm
{Open form %s}

histLink
{Link %s}

queryOK
{Query OK}

attribMissing
{Query did not return any value for attribute %s.
Check the form definition}

pkeyMissing
{Query did not reurn any value for the primary key attribute %s.
Check the form definition}

attribDefPkeyMissing
{The primary key attribute %s does not have any defintion in
pfm_attribute. Check the form definition}

expandSqlWhereErr
{Error evaluating the sqlwhere of link %1$s.
No value for %2$s in form %3$s}

editWindowsOpen
{There are still edit windows open for the following attributes:

%s
Please decide first what you want to do with them.}

listBoxOpen
{There are still listboxes open for selecting a value for the following attributes:

%s
Please decide first what you want to do with them.}

selectValueFor
{Select value for %s}

wrongNumTuples
{Reload query has failed. It returns %s tuples instead of 1.}

statUpdated
{Updated}

statAdded
{Added}

statDeleted
{Deleted}

statUpdating
{Updating}

statAdding
{Adding}

statNotAdded
{Not added}

statAfterLast
{After last}

statNotModified
{Not modified}

reloadRecord
{Reload record}

reloadFailed
{Reload record has failed. Update is cancelled}

selectForUpdate
{Select for update}

deleteRecord
{Delete record}

loadDataChunk
{Load buffer}

noValueForPkey
{The form's query does not return a value for primary key '%s'.
Check the form's definition}

recordDeleted
{Record was deleted by another user.}

recordModified
{Record was modified by another user, after you pressed the "Update"
button, but before you pressed the "OK" button. Reconsider your input.}

commandOK
{Command succesful}

noUpdates
{You did not provide any new values. No updates were done.}

startTransaction
{Start of transaction}

commitTransaction
{Commit transaction}

rollBack
{Rollback transaction}

updateRecord
{Update record}

questionDeleteTitle
{Delete record?}

questionDeleteMessage
{Are you sure you want to delete this record?}

defaultNumTuplesErr
{The query specified for the default value of attribute '%1$s'
returns %2$s values instead of 1. Check the default value definition
for this attribute.}

getDefaultValue
{Get default for attribute %s.}

}

# report.tcl
::msgcat::mcmset $locale {

reportTitle
{Report %s}

getReportFailed
{Retrieval of report definition failed for report %1$s:
%2$s}

errorParsingFieldSpec
{ERROR: %1$s in %2$s could not be parsed.
%3$s}

reportDataMissing
{ERROR: The report's SQL SELECT statement does not return data for
field '%1$s' defined in section '%2$s' of the report.
Check the report definition!}

noReportSections
{ERROR: This report has no section definition!}

getReportParms
{pfm - Get report parameters}

errorParsingSummary
{ERROR: summary '%1$s' of section %2$s could not be parsed.
%3$s}

unkownAggregateFunction
{ERROR: Summary field %1$s(%2$s) defined in section %3$s.
Aggregate function %1$s is unkown.}

summaryWrongField
{ERROR: Summary field %1$s(%2$s) defined in section %3$s.
%2$s does not appear in this or any higher numbered section}

summaryFormatError
{ERROR: Format string '%1$s' in summary field %2$s(%3$s) in section %4$s.
%5$s}

reportQueryNoData
{The report's query did not return any data.}

}
