-
Notifications
You must be signed in to change notification settings - Fork 58
/
po4a-pod.pot
10048 lines (8629 loc) · 280 KB
/
po4a-pod.pot
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
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the po4a package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: po4a 0.73\n"
"Report-Msgid-Bugs-To: devel@lists.po4a.org\n"
"POT-Creation-Date: 2024-06-17 22:06+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Attribute 'xml:lang' of: <refentry>
#: share/doc/po4a-display-man.xml:1 share/doc/po4a-display-pod.xml:1
msgid "en"
msgstr ""
#. type: Content of: <refentry><refentryinfo>
#: share/doc/po4a-display-man.xml:2
msgid "<date>2006-04-08</date>"
msgstr ""
#. type: Content of: <refentry><refmeta><refentrytitle>
#: share/doc/po4a-display-man.xml:3
msgid "PO4A-DISPLAY-MAN"
msgstr ""
#. type: Content of: <refentry><refmeta><manvolnum>
#: share/doc/po4a-display-man.xml:4 share/doc/po4a-display-pod.xml:4
msgid "1"
msgstr ""
#. type: Content of: <refentry><refmeta><refmiscinfo>
#: share/doc/po4a-display-man.xml:5
msgid "2020-04-19"
msgstr ""
#. type: Content of: <refentry><refmeta><refmiscinfo>
#: share/doc/po4a-display-man.xml:6 share/doc/po4a-display-man.xml:7
#: share/doc/po4a-display-pod.xml:6 share/doc/po4a-display-pod.xml:7
msgid "Po4a Tools"
msgstr ""
#. type: Content of: <refentry><refnamediv><refname>
#: share/doc/po4a-display-man.xml:8
msgid "po4a-display-man"
msgstr ""
#. type: Content of: <refentry><refnamediv><refpurpose>
#: share/doc/po4a-display-man.xml:9
msgid "display a translated man page according to a PO"
msgstr ""
#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
#: share/doc/po4a-display-man.xml:10
msgid ""
"<command>po4a-display-man</command> <arg choice='plain'><option>-p</option> "
"</arg> <arg choice='plain'><replaceable>PO_FILE</replaceable></arg> <arg "
"choice='opt'><arg choice='plain'><option>-m</option> </arg><arg "
"choice='plain'><replaceable>MASTER_FILE</replaceable></arg></arg> <arg "
"choice='opt'><arg choice='plain'><option>-o</option> </arg><arg "
"choice='plain'><replaceable>PO4A_OPT</replaceable></arg></arg>"
msgstr ""
#. type: =head1
#: share/doc/po4a-display-man.xml:11 share/doc/po4a-display-pod.xml:11 po4a:5
#: po4a-gettextize:6 po4a-normalize:5 po4a-translate:6 po4a-updatepo:6
#: msguntypot:5 lib/Locale/Po4a/AsciiDoc.pm:3 lib/Locale/Po4a/BibTeX.pm:3
#: lib/Locale/Po4a/Chooser.pm:3 lib/Locale/Po4a/Common.pm:3
#: lib/Locale/Po4a/Dia.pm:3 lib/Locale/Po4a/Docbook.pm:3
#: lib/Locale/Po4a/Guide.pm:3 lib/Locale/Po4a/Halibut.pm:3
#: lib/Locale/Po4a/Ini.pm:3 lib/Locale/Po4a/KernelHelp.pm:3
#: lib/Locale/Po4a/LaTeX.pm:3 lib/Locale/Po4a/Man.pm:3 lib/Locale/Po4a/Po.pm:9
#: lib/Locale/Po4a/Pod.pm:7 lib/Locale/Po4a/RubyDoc.pm:3
#: lib/Locale/Po4a/Sgml.pm:3 lib/Locale/Po4a/TeX.pm:3
#: lib/Locale/Po4a/Texinfo.pm:3 lib/Locale/Po4a/Text.pm:3
#: lib/Locale/Po4a/TransTractor.pm:3 lib/Locale/Po4a/Wml.pm:3
#: lib/Locale/Po4a/Xhtml.pm:3 lib/Locale/Po4a/Xml.pm:3
#: lib/Locale/Po4a/Yaml.pm:3
msgid "DESCRIPTION"
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-man.xml:12
msgid ""
"Translators can use <command>po4a-display-man</command> to see how their "
"translation of a man page will be rendered to the end users, without "
"recompiling and reinstalling the whole project."
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-man.xml:13
msgid ""
"This script only works with man pages written directly in <emphasis "
"remap='I'>nroff</emphasis> and handled by the po4a's <emphasis "
"remap='I'>man</emphasis> module. Manual pages generated from other formats, "
"like DocBook or POD, are not supported. See "
"<citerefentry><refentrytitle>po4a-display-pod</refentrytitle><manvolnum>1</manvolnum></citerefentry> "
"for an equivalent supporting <emphasis remap='I'>POD</emphasis> documents."
msgstr ""
#. type: =head1
#: share/doc/po4a-display-man.xml:14 share/doc/po4a-display-pod.xml:13 po4a:28
#: po4a-gettextize:11 po4a-normalize:9 po4a-translate:9 po4a-updatepo:11
msgid "OPTIONS"
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
#: share/doc/po4a-display-man.xml:15 share/doc/po4a-display-pod.xml:14
msgid "<option>-p </option><replaceable>PO_FILE</replaceable>"
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
#: share/doc/po4a-display-man.xml:16 share/doc/po4a-display-pod.xml:15
msgid "The PO file containing the translations."
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
#: share/doc/po4a-display-man.xml:17
msgid "<option>-m </option><replaceable>MASTER_FILE</replaceable>"
msgstr ""
#. .br
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
#: share/doc/po4a-display-man.xml:18
msgid ""
"The original man page. It can be the absolute or relative path to the "
"original man page (gzipped or not), the name of the man page or the name and "
"section of the man page (using the man.section format). When the master "
"document is not provided with the <option>-m</option> option, "
"<command>po4a-display-man</command> tries to find the original man page "
"based on the line reference of the first string in the PO."
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
#: share/doc/po4a-display-man.xml:19 share/doc/po4a-display-pod.xml:18
msgid "<option>-o </option><replaceable>PO4A_OPT</replaceable>"
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
#: share/doc/po4a-display-man.xml:20 share/doc/po4a-display-pod.xml:19
msgid ""
"Some options to pass to "
"<citerefentry><refentrytitle>po4a-translate</refentrytitle><manvolnum>1</manvolnum></citerefentry>."
msgstr ""
#. type: =head1
#: share/doc/po4a-display-man.xml:21 share/doc/po4a-display-pod.xml:20 po4a:189
#: po4a-gettextize:76 po4a-normalize:36 po4a-translate:50 po4a-updatepo:53
#: msguntypot:29 doc/po4a.7.pod:190 lib/Locale/Po4a/Chooser.pm:7
#: lib/Locale/Po4a/Dia.pm:12 lib/Locale/Po4a/Docbook.pm:15
#: lib/Locale/Po4a/Guide.pm:10 lib/Locale/Po4a/Halibut.pm:14
#: lib/Locale/Po4a/Ini.pm:8 lib/Locale/Po4a/KernelHelp.pm:7
#: lib/Locale/Po4a/LaTeX.pm:8 lib/Locale/Po4a/Man.pm:107
#: lib/Locale/Po4a/Pod.pm:21 lib/Locale/Po4a/RubyDoc.pm:14
#: lib/Locale/Po4a/TeX.pm:118 lib/Locale/Po4a/Texinfo.pm:14
#: lib/Locale/Po4a/Xhtml.pm:15 lib/Locale/Po4a/Xml.pm:187
#: lib/Locale/Po4a/Yaml.pm:15
msgid "SEE ALSO"
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-man.xml:22
msgid ""
"<citerefentry> "
"<refentrytitle>po4a-display-pod</refentrytitle><manvolnum>1</manvolnum> "
"</citerefentry>"
msgstr ""
#. type: Content of: <refentry><refsect1><title>
#: share/doc/po4a-display-man.xml:23 share/doc/po4a-display-pod.xml:22
msgid "AUTHOR"
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-man.xml:24
msgid "Thomas Huriaux"
msgstr ""
#. type: Content of: <refentry><refentryinfo>
#: share/doc/po4a-display-pod.xml:2
msgid "<date>2009-03-16</date>"
msgstr ""
#. type: Content of: <refentry><refmeta><refentrytitle>
#: share/doc/po4a-display-pod.xml:3
msgid "PO4A-DISPLAY-POD"
msgstr ""
#. type: Content of: <refentry><refmeta><refmiscinfo>
#: share/doc/po4a-display-pod.xml:5
msgid "2009-03-16"
msgstr ""
#. type: Content of: <refentry><refnamediv><refname>
#: share/doc/po4a-display-pod.xml:8
msgid "po4a-display-pod"
msgstr ""
#. type: Content of: <refentry><refnamediv><refpurpose>
#: share/doc/po4a-display-pod.xml:9
msgid "display of a translated POD file according to a PO"
msgstr ""
#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
#: share/doc/po4a-display-pod.xml:10
msgid ""
"<command>po4a-display-pod</command> <arg choice='plain'><option>-p "
"</option></arg> <arg choice='plain'><replaceable>PO_FILE</replaceable></arg> "
"<arg choice='plain'><option>-m </option></arg> <arg "
"choice='plain'><replaceable>POD_FILE</replaceable></arg> <arg "
"choice='opt'><arg choice='plain'><option>-o </option></arg><arg "
"choice='plain'><replaceable>PO4A_OPT</replaceable></arg></arg>"
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-pod.xml:12
msgid ""
"Translators can use <command>po4a-display-pod</command> to see how their "
"translation of a man page will be rendered to the end users, without "
"recompiling and reinstalling the whole project. Most of the time, the POD "
"file is only available in source package or embedded in Perl script."
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
#: share/doc/po4a-display-pod.xml:16
msgid "<option>-m </option><replaceable>POD_FILE</replaceable>"
msgstr ""
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
#: share/doc/po4a-display-pod.xml:17
msgid "The original POD file used by po4a to generate PO file."
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-pod.xml:21
msgid ""
"<citerefentry> "
"<refentrytitle>po4a-display-man</refentrytitle><manvolnum>1</manvolnum> "
"</citerefentry>"
msgstr ""
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-pod.xml:23
msgid "Florentin Duneau"
msgstr ""
#. type: =head1
#: po4a:1 po4a-gettextize:1 po4a-normalize:1 po4a-translate:1 po4a-updatepo:1
#: msguntypot:1 doc/po4a.7.pod:1 lib/Locale/Po4a/AsciiDoc.pm:1
#: lib/Locale/Po4a/BibTeX.pm:1 lib/Locale/Po4a/Chooser.pm:1
#: lib/Locale/Po4a/Common.pm:1 lib/Locale/Po4a/Dia.pm:1
#: lib/Locale/Po4a/Docbook.pm:1 lib/Locale/Po4a/Guide.pm:1
#: lib/Locale/Po4a/Halibut.pm:1 lib/Locale/Po4a/Ini.pm:1
#: lib/Locale/Po4a/KernelHelp.pm:1 lib/Locale/Po4a/LaTeX.pm:1
#: lib/Locale/Po4a/Man.pm:1 lib/Locale/Po4a/Po.pm:1 lib/Locale/Po4a/Pod.pm:1
#: lib/Locale/Po4a/RubyDoc.pm:1 lib/Locale/Po4a/Sgml.pm:1
#: lib/Locale/Po4a/TeX.pm:1 lib/Locale/Po4a/Texinfo.pm:1
#: lib/Locale/Po4a/Text.pm:1 lib/Locale/Po4a/TransTractor.pm:1
#: lib/Locale/Po4a/Wml.pm:1 lib/Locale/Po4a/Xhtml.pm:1 lib/Locale/Po4a/Xml.pm:1
#: lib/Locale/Po4a/Yaml.pm:1
msgid "NAME"
msgstr ""
#. type: textblock
#: po4a:2
msgid "po4a - update both the PO files and translated documents in one shot"
msgstr ""
#. type: =head1
#: po4a:3 po4a-gettextize:3 po4a-normalize:3 po4a-translate:3 po4a-updatepo:3
#: msguntypot:3 lib/Locale/Po4a/Po.pm:3 lib/Locale/Po4a/Pod.pm:3
#: lib/Locale/Po4a/TransTractor.pm:24
msgid "SYNOPSIS"
msgstr ""
#. type: textblock
#: po4a:4
msgid "B<po4a> [I<options>] I<config_file>"
msgstr ""
#. type: textblock
#: po4a:6 po4a-gettextize:7
msgid ""
"po4a (PO for anything) eases the maintenance of documentation translation "
"using the classical gettext tools. The main feature of po4a is that it "
"decouples the translation of content from its document structure. Please "
"refer to the page L<po4a(7)> for a gentle introduction to this project."
msgstr ""
#. type: textblock
#: po4a:7
msgid ""
"Upon execution, B<po4a> parses all documentation files specified in its "
"configuration file. It updates the PO files (containing the translation) to "
"reflect any change to the documentation, and produce a translated "
"documentation by injecting the content's translation (found in the PO files) "
"into the structure of the original master document."
msgstr ""
#. type: textblock
#: po4a:8
msgid ""
"At first, the PO files only contain the strings to translate from the "
"original documentation. This file format allows the translators to manually "
"provide a translation for each paragraph extracted by B<po4a>. If the "
"documentation is modified after translation, B<po4a> marks the corresponding "
"translations as \"fuzzy\" in the PO file to request a manual review by the "
"translators. The translators can also provide so-called \"addendum\", that "
"are extra content stating for example who did the translation and how to "
"report bugs."
msgstr ""
#. type: verbatim
#: po4a:9
#, no-wrap
msgid ""
" master documents ---+---->-------->---------+\n"
" (doc authoring) | |\n"
" V (po4a executions) >-----+--> translated\n"
" | | | documents\n"
" existing PO files -->--> updated PO files >-+ |\n"
" ^ | |\n"
" | V |\n"
" +----------<---------<-------+ ^\n"
" (manual translation process) |\n"
" |\n"
" addendum -->--------------------------------------+\n"
"\n"
msgstr ""
#. type: textblock
#: po4a:10
msgid ""
"The workflow of B<po4a> is asynchronous, as suited to open-source "
"projects. The documentation writers author the master documents at their own "
"pace. The translators review and update the translations in the PO "
"files. The maintainers rerun B<po4a> on need, to reflect any change to the "
"original documentation to the PO files, and to produce updated documentation "
"translations, by injecting the latest translation into the latest document "
"structure."
msgstr ""
#. type: textblock
#: po4a:11
msgid ""
"By default, a given translated document is produced when at least 80% of its "
"content is translated. The untranslated text is kept in the original "
"language. The produced documentation thus mixes languages if the "
"translation is not complete. You can change the 80% threshold with the "
"I<--keep> option described below. Note however that discarding translations "
"as soon as they are not 100% may be discouraging for the translators whose "
"work will almost never be shown to the users, while showing \"translations\" "
"that are too incomplete may be troubling for the end users."
msgstr ""
#. type: textblock
#: po4a:12
msgid ""
"Storing the translated documentation files in the version control system is "
"probably a bad idea, since they are automatically generated. The precious "
"files are the PO files, that contain the hard work of your fellow "
"translators. Also, some people find it easier to interact with the "
"translators through an online platform such as S<weblate>, but this is "
"naturally fully optional."
msgstr ""
#. type: =head2
#: po4a:13
msgid "Quick start tutorial"
msgstr ""
#. type: textblock
#: po4a:14
msgid ""
"Let's assume you maintain a program named B<foo> which has a man page "
"F<man/foo.1> written in English (the bridge language in most open-source "
"projects, but B<po4a> can be used from or to any language). Some times ago, "
"someone provided a German translation named F<man/foo.de.1> and "
"disappeared. This is a problem because you just got a bug report saying "
"that your documentation contains a gravely misleading information that must "
"be fixed in all languages, but you don't speak German so you can only modify "
"the original, not the translation. Now, another contributor wants to "
"contribute a translation to Japanese, a language that you don't master "
"either."
msgstr ""
#. type: textblock
#: po4a:15
msgid ""
"It is time to convert your documentation to B<po4a> to solve your "
"documentation maintenance nightmares. You want to update the doc when "
"needed, you want to ease the work of your fellow translators, and you want "
"to ensure that your users never see any outdated and thus misleading "
"documentation."
msgstr ""
#. type: textblock
#: po4a:16
msgid ""
"The conversion includes two steps: setup the po4a infrastructure, and "
"convert the previous German translation to salvage the previous work. This "
"latter part is done using S<po4a-gettextize>, as follows. As detailed in the "
"documentation of L<po4a-gettextize(1)>, this process rarely fully automatic, "
"but once it's done, the B<de.po> file containing the German translation can "
"be integrated in your po4a workflow."
msgstr ""
#. type: verbatim
#: po4a:17
#, no-wrap
msgid ""
" po4a-gettextize --format man --master foo.1 --localized foo.de.1 --po "
"de.po\n"
"\n"
msgstr ""
#. type: textblock
#: po4a:18
msgid ""
"Let's now configure po4a. With the appropriate file layout, your "
"configuration file could be as simple as this:"
msgstr ""
#. type: verbatim
#: po4a:19
#, no-wrap
msgid ""
" [po_directory] man/po4a/\n"
"\n"
msgstr ""
#. type: verbatim
#: po4a:20
#, no-wrap
msgid ""
" [type: man] man/foo.1 $lang:man/translated/foo.$lang.1\n"
"\n"
msgstr ""
#. type: textblock
#: po4a:21
msgid ""
"It specifies that all PO files (containing the work of the translators) are "
"in the F<man/po4a/> directory, and that you have only one master file, "
"F<man/foo.1>. If you had several master files, you would have several lines "
"similar to the second one. Each such line also specify where to write the "
"corresponding translation files. Here, the German translation of "
"F<man/foo.1> is in F<man/translated/foo.de.1>."
msgstr ""
#. type: textblock
#: po4a:22
msgid ""
"The last thing we need to complete the configuration of B<po4a> is a POT "
"file containing the template material that should be used to start a new "
"translation. Simply create an empty file with the S<.pot> extension in the "
"specified S<po_directory> (e.g. F<man/po4a/foo.pot>), and B<po4a> will fill "
"it with the expected content."
msgstr ""
#. type: textblock
#: po4a:23
msgid "Here is a recap of the files in this setup:"
msgstr ""
#. type: verbatim
#: po4a:24
#, no-wrap
msgid ""
" ├── man/\n"
" │ ├── foo.1 <- The original man page, in English\n"
" │ ├── po4a/\n"
" │ │ ├── de.po <- The German PO translation, from gettextization\n"
" │ │ └── foo.pot <- The POT template of future translations (empty at "
"first)\n"
" │ └── translated/ <- Directory where the translations will be created\n"
" └── po4a.cfg <- The configuration file\n"
"\n"
msgstr ""
#. type: textblock
#: po4a:25
msgid ""
"Once setup, executing B<po4a> will parse your documentation, update the POT "
"template file, use it to update the PO translation files, and use them to "
"update the documentation translation files. All in one command:"
msgstr ""
#. type: verbatim
#: po4a:26
#, no-wrap
msgid ""
" po4a --verbose po4a.cfg\n"
"\n"
msgstr ""
#. type: textblock
#: po4a:27
msgid ""
"This is it. B<po4a> is now fully configured. Once you've fixed your error in "
"F<man/foo.1>, the offending paragraph in the German translation will be "
"replaced by the fixed text in English. Mixing languages is not optimal, but "
"it's the only way to remove errors in translations that you don't even "
"understand, and ensure that the content presented to the users is never "
"misleading. Updating the German translation is also much easier in the "
"corresponding PO file, so the language mix-up may not last long. Finally, "
"when a Japanese translator wants to contribute a new translation, she should "
"rename the S<foo.pot> into S<ja.po> and complete the translation. Once you "
"have this file, just drop it in F<man/po4a/po/>. A translated page will "
"appear as F<man/translated/foo.ja.1> (provided that enough content is "
"translated) when you run B<po4a> again."
msgstr ""
#. type: =item
#: po4a:29 po4a-translate:28
msgid "B<-k>, B<--keep>"
msgstr ""
#. type: textblock
#: po4a:30
msgid ""
"Minimal threshold for translation percentage to keep (i.e. write) the "
"resulting file (default: 80). I.e. by default, files have to be translated "
"at least at 80% to be written on disk."
msgstr ""
#. type: =item
#: po4a:31 po4a-normalize:12 po4a-translate:30
msgid "B<-w>, B<--width>"
msgstr ""
#. type: textblock
#: po4a:32 po4a-normalize:13 po4a-translate:31
msgid ""
"Column at which we should wrap the resulting file if the format supports it "
"(default: 76)."
msgstr ""
#. type: =item
#: po4a:33 po4a-gettextize:26 po4a-normalize:22 po4a-translate:32
#: po4a-updatepo:28
msgid "B<-h>, B<--help>"
msgstr ""
#. type: textblock
#: po4a:34 po4a-gettextize:27 po4a-normalize:23 po4a-translate:33
#: po4a-updatepo:29
msgid "Show a short help message."
msgstr ""
#. type: =item
#: po4a:35 po4a-gettextize:16 po4a-normalize:28 po4a-translate:18
#: po4a-updatepo:16
msgid "B<-M>, B<--master-charset>"
msgstr ""
#. type: textblock
#: po4a:36
msgid ""
"Charset of the files containing the documents to translate. Note that all "
"master documents must use the same charset."
msgstr ""
#. type: =item
#: po4a:37 po4a-gettextize:20 po4a-translate:22
msgid "B<-L>, B<--localized-charset>"
msgstr ""
#. type: textblock
#: po4a:38
msgid ""
"Charset of the files containing the localized documents. Note that all "
"translated documents will use the same charset."
msgstr ""
#. type: =item
#: po4a:39 po4a-translate:14
msgid "B<-A>, B<--addendum-charset>"
msgstr ""
#. type: textblock
#: po4a:40 po4a-translate:15
msgid ""
"Charset of the addenda. Note that all the addenda should be in the same "
"charset."
msgstr ""
#. type: =item
#: po4a:41 po4a-gettextize:32 po4a-normalize:34 po4a-translate:36
#: po4a-updatepo:32
msgid "B<-V>, B<--version>"
msgstr ""
#. type: textblock
#: po4a:42 po4a-gettextize:33 po4a-normalize:35 po4a-translate:37
#: po4a-updatepo:33
msgid "Display the version of the script and exit."
msgstr ""
#. type: =item
#: po4a:43 po4a-gettextize:34 po4a-translate:38 po4a-updatepo:34
msgid "B<-v>, B<--verbose>"
msgstr ""
#. type: textblock
#: po4a:44 po4a-gettextize:35 po4a-translate:39 po4a-updatepo:35
msgid "Increase the verbosity of the program."
msgstr ""
#. type: =item
#: po4a:45
msgid "B<-q>, B<--quiet>"
msgstr ""
#. type: textblock
#: po4a:46
msgid "Decrease the verbosity of the program."
msgstr ""
#. type: =item
#: po4a:47 po4a-gettextize:36 po4a-translate:40 po4a-updatepo:36
msgid "B<-d>, B<--debug>"
msgstr ""
#. type: textblock
#: po4a:48 po4a-gettextize:37 po4a-translate:41 po4a-updatepo:37
msgid "Output some debugging information."
msgstr ""
#. type: =item
#: po4a:49 po4a-gettextize:24 po4a-normalize:10 po4a-translate:26
#: po4a-updatepo:20
msgid "B<-o>, B<--option>"
msgstr ""
#. type: textblock
#: po4a:50 po4a-gettextize:25 po4a-normalize:11 po4a-translate:27
#: po4a-updatepo:21
msgid ""
"Extra option(s) to pass to the format plugin. See the documentation of each "
"plugin for more information about the valid options and their meanings. For "
"example, you could pass '-o tablecells' to the AsciiDoc parser, while the "
"text parser would accept '-o tabs=split'."
msgstr ""
#. type: =item
#: po4a:51
msgid "B<-f>, B<--force>"
msgstr ""
#. type: textblock
#: po4a:52
msgid ""
"Always generate the POT and PO files, even if B<po4a> considers it is not "
"necessary."
msgstr ""
#. type: textblock
#: po4a:53
msgid "The default behavior (when B<--force> is not specified) is the following:"
msgstr ""
#. type: textblock
#: po4a:54
msgid ""
"If the POT file already exists, it is regenerated if a master document or "
"the configuration file is more recent (unless B<--no-update> is provided). "
"The POT file is also written in a temporary document and B<po4a> verifies "
"that the changes are really needed."
msgstr ""
#. type: textblock
#: po4a:55
msgid ""
"Also, a translation is regenerated only if its master document, the PO file, "
"one of its addenda or the configuration file is more recent. To avoid "
"trying to regenerate translations which do not pass the threshold test (see "
"B<--keep>), a file with the F<.po4a-stamp> extension can be created (see "
"B<--stamp>)."
msgstr ""
#. type: textblock
#: po4a:56
msgid ""
"If a master document includes files, you should use the B<--force> flag "
"because the modification time of these included files are not taken into "
"account."
msgstr ""
#. type: textblock
#: po4a:57
msgid "The PO files are always re-generated based on the POT with B<msgmerge -U>."
msgstr ""
#. type: =item
#: po4a:58
msgid "B<--stamp>"
msgstr ""
#. type: textblock
#: po4a:59
msgid ""
"Tells B<po4a> to create stamp files when a translation is not generated "
"because it does not reach the threshold. These stamp files are named "
"according to the expected translated document, with the F<.po4a-stamp> "
"extension."
msgstr ""
#. type: textblock
#: po4a:60
msgid ""
"Note: This only activates the creation of the F<.po4a-stamp> files. The "
"stamp files are always used if they exist, and they are removed with "
"B<--rm-translations> or when the file is finally translated."
msgstr ""
#. type: =item
#: po4a:61
msgid "B<--no-translations>"
msgstr ""
#. type: textblock
#: po4a:62
msgid "Do not generate the translated documents, only update the POT and PO files."
msgstr ""
#. type: =item
#: po4a:63
msgid "B<--no-update>"
msgstr ""
#. type: textblock
#: po4a:64
msgid "Do not change the POT and PO files, only the translation may be updated."
msgstr ""
#. type: =item
#: po4a:65
msgid "B<--keep-translations>"
msgstr ""
#. type: textblock
#: po4a:66
msgid ""
"Keeps the existing translation files even if the translation doesn't meet "
"the threshold specified by B<--keep>. This option does not create new "
"translation files with few content, but it will save existing translations "
"which decay because of changes to the master files."
msgstr ""
#. type: textblock
#: po4a:67
msgid ""
"WARNING: This flag changes the po4a behavior in a rather drastic way: your "
"translated files will not get updated at all until the translation "
"improves. Only use this flag if you prefer shipping an outdated translated "
"documentation rather than only shipping an accurate untranslated "
"documentation."
msgstr ""
#. type: =item
#: po4a:68
msgid "B<--rm-translations>"
msgstr ""
#. type: textblock
#: po4a:69
msgid "Remove the translated files (implies B<--no-translations>)."
msgstr ""
#. type: =item
#: po4a:70
msgid "B<--no-backups>"
msgstr ""
#. type: textblock
#: po4a:71 po4a:73
msgid "This flag does nothing since 0.41, and may be removed in later releases."
msgstr ""
#. type: =item
#: po4a:72
msgid "B<--rm-backups>"
msgstr ""
#. type: =item
#: po4a:74
msgid "B<--translate-only> I<translated-file>"
msgstr ""
#. type: textblock
#: po4a:75
msgid ""
"Translate only the specified file. It may be useful to speed up processing "
"if a configuration file contains a lot of files. Note that this option does "
"not update PO and POT files. This option can be used multiple times."
msgstr ""
#. type: =item
#: po4a:76
msgid "B<--variable> I<var>B<=>I<value>"
msgstr ""
#. type: textblock
#: po4a:77
msgid ""
"Define a variable that will be expanded in the B<po4a> configuration file. "
"Every occurrence of I<$(var)> will be replaced by I<value>. This option can "
"be used multiple times."
msgstr ""
#. type: =item
#: po4a:78
msgid "B<--srcdir> I<SRCDIR>"
msgstr ""
#. type: textblock
#: po4a:79
msgid ""
"Set the base directory for all input documents specified in the B<po4a> "
"configuration file."
msgstr ""
#. type: textblock
#: po4a:80
msgid ""
"If both I<destdir> and I<srcdir> are specified, input files are searched in "
"the following directories, in order: I<destdir>, the current directory and "
"I<srcdir>. Output files are written to I<destdir> if specified, or to the "
"current directory."
msgstr ""
#. type: =item
#: po4a:81
msgid "B<--destdir> I<DESTDIR>"
msgstr ""
#. type: textblock
#: po4a:82
msgid ""
"Set the base directory for all the output documents specified in the B<po4a> "
"configuration file (see B<--srcdir> above)."
msgstr ""
#. type: =head2
#: po4a:83
msgid "Options modifying the POT header"
msgstr ""
#. type: =item
#: po4a:84 lib/Locale/Po4a/Po.pm:14
msgid "B<--porefs> I<type>"
msgstr ""
#. type: textblock
#: po4a:85 po4a-translate:43 po4a-updatepo:39 lib/Locale/Po4a/Po.pm:15
msgid ""
"Specify the reference format. Argument I<type> can be one of B<never> to not "
"produce any reference, B<file> to only specify the file without the line "
"number, B<counter> to replace line number by an increasing counter, and "
"B<full> to include complete references (default: full)."
msgstr ""
#. type: =item
#: po4a:86 po4a-updatepo:41 lib/Locale/Po4a/Po.pm:16
msgid "B<--wrap-po> B<no>|B<newlines>|I<number> (default: 76)"
msgstr ""
#. type: textblock
#: po4a:87 po4a-updatepo:42 lib/Locale/Po4a/Po.pm:17
msgid ""
"Specify how the po file should be wrapped. This gives the choice between "
"either files that are nicely wrapped but could lead to git conflicts, or "
"files that are easier to handle automatically, but harder to read for "
"humans."
msgstr ""
#. type: textblock
#: po4a:88 lib/Locale/Po4a/Po.pm:18
msgid ""
"Historically, the gettext suite has reformatted the po files at the 77th "
"column for cosmetics. This option specifies the behavior of po4a. If set to "
"a numerical value, po4a will wrap the po file after this column and after "
"newlines in the content. If set to B<newlines>, po4a will only split the "
"msgid and msgstr after newlines in the content. If set to B<no>, po4a will "
"not wrap the po file at all. The reference comments are always wrapped by "
"the gettext tools that we use internally."
msgstr ""
#. type: textblock
#: po4a:89 po4a-updatepo:44 lib/Locale/Po4a/Po.pm:19
msgid ""
"Note that this option has no impact on how the msgid and msgstr are wrapped, "
"i.e. on how newlines are added to the content of these strings."
msgstr ""
#. type: =item
#: po4a:90
msgid "B<--master-language>"
msgstr ""
#. type: textblock
#: po4a:91
msgid ""
"Language of the source files containing the documents to translate. Note "
"that all master documents must use the same language."
msgstr ""
#. type: =item
#: po4a:92 po4a-gettextize:38 po4a-updatepo:45 lib/Locale/Po4a/Po.pm:20
msgid "B<--msgid-bugs-address> I<email@address>"
msgstr ""
#. type: textblock
#: po4a:93 po4a-gettextize:39 po4a-updatepo:46 lib/Locale/Po4a/Po.pm:21
msgid ""
"Set the report address for msgid bugs. By default, the created POT files "
"have no Report-Msgid-Bugs-To fields."
msgstr ""
#. type: =item
#: po4a:94 po4a-gettextize:40 po4a-updatepo:47 lib/Locale/Po4a/Po.pm:22
msgid "B<--copyright-holder> I<string>"
msgstr ""
#. type: textblock
#: po4a:95 po4a-gettextize:41 po4a-updatepo:48 lib/Locale/Po4a/Po.pm:23
msgid ""
"Set the copyright holder in the POT header. The default value is \"Free "
"Software Foundation, Inc.\""
msgstr ""
#. type: =item
#: po4a:96 po4a-gettextize:42 po4a-updatepo:49 lib/Locale/Po4a/Po.pm:24
msgid "B<--package-name> I<string>"
msgstr ""
#. type: textblock
#: po4a:97 po4a-gettextize:43 po4a-updatepo:50 lib/Locale/Po4a/Po.pm:25
msgid "Set the package name for the POT header. The default is \"PACKAGE\"."
msgstr ""
#. type: =item
#: po4a:98 po4a-gettextize:44 po4a-updatepo:51 lib/Locale/Po4a/Po.pm:26
msgid "B<--package-version> I<string>"
msgstr ""
#. type: textblock
#: po4a:99 po4a-gettextize:45 po4a-updatepo:52 lib/Locale/Po4a/Po.pm:27
msgid "Set the package version for the POT header. The default is \"VERSION\"."
msgstr ""
#. type: =head2
#: po4a:100
msgid "Options to modify the PO files"
msgstr ""
#. type: =item
#: po4a:101 po4a-updatepo:26
msgid "B<--msgmerge-opt> I<options>"
msgstr ""
#. type: textblock
#: po4a:102 po4a-updatepo:27
msgid "Extra options for B<msgmerge>(1)."
msgstr ""
#. type: textblock
#: po4a:103
msgid "Note: B<$lang> will be extended to the current language."
msgstr ""
#. type: =item
#: po4a:104 po4a-updatepo:22
msgid "B<--no-previous>"
msgstr ""
#. type: textblock
#: po4a:105
msgid ""
"This option removes B<--previous> from the options passed to B<msgmerge>. "
"This is necessary to support versions of B<gettext> earlier than 0.16."
msgstr ""
#. type: =item
#: po4a:106 po4a-updatepo:24
msgid "B<--previous>"
msgstr ""
#. type: textblock
#: po4a:107 po4a-updatepo:25
msgid ""