File: ROOT.msg

package info (click to toggle)
pfm 2.0.8-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,036 kB
  • sloc: tcl: 5,486; sql: 4,835; makefile: 4; sh: 1
file content (958 lines) | stat: -rw-r--r-- 17,633 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
# 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.}

}