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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
|
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the po4a package.
# taotieren <admin@taotieren.com>, 2020, 2022.
msgid ""
msgstr ""
"Project-Id-Version: po4a 0.54\n"
"Report-Msgid-Bugs-To: devel@lists.po4a.org\n"
"POT-Creation-Date: 2024-05-26 00:33+0200\n"
"PO-Revision-Date: 2022-03-24 13:50+0000\n"
"Last-Translator: taotieren <admin@taotieren.com>\n"
"Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
"po4a/po4a-doc/zh_Hans/>\n"
"Language: zh_Hans\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.12-dev\n"
#. type: Attribute 'xml:lang' of: <refentry>
#: share/doc/po4a-display-man.xml:1 share/doc/po4a-display-pod.xml:1
msgid "en"
msgstr "zh_Hans"
#. type: Content of: <refentry><refentryinfo>
#: share/doc/po4a-display-man.xml:2
msgid "<date>2006-04-08</date>"
msgstr "<date>2006-04-08</date>"
#. type: Content of: <refentry><refmeta><refentrytitle>
#: share/doc/po4a-display-man.xml:3
msgid "PO4A-DISPLAY-MAN"
msgstr "PO4A-DISPLAY-MAN"
#. type: Content of: <refentry><refmeta><manvolnum>
#: share/doc/po4a-display-man.xml:4 share/doc/po4a-display-pod.xml:4
msgid "1"
msgstr "1"
#. type: Content of: <refentry><refmeta><refmiscinfo>
#: share/doc/po4a-display-man.xml:5
msgid "2020-04-19"
msgstr "2020-04-19"
#. 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 "Po4a 工具"
#. type: Content of: <refentry><refnamediv><refname>
#: share/doc/po4a-display-man.xml:8
msgid "po4a-display-man"
msgstr "po4a-display-man"
#. type: Content of: <refentry><refnamediv><refpurpose>
#: share/doc/po4a-display-man.xml:9
msgid "display a translated man page according to a PO"
msgstr "根据 PO 显示翻译的手册"
#. 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 ""
"<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>"
#. 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 ""
"翻译人员可以使用 <command>po4a display man</command> 查看如何将其对手册页的翻"
"译呈现给最终用户,而无需重新编译和重新安装整个项目。"
#. 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 ""
"该脚本仅适用于直接用<emphasis remap='I'>nroff</emphasis>编写并由 po4a 的"
"<emphasis remap='I'>man</emphasis> 模块处理的手册页。 不支持从其他格式(如 "
"DocBook 或 POD)生成的手册页。 请参见<citerefentry><refentrytitle>po4a-"
"display-pod</refentrytitle><manvolnum>1</manvolnum></citerefentry>,有关支持"
"<emphasis remap='I'>POD</emphasis>文档的等效内容。"
#. 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 "<option>-p </option><replaceable>PO_FILE</replaceable>"
#. 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 "包含翻译的 PO 文件。"
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
#: share/doc/po4a-display-man.xml:17
msgid "<option>-m </option><replaceable>MASTER_FILE</replaceable>"
msgstr "<option>-m </option><replaceable>MASTER_FILE</replaceable>"
#. .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 ""
"原始手册页。它可以是原始手册页的绝对或相对路径(gzip 或 not)、手册页的名称或"
"手册页的名称和部分(使用工段格式)。当主控文档没有提供 <option>-m</option> 选"
"项时,<command>po4a display man</command> 会根据订单中第一个字符串的行引用来"
"查找原始的手册页。"
#. 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 "<option>-o </option><replaceable>PO4A_OPT</replaceable>"
#. 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 ""
"一些选项传递到 <citerefentry><refentrytitle>po4a-translate</"
"refentrytitle><manvolnum>1</manvolnum></citerefentry>."
#. 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 ""
"<citerefentry> <refentrytitle>po4a-display-pod</refentrytitle><manvolnum>1</"
"manvolnum> </citerefentry>"
#. 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 "Thomas Huriaux"
#. type: Content of: <refentry><refentryinfo>
#: share/doc/po4a-display-pod.xml:2
msgid "<date>2009-03-16</date>"
msgstr "<date>2009-03-16</date>"
#. type: Content of: <refentry><refmeta><refentrytitle>
#: share/doc/po4a-display-pod.xml:3
msgid "PO4A-DISPLAY-POD"
msgstr "PO4A-DISPLAY-POD"
#. type: Content of: <refentry><refmeta><refmiscinfo>
#: share/doc/po4a-display-pod.xml:5
msgid "2009-03-16"
msgstr "2009-03-16"
#. type: Content of: <refentry><refnamediv><refname>
#: share/doc/po4a-display-pod.xml:8
msgid "po4a-display-pod"
msgstr "po4a-display-pod"
#. 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 "根据 PO 显示翻译的 POD 文件"
#. 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 ""
"<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>"
#. 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 ""
"翻译人员可以使用 <command>po4a display pod</command> 查看如何将其对手册页的翻"
"译呈现给最终用户,而无需重新编译和重新安装整个项目。大多数情况下,POD 文件只"
"在源包中可用或嵌入在 Perl 脚本中。"
#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
#: share/doc/po4a-display-pod.xml:16
msgid "<option>-m </option><replaceable>POD_FILE</replaceable>"
msgstr "<option>-m </option><replaceable>POD_FILE</replaceable>"
#. 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 "Po4a 用于生成 PO 文件的原始 POD 文件。"
#. 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 ""
"<citerefentry> <refentrytitle>po4a-display-man</refentrytitle><manvolnum>1</"
"manvolnum> </citerefentry>"
#. type: Content of: <refentry><refsect1><para>
#: share/doc/po4a-display-pod.xml:23
msgid "Florentin Duneau"
msgstr "Florentin Duneau"
#. 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 "po4a - 一次性更新 PO 文件和翻译文档"
#. 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 "B<po4a> [I<options>] I<config_file>"
#. 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 ""
"po4a (PO 代表任何东西)使用经典的 gettext 工具简化了文档翻译的维护。po4a 的主"
"要特点是将内容的翻译与文档结构分离。请参阅 L<po4a(7)> 页了解本项目的详细介"
"绍。"
#. type: textblock
#: po4a:7
#, fuzzy
#| msgid ""
#| "When you run the B<po4a> program with both the master documents and the "
#| "PO files, it produces the translated documents by injecting the content's "
#| "translation (found in the PO files) into the structure of the original "
#| "master document."
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 ""
"当您使用主文档和 PO 文件运行 B<po4a> 程序时,它通过将内容的翻译(在 PO 文件中"
"找到)注入到原始主文档的结构中来生成翻译后的文档。"
#. 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
#, fuzzy, no-wrap
#| msgid ""
#| " master documents ---+---->-------->---------+\n"
#| " (doc authoring) | |\n"
#| " V (po4a executions) >-----+--> translations\n"
#| " | | |\n"
#| " existing PO files -->--> updated PO files >-+ |\n"
#| " ^ | |\n"
#| " | V |\n"
#| " +----------<---------<-------+ ^\n"
#| " (manual translation process) |\n"
#| " |\n"
#| " addendum -->--------------------------------------+\n"
#| "\n"
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 ""
" 主文档 ---+---->-------->---------+\n"
" (文档编写) | |\n"
" V (po4a 执行) >----+--> 翻译\n"
" | | |\n"
"现有的 PO 文件 -->--> 更新的 PO 文件> -+|\n"
" ^ | |\n"
" | V |\n"
" +----<------<------+ ^\n"
" (人工翻译过程) |\n"
" |\n"
"附录 -->--------------------------- ------+\n"
"\n"
#. 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
#, fuzzy
#| msgid ""
#| "By default, the translated documents are produced when at least 80% of "
#| "their content is translated (see the I<--keep> option below). Discarding "
#| "translations as soon as they are not 100% may be discouraging for the "
#| "translators, while showing \"translations\" that are too incomplete may "
#| "be troubling for the end users."
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 ""
"默认情况下,翻译后的文档在至少 80% 的内容被翻译时生成(请参见下面的 I<--"
"keep> 选项)。在翻译不到 100% 时立即丢弃译文可能会让译者感到沮丧,而显示太不"
"完整的“译文”可能会让最终用户感到不安。"
#. 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
#, fuzzy, no-wrap
#| msgid ""
#| " $ po4a-gettextize --format <format> --master <master.doc> --po <translation.pot>\n"
#| "\n"
msgid ""
" po4a-gettextize --format man --master foo.1 --localized foo.de.1 --po de.po\n"
"\n"
msgstr ""
" $ po4a-gettextize --format <format> --master <master.doc> --po <translation.pot>\n"
"\n"
#. 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
#, fuzzy, no-wrap
#| msgid ""
#| " [po_directory] man/po/\n"
#| "\n"
msgid ""
" [po_directory] man/po4a/\n"
"\n"
msgstr ""
" [po_directory] man/po/\n"
"\n"
#. 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
#, fuzzy
#| msgid "Here is a graphical representation of this:"
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 "B<-k>, B<--keep>"
#. 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 ""
"保留(即写入)结果文件的转换百分比的最小阈值(默认值:80)。即,默认情况下,文件"
"必须至少翻译 80% 才能写入磁盘。"
#. type: =item
#: po4a:31 po4a-normalize:12 po4a-translate:30
msgid "B<-w>, B<--width>"
msgstr "B<-w>, B<--width>"
#. type: textblock
#: po4a:32 po4a-normalize:13 po4a-translate:31
#, fuzzy
#| msgid "Column at which we should wrap the resulting file."
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 "B<-h>, B<--help>"
#. 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 "B<-M>, B<--master-charset>"
#. 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 "B<-L>, B<--localized-charset>"
#. 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 "B<-A>, B<--addendum-charset>"
#. 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 "B<-V>, B<--version>"
#. 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 "B<-v>, B<--verbose>"
#. 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 "B<-q>, B<--quiet>"
#. 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 "B<-d>, B<--debug>"
#. 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 "B<-o>, B<--option>"
#. 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 ""
"要传递给格式插件的额外选项。有关有效选项及其含义的更多信息,请参阅每个插件的"
"文档。例如,您可以将 '-o tablecells' 传递给 AsciiDoc 解析器,而文本解析器将接"
"受 '-o tabs=split'。"
#. type: =item
#: po4a:51
msgid "B<-f>, B<--force>"
msgstr "B<-f>, B<--force>"
#. type: textblock
#: po4a:52
msgid ""
"Always generate the POT and PO files, even if B<po4a> considers it is not "
"necessary."
msgstr "始终生成 POT 和 PO 文件,即使 B<po4a> 认为没有必要。"
#. type: textblock
#: po4a:53
msgid ""
"The default behavior (when B<--force> is not specified) is the following:"
msgstr "默认行为(未指定 B<--force> 时)如下:"
#. 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 ""
"如果 POT 文件已经存在,则如果主文档或配置文件较新(除非提供了 B<--no-"
"update>),则会重新生成该文件。POT 文件也写入临时文档中,B<po4a> 验证是否确实"
"需要更改。"
#. 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 ""
"此外,只有当翻译的主文档、PO 文件、其中一个附录或配置文件更新时,才会重新生成"
"翻译。要避免尝试重新生成未通过阈值测试的翻译(请参见 B<--KEEP>),可以创建扩展"
"名为 F<.po4a-stamp> 的文件(请参见 B<--STAMP>)。"
#. 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 ""
"如果主文档包含文件,则应使用 B<--force> 标志,因为不会考虑这些包含文件的修改"
"时间。"
#. type: textblock
#: po4a:57
msgid ""
"The PO files are always re-generated based on the POT with B<msgmerge -U>."
msgstr "PO 文件总是基于带有 B<msgmerge-U> 的 POT 重新生成。"
#. type: =item
#: po4a:58
msgid "B<--stamp>"
msgstr "B<--stamp>"
#. 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 ""
"告诉 B<po4a> 在由于未达到阈值而未生成翻译时创建标记文件。这些戳记文件根据预期"
"的翻译文档命名,扩展名为 F<.po4a stamp>。"
#. 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 ""
"注意:这只会激活 F<.po4a stamp> 文件的创建。如果存在戳记文件,则始终使用它"
"们,并使用 B<--rm translations> 或在最终翻译文件时删除它们。"
#. type: =item
#: po4a:61
msgid "B<--no-translations>"
msgstr "B<--no-translations>"
#. type: textblock
#: po4a:62
msgid ""
"Do not generate the translated documents, only update the POT and PO files."
msgstr "不生成翻译的文档,只更新 POT 和 PO 文件。"
#. type: =item
#: po4a:63
msgid "B<--no-update>"
msgstr "B<--no-update>"
#. type: textblock
#: po4a:64
msgid ""
"Do not change the POT and PO files, only the translation may be updated."
msgstr "不要更改 POT 和 PO 文件,只能更新翻译。"
#. type: =item
#: po4a:65
msgid "B<--keep-translations>"
msgstr "B<--keep-translations>"
#. 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 ""
"即使翻译不符合 B<--keep> 指定的阈值,也保留现有翻译文件。此选项不会创建内容很"
"少的新翻译文件,但会保存由于主文件更改而衰减的现有翻译。"
#. 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 ""
"警告:此标志以一种相当剧烈的方式更改 po4a 行为:在翻译改进之前,您的翻译文件"
"根本不会更新。仅当您希望传送过时的翻译文档而不是只传送准确的未翻译文档时,才"
"使用此标志。"
#. type: =item
#: po4a:68
msgid "B<--rm-translations>"
msgstr "B<--rm-translations>"
#. type: textblock
#: po4a:69
msgid "Remove the translated files (implies B<--no-translations>)."
msgstr "删除翻译的文件(意味着 B<--no translations>)。"
#. type: =item
#: po4a:70
msgid "B<--no-backups>"
msgstr "B<--no-backups>"
#. type: textblock
#: po4a:71 po4a:73
msgid ""
"This flag does nothing since 0.41, and may be removed in later releases."
msgstr "此标志自 0.41 起不起作用,可能会在以后的版本中删除。"
#. type: =item
#: po4a:72
msgid "B<--rm-backups>"
msgstr "B<--rm-backups>"
#. type: =item
#: po4a:74
msgid "B<--translate-only> I<translated-file>"
msgstr "B<--translate-only> I<translated-file>"
#. 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 ""
"只翻译指定的文件。如果配置文件包含大量文件,则加快处理速度可能会很有用。请注"
"意,此选项不更新 PO 和 POT 文件。此选项可以多次使用。"
#. type: =item
#: po4a:76
msgid "B<--variable> I<var>B<=>I<value>"
msgstr "B<--variable> I<var>B<=>I<value>"
#. 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 ""
"定义将在 B<po4a> 配置文件中展开的变量。每次出现 I<$(var)> 都将被 I<value> 替"
"换。此选项可以多次使用。"
#. type: =item
#: po4a:78
msgid "B<--srcdir> I<SRCDIR>"
msgstr "B<--srcdir> I<SRCDIR>"
#. type: textblock
#: po4a:79
msgid ""
"Set the base directory for all input documents specified in the B<po4a> "
"configuration file."
msgstr "为 B<po4a> 配置文件中指定的所有输入文档设置基本目录。"
#. 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 ""
"如果同时指定了 I<destdir> 和 I<srcdir>,则按顺序在以下目录中搜索输入文件:"
"I<destdir>、当前目录和 I<srcdir>。如果指定,输出文件将写入 I<destdir> 或当前"
"目录。"
#. type: =item
#: po4a:81
msgid "B<--destdir> I<DESTDIR>"
msgstr "B<--destdir> I<DESTDIR>"
#. 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 ""
"为 B<po4a> 配置文件中指定的所有输出文档设置基本目录(请参见上面的 B<--"
"srcdir>)。"
#. type: =head2
#: po4a:83
msgid "Options modifying the POT header"
msgstr "选项修改 POT 头"
#. type: =item
#: po4a:84 lib/Locale/Po4a/Po.pm:14
msgid "B<--porefs> I<type>"
msgstr "B<--porefs> I<type>"
#. 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 ""
"指定引用格式。参数 I<type> 可以是以下值之一:B<never> 不生成任何引用;"
"B<file> 只指定不带行号的文件;B<counter> 用递增的计数器替换行号;B<full> 包含"
"完整引用(默认值:full)。"
#. 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 "B<--wrap-po> B<no>|B<newlines>|I<number> (default: 76)"
#. 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 ""
"指定应如何封装 po 文件。这使我们可以选择封装良好但可能导致 git 冲突的文件,或"
"者更容易自动处理但对人类来说更难读取的文件。"
#. 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 ""
"从历史上看,gettext 套件已经重新格式化了第 77 列化妆品的 po 文件。此选项指定 "
"po4a 的行为。如果设置为数值,po4a 将在内容中的此列和换行之后封装 po 文件。如"
"果设置为 B<newlines>,po4a 将只在内容中的新行之后拆分 msgid 和 msgstr。如果设"
"置为 B<no>,则 po4a 根本不会封装 po 文件。引用注释总是由我们在内部使用的 "
"gettext 工具封装。"
#. 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 ""
"请注意,此选项对 msgid 和 msgstr 的封装方式(即,将换行符添加到这些字符串的内"
"容中)没有影响。"
#. type: =item
#: po4a:90
msgid "B<--master-language>"
msgstr "B<--master-language>"
#. 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 "B<--msgid-bugs-address> I<email@address>"
#. 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 ""
"设置 msgid 错误的报告地址。 默认情况下,创建的 POT 文件没有 Report-Msgid-"
"Bugs-To 字段。"
#. type: =item
#: po4a:94 po4a-gettextize:40 po4a-updatepo:47 lib/Locale/Po4a/Po.pm:22
msgid "B<--copyright-holder> I<string>"
msgstr "B<--copyright-holder> I<string>"
#. 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 "在 POT 标头中设置版权所有者。 默认值为“自由软件基金会有限公司。”"
#. type: =item
#: po4a:96 po4a-gettextize:42 po4a-updatepo:49 lib/Locale/Po4a/Po.pm:24
msgid "B<--package-name> I<string>"
msgstr "B<--package-name> I<string>"
#. 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 "设置 POT 标头的程序包名称。 默认值为“封装”。"
#. type: =item
#: po4a:98 po4a-gettextize:44 po4a-updatepo:51 lib/Locale/Po4a/Po.pm:26
msgid "B<--package-version> I<string>"
msgstr "B<--package-version> I<string>"
#. 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 "设置 POT 标头的软件包版本。 默认值为“版本”。"
#. type: =head2
#: po4a:100
msgid "Options to modify the PO files"
msgstr "修改 PO 文件的选项"
#. type: =item
#: po4a:101 po4a-updatepo:26
msgid "B<--msgmerge-opt> I<options>"
msgstr "B<--msgmerge-opt> I<options>"
#. type: textblock
#: po4a:102 po4a-updatepo:27
msgid "Extra options for B<msgmerge>(1)."
msgstr "B<msgmerge>(1) 的其他选项。"
#. type: textblock
#: po4a:103
msgid "Note: B<$lang> will be extended to the current language."
msgstr "注意: B<$lang> 将扩展为当前语言。"
#. type: =item
#: po4a:104 po4a-updatepo:22
msgid "B<--no-previous>"
msgstr "B<--no-previous>"
#. 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 ""
"此选项从传递给 B<msgmerge> 的选项中删除 B<-previous>。这是支持 0.16 之前的 "
"B<gettext> 版本所必需的。"
#. type: =item
#: po4a:106 po4a-updatepo:24
msgid "B<--previous>"
msgstr "B<--previous>"
#. type: textblock
#: po4a:107 po4a-updatepo:25
msgid ""
"This option adds B<--previous> to the options passed to B<msgmerge>. It "
"requires B<gettext> 0.16 or later, and is activated by default."
msgstr ""
"此选项 B<--previous> 添加到传递给 B<msgmerge> 的选项中。它需要 B<gettext> "
"0.16 或更高版本,并在默认情况下激活。"
#. type: =head1
#: po4a:108
msgid "CONFIGURATION FILE"
msgstr "配置文件"
#. type: textblock
#: po4a:109
msgid ""
"po4a expects a configuration file as argument. This file must contain the "
"following elements:"
msgstr "po4a 需要一个配置文件作为参数。此文件必须包含以下元素:"
#. type: textblock
#: po4a:110
msgid ""
"The path to the PO files and the list of languages existing in the project;"
msgstr "PO 文件的路径和项目中存在的语言列表;"
#. type: textblock
#: po4a:111
msgid ""
"Optionally, some global options and so-called configuration aliases that are "
"used as templates to configure individual master files;"
msgstr "可选地,一些全局选项和所谓的配置别名,用作配置单个主文件的模板;"
#. type: textblock
#: po4a:112
msgid ""
"The list of each master file to translate, along with specific parameters."
msgstr "要转换的每个主文件的列表以及特定参数。"
#. type: textblock
#: po4a:113
msgid ""
"All lines contain a command between square braces, followed by its "
"parameters. Comments begin with the char '#' and run until the end of the "
"line. You can escape the end of line to spread a command over several lines."
msgstr ""
"所有行在方括号之间都包含一个命令,后跟其参数。注释以字符 '#' 开头,并一直运行"
"到行的末尾。您可以转义行尾,将命令分散到几行。"
#. type: textblock
#: po4a:114
msgid ""
"Some full examples are presented on this page, while other examples can be "
"found in the C<t/cfg> directory of the source distribution."
msgstr ""
"本页提供了一些完整的示例,而其他示例可以在源代码分发的 C<t/cfg> 目录中找到。"
#. type: =head2
#: po4a:115
msgid "Finding the PO and POT files"
msgstr "查找 PO 和 POT 文件"
#. type: textblock
#: po4a:116
msgid ""
"The simplest solution is to explicitly give the path to POT and PO files, as "
"follows:"
msgstr "最简单的解决方案是显式指定 POT 和 PO 文件的路径,如下所示:"
#. type: verbatim
#: po4a:117
#, no-wrap
msgid ""
" [po4a_paths] man/po/project.pot de:man/po/de.po fr:man/po/fr.po\n"
"\n"
msgstr ""
" [po4a_paths] man/po/project.pot de:man/po/de.po fr:man/po/fr.po\n"
"\n"
#. type: textblock
#: po4a:118
msgid ""
"This specifies the path to the POT file first, and then the paths to the "
"German and French PO files."
msgstr "首先指定 POT 文件的路径,然后指定德语和法语 PO 文件的路径。"
#. type: textblock
#: po4a:119
msgid ""
"The same information can be written as follows to reduce the risk of copy/"
"paste errors:"
msgstr "可以按如下方式写入相同的信息,以降低复制/粘贴错误的风险:"
#. type: verbatim
#: po4a:120
#, no-wrap
msgid ""
" [po4a_langs] fr de\n"
" [po4a_paths] man/po/project.pot $lang:man/po/$lang.po\n"
"\n"
msgstr ""
" [po4a_langs] fr de\n"
" [po4a_paths] man/po/project.pot $lang:man/po/$lang.po\n"
"\n"
#. type: textblock
#: po4a:121
msgid ""
"The C<$lang> component is automatically expanded using the provided "
"languages list, reducing the risk of copy/paste error when a new language is "
"added."
msgstr ""
"C<$lang> 组件使用提供的语言列表自动展开,减少了添加新语言时出现复制/粘贴错误"
"的风险。"
#. type: textblock
#: po4a:122
msgid ""
"You can further compact the same information by only providing the path to "
"the directory containing your translation project, as follows."
msgstr ""
"通过只提供包含翻译项目的目录的路径,您可以进一步压缩相同的信息,如下所示。"
#. type: verbatim
#: po4a:123
#, no-wrap
msgid ""
" [po_directory] man/po/\n"
"\n"
msgstr ""
" [po_directory] man/po/\n"
"\n"
#. type: textblock
#: po4a:124
msgid ""
"The provided directory must contain a set of PO files, each named F<XX.po> "
"with C<XX> the ISO 639-1 of the language used in this file. The directory "
"must also contain a single POT file, with the C<.pot> file extension. For "
"the first run, this file can be empty but it must exist (po4a cannot guess "
"the name to use before the extension)."
msgstr ""
"提供的目录必须包含一组 PO 文件,每个文件名为 F<XX.po>,C<XX> 为此文件中使用的"
"语言的 ISO 639-1。该目录还必须包含单个 POT 文件,文件扩展名为 C<.pot>。在第一"
"次运行时,该文件可以是空的,但必须存在(po4a 无法猜测要在扩展名之前使用的名"
"称)。"
#. type: textblock
#: po4a:125
msgid ""
"Note that you must choose only one between C<po_directory> and "
"C<po4a_paths>. The first one (C<po_directory>) is more compact, further "
"reduces the risk of copy/paste error, but forces you to use the expected "
"project structure and file names. The second one (C<po4a_paths>), is more "
"explicit, probably more readable, and advised when you setup your first "
"project with po4a."
msgstr ""
"请注意,您只能在 C<po_文件夹> 和 C<po4a_路径> 之间选择一个。第一个 (C<po_文件"
"夹>) 更紧凑,进一步降低了复制/粘贴错误的风险,但强制您使用预期的项目结构和文"
"件名。第二个 (C<po4a_路径>) 更明确,可能更具可读性,建议您在使用 po4a 设置第"
"一个项目时使用。"
#. type: =head3
#: po4a:126
msgid "Centralized or split PO files?"
msgstr "集中或拆分 PO 文件?"
#. type: textblock
#: po4a:127
msgid ""
"By default, po4a produces one single PO file per target language, containing "
"the whole content of your translation project. As your project grows, the "
"size of these files may become problematic. When using weblate, it is "
"possible to specify priorities for each translation segment (i.e., msgid) so "
"that the important ones get translated first. Still, some translation teams "
"prefer to split the content in several files."
msgstr ""
"默认情况下,po4a 为每种目标语言生成一个 PO 文件,其中包含翻译项目的全部内容。"
"随着项目的增长,这些文件的大小可能会出现问题。使用 weblate 时,可以为每个翻译"
"段(即 msgid)指定优先级,以便首先翻译重要的部分。尽管如此,一些翻译团队还是"
"喜欢将内容分成几个文件。"
#. type: textblock
#: po4a:128
msgid ""
"To have one PO file per master file, you simply have to use the string "
"C<$master> in the name of your PO files on the C<[po4a_paths]> line, as "
"follows."
msgstr ""
"要在每个主文件中有一个 PO 文件,只需在 C<[po4a_paths]> 行上的 PO 文件名中使用"
"字符串 C<$master>,如下所示。"
#. type: verbatim
#: po4a:129
#, no-wrap
msgid ""
" [po4a_paths] doc/$master/$master.pot $lang:doc/$master/$lang.po\n"
"\n"
msgstr ""
" [po4a_paths] doc/$master/$master.pot $lang:doc/$master/$lang.po\n"
"\n"
#. type: textblock
#: po4a:130
#, fuzzy
#| msgid ""
#| "With this line, po4a will produce separate POT and PO files for each "
#| "document to translate. For example, if you have 3 documents and 5 "
#| "languages, this will result in 3 POT files and 15 PO files. These files "
#| "are named as specified on the C<po4a_paths> template, with C<$master> "
#| "substituted to the basename of each document to translate. In case of "
#| "name conflict, you can specify the POT file to use as follows, with the "
#| "C<pot=> parameter. This feature can also be used to group several "
#| "translated files into the same POT file."
msgid ""
"With this line, po4a will produce separate POT and PO files for each "
"document to translate. For example, if you have 3 documents and 5 "
"languages, this will result in 3 POT files and 15 PO files. These files are "
"named as specified on the C<po4a_paths> template, with C<$master> "
"substituted to the basename of each document to translate. In case of name "
"conflict, you can specify the POT file to use as follows, with the C<pot=> "
"parameter."
msgstr ""
"通过这一行,po4a 将为每个要翻译的文档生成单独的 POT 和 PO 文件。例如,如果您"
"有 3 个文档和 5 种语言,这将产生 3 个 POT 文件和 15 个 PO 文件。这些文件按照 "
"C<po4a_paths> 模板上的指定命名,并将 C<$master> 替换为要翻译的每个文档的基"
"名。在名称冲突的情况下,您可以使用 C<pot=> 参数指定要使用的 POT 文件,如下所"
"示。此功能还可用于将多个翻译后的文件组合到同一 POT 文件中。"
#. type: textblock
#: po4a:131
msgid ""
"This feature can also be used to group several translated files into the "
"same POT file. The following example only produces 2 POT files: F<l10n/po/"
"foo.pot> (containing the material from F<foo/gui.xml>) and F<l10n/po/bar."
"pot> (containing the material from both F<bar/gui.xml> and F<bar/cli.xml>)."
msgstr ""
#. type: verbatim
#: po4a:132
#, fuzzy, no-wrap
#| msgid ""
#| " [po4a_langs] de fr ja\n"
#| " [po4a_paths] l10n/po/$master.pot $lang:l10n/po/$master.$lang.po\n"
#| " [type: xml] foo/gui.xml $lang:foo/gui.$lang.xml pot=foo-gui\n"
#| " [type: xml] bar/gui.xml $lang:bar/gui.$lang.xml pot=bar\n"
#| " [type: xml] bar/cli.xml $lang:bar/cli.$lang.xml pot=bar\n"
#| "\n"
msgid ""
" [po4a_langs] de fr ja\n"
" [po4a_paths] l10n/po/$master.pot $lang:l10n/po/$master.$lang.po\n"
" [type: xml] foo/gui.xml $lang:foo/gui.$lang.xml pot=foo\n"
" [type: xml] bar/gui.xml $lang:bar/gui.$lang.xml pot=bar\n"
" [type: xml] bar/cli.xml $lang:bar/cli.$lang.xml pot=bar\n"
"\n"
msgstr ""
" [po4a_langs] de fr ja\n"
" [po4a_paths] l10n/po/$master.pot $lang:l10n/po/$master.$lang.po\n"
" [type: xml] foo/gui.xml $lang:foo/gui.$lang.xml pot=foo-gui\n"
" [type: xml] bar/gui.xml $lang:bar/gui.$lang.xml pot=bar\n"
" [type: xml] bar/cli.xml $lang:bar/cli.$lang.xml pot=bar\n"
"\n"
#. type: textblock
#: po4a:133
msgid ""
"In split mode, B<po4a> builds a temporary compendium during the PO update, "
"to share the translations between all the PO files. If two PO files have "
"different translations for the same string, B<po4a> will mark this string as "
"fuzzy and will submit both translations in all the PO files containing this "
"string. When unfuzzied by the translator, the translation is automatically "
"used in every PO files."
msgstr ""
"在 split 模式下,B<po4a> 在 PO 更新期间构建一个临时概要,以便在所有 PO 文件之"
"间共享翻译。如果两个 PO 文件对同一字符串有不同的翻译,B<po4a> 将此字符串标记"
"为 fuzzy,并将在包含此字符串的所有 PO 文件中提交两个翻译。当翻译人员解除困惑"
"时,翻译将自动用于每个 PO 文件中。"
#. type: =head2
#: po4a:134
msgid "Specifying the documents to translate"
msgstr "指定要翻译的文档"
#. type: textblock
#: po4a:135
#, fuzzy
#| msgid ""
#| "You must also list the documents that should be translated. For each "
#| "master file, you must specify the format parser to use, the location of "
#| "the translated document to produce, and optionally some configuration. "
#| "Here is an example:"
msgid ""
"You must also list the documents that should be translated. For each master "
"file, you must specify the format parser to use, the location of the "
"translated document to produce, and optionally some configuration. File "
"names should be quoted or escaped if they contain spaces. Here is an example:"
msgstr ""
"您还必须列出应翻译的文档。对于每个主文件,必须指定要使用的格式解析器、要生成"
"的转换文档的位置,以及一些可选的配置。下面是一个例子:"
#. type: verbatim
#: po4a:136
#, fuzzy, no-wrap
#| msgid ""
#| " [type: sgml] doc/my_stuff.sgml fr:doc/fr/mon_truc.sgml \\\n"
#| " de:doc/de/mein_kram.sgml\n"
#| " [type: man] script fr:doc/fr/script.1 de:doc/de/script.1\n"
#| " [type: docbook] doc/script.xml fr:doc/fr/script.xml \\\n"
#| " de:doc/de/script.xml\n"
#| "\n"
msgid ""
" [type: sgml] \"doc/my stuff.sgml\" \"fr:doc/fr/mon truc.sgml\" de:doc/de/mein\\ kram.sgml\n"
" [type: man] script fr:doc/fr/script.1 de:doc/de/script.1\n"
" [type: docbook] doc/script.xml fr:doc/fr/script.xml \\\n"
" de:doc/de/script.xml\n"
"\n"
msgstr ""
" [type: sgml] doc/my_stuff.sgml fr:doc/fr/mon_truc.sgml \\\n"
" de:doc/de/mein_kram.sgml\n"
" [type: man] script fr:doc/fr/script.1 de:doc/de/script.1\n"
" [type: docbook] doc/script.xml fr:doc/fr/script.xml \\\n"
" de:doc/de/script.xml\n"
"\n"
#. type: textblock
#: po4a:137
msgid ""
"But again, these complex lines are difficult to read and modify, e.g. when "
"adding a new language. It is much simpler to reorganize things using the "
"C<$lang> template as follows:"
msgstr ""
"但同样,这些复杂的行很难阅读和修改,例如在添加新语言时。使用 C<$lang> 模板重"
"新组织内容要简单得多,如下所示:"
#. type: verbatim
#: po4a:138
#, no-wrap
msgid ""
" [type: sgml] doc/my_stuff.sgml $lang:doc/$lang/my_stuff.sgml\n"
" [type: man] script.1 $lang:po/$lang/script.1\n"
" [type: docbook] doc/script.xml $lang:doc/$lang/script.xml\n"
"\n"
msgstr ""
" [type: sgml] doc/my_stuff.sgml $lang:doc/$lang/my_stuff.sgml\n"
" [type: man] script.1 $lang:po/$lang/script.1\n"
" [type: docbook] doc/script.xml $lang:doc/$lang/script.xml\n"
"\n"
#. type: =head2
#: po4a:139
msgid "Specifying options"
msgstr "指定选项"
#. type: textblock
#: po4a:140
msgid ""
"There is two types of options: I<po4a options> are default values to the "
"po4a command line options while I<format options> are used to change the "
"behavior of the format parsers. As a I<po4a options>, you could for example "
"specify in your configuration file that the default value of the B<--keep> "
"command line parameter is 50% instead of 80%. I<Format options> are "
"documented on the specific page of each parsing module, e.g. L<Locale::Po4a::"
"Xml(3pm)>. You could for example pass B<nostrip> to the XML parser to not "
"strip the spaces around the extracted strings."
msgstr ""
"有两种类型的选项:I<po4a options> 是 po4a 命令行选项的默认值,而 I<format "
"options> 用于更改格式分析器的行为。作为 I<po4a options>,您可以在配置文件中指"
"定 B<--keep> 命令行参数的默认值是 50%,而不是 80%。I<Format options> 记录在每"
"个解析模块的特定页面上,例如 L<Locale::Po4a::Xml(3pm)>。例如,您可以将 "
"B<nostrip> 传递给 XML 解析器,以不除去提取的字符串周围的空格。"
#. type: textblock
#: po4a:141
msgid ""
"You can pass these options for a specific master file, or even for a "
"specific translation of that file, using C<opt:> and C<opt_XX:> for the "
"C<XX> language. In the following example, the B<nostrip> option is passed "
"to the XML parser (for all languages), while the threshold will be reduced "
"to 0% for the French translation (that is thus always kept)."
msgstr ""
"您可以为特定主文件传递这些选项,甚至为该文件的特定翻译传递这些选项,使用 "
"C<opt:> 和 C<opt_XX:> 作为 C<XX> 语言。在下面的示例中, B<nostrip> 选项被传递"
"给 XML 解析器(对于所有语言),而对于法语翻译,阈值将降低到 0%(因此始终保"
"持)。"
#. type: verbatim
#: po4a:142
#, no-wrap
msgid ""
" [type:xml] toto.xml $lang:toto.$lang.xml opt:\"-o nostrip\" opt_fr:\"--keep 0\"\n"
"\n"
msgstr ""
" [type:xml] toto.xml $lang:toto.$lang.xml opt:\"-o nostrip\" opt_fr:\"--keep 0\"\n"
"\n"
#. type: textblock
#: po4a:143
msgid ""
"In any case, these configuration chunks must be located at the end of the "
"line. The declaration of files must come first, then the addendum if any "
"(see below), and then only the options. The grouping of configuration chunks "
"is not very important, since elements are internally concatenated as "
"strings. The following examples are all equivalent:"
msgstr ""
"无论如何,这些配置块必须位于行的末尾。必须先声明文件,然后才是附录(如有)"
"(见下文),然后才是选项。配置块的分组不是很重要,因为元素在内部连接为字符"
"串。以下示例都是等效的:"
#. type: verbatim
#: po4a:144
#, no-wrap
msgid ""
" [type:xml] toto.xml $lang:toto.$lang.xml opt:\"--keep 20\" opt:\"-o nostrip\" opt_fr:\"--keep 0\"\n"
" [type:xml] toto.xml $lang:toto.$lang.xml opt:\"--keep 20 -o nostrip\" opt_fr:\"--keep 0\"\n"
" [type:xml] toto.xml $lang:toto.$lang.xml opt:--keep opt:20 opt:-o opt:nostrip opt_fr:--keep opt_fr:0\n"
"\n"
msgstr ""
" [type:xml] toto.xml $lang:toto.$lang.xml opt:\"--keep 20\" opt:\"-o nostrip\" opt_fr:\"--keep 0\"\n"
" [type:xml] toto.xml $lang:toto.$lang.xml opt:\"--keep 20 -o nostrip\" opt_fr:\"--keep 0\"\n"
" [type:xml] toto.xml $lang:toto.$lang.xml opt:--keep opt:20 opt:-o opt:nostrip opt_fr:--keep opt_fr:0\n"
"\n"
#. type: textblock
#: po4a:145
msgid ""
"Note that language specific options are not used when building the POT file. "
"It is for example impossible to pass B<nostrip> to the parser only when "
"building the French translation, because the same POT file is used to update "
"every languages. So the only options that can be language-specific are the "
"ones that are used when producing the translation, as the C<--keep> option."
msgstr ""
"请注意,生成 POT 文件时不使用特定于语言的选项。例如,仅在构建法语翻译时,不可"
"能将 B<nostrip> 传递给解析器,因为同一 POT 文件用于更新每种语言。因此,唯一可"
"以特定于语言的选项是生成翻译时使用的选项,如 C<--keep> 选项。"
#. type: =head3
#: po4a:146
msgid "Configuration aliases"
msgstr "配置别名"
#. type: textblock
#: po4a:147
msgid ""
"To pass the same options to several files, the best is to define a type "
"alias as follows. In the next example, C<--keep 0> is passed to every "
"Italian translation using this C<test> type, that is an extension of the "
"C<man> type."
msgstr ""
"要将相同的选项传递给多个文件,最好的方法是按如下所示定义类型别名。在下一个示"
"例中,使用此 C<test> 类型(即 C<man> 类型的扩展)将 C<--keep 0> 传递给每个意"
"大利语翻译。"
#. type: verbatim
#: po4a:148
#, no-wrap
msgid ""
" [po4a_alias:test] man opt_it:\"--keep 0\"\n"
" [type: test] man/page.1 $lang:man/$lang/page.1\n"
"\n"
msgstr ""
" [po4a_alias:test] man opt_it:\"--keep 0\"\n"
" [type: test] man/page.1 $lang:man/$lang/page.1\n"
"\n"
#. type: textblock
#: po4a:149
msgid ""
"You can also extend an existing type reusing the same name for the alias as "
"follows. This is not interpreted as as an erroneous recursive definition."
msgstr ""
"还可以对现有类型进行扩展,对别名使用相同的名称,如下所示。这不是一个错误的递"
"归定义。"
#. type: verbatim
#: po4a:150
#, no-wrap
msgid ""
" [po4a_alias:man] man opt_it:\"--keep 0\"\n"
" [type: man] man/page.1 $lang:man/$lang/page.1\n"
"\n"
msgstr ""
" [po4a_alias:man] man opt_it:\"--keep 0\"\n"
" [type: man] man/page.1 $lang:man/$lang/page.1\n"
"\n"
#. type: =head3
#: po4a:151
msgid "Global default options"
msgstr "全局默认选项"
#. type: textblock
#: po4a:152
msgid ""
"You can also use C<[options]> lines to define options that must be used for "
"all files, regardless of their type."
msgstr ""
"您还可以使用 C<[options]> 行定义必须用于所有文件的选项,无论其类型如何。"
#. type: verbatim
#: po4a:153
#, no-wrap
msgid ""
" [options] --keep 20 --option nostrip\n"
"\n"
msgstr ""
" [options] --keep 20 --option nostrip\n"
"\n"
#. type: textblock
#: po4a:154
msgid ""
"As with the command line options, you can abbreviate the parameters passed "
"in the configuration file:"
msgstr "与命令行选项一样,您可以缩写配置文件中传递的参数:"
#. type: verbatim
#: po4a:155
#, no-wrap
msgid ""
" [options] -k 20 -o nostrip\n"
"\n"
msgstr ""
" [options] -k 20 -o nostrip\n"
"\n"
#. type: =head3
#: po4a:156
msgid "Option priorities"
msgstr "选项优先权"
#. type: textblock
#: po4a:157
msgid ""
"The options of every sources are concatenated, ensuring that the default "
"values can easily be overridden by more specific options. The order is as "
"follows:"
msgstr ""
"每个源的选项都是串联的,确保默认值可以很容易地被更具体的选项覆盖。顺序如下:"
#. type: textblock
#: po4a:158
msgid ""
"C<[options]> lines provide default values that can be overridden by any "
"other source."
msgstr "C<[options]> 行提供可由任何其他源重写的默认值。"
#. type: textblock
#: po4a:159
msgid ""
"Type aliases are then used. Language specific settings override the ones "
"applicable to all languages."
msgstr "然后使用类型别名。特定于语言的设置将覆盖适用于所有语言的设置。"
#. type: textblock
#: po4a:160
msgid ""
"Settings that are specific to a given master file override both the default "
"ones and the ones coming from the type alias. In this case also, language "
"specific settings override the global ones."
msgstr ""
"特定于给定主文件的设置将同时覆盖默认设置和来自类型别名的设置。在这种情况下,"
"特定于语言的设置也会覆盖全局设置。"
#. type: textblock
#: po4a:161
msgid ""
"Finally, parameters provided on the B<po4a> command line override any "
"settings from the configuration file."
msgstr "最后,B<po4a> 命令行上提供的参数会覆盖配置文件中的任何设置。"
#. type: =head3
#: po4a:162
msgid "Example"
msgstr "示例"
#. type: textblock
#: po4a:163
msgid "Here is an example showing how to quote the spaces and quotes:"
msgstr "下面是一个示例,演示如何引用空格和引号:"
#. type: verbatim
#: po4a:164
#, no-wrap
msgid ""
" [po_directory] man/po/\n"
" \n"
msgstr ""
" [po_directory] man/po/\n"
" \n"
#. type: verbatim
#: po4a:165
#, no-wrap
msgid ""
" [options] --master-charset UTF-8\n"
" \n"
msgstr ""
" [options] --master-charset UTF-8\n"
" \n"
#. type: verbatim
#: po4a:166
#, no-wrap
msgid ""
" [po4a_alias:man] man opt:\"-o \\\"mdoc=NAME,SEE ALSO\\\"\"\n"
" [type:man] t-05-config/test02_man.1 $lang:tmp/test02_man.$lang.1 \\\n"
" opt:\"-k 75\" opt_it:\"-L UTF-8\" opt_fr:--verbose\n"
"\n"
msgstr ""
" [po4a_alias:man] man opt:\"-o \\\"mdoc=NAME,SEE ALSO\\\"\"\n"
" [type:man] t-05-config/test02_man.1 $lang:tmp/test02_man.$lang.1 \\\n"
" opt:\"-k 75\" opt_it:\"-L UTF-8\" opt_fr:--verbose\n"
"\n"
#. type: =head2
#: po4a:167
msgid "Addendum: Adding extra content in the translation"
msgstr "附录:在译文中增加额外内容"
#. type: textblock
#: po4a:168
msgid ""
"If you want to add an extra section to the translation, for example to give "
"credit to the translator, then you need to define an addendum to the line "
"defining your master file. Please refer to the page L<po4a(7)> for more "
"details on the syntax of addendum files."
msgstr ""
"如果您想在翻译中添加一个额外的部分,例如给翻译人员加学分,那么您需要在定义主"
"文件的行中定义一个附录。有关附录文件语法的更多详细信息,请参阅第 L<po4a(7)> "
"页。"
#. type: verbatim
#: po4a:169
#, no-wrap
msgid ""
" [type: pod] script fr:doc/fr/script.1 \\\n"
" add_fr:doc/l10n/script.fr.add\n"
"\n"
msgstr ""
" [type: pod] script fr:doc/fr/script.1 \\\n"
" add_fr:doc/l10n/script.fr.add\n"
"\n"
#. type: textblock
#: po4a:170
msgid "You can also use language templates as follow:"
msgstr "您还可以使用语言模板,如下所示:"
#. type: verbatim
#: po4a:171
#, no-wrap
msgid ""
" [type: pod] script $lang:doc/$lang/script.1 \\\n"
" add_$lang:doc/l10n/script.$lang.add\n"
"\n"
msgstr ""
" [type: pod] script $lang:doc/$lang/script.1 \\\n"
" add_$lang:doc/l10n/script.$lang.add\n"
"\n"
#. type: textblock
#: po4a:172
msgid "If an addendum fails to apply, the translation is discarded."
msgstr "如果补遗不适用,翻译将被丢弃。"
#. type: =head3
#: po4a:173
msgid "Modifiers for the addendum declaration"
msgstr "附录声明的修饰符"
#. type: textblock
#: po4a:174
msgid ""
"Addendum modifiers can simplify the configuration file in the case where not "
"all languages provide an addendum, or when the list of addenda changes from "
"one language to the other. The modifier is a single char located before the "
"file name."
msgstr ""
"在并非所有语言都提供附录的情况下,或者当附录列表从一种语言更改为另一种语言"
"时,附录修饰符可以简化配置文件。修饰符是位于文件名之前的单个字符。"
#. type: =item
#: po4a:175
msgid "B<?>"
msgstr "B<?>"
#. type: textblock
#: po4a:176
msgid "Include I<addendum_path> if this file does exist, otherwise do nothing."
msgstr "如果此文件确实存在,请包括 I<appendment_path>,否则不执行任何操作。"
#. type: =item
#: po4a:177
msgid "B<@>"
msgstr "B<@>"
#. type: textblock
#: po4a:178
msgid ""
"I<addendum_path> is not a regular addendum but a file containing a list of "
"addenda, one by line. Each addendum may be preceded by modifiers."
msgstr ""
"I<addendment_path> 不是常规的附录,而是一个逐行包含附录列表的文件。每个附录前"
"面都可以加上修饰符。"
#. type: =item
#: po4a:179
msgid "B<!>"
msgstr "B<!>"
#. type: textblock
#: po4a:180
msgid ""
"I<addendum_path> is discarded, it is not loaded and will not be loaded by "
"any further addendum specification."
msgstr ""
"I<appendment_path> 被丢弃,它不会被加载,也不会被任何进一步的附录规范加载。"
#. type: textblock
#: po4a:181
msgid ""
"The following includes an addendum in any language, but if only it exists. "
"No error is reported if the addendum does not exist."
msgstr ""
"以下内容包括任何语言的附录,但前提是该附录存在。如果附录不存在,则不会报告任"
"何错误。"
#. type: verbatim
#: po4a:182
#, no-wrap
msgid ""
" [type: pod] script $lang:doc/$lang/script.1 add_$lang:?doc/l10n/script.$lang.add\n"
"\n"
msgstr ""
" [type: pod] script $lang:doc/$lang/script.1 add_$lang:?doc/l10n/script.$lang.add\n"
"\n"
#. type: textblock
#: po4a:183
msgid "The following includes a list of addendum for every language:"
msgstr "以下为每种语言的附录清单:"
#. type: verbatim
#: po4a:184
#, no-wrap
msgid ""
" [type: pod] script $lang:doc/$lang/script.1 add_$lang:@doc/l10n/script.$lang.add\n"
"\n"
msgstr ""
" [type: pod] script $lang:doc/$lang/script.1 add_$lang:@doc/l10n/script.$lang.add\n"
"\n"
#. type: =head2
#: po4a:185
msgid "Filtering the translated strings"
msgstr "过滤翻译的字符串"
#. type: textblock
#: po4a:186
msgid ""
"Sometimes, you want to hide some strings from the translation process. To "
"that extend, you can give a C<pot_in> parameter to your master file to "
"specify the name of the file to use instead of the real master when building "
"the POT file. Here is an example:"
msgstr ""
"有时候,你想在翻译过程中隐藏一些字符串。为此,可以为主文件指定一个 C<pot_in> "
"参数,以指定在生成 pot 文件时要使用的文件名,而不是实际的主文件名。下面是一个"
"例子:"
#. type: verbatim
#: po4a:187
#, no-wrap
msgid ""
" [type:docbook] book.xml \\\n"
" pot_in:book-filtered.xml \\\n"
" $lang:book.$lang.xml\n"
"\n"
msgstr ""
" [type:docbook] book.xml \\\n"
" pot_in:book-filtered.xml \\\n"
" $lang:book.$lang.xml\n"
"\n"
#. type: textblock
#: po4a:188
msgid ""
"With this setting, the strings to translate will be extracted from the "
"F<book-filtered.xml> (that must be produced before calling B<po4a>) while "
"the translated files will be built from F<book.xml>. As a result, any string "
"that is part of F<book.xml> but not in F<book-filtered.xml> will not be "
"included in the PO files, preventing the translators from providing a "
"translation for them. So these strings will be left unmodified when "
"producing the translated documents. This naturally decreases the level of "
"translation, so you may need the C<--keep> option to ensure that the "
"document is produced anyway."
msgstr ""
"使用此设置,将从 F<book-filtered.xml> (必须在调用 B<po4a> 之前生成),而转换"
"后的文件将从生成 F<book.xml> 文件. 因此,任何属于F的字符串 F<book.xml> 文件但"
"不在 F<book-filtered.xml> 不会包含在 PO 文件中,从而阻止翻译人员为其提供翻"
"译。因此,在生成翻译的文档时,这些字符串将保持不变。这自然会降低翻译的级别,"
"因此您可能需要使用 C<--keep> 选项来确保无论如何都会生成文档。"
#. type: textblock
#: po4a:190
#, fuzzy
#| msgid ""
#| "L<po4a-gettextize(1)>, L<po4a-translate(1)>, L<po4a-updatepo(1)>, "
#| "L<po4a(7)>"
msgid "L<po4a-gettextize(1)>, L<po4a(7)>."
msgstr ""
"L<po4a-gettextize(1)>, L<po4a-translate(1)>, L<po4a-updatepo(1)>, L<po4a(7)>"
#. type: =head1
#: po4a:191 po4a-gettextize:78 po4a-normalize:38 po4a-translate:52
#: po4a-updatepo:55 msguntypot:32 doc/po4a.7.pod:196
#: lib/Locale/Po4a/AsciiDoc.pm:56 lib/Locale/Po4a/BibTeX.pm:11
#: lib/Locale/Po4a/Chooser.pm:12 lib/Locale/Po4a/Common.pm:28
#: lib/Locale/Po4a/Dia.pm:14 lib/Locale/Po4a/Docbook.pm:17
#: lib/Locale/Po4a/Guide.pm:12 lib/Locale/Po4a/Halibut.pm:16
#: lib/Locale/Po4a/Ini.pm:10 lib/Locale/Po4a/KernelHelp.pm:9
#: lib/Locale/Po4a/LaTeX.pm:10 lib/Locale/Po4a/Man.pm:109
#: lib/Locale/Po4a/Po.pm:93 lib/Locale/Po4a/Pod.pm:23
#: lib/Locale/Po4a/RubyDoc.pm:16 lib/Locale/Po4a/Sgml.pm:53
#: lib/Locale/Po4a/TeX.pm:120 lib/Locale/Po4a/Texinfo.pm:16
#: lib/Locale/Po4a/Text.pm:45 lib/Locale/Po4a/TransTractor.pm:157
#: lib/Locale/Po4a/Wml.pm:11 lib/Locale/Po4a/Xhtml.pm:17
#: lib/Locale/Po4a/Xml.pm:189 lib/Locale/Po4a/Yaml.pm:17
msgid "AUTHORS"
msgstr "作者"
#. type: verbatim
#: po4a:192 po4a-gettextize:79 po4a-normalize:39 po4a-translate:53
#: po4a-updatepo:56 lib/Locale/Po4a/Man.pm:110
#, fuzzy, no-wrap
#| msgid ""
#| " Denis Barbier <barbier@linuxfr.org>\n"
#| " Nicolas Francois <nicolas.francois@centraliens.net>\n"
#| " Martin Quinson (mquinson#debian.org)\n"
#| "\n"
msgid ""
" Denis Barbier <barbier@linuxfr.org>\n"
" Nicolas François <nicolas.francois@centraliens.net>\n"
" Martin Quinson (mquinson#debian.org)\n"
"\n"
msgstr ""
" Denis Barbier <barbier@linuxfr.org>\n"
" Nicolas Francois <nicolas.francois@centraliens.net>\n"
" Martin Quinson (mquinson#debian.org)\n"
"\n"
#. type: =head1
#: po4a:193 po4a-gettextize:80 po4a-normalize:40 po4a-translate:54
#: po4a-updatepo:57 msguntypot:34 lib/Locale/Po4a/AsciiDoc.pm:58
#: lib/Locale/Po4a/BibTeX.pm:13 lib/Locale/Po4a/Chooser.pm:14
#: lib/Locale/Po4a/Common.pm:30 lib/Locale/Po4a/Dia.pm:16
#: lib/Locale/Po4a/Docbook.pm:19 lib/Locale/Po4a/Guide.pm:14
#: lib/Locale/Po4a/Halibut.pm:18 lib/Locale/Po4a/Ini.pm:12
#: lib/Locale/Po4a/KernelHelp.pm:11 lib/Locale/Po4a/LaTeX.pm:12
#: lib/Locale/Po4a/Man.pm:111 lib/Locale/Po4a/Pod.pm:25
#: lib/Locale/Po4a/RubyDoc.pm:18 lib/Locale/Po4a/Sgml.pm:58
#: lib/Locale/Po4a/TeX.pm:122 lib/Locale/Po4a/Texinfo.pm:18
#: lib/Locale/Po4a/Text.pm:47 lib/Locale/Po4a/Wml.pm:13
#: lib/Locale/Po4a/Xhtml.pm:19 lib/Locale/Po4a/Xml.pm:191
#: lib/Locale/Po4a/Yaml.pm:19
msgid "COPYRIGHT AND LICENSE"
msgstr "版权和许可"
#. type: textblock
#: po4a:194 po4a-gettextize:81 po4a-normalize:41 po4a-translate:55
#: po4a-updatepo:58
#, fuzzy
#| msgid "Copyright 2002-2020 by SPI, inc."
msgid "Copyright 2002-2023 by SPI, inc."
msgstr "版权所有 2002-2020,SPI,Inc."
#. type: textblock
#: po4a:195 po4a-gettextize:82 po4a-normalize:42 po4a-translate:56
#: po4a-updatepo:59 msguntypot:36 lib/Locale/Po4a/AsciiDoc.pm:60
#: lib/Locale/Po4a/BibTeX.pm:15 lib/Locale/Po4a/Chooser.pm:16
#: lib/Locale/Po4a/Common.pm:32 lib/Locale/Po4a/Dia.pm:18
#: lib/Locale/Po4a/Docbook.pm:21 lib/Locale/Po4a/Guide.pm:16
#: lib/Locale/Po4a/Halibut.pm:20 lib/Locale/Po4a/Ini.pm:14
#: lib/Locale/Po4a/KernelHelp.pm:13 lib/Locale/Po4a/LaTeX.pm:14
#: lib/Locale/Po4a/Man.pm:113 lib/Locale/Po4a/Pod.pm:27
#: lib/Locale/Po4a/Sgml.pm:60 lib/Locale/Po4a/TeX.pm:124
#: lib/Locale/Po4a/Texinfo.pm:20 lib/Locale/Po4a/Text.pm:50
#: lib/Locale/Po4a/Wml.pm:15 lib/Locale/Po4a/Xhtml.pm:21
#: lib/Locale/Po4a/Xml.pm:193 lib/Locale/Po4a/Yaml.pm:21
#, fuzzy
#| msgid ""
#| "This program is free software; you may redistribute it and/or modify it "
#| "under the terms of GPL (see the COPYING file)."
msgid ""
"This program is free software; you may redistribute it and/or modify it "
"under the terms of GPL v2.0 or later (see the COPYING file)."
msgstr ""
"此程序是自由软件;您可以根据 GPL 条款重新分发和/或修改它(请参阅复制文件)。"
#. type: textblock
#: po4a-gettextize:2
msgid ""
"po4a-gettextize - convert an original file (and its translation) to a PO file"
msgstr "po4a-gettexalize-convert 将原始文件(及其翻译)转换为 PO 文件"
#. type: textblock
#: po4a-gettextize:4
#, fuzzy
#| msgid ""
#| "B<po4a-gettextize> B<-f> I<fmt> B<-m> I<master.doc> [B<-l> I<XX.doc>] B<-"
#| "p> I<XX.po>"
msgid ""
"B<po4a-gettextize> B<-f> I<fmt> B<-m> I<master.doc> B<-l> I<XX.doc> B<-p> "
"I<XX.po>"
msgstr ""
"B<po4a-gettextize> B<-f> I<fmt> B<-m> I<master.doc> [B<-l> I<XX.doc>] B<-p> "
"I<XX.po>"
#. type: textblock
#: po4a-gettextize:5
msgid "(I<XX.po> is the output, all others are inputs)"
msgstr "(I<XX.po> is the output, all others are inputs)"
#. type: textblock
#: po4a-gettextize:8
msgid ""
"The B<po4a-gettextize> script helps you converting your previously existing "
"translations into a po4a-based workflow. This is only to be done once to "
"salvage an existing translation while converting to po4a, not on a regular "
"basis after the conversion of your project. This tedious process is "
"explained in details in Section 'Converting a manual translation to po4a' "
"below."
msgstr ""
#. type: textblock
#: po4a-gettextize:9
msgid ""
"You must provide both a master file (e.g., the source in English) and an "
"existing translated file (e.g., a previous translation attempt without "
"po4a). If you provide more than one master or translation files, they will "
"be used in sequence, but it may be easier to gettextize each page or chapter "
"separately and then use B<msgmerge> to merge all produced PO files. As you "
"wish."
msgstr ""
#. type: textblock
#: po4a-gettextize:10
#, fuzzy
#| msgid ""
#| "If the master document has non-ASCII characters, the new generated PO "
#| "file will be in UTF-8. Else (if the master document is completely in "
#| "ASCII), the generated PO will use the encoding of the translated input "
#| "document, or UTF-8 if no translated document is provided."
msgid ""
"If the master document has non-ASCII characters, the new generated PO file "
"will be in UTF-8. If the master document is completely in ASCII, the "
"generated PO will use the encoding of the translated input document."
msgstr ""
"如果主文档具有非 ASCII 字符,则新生成的 PO 文件将表示为 UTF-8。否则(如果主文"
"档完全在 ASCII 中),生成的 PO 将使用已翻译输入文档的编码,如果未提供翻译文"
"档,则使用 UTF-8。"
#. type: =item
#: po4a-gettextize:12 po4a-normalize:26 po4a-translate:10 po4a-updatepo:12
msgid "B<-f>, B<--format>"
msgstr "B<-f>, B<--format>"
#. type: textblock
#: po4a-gettextize:13 po4a-normalize:27 po4a-translate:11 po4a-updatepo:13
msgid ""
"Format of the documentation you want to handle. Use the B<--help-format> "
"option to see the list of available formats."
msgstr ""
"要处理的文档的格式。使用 B<--help-format> 帮助格式选项查看可用格式的列表。"
#. type: =item
#: po4a-gettextize:14 po4a-translate:16 po4a-updatepo:14
msgid "B<-m>, B<--master>"
msgstr "B<-m>, B<--master>"
#. type: textblock
#: po4a-gettextize:15
msgid ""
"File containing the master document to translate. You can use this option "
"multiple times if you want to gettextize multiple documents."
msgstr ""
"包含要翻译的主文档的文件。如果要对多个文档进行文本化,可以多次使用此选项。"
#. type: textblock
#: po4a-gettextize:17 po4a-normalize:29 po4a-translate:19
msgid "Charset of the file containing the document to translate."
msgstr "包含要翻译的文档的文件的字符集。"
#. type: =item
#: po4a-gettextize:18 po4a-normalize:30 po4a-translate:20
msgid "B<-l>, B<--localized>"
msgstr "B<-l>, B<--localized>"
#. type: textblock
#: po4a-gettextize:19
msgid ""
"File containing the localized (translated) document. If you provided "
"multiple master files, you may wish to provide multiple localized file by "
"using this option more than once."
msgstr ""
"包含本地化(已翻译)文档的文件。如果提供了多个主文件,您可能希望多次使用此选"
"项提供多个本地化文件。"
#. type: textblock
#: po4a-gettextize:21 po4a-translate:23
msgid "Charset of the file containing the localized document."
msgstr "包含本地化文档的文件的字符集。"
#. type: =item
#: po4a-gettextize:22 po4a-translate:24 po4a-updatepo:18
msgid "B<-p>, B<--po>"
msgstr "B<-p>, B<--po>"
#. type: textblock
#: po4a-gettextize:23
msgid ""
"File where the message catalog should be written. If not given, the message "
"catalog will be written to the standard output."
msgstr "消息目录应写入的文件。如果未给出,消息目录将写入标准输出。"
#. type: =item
#: po4a-gettextize:28 po4a-normalize:24 po4a-translate:34 po4a-updatepo:30
msgid "B<--help-format>"
msgstr "B<--help-format>"
#. type: textblock
#: po4a-gettextize:29 po4a-normalize:25 po4a-translate:35 po4a-updatepo:31
msgid "List the documentation formats understood by po4a."
msgstr "列出 po4a 理解的文档格式。"
#. type: =item
#: po4a-gettextize:30
#, fuzzy
#| msgid "B<-k>, B<--keep>"
msgid "B<-k> B<--keep-temps>"
msgstr "B<-k>, B<--keep>"
#. type: textblock
#: po4a-gettextize:31
msgid ""
"Keep the temporary master and localized POT files built before merging. "
"This can be useful to understand why these files get desynchronized, leading "
"to gettextization problems."
msgstr ""
#. type: =head2
#: po4a-gettextize:46
msgid "Converting a manual translation to po4a"
msgstr "将手动翻译转换为 po4a"
#. type: textblock
#: po4a-gettextize:47
#, fuzzy
#| msgid ""
#| "B<po4a-gettextize> will try to extract the content of any provided "
#| "translation file, and use this content as msgstr in the produced PO file. "
#| "Be warned that this process is very fragile: the Nth string of the "
#| "translated file is supposed to be the translation of the Nth string in "
#| "the original. This will naturally not work unless both files share "
#| "exactly the same structure."
msgid ""
"B<po4a-gettextize> synchronizes the master and localized files to extract "
"their content into a PO file. The content of the master file gives the "
"B<msgid> while the content of the localized file gives the B<msgstr>. This "
"process is somewhat fragile: the Nth string of the translated file is "
"supposed to be the translation of the Nth string in the original."
msgstr ""
"B<po4a-gettextize>将尝试提取任何提供的翻译文件的内容,并将此内容用作生成 PO "
"文件中的 msgstr。请注意,此过程非常脆弱:翻译文件的第 N 字符串应该是原始第 N "
"字符串的翻译。除非两个文件共享完全相同的结构,否则这自然不起作用。"
#. type: textblock
#: po4a-gettextize:48
msgid ""
"Gettextization works best if you manage to retrieve the exact version of the "
"original document that was used for translation. Even so, you may need to "
"fiddle with both master and localized files to align their structure if it "
"was changed by the original translator, so working on files' copies is "
"advised."
msgstr ""
#. type: textblock
#: po4a-gettextize:49
#, fuzzy
#| msgid ""
#| "Internally, each po4a parser reports the syntactical type of each "
#| "extracted strings. This is how desynchronization are detected during the "
#| "gettextization. For example, if the files have the following structure, "
#| "it is very unlikely that the 4th string in translation (of type "
#| "'chapter') is the translation of the 4th string in original (of type "
#| "'paragraph'). It is more likely that a new paragraph was added to the "
#| "original, or that two original paragraphs were merged together in the "
#| "translation."
msgid ""
"Internally, each po4a parser reports the syntactical type of each extracted "
"strings. This is how desynchronization are detected during the "
"gettextization. In the example depicted below, it is very unlikely that the "
"4th string in translation (of type 'chapter') is the translation of the 4th "
"string in original (of type 'paragraph'). It is more likely that a new "
"paragraph was added to the original, or that two original paragraphs were "
"merged together in the translation."
msgstr ""
"在内部,每个 po4a 解析器报告每个提取字符串的语法类型。这是在 gettexted 期间检"
"测到非同步化的。 例如,如果文件具有以下结构,则翻译中的第 4 个字符串(类型为"
"\"章节\")不太可能是原始第 4 个字符串(类型为\"段落\")的翻译。更有可能是将新"
"段落添加到原稿中,或者两个原始段落在翻译中合并在一起。"
#. type: verbatim
#: po4a-gettextize:50
#, no-wrap
msgid ""
" Original Translation\n"
"\n"
msgstr ""
" Original Translation\n"
"\n"
#. type: verbatim
#: po4a-gettextize:51
#, no-wrap
msgid ""
" chapter chapter\n"
" paragraph paragraph\n"
" paragraph paragraph\n"
" paragraph chapter\n"
" chapter paragraph\n"
" paragraph paragraph\n"
"\n"
msgstr ""
" chapter chapter\n"
" paragraph paragraph\n"
" paragraph paragraph\n"
" paragraph chapter\n"
" chapter paragraph\n"
" paragraph paragraph\n"
"\n"
#. type: textblock
#: po4a-gettextize:52
#, fuzzy
#| msgid ""
#| "B<po4a-gettextize> will verbosely diagnose any detected structure "
#| "desynchronization. When this happens, you should manually edit the files "
#| "(this probably requires that you have some notions of the target "
#| "language). You must add fake paragraphs or remove some content in one of "
#| "the documents (or both) to fix the reported disparities, until the "
#| "structure of both documents perfectly match. Some tricks are given in the "
#| "next section."
msgid ""
"B<po4a-gettextize> will verbosely diagnose any structure desynchronization. "
"When this happens, you should manually edit the files to add fake paragraphs "
"or remove some content here and there until the structure of both files "
"actually match. Some tricks are given below to salvage the most of the "
"existing translation while doing so."
msgstr ""
"B<po4a-gettextize>详细诊断任何检测到的结构不同步。发生这种情况时,应手动编辑"
"文件(这可能需要您具有目标语言的一些概念)。您必须在其中一个文档中添加假段落"
"或删除某些内容(或两者)以修复所报告的差异,直到两个文档的结构完全匹配。下一"
"节将介绍一些技巧。"
#. type: textblock
#: po4a-gettextize:53
#, fuzzy
#| msgid ""
#| "If you are lucky enough to have a a perfect match in the file structures, "
#| "building a correct PO file is a matter of seconds. Otherwise, you will "
#| "soon understand why this process has such an ugly name :) But remember "
#| "that this grunt work is the price to pay to get the comfort of po4a "
#| "afterward. Once converted, the synchronization between master documents "
#| "and translations will always be fully automatic."
msgid ""
"If you are lucky enough to have a perfect match in the file structures out "
"of the box, building a correct PO file is a matter of seconds. Otherwise, "
"you will soon understand why this process has such an ugly name :) Even so, "
"gettextization often remains faster than translating everything again. I "
"gettextized the French translation of the whole Perl documentation in one "
"day despite the I<many> synchronization issues. Given the amount of text "
"(2MB of original text), restarting the translation without first salvaging "
"the old translations would have required several months of work. In "
"addition, this grunt work is the price to pay to get the comfort of po4a. "
"Once converted, the synchronization between master documents and "
"translations will always be fully automatic."
msgstr ""
"如果您足够幸运,在文件结构中拥有完美的匹配,则构建正确的 PO 文件需要几秒钟。"
"否则,你很快就会明白为什么这个过程有这样一个丑陋的名称:)但请记住,这个咕咕的"
"工作是代价,以获得舒适的po4a之后。转换后,主文档和翻译之间的同步将始终完全自"
"动。"
#. type: textblock
#: po4a-gettextize:54
msgid ""
"After a successful gettextization, the produced documents should be manually "
"checked for undetected disparities and silent errors, as explained below."
msgstr ""
#. type: =head3
#: po4a-gettextize:55
msgid "Hints and tricks for the gettextization process"
msgstr "获取文本化过程的提示和技巧"
#. type: textblock
#: po4a-gettextize:56
#, fuzzy
#| msgid ""
#| "When this happens, the whole game comes down to the alignment of these "
#| "damn files' structures again through manual edits. B<po4a-gettextize> is "
#| "rather verbose about what went wrong when it happens. It reports the "
#| "strings that don't match, their positions in the text, and the type of "
#| "each of them. Moreover, the PO file generated so far is dumped as "
#| "F<gettextization.failed.po> for further inspection."
msgid ""
"The gettextization stops as soon as a desynchronization is detected. When "
"this happens, you need to edit the files as much as needed to re-align the "
"files' structures. B<po4a-gettextize> is rather verbose when things go "
"wrong. It reports the strings that don't match, their positions in the text, "
"and the type of each of them. Moreover, the PO file generated so far is "
"dumped as F<gettextization.failed.po> for further inspection."
msgstr ""
"当这种情况发生时,整个游戏归结到这些该死的文件的结构再次通过手动编辑对齐。"
"B<po4a-gettextize>关于它发生时哪里出了问题相当冗长。它报告不匹配的字符串、它"
"们在文本中的位置以及每个字符串的类型。此外,到目前为止生成的 PO 文件将转储为 "
"F<gettextization.failed.po> ,以便进一步检查。"
#. type: textblock
#: po4a-gettextize:57
#, fuzzy
#| msgid "Here are some other tricks to help you in this tedious process:"
msgid ""
"Here are some tricks to help you in this tedious process and ensure that you "
"salvage the most of the previous translation:"
msgstr "下面是一些其他技巧,以帮助您在这个乏味的过程:"
#. type: textblock
#: po4a-gettextize:58
#, fuzzy
#| msgid ""
#| "Remove all extra content of the translations, such as the section giving "
#| "credits to the translators. You can add them back in po4a afterward, "
#| "using an addenda (see L<po4a(7)>)."
msgid ""
"Remove all extra content of the translations, such as the section giving "
"credits to the translators. They should be added separately to B<po4a> as "
"addenda (see L<po4a(7)>)."
msgstr ""
"删除翻译的所有额外内容,例如为译员提供学分的部分。以后可以使用附录将它们重新"
"添加到 po4a 中(请参阅 L<po4a(7)>)。"
#. type: textblock
#: po4a-gettextize:59
#, fuzzy
#| msgid ""
#| "If you need to edit the files to align their structures, you should "
#| "prefer editing the translation if possible. Indeed, if the changes to the "
#| "original are too intrusive, the old and new versions will not be matched "
#| "during the PO update, and the corresponding translation will be dumped "
#| "anyway. But do not hesitate to also edit the original document if "
#| "required: the important thing is to get a first PO file to start with."
msgid ""
"When editing the files to align their structures, prefer editing the "
"translation if possible. Indeed, if the changes to the original are too "
"intrusive, the old and new versions will not be matched during the first "
"po4a run after gettextization (see below). Any unmatched translation will be "
"dumped anyway. That being said, you still want to edit the original "
"document if it's too hard to get the gettextization to proceed otherwise, "
"even if it means that one paragraph of the translation is dumped. The "
"important thing is to get a first PO file to start with."
msgstr ""
"如果需要编辑文件以对齐其结构,则应尽可能选择编辑翻译。实际上,如果对原始版本"
"的更改过于具有侵入性,则新旧版本在 PO 更新期间将不匹配,并且相应的翻译无论如"
"何都会转储。但是,如果需要,不要犹豫,也编辑原始文档:重要的是获得第一个 PO "
"文件开始。"
#. type: textblock
#: po4a-gettextize:60
msgid ""
"Do not hesitate to kill any original content that would not exist in the "
"translated version. This content will be automatically reintroduced "
"afterward, when synchronizing the PO file with the document."
msgstr ""
"不要犹豫,杀死任何原始内容,将不存在在翻译版本。将 PO 文件与文档同步时,以后"
"将自动重新引入此内容。"
#. type: textblock
#: po4a-gettextize:61
#, fuzzy
#| msgid ""
#| "You should probably inform the original author of any structural change "
#| "in the translation that seems justified. Issues in the original document "
#| "should reported to the author. Fixing them in your translation only fixes "
#| "them for a part of the community. Plus, it is impossible to do so when "
#| "using po4a ;)"
msgid ""
"You should probably inform the original author of any structural change in "
"the translation that seems justified. Issues in the original document should "
"reported to the author. Fixing them in your translation only fixes them for "
"a part of the community. Plus, it is impossible to do so when using po4a ;) "
"But you probably want to wait until the end of the conversion to B<po4a> "
"before changing the original files."
msgstr ""
"你或许应该告诉原作者翻译中似乎合理的任何结构变化。原始文档中的问题应报告给作"
"者。在翻译中修复它们只会为社区的一部分修复它们。此外,使用 po4a 时不可能;)"
#. type: textblock
#: po4a-gettextize:62
msgid ""
"Sometimes, the paragraph content does match, but not their types. Fixing it "
"is rather format-dependent. In POD and man, it often comes from the fact "
"that one of them contains a line beginning with a white space while the "
"other does not. In those formats, such paragraph cannot be wrapped and thus "
"become a different type. Just remove the space and you are fine. It may also "
"be a typo in the tag name in XML."
msgstr ""
"有时,段落内容确实匹配,但不匹配其类型。修复它与格式相当相关。在 POD 和人中,"
"它通常来自这样一个事实,即其中一个包含以空白开头的行,而另一个则不包含。 在这"
"些格式中,此类段落不能换行,因此成为不同的类型。只需删除空间,您就没事了。它"
"也可能在 XML 中的标记名称中出现拼写错误。"
#. type: textblock
#: po4a-gettextize:63
msgid ""
"Likewise, two paragraphs may get merged together in POD when the separating "
"line contains some spaces, or when there is no empty line between the "
"B<=item> line and the content of the item."
msgstr ""
"同样,当分隔线包含某些空格时,或者当 B<=item> 行和项内容之间没有空行时,两个"
"段落可能会合并到 POD 中。"
#. type: textblock
#: po4a-gettextize:64
#, fuzzy
#| msgid ""
#| "Sometimes, the desynchronization message seems odd because the "
#| "translation is attached to the wrong original paragraph. It is the sign "
#| "of an undetected issue earlier in the process. Search for the actual "
#| "desynchronization point by inspecting F<gettextization.failed.po>, and "
#| "fix the problem where it really is."
msgid ""
"Sometimes, the desynchronization message seems odd because the translation "
"is attached to the wrong original paragraph. It is the sign of an undetected "
"issue earlier in the process. Search for the actual desynchronization point "
"by inspecting the file F<gettextization.failed.po> that was produced, and "
"fix the problem where it really is."
msgstr ""
"有时,取消同步消息似乎很奇怪,因为翻译附加到错误的原始段落。这是流程早期未检"
"测到问题的迹象。通过检查 F<gettextization.failed.po> 来搜索实际的取消同步点,"
"并修复问题的实际所在。"
#. type: textblock
#: po4a-gettextize:65
msgid ""
"Other issues may come from duplicated strings in either the original or "
"translation. Duplicated strings are merged in PO files, with two "
"references. This constitutes a difficulty for the gettextization algorithm, "
"that is a simple one to one pairing between the B<msgid>s of both the master "
"and the localized files. It is however believed that recent versions of po4a "
"deal properly with duplicated strings, so you should report any remaining "
"issue that you may encounter."
msgstr ""
#. type: =head2
#: po4a-gettextize:66
msgid "Reviewing files produced by B<po4a-gettextize>"
msgstr ""
#. type: textblock
#: po4a-gettextize:67
msgid ""
"Any file produced by B<po4a-gettextize> should be manually reviewed, even "
"when the script terminates successfully. You should skim over the PO file, "
"ensuring that the B<msgid> and B<msgstr> actually match. It is not necessary "
"to ensure that the translation is perfectly correct yet, as all entries are "
"marked as fuzzy translations anyway. You only need to check for obvious "
"matching issues because badly matched translations will be dumped in "
"subsequent steps while you want to salvage them."
msgstr ""
#. type: textblock
#: po4a-gettextize:68
msgid ""
"Fortunately, this step does not require to master the target languages as "
"you only want to recognize similar elements in each B<msgid> and its "
"corresponding B<msgstr>. As a speaker of French, English, and some German "
"myself, I can do this for all European languages at least, even if I cannot "
"say one word of most of these languages. I sometimes manage to detect "
"matching issues in non-Latin languages by looking at string length, phrase "
"structures (does the amount of interrogation marks match?) and other clues, "
"but I prefer when someone else can review those languages."
msgstr ""
#. type: textblock
#: po4a-gettextize:69
msgid ""
"If you detect a mismatch, edit the original and translation files as if "
"B<po4a-gettextize> reported an error, and try again. Once you have a decent "
"PO file for your previous translation, backup it until you get po4a working "
"correctly."
msgstr ""
#. type: =head2
#: po4a-gettextize:70
msgid "Running B<po4a> for the first time"
msgstr ""
#. type: textblock
#: po4a-gettextize:71
msgid ""
"The easiest way to setup po4a is to write a B<po4a.conf> configuration file, "
"and use the integrated B<po4a> program (B<po4a-updatepo> and B<po4a-"
"translate> are deprecated). Please check the \"CONFIGURATION FILE\" Section "
"in L<po4a(1)> documentation for more details."
msgstr ""
#. type: textblock
#: po4a-gettextize:72
msgid ""
"When B<po4a> runs for the first time, the current version of the master "
"documents will be used to update the PO files containing the old "
"translations that you salvaged through gettextization. This can take quite a "
"long time, because many of the B<msgid>s of from the gettextization do not "
"exactly match the elements of the POT file built from the recent master "
"files. This forces gettext to search for the closest one using a costly "
"string proximity algorithm. For example, the first run over the Perl "
"documentation's French translation (5.5 MB PO file) took about 48 hours "
"(yes, two days) while the subsequent ones only take seconds."
msgstr ""
#. type: =head2
#: po4a-gettextize:73
#, fuzzy
#| msgid "Converting a manual translation to po4a"
msgid "Moving your translations to production"
msgstr "将手动翻译转换为 po4a"
#. type: textblock
#: po4a-gettextize:74
msgid ""
"After this first run, the PO files are ready to be reviewed by translators. "
"All entries were marked as fuzzy in the PO file by B<po4a-gettextization>, "
"forcing their careful review before use. Translators should take each entry "
"to verify that the salvaged translation actually match the current original "
"text, update the translation on need, and remove the fuzzy markers."
msgstr ""
#. type: textblock
#: po4a-gettextize:75
msgid ""
"Once enough fuzzy markers are removed, B<po4a> will start generating the "
"translation files on disk, and you're ready to move your translation "
"workflow to production. Some projects find it useful to rely on weblate to "
"coordinate between translators and maintainers, but that's beyond B<po4a>' "
"scope."
msgstr ""
#. type: textblock
#: po4a-gettextize:77
msgid ""
"L<po4a(1)>, L<po4a-normalize(1)>, L<po4a-translate(1)>, L<po4a-updatepo(1)>, "
"L<po4a(7)>."
msgstr ""
"L<po4a(1)>, L<po4a-normalize(1)>, L<po4a-translate(1)>, L<po4a-updatepo(1)>, "
"L<po4a(7)>."
#. type: textblock
#: po4a-normalize:2
msgid ""
"po4a-normalize - normalize a documentation file by parsing it in po4a, and "
"writing it back"
msgstr ""
"po4a-normalize - 通过在 po4a 中解析文档文件并写回文档文件来规范化文档文件"
#. type: textblock
#: po4a-normalize:4
msgid "B<po4a-normalize> B<-f> I<fmt> I<master.doc>"
msgstr "B<po4a-normalize> B<-f> I<fmt> I<master.doc>"
#. type: textblock
#: po4a-normalize:6 po4a-translate:7 po4a-updatepo:7
#: lib/Locale/Po4a/AsciiDoc.pm:4 lib/Locale/Po4a/BibTeX.pm:4
#: lib/Locale/Po4a/Dia.pm:4 lib/Locale/Po4a/Docbook.pm:4
#: lib/Locale/Po4a/Guide.pm:4 lib/Locale/Po4a/Halibut.pm:4
#: lib/Locale/Po4a/LaTeX.pm:4 lib/Locale/Po4a/Man.pm:4
#: lib/Locale/Po4a/RubyDoc.pm:4 lib/Locale/Po4a/Sgml.pm:4
#: lib/Locale/Po4a/TeX.pm:4 lib/Locale/Po4a/Texinfo.pm:4
#: lib/Locale/Po4a/Text.pm:4 lib/Locale/Po4a/TransTractor.pm:4
#: lib/Locale/Po4a/Wml.pm:4 lib/Locale/Po4a/Xhtml.pm:4 lib/Locale/Po4a/Xml.pm:4
msgid ""
"The po4a (PO for anything) project goal is to ease translations (and more "
"interestingly, the maintenance of translations) using gettext tools on areas "
"where they were not expected like documentation."
msgstr ""
"Po4a (PO For Anything) 项目的目标是在文档等不需要翻译的领域使用 gettext 工具"
"简化翻译(更有趣的是,简化翻译的维护)。"
#. type: textblock
#: po4a-normalize:7
msgid ""
"The B<po4a-normalize> script is a debugging tool used to make sure that po4a "
"don't change the document when it's not supposed to. Only use it if you're "
"developing a new module, or if you doubt the sanity of the tools."
msgstr ""
"B<po4a-normalize>是一个调试工具,用于确保 po4a 不会更改文档时,它不应该。仅当"
"您正在开发新模块时,或者如果您怀疑工具的可理智性,才使用它。"
#. type: textblock
#: po4a-normalize:8
msgid ""
"The generated document will be written to F<po4a-normalize.output> while the "
"generated POT file will be written to F<po4a-normalize.po> by default, but "
"you can use the B<--localized> and B<--pot> options to change that."
msgstr ""
"生成的文档将写入 F<po4a-normalize.output>,而生成的 POT 文件将写入 F<po4a-"
"normalize.po>,但您可以使用 B<--localized>和 B<--pot> 选项来更改它。"
#. type: =item
#: po4a-normalize:14
msgid "B<-b>, B<--blank>"
msgstr "B<-b>, B<--blank>"
#. type: textblock
#: po4a-normalize:15
msgid ""
"Create a blank translated document. The generated translated document will "
"be generated assuming all messages are translated by a space or new line."
msgstr ""
"创建空白翻译的文档。 如果所有消息都由空格或新行翻译,将生成生成的已翻译文档。"
#. type: textblock
#: po4a-normalize:16
msgid ""
"This is useful to check what parts of the document cannot be translated."
msgstr "这可用于检查文档的哪些部分无法翻译。"
#. type: textblock
#: po4a-normalize:17 po4a-normalize:21
msgid ""
"Both B<--blank> and B<--capitalize> can't be specified at the same time."
msgstr ""
#. type: =item
#: po4a-normalize:18
#, fuzzy
#| msgid "B<-l>, B<--localized>"
msgid "B<-C>, B<--capitalize>"
msgstr "B<-l>, B<--localized>"
#. type: textblock
#: po4a-normalize:19
msgid ""
"Create a translated document and corresponding po-file with original strings "
"translated as their capitalized versions."
msgstr ""
#. type: textblock
#: po4a-normalize:20
#, fuzzy
#| msgid ""
#| "This is useful to check what parts of the document cannot be translated."
msgid ""
"This is useful to check what parts of the document cannot be translated and "
"generate test data for po4a."
msgstr "这可用于检查文档的哪些部分无法翻译。"
#. type: textblock
#: po4a-normalize:31
msgid ""
"Name of the normalized file to produce (I<po4a-normalize.output> by default)."
msgstr "要生产的规范化文件的名称(默认情况下 I<po4a-normalize.output>)。"
#. type: =item
#: po4a-normalize:32
msgid "B<-p>, B<--pot>"
msgstr "B<-p>, B<--pot>"
#. type: textblock
#: po4a-normalize:33
msgid "Pot file to produce (I<po4a-normalize.po> by default)."
msgstr "要生成的 POT 文件(默认情况下为 I<po4a-Normize.po>)。"
#. type: textblock
#: po4a-normalize:37
msgid ""
"L<po4a-gettextize(1)>, L<po4a-translate(1)>, L<po4a-updatepo(1)>, L<po4a(7)>"
msgstr ""
"L<po4a-gettextize(1)>, L<po4a-translate(1)>, L<po4a-updatepo(1)>, L<po4a(7)>"
#. type: textblock
#: po4a-translate:2
msgid "po4a-translate - convert a PO file back to documentation format"
msgstr "po4a-translate - 将 PO 文件转换回文档格式"
#. type: textblock
#: po4a-translate:4
msgid ""
"B<po4a-translate> B<-f> I<fmt> B<-m> I<master.doc> B<-p> I<XX.po> B<-l> I<XX."
"doc>"
msgstr ""
"B<po4a-translate> B<-f> I<fmt> B<-m> I<master.doc> B<-p> I<XX.po> B<-l> I<XX."
"doc>"
#. type: textblock
#: po4a-translate:5
msgid "(I<XX.doc> is the output, all others are inputs)"
msgstr "(I<XX.doc> 是输出,所有其他都是输入)"
#. type: textblock
#: po4a-translate:8
msgid ""
"The B<po4a-translate> script is in charge of converting the translation "
"(which was done in a PO file) back into the documentation format. The "
"provided PO file should be the translation of the POT file which was "
"produced by L<po4a-gettextize(1)>."
msgstr ""
"B<po4a-translate> 负责将翻译(在 PO 文件中完成)转换回文档格式。提供的 PO 文"
"件应该是由 L<po4a-gettextize(1)> 生成产生的 POT 文件的翻译。"
#. type: =item
#: po4a-translate:12
msgid "B<-a>, B<--addendum>"
msgstr "B<-a>, B<--addendum>"
#. type: textblock
#: po4a-translate:13
msgid ""
"Add a file to the resulting file (to put translator's name or a section "
"\"About this translation\", for example). The first line of the file to "
"insert should be a PO4A header indicating where it should be added (see "
"section B<HOWTO add extra text to translations> in L<po4a(7)>)."
msgstr ""
"将文件添加到生成的文件中(例如,将翻译的名称或\"关于此翻译\"部分)。要插入的"
"文件的第一行应该是 PO4A 标头,指示应添加它的位置(请参阅 L<po4a(7)> 中的第 "
"B<HOWTO add extra text to translations> 部分)。"
#. type: textblock
#: po4a-translate:17
msgid "File containing the master document to translate."
msgstr "包含要翻译的主文档的文件。"
#. type: textblock
#: po4a-translate:21
msgid "File where the localized (translated) document should be written."
msgstr "应写入本地化(已翻译)文档的文件。"
#. type: textblock
#: po4a-translate:25
msgid "File from which the message catalog should be read."
msgstr "应从中读取消息目录的文件。"
#. type: textblock
#: po4a-translate:29
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 get written."
msgstr ""
"要保留(即写入)生成的文件(默认值:80)的最小阈值。即默认情况下,文件必须至"
"少翻译 80% 才能写入。"
#. type: =item
#: po4a-translate:42 po4a-updatepo:38
msgid "B<--porefs> I<type>[,B<wrap>|B<nowrap>]"
msgstr "B<--porefs> I<type>[,B<wrap>|B<nowrap>]"
#. type: textblock
#: po4a-translate:44 po4a-updatepo:40
msgid ""
"Argument can be followed by a comma and either B<wrap> or B<nowrap> "
"keyword. References are written by default on a single line. The B<wrap> "
"option wraps references on several lines, to mimic B<gettext> tools "
"(B<xgettext> and B<msgmerge>). This option will become the default in a "
"future release, because it is more sensible. The B<nowrap> option is "
"available so that users who want to keep the old behavior can do so."
msgstr ""
"参数后跟逗号和 B<wrap> B<nowrap> 关键字。 默认情况下,引用在一行上写入。 "
"B<wrap> 将引用封装在多行上,以模拟 B<gettext>工具(B<xgettext> "
"B<msgmerge>)。 此选项将成为将来版本中的默认值,因为它更明智。 B<nowrap> 选项"
"可用,以便想要保留旧行为的用户可以这样做。"
#. type: =head1
#: po4a-translate:45
msgid "Adding content (beside translations) to generated files"
msgstr "向生成的文件添加内容(翻译旁边)"
#. type: textblock
#: po4a-translate:46
msgid ""
"To add some extra content to the generated document beside what you "
"translated (like the name of the translator, or an \"About this "
"translation\" section), you should use the B<--addendum> option."
msgstr ""
"若要在翻译的内容旁边向生成的文档添加一些额外内容(如翻译人员的姓名或\"关于此"
"翻译\"部分),应使用 B<--addendum> 选项。"
#. type: textblock
#: po4a-translate:47
msgid ""
"The first line of the addendum must be a header indicating where to put it "
"in the document (it can be before or after a given part of the document). "
"The rest of the file will be added verbatim to the resulting file without "
"further processing."
msgstr ""
"增编的第一行必须是指示在文档中的放放位置的标头(它可以在文档的给定部分之前或"
"之后)。 文件的其余部分将逐字添加到生成的文件中,而无需进一步处理。"
#. type: textblock
#: po4a-translate:48
msgid ""
"Note that if po4a-translate fails to add one of the given files, it discards "
"the whole translation (because the missing file could be the one indicating "
"the author, what would prevent the users to contact him to report bugs in "
"the translation)."
msgstr ""
"请注意,如果 po4a 翻译无法添加给定文件之一,它将丢弃整个翻译(因为丢失的文件"
"可能是指示作者的文件,因此会阻止用户联系他报告翻译中的 Bug)。"
#. type: textblock
#: po4a-translate:49
msgid ""
"The header has a pretty rigid syntax. For more information on how to use "
"this feature and how it works, please refer to the L<po4a(7)> man page."
msgstr ""
"标头具有相当严格的语法。有关如何使用此功能及其工作原理的详细信息,请参阅 "
"L<po4a(7)> man 页面。"
#. type: textblock
#: po4a-translate:51
msgid ""
"L<po4a-gettextize(1)>, L<po4a-normalize(1)>, L<po4a-updatepo(1)>, L<po4a(7)>"
msgstr ""
"L<po4a-gettextize(1)>, L<po4a-normalize(1)>, L<po4a-updatepo(1)>, L<po4a(7)>"
#. type: textblock
#: po4a-updatepo:2
msgid "po4a-updatepo - update the translation (in PO format) of documentation"
msgstr "po4a-updatepo - 更新文档的翻译(PO 格式)"
#. type: textblock
#: po4a-updatepo:4
msgid "B<po4a-updatepo> B<-f> I<fmt> (B<-m> I<master.doc>)+ (B<-p> I<XX.po>)+"
msgstr "B<po4a-updatepo> B<-f> I<fmt> (B<-m> I<master.doc>)+ (B<-p> I<XX.po>)+"
#. type: textblock
#: po4a-updatepo:5
msgid "(I<XX.po> are the outputs, all others are inputs)"
msgstr "(I<XX.po> 是输出,所有其他都是输入)"
#. type: textblock
#: po4a-updatepo:8
msgid ""
"The B<po4a-updatepo> script is in charge of updating PO files to make them "
"reflect the changes made to the original documentation file. For that, it "
"converts the documentation file to a POT file, and call L<msgmerge(1)> on "
"this new POT and on the provided PO files."
msgstr ""
"B<po4a-updatepo>负责更新 PO 文件,使其反映对原始文档文件所做的更改。为此,它"
"将文档文件转换为 POT 文件,并在此新 POT 和提供的 PO 文件中调用 "
"L<msgmerge(1)> 。"
#. type: textblock
#: po4a-updatepo:9
msgid ""
"It is possible to give more than one PO file (if you want to update several "
"languages at once), and several documentation files (if you want to store "
"the translations of several documents in the same PO file)."
msgstr ""
"可以提供多个 PO 文件(如果要同时更新多种语言)和多个文档文件(如果要将多个文"
"档的翻译存储在同一个 PO 文件中)。"
#. type: textblock
#: po4a-updatepo:10
msgid ""
"If the master document has non-ASCII characters, this script will convert "
"the PO files to UTF-8 (if they weren't already), for a transparent handling "
"of non-standard characters."
msgstr ""
"如果主文档包含非 ASCII 字符,该脚本将把 PO 文件转换为 UTF-8 (如果它们还没"
"有),以便透明地处理非标准字符。"
#. type: textblock
#: po4a-updatepo:15
msgid "File(s) containing the master document to translate."
msgstr "包含要翻译的主文档的文件。"
#. type: textblock
#: po4a-updatepo:17
msgid ""
"Charset of the files containing the document to translate. Note that all "
"files must have the same charset."
msgstr "包含要翻译的文档的文件的字符集。请注意,所有文件必须具有相同的字符集。"
#. type: textblock
#: po4a-updatepo:19
msgid ""
"PO file(s) to update. If these files do not exist, they are created by "
"B<po4a-updatepo>."
msgstr "要更新的 PO 文件。如果这些文件不存在,则由 B <po4a-updatepo>。"
#. type: textblock
#: po4a-updatepo:23
#, fuzzy
#| msgid ""
#| "This option removes B<--previous> from the options passed to "
#| "B<msgmerge>. This permits to support versions of B<gettext> earlier than "
#| "0.16."
msgid ""
"This option removes B<--previous> from the options passed to B<msgmerge>. "
"This helps supporting old versions of B<gettext> (before v0.16)."
msgstr ""
"此选项从传递给 B<msgmerge> 的选项中删除 B<-previous>。 这允许支持 B<gettext> "
"早于 0.16 的版本。"
#. type: textblock
#: po4a-updatepo:43
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 wrapping of the reference comments is "
"controlled by the B<--porefs> option."
msgstr ""
"从历史上看, gettext 套件重新格式化了化妆品第 77 列的 po 文件。此选项指定 "
"po4a 的行为。如果设置为数值,po4a 将在此列之后和内容中的换行符之后换行 po 文"
"件。如果设置为 B <newlines>,po4a 将仅在内容中的符线后拆分 msgid 和 msgstr。"
"如果设置为 B<no>,po4a 将不会封装 po 文件。 引用注释的封装由 B<--porefs> 选项"
"控制。"
#. type: textblock
#: po4a-updatepo:54
msgid ""
"L<po4a-gettextize(1)>, L<po4a-normalize(1)>, L<po4a-translate(1)>, L<po4a(7)>"
msgstr ""
"L<po4a-gettextize(1)>, L<po4a-normalize(1)>, L<po4a-translate(1)>, L<po4a(7)>"
#. type: textblock
#: msguntypot:2
msgid "msguntypot - update PO files when a typo is fixed in POT file"
msgstr "msguntypot - 更新 PO文件时, 拼写错误修复在 POT 文件"
#. type: textblock
#: msguntypot:4
msgid "B<msguntypot> B<-o> I<old_pot> B<-n> I<new_pot> I<pofiles> ..."
msgstr "B<msguntypot> B<-o> I<old_pot> B<-n> I<new_pot> I<pofiles> ..."
#. type: textblock
#: msguntypot:6
msgid ""
"When you fix a trivial error which surely doesn't affect translations (e.g. "
"a typo) in a POT file, you should unfuzzy the corresponding msgstr in the "
"translated PO files to avoid so extra work to the translators."
msgstr ""
"当您修复一个无关紧要的错误,这肯定不会影响翻译(例如, 一个拼写错误)在一个 "
"POT 文件中,你应该解开翻译的 PO 文件中对应的 msgstr,以避免如此额外的工作给翻"
"译。"
#. type: textblock
#: msguntypot:7
msgid ""
"This task is difficult and error prone when done manually, and this tool is "
"there to help doing so correctly. You just need to provide the two versions "
"of the POT file: before the edition and after as marked in the above "
"synopsis, and it all becomes automatic."
msgstr ""
"此任务在手动完成时很难,容易出错,并且此工具可以帮助正确完成。你只需要提供两"
"个版本的 POT 文件:版本之前和之后,如上述概要中标记,这一切都成为自动的。"
#. type: =head1
#: msguntypot:8
msgid "HOW TO USE IT"
msgstr "如何使用它"
#. type: textblock
#: msguntypot:9
msgid ""
"In short, when you discover a typo in one of your [english] message, do the "
"following:"
msgstr "简而言之,当您在一条 [english] 消息中发现拼写错误时,请执行以下操作:"
#. type: =item
#: msguntypot:10 msguntypot:19
msgid "- Regenerate your POT and PO files."
msgstr "- 重新生成您的 POT 和 PO 文件。"
#. type: verbatim
#: msguntypot:11
#, no-wrap
msgid ""
" make -C po/ update-po # for message program translations\n"
" debconf-updatepo # for debconf translations\n"
" po4a po4a.conf # for po4a based documentation translations\n"
"\n"
msgstr ""
" make -C po/ update-po # for message program translations\n"
" debconf-updatepo # for debconf translations\n"
" po4a po4a.conf # for po4a based documentation translations\n"
"\n"
#. type: textblock
#: msguntypot:12
msgid ""
"or something else, depending on your project's building settings. You know "
"how to make sure your POT and PO files are uptodate, don't you??"
msgstr ""
"或其他内容,具体取决于项目的构建设置。你知道如何确保你的 POT 和 PO 文件是最新"
"的,不是吗?"
#. type: =item
#: msguntypot:13
msgid "- Make a copy of your POT file."
msgstr "- 制作一份 POT 文件。"
#. type: verbatim
#: msguntypot:14
#, no-wrap
msgid ""
" cp myfile.pot myfile.pot.orig\n"
"\n"
msgstr ""
" cp myfile.pot myfile.pot.orig\n"
"\n"
#. type: =item
#: msguntypot:15
msgid "- Make a copy of all your PO files."
msgstr "- 制作所有 PO 文件的副本。"
#. type: verbatim
#: msguntypot:16
#, no-wrap
msgid ""
" mkdir po_fridge; cp *.po po_fridge\n"
"\n"
msgstr ""
" mkdir po_fridge; cp *.po po_fridge\n"
"\n"
#. type: =item
#: msguntypot:17
msgid "- Fix your typo."
msgstr "- 修复您的拼写错误。"
#. type: textblock
#: msguntypot:18
msgid "$EDITOR the_file_in_which_there_is_a_typo"
msgstr "$EDITOR the_file_in_which_there_is_a_typo"
#. type: textblock
#: msguntypot:20
msgid "See above."
msgstr "见上文。"
#. type: textblock
#: msguntypot:21
msgid ""
"At this point, the typo fix fuzzied all the translations, and this "
"unfortunate change is the only one between the PO files of your main "
"directory and the one from the fridge. Here is how to solve this."
msgstr ""
"此时,拼写错误修复了所有翻译的模糊,这个不幸的更改是主目录的 PO 文件和冰箱中"
"的唯一一个。下面是解决此问题的方法。"
#. type: =item
#: msguntypot:22
msgid "- Discard fuzzy translation, restore the ones from the fridge."
msgstr "- 放弃模糊翻译,从冰箱恢复。"
#. type: verbatim
#: msguntypot:23
#, no-wrap
msgid ""
" cp po_fridge/*.po .\n"
"\n"
msgstr ""
" cp po_fridge/*.po .\n"
"\n"
#. type: =item
#: msguntypot:24
msgid ""
"- Manually merge the PO files with the new POT file, but taking the useless "
"fuzzy into account."
msgstr "- 手动将 PO 文件与新的 POT 文件合并,但将无用的模糊考虑在内。"
#. type: verbatim
#: msguntypot:25
#, no-wrap
msgid ""
" msguntypot -o myfile.pot.orig -n myfile.pot *.po\n"
"\n"
msgstr ""
" msguntypot -o myfile.pot.orig -n myfile.pot *.po\n"
"\n"
#. type: =item
#: msguntypot:26
msgid "- Cleanups."
msgstr "- 清理。"
#. type: verbatim
#: msguntypot:27
#, no-wrap
msgid ""
" rm -rf myfile.pot.orig po_fridge\n"
"\n"
msgstr ""
" rm -rf myfile.pot.orig po_fridge\n"
"\n"
#. type: textblock
#: msguntypot:28
msgid ""
"You're done. The typo was eradicated from msgstr of both your POT and PO "
"files, and the PO files were not fuzzyied in the process. Your translators "
"love you already."
msgstr ""
"你做完了该错别字从您的 POT 和 PO 文件的 msgstr 中根除了,并且 PO 文件在这个过"
"程中没有模糊化。你的翻译已经爱你了。"
#. type: textblock
#: msguntypot:30
msgid ""
"Despite its name, this tool is not part of the gettext tool suite. It is "
"instead part of po4a. More precisely, it's a random Perl script using the "
"fine po4a modules. For more information about po4a, please see:"
msgstr ""
"尽管它的名称,此工具不是 gettext 工具套件的一部分。而是 po4a 的一部分。更确切"
"地说,它是使用精细 po4a 模块的随机 Perl 脚本。有关 po4a 的信息,请参阅:"
#. type: textblock
#: msguntypot:31
msgid "L<po4a(7)>"
msgstr "L<po4a(7)>"
#. type: verbatim
#: msguntypot:33
#, no-wrap
msgid ""
" Martin Quinson (mquinson#debian,org)\n"
"\n"
msgstr ""
" Martin Quinson (mquinson#debian,org)\n"
"\n"
#. type: textblock
#: msguntypot:35
msgid "Copyright 2005 by SPI, inc."
msgstr "版权所有 2005 by SPI, inc."
#. type: textblock
#: doc/po4a.7.pod:2
msgid "po4a - framework to translate documentation and other materials"
msgstr "po4a - 翻译文档和其他资料的框架"
#. type: =head1
#: doc/po4a.7.pod:3
msgid "Introduction"
msgstr "简介"
#. type: textblock
#: doc/po4a.7.pod:4
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."
msgstr ""
"po4a(PO For Anything) 使用经典的 gettext 工具简化了文档翻译的维护。po4a 的主"
"要特征是它将内容翻译与文档结构分离。"
#. type: textblock
#: doc/po4a.7.pod:5
msgid ""
"This document serves as an introduction to the po4a project with a focus on "
"potential users considering whether to use this tool and on the curious "
"wanting to understand why things are the way they are."
msgstr ""
"本文档是对 po4a 项目的介绍,重点关注考虑是否使用此工具的潜在用户,以及想要了"
"解事物为什么是这样的好奇用户。"
#. type: =head1
#: doc/po4a.7.pod:6
msgid "Why po4a?"
msgstr "为什么是 po4a?"
#. type: textblock
#: doc/po4a.7.pod:7
msgid ""
"The philosophy of Free Software is to make the technology truly available to "
"everyone. But licensing is not the only consideration: untranslated free "
"software is useless for non-English speakers. Therefore, we still have some "
"work to do to make software available to everybody."
msgstr ""
"自由软件的理念是让技术真正为每个人所用。但许可并不是唯一的考虑因素:未翻译的"
"自由软件对非英语国家的人来说毫无用处。因此,要让每个人都可以使用软件,我们还"
"有一些工作要做。"
#. type: textblock
#: doc/po4a.7.pod:8
msgid ""
"This situation is well understood by most projects and everybody is now "
"convinced of the necessity to translate everything. Yet, the actual "
"translations represent a huge effort of many individuals, crippled by small "
"technical difficulties."
msgstr ""
"大多数项目都很好地理解了这种情况,现在每个人都相信有必要翻译所有的东西。然"
"而,实际的翻译代表了许多个人的巨大努力,他们因小小的技术困难而步履蹒跚。"
#. type: textblock
#: doc/po4a.7.pod:9
msgid ""
"Thankfully, Open Source software is actually very well translated using the "
"gettext tool suite. These tools are used to extract the strings to translate "
"from a program and present the strings to translate in a standardized format "
"(called PO files, or translation catalogs). A whole ecosystem of tools has "
"emerged to help the translators actually translate these PO files. The "
"result is then used by gettext at run time to display translated messages to "
"the end users."
msgstr ""
"值得庆幸的是,使用 gettext 工具套件实际上可以很好地翻译开放源码软件。这些工具"
"用于从程序中提取要翻译的字符串,并以标准化格式(称为 PO 文件或翻译目录)显示要"
"翻译的字符串。一个完整的工具生态系统已经出现,可以帮助翻译人员实际翻译这些 "
"PO 文件。然后,gettext 在运行时使用结果向最终用户显示翻译后的消息。"
#. type: textblock
#: doc/po4a.7.pod:10
#, fuzzy
#| msgid ""
#| "Regarding documentation, however, the situation still somewhat "
#| "disappointing. At first translating documentation may seem to be easier "
#| "than translating a program as it would seem that you just have to copy "
#| "the documentation source file and start translating the content. However, "
#| "when the original documentation is modified, keeping track of the "
#| "modifications quickly turns into a nightmare for the translators. If done "
#| "manually, this task is unpleasant and error prone."
msgid ""
"Regarding documentation, however, the situation still somewhat "
"disappointing. At first translating documentation may seem to be easier "
"than translating a program as it would seem that you just have to copy the "
"documentation source file and start translating the content. However, when "
"the original documentation is modified, keeping track of the modifications "
"quickly turns into a nightmare for the translators. If done manually, this "
"task is unpleasant and error-prone."
msgstr ""
"然而,关于文件,情况仍然有些令人失望。起初,翻译文档似乎比翻译程序更容易,因"
"为您似乎只需复制文档源文件并开始翻译内容。然而,当原始文档被修改时,跟踪修改"
"很快就变成了翻译人员的噩梦。如果手动完成,此任务会令人不快且容易出错。"
#. type: textblock
#: doc/po4a.7.pod:11
msgid ""
"Outdated translations are often worse than no translation at all. End-users "
"can be tricked by documentation describing an old behavior of the program. "
"Furthermore, they cannot interact directly with the maintainers since they "
"don't speak English. Additionally, the maintainer cannot fix the problem as "
"they don't know every language in which their documentation is translated. "
"These difficulties, often caused by poor tooling, can undermine the "
"motivation of volunteer translators, further aggravating the problem."
msgstr ""
"过时的翻译往往比根本没有翻译更糟糕。最终用户可能会被描述程序旧行为的文档所欺"
"骗。此外,他们不能直接与维护人员互动,因为他们不会说英语。此外,维护员无法修"
"复该问题,因为他们并不了解文档翻译所用的每种语言。这些困难通常是由糟糕的工具"
"造成的,可能会削弱志愿翻译人员的积极性,进一步加剧问题。"
#. type: textblock
#: doc/po4a.7.pod:12
msgid ""
"B<The goal of the po4a project is to ease the work of documentation "
"translators>. In particular, it makes documentation translations "
"I<maintainable>."
msgstr ""
"B<po4a 项目的目标是简化文档翻译人员的工作>。具体地说,它使文档翻译 "
"I<Maintenance> 变得可维护。"
#. type: textblock
#: doc/po4a.7.pod:13
msgid ""
"The idea is to reuse and adapt the gettext approach to this field. As with "
"gettext, texts are extracted from their original locations and presented to "
"translators as PO translation catalogs. The translators can leverage the "
"classical gettext tools to monitor the work to do, collaborate and organize "
"as teams. po4a then injects the translations directly into the documentation "
"structure to produce translated source files that can be processed and "
"distributed just like the English files. Any paragraph that is not "
"translated is left in English in the resulting document, ensuring that the "
"end users never see an outdated translation in the documentation."
msgstr ""
"我们的想法是重用 gettext 方法并使其适用于该领域。与 gettext 一样,文本从其原"
"始位置提取,并作为 PO 翻译目录呈现给翻译人员。翻译人员可以利用经典的 gettext "
"工具来监控要进行的工作,并以团队形式进行协作和组织。然后,po4a 将翻译直接注入"
"到文档结构中,以生成翻译后的源文件,可以像处理和分发英语文件一样处理和分发这"
"些源文件。任何未翻译的段落都将以英语保留在生成的文档中,从而确保最终用户在文"
"档中永远不会看到过时的翻译。"
#. type: textblock
#: doc/po4a.7.pod:14
msgid ""
"This automates most of the grunt work of the translation maintenance. "
"Discovering the paragraphs needing an update becomes very easy, and the "
"process is completely automated when elements are reordered without further "
"modification. Specific verification can also be used to reduce the chance of "
"formatting errors that would result in a broken document."
msgstr ""
"这使翻译维护的大部分繁琐工作自动化。发现需要更新的段落变得非常容易,当元素重"
"新排序而不需要进一步修改时,这个过程是完全自动的。还可以使用特定验证来减少导"
"致文档损坏的格式化错误的机会。"
#. type: textblock
#: doc/po4a.7.pod:15
msgid ""
"Please also see the B<FAQ> below in this document for a more complete list "
"of the advantages and disadvantages of this approach."
msgstr "有关此方法的优点和缺点的更完整列表,另请参阅本文档下面的 B<FAQ>。"
#. type: =head2
#: doc/po4a.7.pod:16
msgid "Supported formats"
msgstr "支持的格式"
#. type: textblock
#: doc/po4a.7.pod:17
msgid ""
"Currently, this approach has been successfully implemented to several kinds "
"of text formatting formats:"
msgstr "目前,该方法已成功应用于多种文本格式:"
#. type: =item
#: doc/po4a.7.pod:18
msgid "man (mature parser)"
msgstr "man (成熟解析器)"
#. type: textblock
#: doc/po4a.7.pod:19
msgid ""
"The good old manual pages' format, used by so many programs out there. po4a "
"support is very welcome here since this format is somewhat difficult to use "
"and not really friendly to newbies."
msgstr ""
"很好的老手册页的格式,被那么多的程序使用。po4a 支持在这里非常受欢迎,因为这种"
"格式使用起来有些困难,对新手也不是很友好。"
#. type: textblock
#: doc/po4a.7.pod:20
msgid ""
"The L<Locale::Po4a::Man(3pm)|Man> module also supports the mdoc format, used "
"by the BSD man pages (they are also quite common on Linux)."
msgstr ""
"L<Locale::Po4a::Man(3pm)|Man> 模块还支持 BSD 手册页使用的 MDOC 格式(它们在 "
"Linux 上也很常见)。"
#. type: =item
#: doc/po4a.7.pod:21
msgid "AsciiDoc (mature parser)"
msgstr "AsciiDoc (成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:22
msgid ""
"This format is a lightweight markup format intended to ease the authoring of "
"documentation. It is for example used to document the git system. Those "
"manpages are translated using po4a."
msgstr ""
"此格式是一种轻量级标记格式,旨在简化文档的创作。例如,它用于记录 git 系统。这"
"些手册页是使用 po4a 翻译的。"
#. type: textblock
#: doc/po4a.7.pod:23
msgid "See L<Locale::Po4a::AsciiDoc> for details."
msgstr "有关详细信息,请参阅 L<Locale::Po4a::AsciiDoc>。"
#. type: =item
#: doc/po4a.7.pod:24
msgid "pod (mature parser)"
msgstr "pod (成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:25
msgid ""
"This is the Perl Online Documentation format. The language and extensions "
"themselves are documented using this format in addition to most existing "
"Perl scripts. It makes easy to keep the documentation close to the actual "
"code by embedding them both in the same file. It makes programmer's life "
"easier, but unfortunately, not the translator's, until you use po4a."
msgstr ""
"这是 Perl 在线文档格式。除了大多数现有的 Perl 脚本之外,还使用此格式记录了语"
"言和扩展本身。通过将文档和实际代码嵌入到同一文件中,可以轻松地使文档接近实际"
"代码。它使程序员的工作变得更容易,但不幸的是,在您使用 po4a 之前,翻译员的工"
"作并非如此。"
#. type: textblock
#: doc/po4a.7.pod:26
msgid "See L<Locale::Po4a::Pod> for details."
msgstr "有关详细信息,请参阅 L<Locale::Po4a::Pod>。"
#. type: =item
#: doc/po4a.7.pod:27
msgid "sgml (mature parser)"
msgstr "sgml (成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:28
msgid ""
"Even if superseded by XML nowadays, this format is still used for documents "
"which are more than a few screens long. It can even be used for complete "
"books. Documents of this length can be very challenging to update. B<diff> "
"often reveals useless when the original text was re-indented after update. "
"Fortunately, po4a can help you after that process."
msgstr ""
"即使现在被 XML 取代,这种格式仍然用于超过几个屏幕的文档。它甚至可以用来制作完"
"整的书籍。更新这种长度的文档可能非常困难。当原始文本在更新后重新缩进时,"
"B<diff> 通常显示无用。幸运的是,po4a 可以在该过程之后帮助您。"
#. type: textblock
#: doc/po4a.7.pod:29
msgid ""
"Currently, only DebianDoc and DocBook DTD are supported, but adding support "
"for a new one is really easy. It is even possible to use po4a on an unknown "
"SGML DTD without changing the code by providing the needed information on "
"the command line. See L<Locale::Po4a::Sgml(3pm)> for details."
msgstr ""
"目前只支持 DebianDoc 和 DocBook DTD,但是添加对新 DTD 的支持非常简单。通过在"
"命令行上提供所需的信息,甚至可以在未知的 SGML DTD 上使用 po4a,而无需更改代"
"码。有关详细信息,请参见 L<Locale::Po4a::Sgml(3pm)>。"
#. type: =item
#: doc/po4a.7.pod:30
msgid "TeX / LaTeX (mature parser)"
msgstr "TeX / LaTeX (成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:31
msgid ""
"The LaTeX format is a major documentation format used in the Free Software "
"world and for publications."
msgstr "LaTeX 格式是自由软件世界和出版物中使用的主要文档格式。"
#. type: textblock
#: doc/po4a.7.pod:32
msgid ""
"The L<Locale::Po4a::LaTeX(3pm)|LaTeX> module was tested with the Python "
"documentation, a book and some presentations."
msgstr ""
"使用 Python 文档、一本书和一些演示文稿测试了 L<Locale::Po4a::LaTeX(3pm)|"
"LaTeX> 模块。"
#. type: =item
#: doc/po4a.7.pod:33
msgid "text (mature parser)"
msgstr "text (成熟解析器)"
#. type: textblock
#: doc/po4a.7.pod:34
msgid ""
"The Text format is the base format for many formats that include long blocks "
"of text, including Markdown, fortunes, YAML front matter section, debian/"
"changelog, and debian/control."
msgstr ""
"文本格式是包括长文本块的许多格式的基本格式,包括 Markdown、Forties、YAML "
"Front Matter 部分、Debian/Changelog 和 Debian/Control。"
#. type: textblock
#: doc/po4a.7.pod:35
msgid ""
"This supports the common format used in Static Site Generators, READMEs, and "
"other documentation systems. See L<Locale::Po4a::Text(3pm)|Text> for details."
msgstr ""
"这支持静态站点生成器、自述文件和其他文档系统中使用的通用格式。有关详细信息,"
"请参阅 L<Locale::Po4a::Text(3pm)|Text> 。"
#. type: =item
#: doc/po4a.7.pod:36
msgid "xml and XHMTL (probably mature parser)"
msgstr "xml 和 XHMTL (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:37
msgid "The XML format is a base format for many documentation formats."
msgstr "XML 格式是许多文档格式的基本格式。"
#. type: textblock
#: doc/po4a.7.pod:38
msgid ""
"Currently, the DocBook DTD (see L<Locale::Po4a::Docbook(3pm)> for details) "
"and XHTML are supported by po4a."
msgstr ""
"目前,po4a 支持 DocBook DTD (有关详细信息,请参阅 L<Locale::Po4a::"
"Docbook(3pm)> )和 XHTML。"
#. type: =item
#: doc/po4a.7.pod:39
msgid "BibTex (probably mature parser)"
msgstr "BibTex (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:40
msgid ""
"The BibTex format is used alongside LaTex for formatting lists of references "
"(bibliographies)."
msgstr "BibTex 格式与 LaTeX 一起用于设置参考文献列表 (目录) 的格式。"
#. type: textblock
#: doc/po4a.7.pod:41
msgid "See L<Locale::Po4a::BibTex> for details."
msgstr "有关详细信息,请参阅 L<Locale::Po4a::BibTex>。"
#. type: =item
#: doc/po4a.7.pod:42
msgid "Docbook (probably mature parser)"
msgstr "Docbook (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:43
msgid ""
"A XML-based markup language that uses semantic tags to describe documents."
msgstr "一种基于 XML 的标记语言,它使用语义标记来描述文档。"
#. type: textblock
#: doc/po4a.7.pod:44
msgid "See L<Locale::Po4a:Docbook> for greater details."
msgstr "有关更多详细信息,请参阅 L<Locale::Po4a:Docbook> 。"
#. type: =item
#: doc/po4a.7.pod:45
msgid "Guide XML (probably mature parser)"
msgstr "Guide XML (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:46
msgid ""
"A XML documentation format. This module was developed specifically to help "
"with supporting and maintaining translations of Gentoo Linux documentation "
"up until at least March 2016 (Based on the Wayback Machine). Gentoo have "
"since moved to the DevBook XML format."
msgstr ""
"一种 XML 文档格式。此模块专门用于帮助支持和维护 Gentoo Linux 文档的翻译,至少"
"到 2016 年 3 月 (基于 Wayback Machine)。Gentoo 后来转移到了 DevBook XML 格"
"式。"
#. type: textblock
#: doc/po4a.7.pod:47
msgid "See L<Locale::Po4a:Guide> for greater details."
msgstr "有关更多详细信息,请参阅 L<Locale::Po4a:Guide>。"
#. type: =item
#: doc/po4a.7.pod:48
msgid "Wml (probably mature parser)"
msgstr "Wml (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:49
msgid ""
"The Web Markup Language, do not mixup WML with the WAP stuff used on cell "
"phones. This module relies on the Xhtml module, which itself relies on the "
"XmL module."
msgstr ""
"Web 标记语言,不要将 WML 与手机上使用的 WAP 东西混淆。该模块依赖于 Xhtml 模"
"块,而 Xhtml 模块本身又依赖于 XML 模块。"
#. type: textblock
#: doc/po4a.7.pod:50
msgid "See L<Locale::Po4a::Wml> for greater details."
msgstr "有关更多详细信息,请参阅 L<Locale::Po4a::Wml>。"
#. type: =item
#: doc/po4a.7.pod:51
msgid "Yaml (probably mature parser)"
msgstr "Yaml (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:52
msgid ""
"A strict superset of JSON. YAML is often used as systems or configuration "
"projects. YAML is at the core of Red Hat's Ansible."
msgstr ""
"JSON 的严格超集。YAML 通常用作系统或配置项目。YAML 是红帽的 Ansible 的核心。"
#. type: textblock
#: doc/po4a.7.pod:53
msgid "See L<Locale::Po4a::Yaml> for greater details."
msgstr "有关更多详细信息,请参阅 L<Locale::Po4a::Yaml> 。"
#. type: =item
#: doc/po4a.7.pod:54
msgid "RubyDoc (probably mature parser)"
msgstr "RubyDoc (可能是成熟的解析器)"
#. type: textblock
#: doc/po4a.7.pod:55
msgid ""
"The Ruby Document (RD) format, originally the default documentation format "
"for Ruby and Ruby projects before converted to RDoc in 2002. Though "
"apparently the Japanese version of the Ruby Reference Manual still use RD."
msgstr ""
"Ruby 文档 (RD) 格式,在 2002 年转换为 RDoC 之前,最初是 Ruby 和 Ruby 项目的默"
"认文档格式。尽管显然日文版的 Ruby 参考手册仍然使用 RD。"
#. type: textblock
#: doc/po4a.7.pod:56
msgid "See L<Locale::Po4a::RubyDoc> for greater details."
msgstr "有关更多详细信息,请参阅 L<Locale::Po4a::RubyDoc>。"
#. type: =item
#: doc/po4a.7.pod:57
msgid "Halibut (probably experimental parser)"
msgstr "Halibut (高度实验性的解析器)"
#. type: textblock
#: doc/po4a.7.pod:58
msgid ""
"A documentation production system, with elements similar to TeX, debiandoc-"
"sgml, TeXinfo, and others, developed by Simon Tatham, the developer of PuTTY."
msgstr ""
"由 PuTTY 的开发者 Simon Tatham 开发的文档生产系统,其元素类似于 TeX、"
"debiandoc-sgml、TeXinfo 和其他。"
#. type: textblock
#: doc/po4a.7.pod:59
msgid "See L<Locale::Po4a:Halibut> for greater details."
msgstr "有关更多详细信息,请参见 L<Locale::Po4a:Halibut>。"
#. type: =item
#: doc/po4a.7.pod:60
msgid "Ini (probably experimental parser)"
msgstr "Ini (高度实验性的解析器)"
#. type: textblock
#: doc/po4a.7.pod:61
msgid "Configuration file format popularized by MS-DOS."
msgstr "MS-DOS 普及的配置文件格式。"
#. type: textblock
#: doc/po4a.7.pod:62
msgid "See L<Locale::Po4a::Ini> for greater details."
msgstr "有关更多详细信息,请参阅 L<Locale::Po4a::Ini> 。"
#. type: =item
#: doc/po4a.7.pod:63
msgid "texinfo (very highly experimental parser)"
msgstr "texinfo (高度实验性的解析器)"
#. type: textblock
#: doc/po4a.7.pod:64
msgid ""
"All of the GNU documentation is written in this format (it's even one of the "
"requirements to become an official GNU project). The support for L<Locale::"
"Po4a::Texinfo(3pm)|Texinfo> in po4a is still at the beginning. Please "
"report bugs and feature requests."
msgstr ""
"所有 GNU 文档都是以这种格式编写的(这甚至是成为正式 GNU 项目的要求之一)。po4a "
"中对 L<Locale::Po4a::Texinfo(3pm)|Texinfo> 的支持还处于起步阶段。请报告错误和"
"功能请求。"
#. type: =item
#: doc/po4a.7.pod:65
#, fuzzy
#| msgid "texinfo (very highly experimental parser)"
msgid "gemtext (very highly experimental parser)"
msgstr "texinfo (高度实验性的解析器)"
#. type: textblock
#: doc/po4a.7.pod:66
msgid ""
"The native plain text format of the Gemini protocol. The extension \".gmi\" "
"is commonly used. Support for this module in po4a is still in its infancy. "
"If you find anything, please file a bug or feature request."
msgstr ""
#. type: =item
#: doc/po4a.7.pod:67
msgid "Others supported formats"
msgstr "其他支持的格式"
#. type: textblock
#: doc/po4a.7.pod:68
msgid ""
"Po4a can also handle some more rare or specialized formats, such as the "
"documentation of compilation options for the 2.4+ Linux kernels (L<Locale::"
"Po4a::KernelHelp>) or the diagrams produced by the dia tool (L<Locale::Po4a:"
"Dia>). Adding a new format is often very easy and the main task is to come "
"up with a parser for your target format. See L<Locale::Po4a::"
"TransTractor(3pm)> for more information about this."
msgstr ""
"Po4a 还可以处理一些比较罕见或专门的格式,比如 2.4+ Linux 内核 (L<Locale::"
"Po4a::KernelHelp>) 的编译选项文档或 dia 工具 (L<Locale::Po4a:Dia>)生成的图"
"表。添加新格式通常非常简单,主要任务是为您的目标格式提供一个解析器。有关这方"
"面的更多信息,请参见 L<Locale::Po4a::TransTractor(3pm)>。"
#. type: =item
#: doc/po4a.7.pod:69
msgid "Unsupported formats"
msgstr "不支持的格式"
#. type: textblock
#: doc/po4a.7.pod:70
msgid ""
"Unfortunately, po4a still lacks support for several documentation formats. "
"Many of them would be easy to support in po4a. This includes formats not "
"just used for documentation, such as, package descriptions (deb and rpm), "
"package installation scripts questions, package changelogs, and all the "
"specialized file formats used by programs such as game scenarios or wine "
"resource files."
msgstr ""
"不幸的是,po4a 仍然缺乏对几种文档格式的支持。它们中的许多在 po4a 中都很容易支"
"持。这不仅包括用于文档的格式,例如软件包描述 (deb 和 rpm)、软件包安装脚本问"
"题、软件包更改日志,以及游戏场景或 wine 资源文件等程序使用的所有专用文件格"
"式。"
#. type: =head1
#: doc/po4a.7.pod:71
msgid "Using po4a"
msgstr "使用 po4a"
#. type: textblock
#: doc/po4a.7.pod:72
msgid ""
"The easiest way to use this tool in your project is to write a configuration "
"file for the B<po4a> program, and only interact with this program. Please "
"refer to its documentation, in L<po4a(1)>. The rest of this section provides "
"more details for the advanced users of po4a wanting to deepen their "
"understanding."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:73
msgid "Detailed schema of the po4a workflow"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:74
msgid ""
"Make sure to read L<po4a(1)> before this overly detailed section to get a "
"simplified overview of the po4a workflow. Come back here when you want to "
"get the full scary picture, with almost all details."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:75
#, fuzzy
#| msgid ""
#| "The following schema gives an overview of how each po4a script can be "
#| "used. Here, F<master.doc> is an example name for the documentation to be "
#| "translated; F<XX.doc> is the same document translated in the language XX "
#| "while F<doc.XX.po> is the translation catalog for that document in the XX "
#| "language. Documentation authors will mostly be concerned with F<master."
#| "doc> (which can be a manpage, an XML document, an asciidoc file or "
#| "similar); the translators will be mostly concerned with the PO file, "
#| "while the end users will only see the F<XX.doc> file."
msgid ""
"In the following schema, F<master.doc> is an example name for the "
"documentation to be translated; F<XX.doc> is the same document translated in "
"the language XX while F<doc.XX.po> is the translation catalog for that "
"document in the XX language. Documentation authors will mostly be concerned "
"with F<master.doc> (which can be a manpage, an XML document, an AsciidDoc "
"file, etc); the translators will be mostly concerned with the PO file, while "
"the end users will only see the F<XX.doc> file."
msgstr ""
"下面的模式概述了如何使用每个 po4a 脚本。这里,F<master.doc> 是要翻译的文档的"
"示例名称;F<XX.doc> 是以 XX 语言翻译的相同文档,而 F<doc.XX.po> 是该文档以 "
"XX 语言翻译的目录。文档作者主要关注 F<master.doc> (可以是手册页、XML 文档、"
"asciidoc 文件或类似文件);翻译人员主要关注 PO 文件,而最终用户只能看到 F<XX."
"doc> 文件。"
#. type: textblock
#: doc/po4a.7.pod:76
msgid ""
"Transitions with square brackets such as C<[po4a updates po]> represent the "
"execution of a po4a tool while transitions with curly brackets such as "
"C<{update of master.doc}> represent a manual modification of the project's "
"files."
msgstr ""
#. type: verbatim
#: doc/po4a.7.pod:77
#, fuzzy, no-wrap
#| msgid ""
#| " master.doc\n"
#| " |\n"
#| " V\n"
#| " +<-----<----+<-----<-----<--------+------->-------->-------+\n"
#| " : | | :\n"
#| "{translation} | { update of master.doc } :\n"
#| " : | | :\n"
#| " XX.doc | V V\n"
#| " (optional) | master.doc ->-------->------>+\n"
#| " : | (new) |\n"
#| " V V | |\n"
#| " [po4a-gettextize] doc.XX.po -->+ | |\n"
#| " | (old) | | |\n"
#| " | ^ V V |\n"
#| " | | [po4a-updatepo] |\n"
#| " V | | V\n"
#| " translation.pot ^ V |\n"
#| " | | doc.XX.po |\n"
#| " | | (fuzzy) |\n"
#| " { translation } | | |\n"
#| " | ^ V V\n"
#| " | | {manual editing} |\n"
#| " | | | |\n"
#| " V | V V\n"
#| " doc.XX.po --->---->+<---<-- doc.XX.po addendum master.doc\n"
#| " (initial) (up-to-date) (optional) (up-to-date)\n"
#| " : | | |\n"
#| " : V | |\n"
#| " +----->----->----->------> + | |\n"
#| " | | |\n"
#| " V V V\n"
#| " +------>-----+------<------+\n"
#| " |\n"
#| " V\n"
#| " [po4a-translate]\n"
#| " |\n"
#| " V\n"
#| " XX.doc\n"
#| " (up-to-date)\n"
#| "\n"
msgid ""
" master.doc\n"
" |\n"
" V\n"
" +<-----<----+<-----<-----<--------+------->-------->-------+\n"
" : | | :\n"
"{translation} | {update of master.doc} :\n"
" : | | :\n"
" XX.doc | V V\n"
" (optional) | master.doc ->-------->------>+\n"
" : | (new) |\n"
" V V | |\n"
" [po4a-gettextize] doc.XX.po -->+ | |\n"
" | (old) | | |\n"
" | ^ V V |\n"
" | | [po4a updates po] |\n"
" V | | V\n"
" translation.pot ^ V |\n"
" | | doc.XX.po |\n"
" | | (fuzzy) |\n"
" {translation} | | |\n"
" | ^ V V\n"
" | | {manual editing} |\n"
" | | | |\n"
" V | V V\n"
" doc.XX.po --->---->+<---<-- doc.XX.po addendum master.doc\n"
" (initial) (up-to-date) (optional) (up-to-date)\n"
" : | | |\n"
" : V | |\n"
" +----->----->----->------> + | |\n"
" | | |\n"
" V V V\n"
" +------>-----+------<------+\n"
" |\n"
" V\n"
" [po4a updates translations]\n"
" |\n"
" V\n"
" XX.doc\n"
" (up-to-date)\n"
"\n"
msgstr ""
" master.doc\n"
" |\n"
" V\n"
" +<-----<----+<-----<-----<--------+------->-------->-------+\n"
" : | | :\n"
"{翻译} | { 更新到 master.doc } :\n"
" : | | :\n"
" XX.doc | V V\n"
" (可选) | master.doc ->-------->------>+\n"
" : | (新的) |\n"
" V V | |\n"
" [po4a-gettextize] doc.XX.po -->+ | |\n"
" | (旧的) | | |\n"
" | ^ V V |\n"
" | | [po4a-updatepo] |\n"
" V | | V\n"
" translation.pot ^ V |\n"
" | | doc.XX.po |\n"
" | | (模糊) |\n"
" { 翻译 } | | |\n"
" | ^ V V\n"
" | | {手动编辑} |\n"
" | | | |\n"
" V | V V\n"
" doc.XX.po --->---->+<---<-- doc.XX.po addendum master.doc\n"
" (初始) (最新) (可选) (最新)\n"
" : | | |\n"
" : V | |\n"
" +----->----->----->------> + | |\n"
" | | |\n"
" V V V\n"
" +------>-----+------<------+\n"
" |\n"
" V\n"
" [po4a-translate]\n"
" |\n"
" V\n"
" XX.doc\n"
" (最新)\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:78
msgid ""
"Again, this schema is overly complicated. Check on L<po4a(1)> for a "
"simplified overview."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:79
msgid ""
"The left part depicts how L<po4a-gettextize(1)> can be used to convert an "
"existing translation project to the po4a infrastructure. This script takes "
"an original document and its translated counterpart, and tries to build the "
"corresponding PO file. Such manual conversion is rather cumbersome (see the "
"L<po4a-gettextize(1)> documentation for more details), but it is only needed "
"once to convert your existing translations. If you don't have any "
"translation to convert, you can forget about this and focus on the right "
"part of the schema."
msgstr ""
"左侧部分描述了如何使用 L<po4a-gettexalize(1)> 将现有的翻译项目转换为 po4a 基"
"础设施。此脚本获取原始文档及其翻译的副本,并尝试构建相应的 PO 文件。这种手动"
"转换相当麻烦(有关更多详细信息,请参阅 L<po4a-gettexalize(1)> 文档),但转换现"
"有翻译只需要一次。如果您没有任何要转换的翻译,您可以忘掉这一点,专注于模式的"
"正确部分。"
#. type: textblock
#: doc/po4a.7.pod:80
#, fuzzy
#| msgid ""
#| "On the top right part, the action of the original author is depicted, "
#| "updating the documentation. The middle right part depicts the automatic "
#| "actions of L<po4a-updatepo(1)>. The new material is extracted and "
#| "compared against the exiting translation. The previous translation is "
#| "used for the parts that didn't change, while partially modified parts are "
#| "connected to the previous translation with a \"fuzzy\" marker indicating "
#| "that the translation must be updated. New or heavily modified material is "
#| "left untranslated."
msgid ""
"On the top right part, the action of the original author is depicted, "
"updating the documentation. The middle right part depicts the automatic "
"updates of translation files: the new material is extracted and compared "
"against the exiting translation. The previous translation is used for the "
"parts that didn't change, while partially modified parts are connected to "
"the previous translation with a \"fuzzy\" marker indicating that the "
"translation must be updated. New or heavily modified material is left "
"untranslated."
msgstr ""
"在右上角,描述了原始作者的操作,更新了文档。右中部分描述了 L<po4a-"
"updatepo(1)> 的自动操作。提取新资料,并将其与现有翻译进行比较。先前的翻译用于"
"未更改的部分,而部分修改的部分使用“模糊”标记连接到先前的翻译,指示翻译必须更"
"新。新的或大量修改的资料未翻译。"
#. type: textblock
#: doc/po4a.7.pod:81
#, fuzzy
#| msgid ""
#| "Then, the I<manual editing> reported depicts the action of the "
#| "translators, that modify the PO files to provide translations to every "
#| "original string and paragraph. This can be done using either a specific "
#| "editor such as the B<GNOME Translation Editor>, KDE's B<Lokalize> or "
#| "B<poedit>, or using an online localization platform such as B<weblate> or "
#| "B<pootle>. The translation result is a set of PO files, one per language. "
#| "Please refer to the gettext documentation for more details."
msgid ""
"Then, the I<manual editing> block depicts the action of the translators, "
"that modify the PO files to provide translations to every original string "
"and paragraph. This can be done using either a specific editor such as the "
"B<GNOME Translation Editor>, KDE's B<Lokalize> or B<poedit>, or using an "
"online localization platform such as B<weblate> or B<pootle>. The "
"translation result is a set of PO files, one per language. Please refer to "
"the gettext documentation for more details."
msgstr ""
"然后,I<Manual editing> 报告描述了翻译人员的操作,他们修改 PO 文件,为每个原"
"始字符串和段落提供翻译。这可以使用特定的编辑器(如 B<GNOME Translation "
"Editor>、KDE's B<Lokalize> 或 B<poedit> )或使用在线本地化平台(如 B<weblate> "
"或 B<pootle>)来完成。翻译结果是一组 PO 文件,每种语言一个。有关更多详细信息,"
"请参阅 gettext 文档。"
#. type: textblock
#: doc/po4a.7.pod:82
#, fuzzy
#| msgid ""
#| "The bottom part of the figure shows how L<po4a-translate(1)> creates a "
#| "translated source document from the F<master.doc> original document and "
#| "the F<doc.XX.po> translation catalog that was updated by the translators. "
#| "The structure of the document is reused, while the original content is "
#| "replaced by its translated counterpart. Optionally, an addendum can be "
#| "used to add some extra text to the translation. This is often used to add "
#| "the name of the translator to the final document. See below for details."
msgid ""
"The bottom part of the figure shows how B<po4a> creates a translated source "
"document from the F<master.doc> original document and the F<doc.XX.po> "
"translation catalog that was updated by the translators. The structure of "
"the document is reused, while the original content is replaced by its "
"translated counterpart. Optionally, an addendum can be used to add some "
"extra text to the translation. This is often used to add the name of the "
"translator to the final document. See below for details."
msgstr ""
"图的下半部分显示了 L<po4a-translate(1)> 如何从翻译人员更新的 F<master.doc> 原"
"始文档和 F<doc.XX.po> 翻译目录创建翻译的源文档。文档的结构被重用,而原始内容"
"被其翻译的对应内容替换。或者,可以使用附录向翻译中添加一些额外的文本。这通常"
"用于将翻译人员的姓名添加到最终文档中。详情见下文。"
#. type: textblock
#: doc/po4a.7.pod:83
#, fuzzy
#| msgid "po4a - update both the PO files and translated documents in one shot"
msgid ""
"Upon invocation, B<po4a> updates both the translation files and the "
"translated documentation files automatically."
msgstr "po4a - 一次性更新 PO 文件和翻译文档"
#. type: =head2
#: doc/po4a.7.pod:84
#, fuzzy
#| msgid "Starting a new translation"
msgid "Starting a new translation project"
msgstr "开始新的翻译"
#. type: textblock
#: doc/po4a.7.pod:85
msgid ""
"If you start from scratch, you just have to write a configuration file for "
"po4a, and you are set. The relevant templates are created for the missing "
"files, allowing your contributors to translate your project to their "
"language. Please refer to L<po4a(1)> for a quick start tutorial and for all "
"details."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:86
msgid ""
"If you have an existing translation, i.e. a documentation file that was "
"translated manually, you can integrate its content in your po4a workflow "
"using B<po4a-gettextize>. This task is a bit cumbersome (as described in the "
"tool's manpage), but once your project is converted to po4a workflow, "
"everything will be updated automatically."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:87
#, fuzzy
#| msgid "Generating a translated document"
msgid "Updating the translations and documents"
msgstr "生成翻译的文档"
#. type: textblock
#: doc/po4a.7.pod:88
msgid ""
"Once setup, invoking B<po4a> is enough to update both the translation PO "
"files and translated documents. You may pass the C<--no-translations> to "
"B<po4a> to not update the translations (thus only updating the PO files) or "
"C<--no-update> to not update the PO files (thus only updating the "
"translations). This roughly corresponds to the individual B<po4a-updatepo> "
"and B<po4a-translate> scripts which are now deprecated (see \"Why are the "
"individual scripts deprecated\" in the FAQ below)."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:89
msgid "Using addenda to add extra text to translations"
msgstr "使用附录向翻译添加额外文本"
#. type: textblock
#: doc/po4a.7.pod:90
msgid ""
"Adding new text to the translation is probably the only thing that is easier "
"in the long run when you translate files manually :). This happens when you "
"want to add an extra section to the translated document, not corresponding "
"to any content in the original document. The classical use case is to give "
"credits to the translation team, and to indicate how to report translation-"
"specific issues."
msgstr ""
"从长远来看,在手动翻译文件时,向翻译中添加新文本可能是唯一更容易的事情 :)。当"
"您想要向翻译后的文档添加额外的部分,而不是与原始文档中的任何内容相对应时,就"
"会发生这种情况。典型的用例是给翻译团队加分,并指出如何报告特定于翻译的问题。"
#. type: textblock
#: doc/po4a.7.pod:91
msgid ""
"With po4a, you have to specify B<addendum> files, that can be conceptually "
"viewed as patches applied to the localized document after processing. Each "
"addendum must be provided as a separate file, which format is however very "
"different from the classical patches. The first line is a I<header line>, "
"defining the insertion point of the addendum (with an unfortunately cryptic "
"syntax -- see below) while the rest of the file is added verbatim at the "
"determined position."
msgstr ""
"对于 po4a,您必须指定 B<addendum> 文件,这些文件在概念上可以被视为在处理后应"
"用于本地化文档的补丁。每个附录必须作为单独的文件提供,但其格式与经典补丁程序"
"非常不同。第一行是 I<header>,它定义了附录的插入点(不幸的是,使用了隐晦的语"
"法--见下文),而文件的其余部分被逐字添加到确定的位置。"
#. type: textblock
#: doc/po4a.7.pod:92
msgid ""
"The header line must begin with the string B<PO4A-HEADER:>, followed by a "
"semi-colon separated list of I<key>B<=>I<value> fields."
msgstr ""
"标题行必须以字符串 B<PO4A-HEADER:> 开头,后跟分号分隔的 I<key>B<=>I<value> 字"
"段列表。"
#. type: textblock
#: doc/po4a.7.pod:93
msgid ""
"For example, the following header declares an addendum that must be placed "
"at the very end of the translation."
msgstr "例如,下面的标题声明了一个附录,该附录必须放在翻译的最后。"
#. type: verbatim
#: doc/po4a.7.pod:94
#, no-wrap
msgid ""
" PO4A-HEADER: mode=eof\n"
"\n"
msgstr ""
" PO4A-HEADER: mode=eof\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:95
msgid ""
"Things are more complex when you want to add your extra content in the "
"middle of the document. The following header declares an addendum that must "
"be placed after the XML section containing the string C<About this document> "
"in translation."
msgstr ""
"当您想要在文档中间添加额外内容时,事情会更加复杂。下面的标题声明了一个附录,"
"翻译时必须放在包含字符串 C<About this document> 的 XML 部分之后。"
#. type: verbatim
#: doc/po4a.7.pod:96
#, no-wrap
msgid ""
" PO4A-HEADER: position=About this document; mode=after; endboundary=</section>\n"
"\n"
msgstr ""
" PO4A-HEADER: position=关于本文档; mode=after; endboundary=</section>\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:97
msgid ""
"In practice, when trying to apply an addendum, po4a searches for the first "
"line matching the C<position> argument (this can be a regexp). Do not forget "
"that po4a considers the B<translated> document here. This documentation is "
"in English, but your line should probably read as follows if you intend your "
"addendum to apply to the French translation of the document."
msgstr ""
"实际上,当尝试应用附录时,po4a 会搜索与 C<position> 参数匹配的第一行(这可以"
"是 regexp(正则表达式))。不要忘记,po4a 在这里考虑 B<translated> 文档。本文档"
"是英文的,但如果您打算将附录应用于文档的法语翻译,则您的行可能应该如下所示。"
#. type: verbatim
#: doc/po4a.7.pod:98
#, no-wrap
msgid ""
" PO4A-HEADER: position=À propos de ce document; mode=after; endboundary=</section>\n"
"\n"
msgstr ""
" PO4A-HEADER: position=关于本文档; mode=after; endboundary=</section>\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:99
msgid ""
"Once the C<position> is found in the target document, po4a searches for the "
"next line after the C<position> that matches the provided C<endboundary>. "
"The addendum is added right B<after> that line (because we provided an "
"I<endboundary>, i.e. a boundary ending the current section)."
msgstr ""
"一旦在目标文档中找到 C<position>,po4a 就会搜索 C<position> 之后的下一行,它与"
"所提供的 C<endboundary> 匹配。附录被添加到该行的右侧 B<after> (因为我们提供"
"了 I<endboundary>,即结束于当前部分的边界)。"
#. type: textblock
#: doc/po4a.7.pod:100
msgid ""
"The exact same effect could be obtained with the following header, that is "
"equivalent:"
msgstr "使用下面的 Header 可以获得完全相同的效果,即等效:"
#. type: verbatim
#: doc/po4a.7.pod:101
#, no-wrap
msgid ""
" PO4A-HEADER: position=About this document; mode=after; beginboundary=<section>\n"
"\n"
msgstr ""
" PO4A-HEADER: position=关于本文档; mode=after; beginboundary=<section>\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:102
#, fuzzy
#| msgid ""
#| "Here, po4a searches for the first line matching C<<section>> after the "
#| "line matching C<About this document> in the translation, and add the "
#| "addendum B<before> that line since we provided a I<beginboundary>, i.e. a "
#| "boundary marking the beginning of the next section. So this header line "
#| "requires to place the addendum after the section containing C<About this "
#| "document>, and instruct po4a that a section starts with a line containing "
#| "the C<<section>> tag. This is equivalent to the previous example because "
#| "what you really want is to add this addendum either after C</section>> or "
#| "before C<<section>>."
msgid ""
"Here, po4a searches for the first line matching C<< <section> >> after the "
"line matching C<About this document> in the translation, and add the "
"addendum B<before> that line since we provided a I<beginboundary>, i.e. a "
"boundary marking the beginning of the next section. So this header line "
"requires placing the addendum after the section containing C<About this "
"document>, and instruct po4a that a section starts with a line containing "
"the C<< <section> >> tag. This is equivalent to the previous example because "
"what you really want is to add this addendum either after C<< </section> >> "
"or before C<< <section> >>."
msgstr ""
"在这里,po4a 在翻译中的匹配 C<About this document> 的行之后搜索与 "
"C<<section>> 匹配的第一行,并添加该行的附录 B<before> ,因为我们提供了 "
"I<beginboundary>,即 边界标记下一节的开始。 因此,此标题行需要将附录放在包含 "
"C<about this document> 的部分之后,并指示 po4a 该部分以包含 C<<section>> 标记"
"的行开头。 这与前面的示例等效,因为您真正想要的是在C</section>> 之后或 "
"C<<section>>之前添加此附录。"
#. type: textblock
#: doc/po4a.7.pod:103
#, fuzzy
#| msgid ""
#| "You can also set the insertion I<mode> to the value C<before>, with a "
#| "similar semantic: combining C<mode=before> with an C<endboundary> will "
#| "put the addendum just B<after> the matched boundary, that the last "
#| "potential boundary line before the C<position>. Combining C<mode=before> "
#| "with an C<beginboundary> will put the addendum just B<before> the matched "
#| "boundary, that the last potential boundary line before the C<position>."
msgid ""
"You can also set the insertion I<mode> to the value C<before>, with a "
"similar semantic: combining C<mode=before> with an C<endboundary> will put "
"the addendum just B<after> the matched boundary, that is the last potential "
"boundary line before the C<position>. Combining C<mode=before> with an "
"C<beginboundary> will put the addendum just B<before> the matched boundary, "
"that is the last potential boundary line before the C<position>."
msgstr ""
"您还可以将插入I<mode> 设置为值 C<before>,具有类似的语义:将 C<mode=before> "
"与 C<endboundary> 组合将把附录正好放在匹配边界 B<after>,即 C<position> 之前"
"的最后一条潜在边界线。将 C<mode=before> 与 C<beginboundary> 组合将把附录放在"
"匹配边界 B<before>,也就是 C<position> 之前的最后一条潜在边界线。"
#. type: verbatim
#: doc/po4a.7.pod:104
#, no-wrap
msgid ""
" Mode | Boundary kind | Used boundary | Insertion point compared to the boundary\n"
" ========|===============|========================|=========================================\n"
" 'before'| 'endboundary' | last before 'position' | Right after the selected boundary\n"
" 'before'|'beginboundary'| last before 'position' | Right before the selected boundary\n"
" 'after' | 'endboundary' | first after 'position' | Right after the selected boundary\n"
" 'after' |'beginboundary'| first after 'position' | Right before the selected boundary\n"
" 'eof' | (none) | n/a | End of file\n"
"\n"
msgstr ""
" 模式 | 边界种类 | 使用的边界 | 与边界比较的插入点\n"
" ========|===============|========================|=========================================\n"
" 'before'(之前)| 'endboundary'(结束边界) | last before 'position'(‘位置’之前的最后一个) | Right after the selected boundary(就在所选边界之后)\n"
" 'before'(之前)|'beginboundary'(开始边界)| last before 'position' (‘位置’之前的最后一个)| Right before the selected boundary(就在所选边界之前)\n"
" 'after'(之后) | 'endboundary'(结束边界) | first after 'position'(‘位置’之后的第一个) | Right after the selected boundary(就在所选边界之后)\n"
" 'after'(之后) |'beginboundary'(开始边界)| first after 'position'(‘位置’之后的第一个) | Right before the selected boundary(就在所选边界之前)\n"
" 'eof'(EOF) | (none) (无) | n/a | End of file(文件结尾)\n"
"\n"
#. type: =head3
#: doc/po4a.7.pod:105
msgid "Hint and tricks about addenda"
msgstr "关于附录的提示和技巧"
#. type: textblock
#: doc/po4a.7.pod:106
msgid ""
"Remember that these are regexp. For example, if you want to match the end of "
"a nroff section ending with the line C<.fi>, do not use C<.fi> as "
"B<endboundary>, because it will match with C<the[ fi]le>, which is obviously "
"not what you expect. The correct B<endboundary> in that case is: C<^\\.fi$>."
msgstr ""
"请记住,这些是 regexp(正则表达式)。例如,如果您希望匹配以行 C<.fi> 结尾的 "
"nroff 部分的末尾,请不要将 C<.fi> 用作 B<endboundary>,因为它将与 "
"C<the[fi]le> 匹配,这显然不是您所期望的。在这种情况下,正确的 B<endboundary> "
"是:C<^\\.fi$>。"
#. type: textblock
#: doc/po4a.7.pod:107
msgid ""
"White spaces ARE important in the content of the C<position> and boundaries. "
"So the two following lines B<are different>. The second one will only be "
"found if there is enough trailing spaces in the translated document."
msgstr ""
"空格在 C<position> 和边界的内容中很重要。所以下面的两行 B<are different>。只"
"有在翻译的文档中有足够的尾随空格时,才会找到第二个空格。"
#. type: verbatim
#: doc/po4a.7.pod:108
#, no-wrap
msgid ""
" PO4A-HEADER: position=About this document; mode=after; beginboundary=<section>\n"
" PO4A-HEADER: position=About this document ; mode=after; beginboundary=<section>\n"
"\n"
msgstr ""
" PO4A-HEADER: position=关于本文档; mode=after; beginboundary=<section>\n"
" PO4A-HEADER: position=关于本文档; mode=after; beginboundary=<section>\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:109
msgid ""
"Although this context search may be considered to operate roughly on each "
"line of the B<translated> document, it actually operates on the internal "
"data string of the translated document. This internal data string may be a "
"text spanning a paragraph containing multiple lines or may be a XML tag "
"itself alone. The exact I<insertion point> of the addendum must be before or "
"after the internal data string and can not be within the internal data "
"string."
msgstr ""
"尽管该上下文搜索可能被认为是对 B<translated> 文档的每一行进行粗略操作,但它实"
"际上是对已翻译文档的内部数据串进行操作。该内部数据串可以是跨越包含多行的段落"
"的文本,或者可以是单独的 XML 标签。附录的确切 I<insertion point> 必须在内部数"
"据字符串之前或之后,并且不能在内部数据字符串内。"
#. type: textblock
#: doc/po4a.7.pod:110
#, fuzzy
#| msgid ""
#| "Pass the B<-vv> argument to po4a to understand how the addenda are added "
#| "to the translation. It may also help to run po4a in debug mode to see the "
#| "actual internal data string when your addendum does not apply."
msgid ""
"Pass the C<-vv> argument to B<po4a> to understand how the addenda are added "
"to the translation. It may also help to run B<po4a> in debug mode to see the "
"actual internal data string when your addendum does not apply."
msgstr ""
"将 B<-vv> 参数传递给 po4a 以了解如何将附录添加到翻译中。当您的附录不适用时,"
"在调试模式下运行 po4a 以查看实际的内部数据字符串也可能会有所帮助。"
#. type: =head3
#: doc/po4a.7.pod:111
msgid "Addenda examples"
msgstr "附录示例"
#. type: textblock
#: doc/po4a.7.pod:112
msgid "If you want to add something after the following nroff section:"
msgstr "如果要在以下 nroff 部分之后添加内容:"
#. type: verbatim
#: doc/po4a.7.pod:113
#, no-wrap
msgid ""
" .SH \"AUTHORS\"\n"
"\n"
msgstr ""
" .SH \"作者\"\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:114
#, fuzzy
#| msgid ""
#| "You should select a two step approach by setting B<mode=after>. Then you "
#| "should narrow down search to the line after B<AUTHORS> with the "
#| "B<position> argument regex. Then, you should match the beginning of the "
#| "next section (i.e., B<^\\.SH>) with the B<beginboundary> argument regex. "
#| "That is to say:"
msgid ""
"You should select a two-step approach by setting B<mode=after>. Then you "
"should narrow down search to the line after B<AUTHORS> with the B<position> "
"argument regex. Then, you should match the beginning of the next section (i."
"e., B<^\\.SH>) with the B<beginboundary> argument regex. That is to say:"
msgstr ""
"您应该通过设置 B<mode=After> 选择两步方法。然后,您应该使用 B<position> 参数 "
"regex 将搜索范围缩小到 B<Authors> 之后的行。然后,您应该将下一节的开头(即,"
"B<^\\.SH>)与 B<BEGINBOLDER> 参数 regex 相匹配。这就是说:"
#. type: verbatim
#: doc/po4a.7.pod:115
#, no-wrap
msgid ""
" PO4A-HEADER:mode=after;position=AUTHORS;beginboundary=\\.SH\n"
"\n"
msgstr ""
" PO4A-HEADER:mode=after;position=作者;beginboundary=\\.SH\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:116
msgid ""
"If you want to add something right after a given line (e.g. after the line "
"\"Copyright Big Dude\"), use a B<position> matching this line, B<mode=after> "
"and give a B<beginboundary> matching any line."
msgstr ""
"如果您想要在给定行之后添加某些内容(例如,在“版权所有 Big Dude”行之后),请使用"
"与此行匹配的 B<position>,B<mode=After>,并给出与任何行匹配的 "
"B<beginboundary>。"
#. type: verbatim
#: doc/po4a.7.pod:117
#, no-wrap
msgid ""
" PO4A-HEADER:mode=after;position=Copyright Big Dude, 2004;beginboundary=^\n"
"\n"
msgstr ""
" PO4A-HEADER:mode=after;position=版权所有 Big Dude,2004 年;beginboundary=^\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:118
msgid ""
"If you want to add something at the end of the document, give a B<position> "
"matching any line of your document (but only one line. Po4a won't proceed if "
"it's not unique), and give an B<endboundary> matching nothing. Don't use "
"simple strings here like B<\"EOF\">, but prefer those which have less chance "
"to be in your document."
msgstr ""
"如果要在文档末尾添加某些内容,请在文档的任意行加上匹配的 B<position> (但只有"
"一行,如果不是唯一的,po4a 将不会继续)。并给出一个不匹配的 B<endboundary> 。"
"这里不要使用像 B<\"EOF\"> 这样的简单字符串,而要使用那些在文档中出现的机会较"
"小的字符串。"
#. type: verbatim
#: doc/po4a.7.pod:119
#, no-wrap
msgid ""
" PO4A-HEADER:mode=after;position=About this document;beginboundary=FakePo4aBoundary\n"
"\n"
msgstr ""
" PO4A-HEADER:mode=after;position=关于本文档;beginboundary=FakePo4aBoundary\n"
"\n"
#. type: =head3
#: doc/po4a.7.pod:120
msgid "More detailed example"
msgstr "更详细的示例"
#. type: textblock
#: doc/po4a.7.pod:121
msgid "Original document (POD formatted):"
msgstr "原始文件(POD 格式):"
#. type: verbatim
#: doc/po4a.7.pod:122
#, no-wrap
msgid ""
" |=head1 NAME\n"
" |\n"
" |dummy - a dummy program\n"
" |\n"
" |=head1 AUTHOR\n"
" |\n"
" |me\n"
"\n"
msgstr ""
" |=head1 名称\n"
" |\n"
" |dummy - 一个虚拟程序\n"
" |\n"
" |=head1 作者\n"
" |\n"
" |我\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:123
msgid ""
"Then, the following addendum will ensure that a section (in French) about "
"the translator is added at the end of the file (in French, \"TRADUCTEUR\" "
"means \"TRANSLATOR\", and \"moi\" means \"me\")."
msgstr ""
"然后,以下附录将确保在文件的末尾添加有关翻译器的部分(简体中文)(简体中文, "
"\"翻译\" 表示 \"TRANSLATOR\",\"我\" 表示 \"me\")。"
#. type: verbatim
#: doc/po4a.7.pod:124
#, no-wrap
msgid ""
" |PO4A-HEADER:mode=after;position=AUTEUR;beginboundary=^=head\n"
" |\n"
" |=head1 TRADUCTEUR\n"
" |\n"
" |moi\n"
" |\n"
"\n"
msgstr ""
" |PO4A-HEADER:mode=after;position=作者;beginboundary=^=head\n"
" |\n"
" |=head1 翻译\n"
" |\n"
" |我\n"
" |\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:125
msgid "To put your addendum before the AUTHOR, use the following header:"
msgstr "要将附录放在作者之前,请使用以下标题:"
#. type: verbatim
#: doc/po4a.7.pod:126
#, no-wrap
msgid ""
" PO4A-HEADER:mode=after;position=NOM;beginboundary=^=head1\n"
"\n"
msgstr ""
" PO4A-HEADER:mode=after;position=名称;beginboundary=^=head1\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:127
#, fuzzy
#| msgid ""
#| "This works because the next line matching the B<beginboundary> /^=head1/ "
#| "after the section \"NAME\" (translated to \"NOM\" in French), is the one "
#| "declaring the authors. So, the addendum will be put between both "
#| "sections. Note that if another section is added between NAME and AUTHOR "
#| "sections later, po4a will wrongfully put the addenda before the new "
#| "section."
msgid ""
"This works because the next line matching the B<beginboundary> C</^=head1/> "
"after the section \"NAME\" (translated to \"NOM\" in French), is the one "
"declaring the authors. So, the addendum will be put between both sections. "
"Note that if another section is added between NAME and AUTHOR sections "
"later, po4a will wrongfully put the addenda before the new section."
msgstr ""
"这之所以可行,是因为“name”部分(在汉语中翻译为“名称”)之后与 B<beginboundary> "
"匹配的下一行 /^=head1/ 是声明作者的那行。因此,附录将放在两个部分之间。请注"
"意,如果稍后在名称和作者部分之间添加另一个部分,po4a 将错误地将附录放在新部分"
"之前。"
#. type: textblock
#: doc/po4a.7.pod:128
msgid "To avoid this you may accomplish the same using B<mode>=I<before>:"
msgstr "要避免出现这种情况,您可以使用 B<mode>=I<BEFORE> 来完成相同的操作:"
#. type: verbatim
#: doc/po4a.7.pod:129
#, no-wrap
msgid ""
" PO4A-HEADER:mode=before;position=^=head1 AUTEUR\n"
"\n"
msgstr ""
" PO4A-HEADER:mode=before;position=^=head1 AUTEUR\n"
"\n"
#. type: =head1
#: doc/po4a.7.pod:130
msgid "How does it work?"
msgstr "它是如何工作的?"
#. type: textblock
#: doc/po4a.7.pod:131
#, fuzzy
#| msgid ""
#| "This chapter gives you a brief overview of the po4a internals, so that "
#| "you may feel more confident to help us maintaining and improving it. It "
#| "may also help you understanding why it does not do what you expected, and "
#| "how to solve your problems."
msgid ""
"This chapter gives you a brief overview of the po4a internals, so that you "
"may feel more confident to help us to maintain and to improve it. It may "
"also help you to understand why it does not do what you expected, and how to "
"solve your problems."
msgstr ""
"本章将向您简要介绍 po4a 的内部结构,以便您可以更有信心地帮助我们维护和改进"
"它。它还可能帮助您理解为什么它没有达到您的预期,以及如何解决您的问题。"
#. type: =head2
#: doc/po4a.7.pod:132
msgid "TransTractors and project architecture"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:133
#, fuzzy
#| msgid ""
#| "The po4a architecture is object oriented. The L<Locale::Po4a::"
#| "TransTractor(3pm)|TransTractor> class is the common ancestor to all po4a "
#| "parsers. This strange name comes from the fact that it is at the same "
#| "time in charge of translating document and extracting strings."
msgid ""
"At the core of the po4a project, the L<Locale::Po4a::TransTractor(3pm)|"
"TransTractor> class is the common ancestor to all po4a parsers. This strange "
"name comes from the fact that it is at the same time in charge of "
"translating document and extracting strings."
msgstr ""
"Po4a 体系结构面向对象。L<Locale::Po4a::TransTractor(3pm)|TransTractor> 类是所"
"有 po4a 解析器的共同祖先。这个奇怪的名称来自一个事实,即它同时负责翻译文档和"
"提取字符串。"
#. type: textblock
#: doc/po4a.7.pod:134
#, fuzzy
#| msgid ""
#| "More formally, it takes a document to translate plus a PO file containing "
#| "the translations to use as input while producing two separate outputs: "
#| "Another PO file (resulting of the extraction of translatable strings from "
#| "the input document), and a translated document (with the same structure "
#| "than the input one, but with all translatable strings replaced with "
#| "content of the input PO). Here is a graphical representation of this:"
msgid ""
"More formally, it takes a document to translate plus a PO file containing "
"the translations to use as input while producing two separate outputs: "
"Another PO file (resulting of the extraction of translatable strings from "
"the input document), and a translated document (with the same structure as "
"the input one, but with all translatable strings replaced with content of "
"the input PO). Here is a graphical representation of this:"
msgstr ""
"更正式地说,它需要一个要翻译的文档加上一个包含要用作输入的翻译的 PO 文件,同"
"时生成两个单独的输出:另一个 PO 文件(从输入文档中提取可翻译字符串的结果)和一"
"个翻译文档(结构与输入文档相同,但所有可翻译字符串都替换为输入 PO 的内容)。以"
"下是这一点的图形表示:"
#. type: verbatim
#: doc/po4a.7.pod:135
#, fuzzy, no-wrap
#| msgid ""
#| " Input document --\\ /---> Output document\n"
#| " \\ TransTractor:: / (translated)\n"
#| " +-->-- parse() --------+\n"
#| " / \\\n"
#| " Input PO --------/ \\---> Output PO\n"
#| " (extracted)\n"
#| "\n"
msgid ""
" Input document --\\ /---> Output document\n"
" \\ TransTractor:: / (translated)\n"
" +-->-- parse() --------+\n"
" / \\\n"
" Input PO --------/ \\---> Output PO\n"
" (extracted)\n"
"\n"
msgstr ""
" 输入文档 --\\ /---> 输出文档\n"
" \\ 翻译提取器:: / (翻译)\n"
" +-->-- 解析() --------+\n"
" / \\\n"
" 输入 PO --------/ \\---> 输出PO\n"
" (提取)\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:136
#, fuzzy
#| msgid ""
#| "This little bone is the core of all the po4a architecture. If you omit "
#| "the input PO and the output document, you get B<po4a-gettextize>. If you "
#| "provide both input and disregard the output PO, you get B<po4a-"
#| "translate>. The B<po4a> calls TransTractor twice and calls B<msgmerge -U> "
#| "between these TransTractor invocations to provide one-stop solution with "
#| "a single configuration file. Please see L<Locale::Po4a::"
#| "TransTractor(3pm)> for more details."
msgid ""
"This little bone is the core of all the po4a architecture. If you provide "
"both input and disregard the output PO, you get B<po4a-translate>. If you "
"disregard the output document instead, you get B<po4a-updatepo>. The B<po4a> "
"uses a first TransTractor to get an up-to-date output POT file (disregarding "
"the output documents), calls B<msgmerge -U> to update the translation PO "
"files on disk, and builds a second TransTractor with these updated PO files "
"to update the output documents. In short, B<po4a> provides one-stop solution "
"to update what needs to be, using a single configuration file."
msgstr ""
"这个小骨头是所有 po4a 架构的核心。 如果省略输入 PO 和输出文档,则得到 B<po4a-"
"gettextize>。 如果同时提供输入而忽略输出 PO,则得到 B<po4a-translate>。 "
"B<po4a> 调用翻译提取器两次,并在这些翻译提取器调用之间调用 B<msgmerge -U>,以"
"提供一个配置文件的一站式解决方案。 有关更多详细信息,请参见 L<Locale::Po4a::"
"TransTractor(3pm)>。"
#. type: textblock
#: doc/po4a.7.pod:137
msgid ""
"B<po4a-gettextize> also uses two TransTractors, but another way: It builds "
"one TransTractor per language, and then build a new PO file using the msgids "
"of the original document as msgids, and the msgids of the translated "
"document as msgstrs. Much care is needed to ensure that the strings matched "
"this way actually match, as described in L<po4a-gettextize(1)>."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:138
msgid "Format-specific parsers"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:139
msgid ""
"All po4a format parsers are implemented on top of the TransTractor. Some of "
"them are very simple, such as the Text, Markdown and AsciiDoc ones. They "
"load the lines one by one using C<TransTractor::shiftline()>, accumulate the "
"paragraphs' content or whatever. Once a string is completely parsed, the "
"parser uses C<TransTractor::translate()> to (1) add this string to the "
"output PO file and (2) get the translation from the input PO file. The "
"parser then pushes the result to the output file using C<TransTractor::"
"pushline()>."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:140
msgid ""
"Some other parsers are more complex because they rely on an external parser "
"to analyze the input document. The Xml, HTML, SGML and Pod parsers are built "
"on top of SAX parsers. They declare callbacks to events such as \"I found a "
"new title which content is the following\" to update the output document and "
"output POT files according to the input content using C<TransTractor::"
"translate()> and C<TransTractor::pushline()>. The Yaml parser is similar but "
"different: it serializes a data structure produced by the YAML::Tiny parser. "
"This is why the Yaml module of po4a fails to declare the reference lines: "
"the location of each string in the input file is not kept by the parser, so "
"we can only provide \"$filename:1\" as a string location. The SAX-oriented "
"parsers use globals and other tricks to save the file name and line numbers "
"of references."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:141
msgid ""
"One specific issue arises from file encodings and BOM markers. Simple "
"parsers can forget about this issue, that is handled by C<TransTractor::"
"read()> (used internally to get the lines of an input document), but the "
"modules relying on an external parser must ensure that all files are read "
"with an appropriate PerlIO decoding layer. The easiest is to open the file "
"yourself, and provide an filehandle or directly the full string to your "
"external parser. Check on C<Pod::read()> and C<Pod::parse()> for an example. "
"The content read by the TransTractor is ignored, but a fresh filehandle is "
"passed to the external parser. The important part is the C<< \"<:"
"encoding($charset)\" >> mode that is passed to the B<open()> perl function."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:142
msgid "Po objects"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:143
msgid ""
"The L<Locale::Po4a::Po(3pm)|Po> class is in charge of loading and using PO "
"and POT files. Basically, you can read a file, add entries, get translations "
"with the B<gettext()> method, write the PO into a file. More advanced "
"features such as merging a PO file against a POT file or validating a file "
"are delegated to B<msgmerge> and B<msgfmt> respectively."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:144
msgid "Contributing to po4a"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:145
msgid ""
"Even if you have never contributed to any Open Source project in the past, "
"you are welcome: we are willing to help and mentor you here. po4a is best "
"maintained by its users nowadays. As we lack manpower, we try to make the "
"project welcoming by improving the doc and the automatic tests to make you "
"confident in contributing to the project. Please refer to the CONTRIBUTING."
"md file for more details."
msgstr ""
#. type: =head1
#: doc/po4a.7.pod:146
msgid "Open-source projects using po4a"
msgstr "使用 po4a 的开源项目"
#. type: textblock
#: doc/po4a.7.pod:147
msgid ""
"Here is a very partial list of projects that use po4a in production for "
"their documentation. If you want to add your project to the list, just drop "
"us an email (or a Merge Request)."
msgstr ""
"以下是在生产中使用 po4a 进行文档编制的项目的非常部分的列表。如果您想将您的项"
"目添加到列表中,只需给我们发送电子邮件(或合并请求)即可。"
#. type: textblock
#: doc/po4a.7.pod:148
msgid "adduser (man): users and groups management tool."
msgstr "adduser (man): 用户和组管理工具。"
#. type: textblock
#: doc/po4a.7.pod:149
msgid "apt (man, docbook): Debian package manager."
msgstr "apt (man, docbook): Debian 包管理器。"
#. type: textblock
#: doc/po4a.7.pod:150
msgid "aptitude (docbook, svg): terminal-based package manager for Debian"
msgstr "aptitude (docbook, svg): Debian 基于终端的包管理器"
#. type: textblock
#: doc/po4a.7.pod:151
#, fuzzy
#| msgid ""
#| "L<F-Droid website|https://gitlab.com/fdroid/fdroid-website> (markdown): "
#| "installable catalogue of FOSS (Free and Open Source Software) "
#| "applications for the Android platform."
msgid ""
"L<F-Droid website|https://gitlab.com/fdroid/fdroid-website> (markdown): "
"installable catalog of FOSS (Free and Open Source Software) applications for "
"the Android platform."
msgstr ""
"L<F-Droid website|https://gitlab.com/fdroid/fdroid-website> (markdown): 适用"
"于 Android 平台的自由与开放源码软件(FOSS)应用程序的可安装目录。"
#. type: textblock
#: doc/po4a.7.pod:152
msgid ""
"L<git|https://github.com/jnavila/git-manpages-l10n> (asciidoc): distributed "
"version-control system for tracking changes in source code."
msgstr ""
"L<git|https://github.com/jnavila/git-manpages-l10n> (asciidoc): 用于跟踪源代"
"码更改的分布式版本控制系统。"
#. type: textblock
#: doc/po4a.7.pod:153
msgid ""
"L<Linux manpages|https://salsa.debian.org/manpages-l10n-team/manpages-l10n> "
"(man)"
msgstr ""
"L<Linux manpages|https://salsa.debian.org/manpages-l10n-team/manpages-l10n> "
"(man)"
#. type: textblock
#: doc/po4a.7.pod:154
msgid ""
"This project provides an infrastructure for translating many manpages to "
"different languages, ready for integration into several major distributions "
"(Arch Linux, Debian and derivatives, Fedora)."
msgstr ""
"该项目提供了将许多手册页翻译成不同语言的基础设施,可以集成到几个主要的发行版"
"中(Arch Linux、Debian 和衍生品、Fedora)。"
#. type: textblock
#: doc/po4a.7.pod:155
msgid ""
"L<Stellarium|https://github.com/Stellarium/stellarium> (HTML): a free open "
"source planetarium for your computer. po4a is used to translate the sky "
"culture descriptions."
msgstr ""
"L<Stellarium|https://github.com/Stellarium/stellarium> (HTML): 为您的计算机提"
"供免费的开源天文馆。po4a 用于翻译天空文化描述。"
#. type: textblock
#: doc/po4a.7.pod:156
msgid ""
"L<Jamulus|https://jamulus.io/> (markdown, yaml, HTML): a FOSS application "
"for online jamming in real time. The website documentation is maintained in "
"multiple languages using po4a."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:157
msgid ""
"Other item to sort out: L<https://gitlab.com/fdroid/fdroid-website/> "
"L<https://github.com/fsfe/reuse-docs/pull/61>"
msgstr ""
"其他要排序的项目:L<https://gitlab.com/fdroid/fdroid-website/> L<https://"
"github.com/fsfe/reuse-docs/pull/61>"
#. type: =head1
#: doc/po4a.7.pod:158
msgid "FAQ"
msgstr "常见问题解答"
#. type: =head2
#: doc/po4a.7.pod:159
msgid "How do you pronounce po4a?"
msgstr "如何发音 po4a?"
#. type: textblock
#: doc/po4a.7.pod:160
msgid ""
"I personally vocalize it as L<pouah|https://en.wiktionary.org/wiki/pouah>, "
"which is a French onomatopoetic that we use in place of yuck :) I may have a "
"strange sense of humor :)"
msgstr ""
"我个人把它念成 L<pouah|https://en.wiktionary.org/wiki/pouah>,这是一个法语拟"
"声词,我们用它来代替 yuck(雅克 ) :) 我可能有一种奇怪的幽默感 :)"
#. type: =head2
#: doc/po4a.7.pod:161
msgid "Why are the individual scripts deprecated?"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:162
msgid ""
"Indeed, B<po4a-updatepo> and B<po4a-translate> are deprecated in favor of "
"B<po4a>. The reason is that while B<po4a> can be used as a drop-in "
"replacement to these scripts, there is quite a lot of code duplication here. "
"Individual scripts last around 150 lines of codes while the B<po4a> program "
"lasts 1200 lines, so they do a lot in addition of the common internals. The "
"code duplication results in bugs occuring in both versions and needing two "
"fixes. One example of such duplication are the bugs #1022216 in Debian and "
"the issue #442 in GitHub that had the exact same fix, but one in B<po4a> and "
"the other B<po4a-updatepo>."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:163
msgid ""
"In the long run, I would like to drop the individual scripts and only "
"maintain one version of this code. The sure thing is that the individual "
"scripts will not get improved anymore, so only B<po4a> will get the new "
"features. That being said, there is no deprecation urgency. I plan to keep "
"the individual scripts as long as possible, and at least until 2030. If your "
"project still use B<po4a-updatepo> and B<po4a-translate> in 2030, you may "
"have a problem."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:164
msgid ""
"We may also remove the deprecation of these scripts at some point, if a "
"refactoring reduces the code duplication to zero. If you have an idea (or "
"better: a patch), your help is welcome."
msgstr ""
#. type: =head2
#: doc/po4a.7.pod:165
msgid "What about the other translation tools for documentation using gettext?"
msgstr "其他使用 gettext 的文档翻译工具又如何呢?"
#. type: textblock
#: doc/po4a.7.pod:166
msgid ""
"There are a few of them. Here is a possibly incomplete list, and more tools "
"are coming at the horizon."
msgstr ""
#. type: =item
#: doc/po4a.7.pod:167
msgid "B<poxml>"
msgstr "B<poxml>"
#. type: textblock
#: doc/po4a.7.pod:168
msgid ""
"This is the tool developed by KDE people to handle DocBook XML. AFAIK, it "
"was the first program to extract strings to translate from documentation to "
"PO files, and inject them back after translation."
msgstr ""
"这是 KDE 人员开发的处理 DocBook XML 的工具。AFAIK,它是第一个提取字符串以从文"
"档转换为 PO 文件,并在转换后注入它们的程序。"
#. type: textblock
#: doc/po4a.7.pod:169
msgid ""
"It can only handle XML, and only a particular DTD. I'm quite unhappy with "
"the handling of lists, which end in one big msgid. When the list become big, "
"the chunk becomes harder to swallow."
msgstr ""
"它只能处理 XML,并且只能处理特定的 DTD。我对列表的处理很不满意,列表以一个大"
"的 msgid 结尾。当清单变得很大时,大块就变得更难处理了。"
#. type: =item
#: doc/po4a.7.pod:170
msgid "B<po-debiandoc>"
msgstr "B<po-debiandoc>"
#. type: textblock
#: doc/po4a.7.pod:171
msgid ""
"This program done by Denis Barbier is a sort of precursor of the po4a SGML "
"module, which more or less deprecates it. As the name says, it handles only "
"the DebianDoc DTD, which is more or less a deprecated DTD."
msgstr ""
"这个由 Denis Barbier 完成的程序是 po4a SGML 模块的一种前身,它或多或少地弃用"
"了它。顾名思义,它只处理 DebianDoc DTD,这或多或少是一个过时的 DTD。"
#. type: =item
#: doc/po4a.7.pod:172
msgid "B<xml2po.py>"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:173
msgid ""
"Used by the GIMP Documentation Team since 2004, works quite well even if, as "
"the name suggests, only with XML files and needs specially configured "
"makefiles."
msgstr ""
#. type: =item
#: doc/po4a.7.pod:174
msgid "B<Sphinx>"
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:175
msgid ""
"The Sphinx Documentation Project also uses gettext extensively to manage its "
"translations. Unfortunately, it works only for a few text formats, rest and "
"markdown, although it is perhaps the only tool that does this managing the "
"whole translation process."
msgstr ""
#. type: textblock
#: doc/po4a.7.pod:176
msgid ""
"The main advantages of po4a over them are the ease of extra content addition "
"(which is even worse there) and the ability to achieve gettextization."
msgstr ""
"与它们相比,po4a 的主要优势是易于添加额外内容(这一点更糟糕),以及实现获取文本"
"的能力。"
#. type: =head2
#: doc/po4a.7.pod:177
msgid "SUMMARY of the advantages of the gettext based approach"
msgstr "基于gettext 的方法的优点的摘要"
#. type: textblock
#: doc/po4a.7.pod:178
msgid ""
"The translations are not stored along with the original, which makes it "
"possible to detect if translations become out of date."
msgstr "翻译不会与原始版本一起存储,这使得可以检测翻译是否过时。"
#. type: textblock
#: doc/po4a.7.pod:179
msgid ""
"The translations are stored in separate files from each other, which "
"prevents translators of different languages from interfering, both when "
"submitting their patch and at the file encoding level."
msgstr ""
"翻译被存储在彼此独立的文件中,从而防止了不同语言的翻译者在提交补丁时和文件编"
"码级别上的相互干扰。"
#. type: textblock
#: doc/po4a.7.pod:180
msgid ""
"It is based internally on B<gettext> (but B<po4a> offers a very simple "
"interface so that you don't need to understand the internals to use it). "
"That way, we don't have to re-implement the wheel, and because of their wide "
"use, we can think that these tools are more or less bug free."
msgstr ""
"它在内部基于 B<gettext>(但是 B<po4a> 提供了一个非常简单的界面,因此您无需了"
"解内部使用它)。 这样,我们不必重新实现,并且由于它们的广泛使用,我们可以认为"
"这些工具或多或少没有错误。"
#. type: textblock
#: doc/po4a.7.pod:181
msgid ""
"Nothing changed for the end-user (beside the fact translations will "
"hopefully be better maintained). The resulting documentation file "
"distributed is exactly the same."
msgstr ""
"最终用户没有任何变化(除了翻译有望得到更好的维护)。 分发的结果文档文件完全相"
"同。"
#. type: textblock
#: doc/po4a.7.pod:182
msgid ""
"No need for translators to learn a new file syntax and their favorite PO "
"file editor (like Emacs' PO mode, Lokalize or Gtranslator) will work just "
"fine."
msgstr ""
"翻译员不需要学习新的文件语法,他们最喜欢的 PO 文件编辑器(如 Emacs 的 PO 模"
"式、Lokalize 或 GTranslator)就可以很好地工作。"
#. type: textblock
#: doc/po4a.7.pod:183
msgid ""
"gettext offers a simple way to get statistics about what is done, what "
"should be reviewed and updated, and what is still to do. Some example can be "
"found at those addresses:"
msgstr ""
"gettext 提供了一种简单的方法来获取关于已经完成的工作、应该检查和更新的工作以"
"及仍要做的工作的统计数据。可以在这些地址找到一些示例:"
#. type: verbatim
#: doc/po4a.7.pod:184
#, no-wrap
msgid ""
" - https://docs.kde.org/stable5/en/kdesdk/lokalize/project-view.html\n"
" - http://www.debian.org/intl/l10n/\n"
"\n"
msgstr ""
" - https://docs.kde.org/stable5/en/kdesdk/lokalize/project-view.html\n"
" - http://www.debian.org/intl/l10n/\n"
"\n"
#. type: textblock
#: doc/po4a.7.pod:185
msgid ""
"But everything isn't green, and this approach also has some disadvantages we "
"have to deal with."
msgstr "但是,并非所有事物都是绿色的,而且这种方法还存在一些必须解决的缺点。"
#. type: textblock
#: doc/po4a.7.pod:186
#, fuzzy
#| msgid "Addenda are… strange at the first glance."
msgid "Addenda are somewhat strange at the first glance."
msgstr "附录是…… 乍一看很奇怪。"
#. type: textblock
#: doc/po4a.7.pod:187
msgid ""
"You can't adapt the translated text to your preferences, like splitting a "
"paragraph here, and joining two other ones there. But in some sense, if "
"there is an issue with the original, it should be reported as a bug anyway."
msgstr ""
"您不能根据自己的喜好调整翻译后的文本,比如在这里拆分一个段落,在那里加入另外"
"两个段落。但在某种意义上,如果原始版本有问题,无论如何都应该报告为 bug。"
#. type: textblock
#: doc/po4a.7.pod:188
msgid ""
"Even with an easy interface, it remains a new tool people have to learn."
msgstr "即使有一个简单的界面,它仍然是一个人们必须学习的新工具。"
#. type: textblock
#: doc/po4a.7.pod:189
msgid ""
"One of my dreams would be to integrate somehow po4a to Gtranslator or "
"Lokalize. When a documentation file is opened, the strings are automatically "
"extracted, and a translated file + po file can be written to disk. If we "
"manage to do an MS Word (TM) module (or at least RTF) professional "
"translators may even use it."
msgstr ""
"我的梦想之一是以某种方式将 po4a 集成到 GTranslator 或 Lokalize 中。打开文档文"
"件时,会自动提取字符串,并且可以将翻译后的文件 + po 文件写入磁盘。如果我们设"
"法制作 MSWord(TM) 模块(或者至少是 RTF),专业翻译人员甚至可以使用它。"
#. type: textblock
#: doc/po4a.7.pod:191
msgid ""
"The documentation of the all-in-one tool that you should use: L<po4a(1)>."
msgstr "您应该使用的多合一工具的文档:L<po4a(1)>。"
#. type: textblock
#: doc/po4a.7.pod:192
msgid ""
"The documentation of the individual po4a scripts: L<po4a-gettextize(1)>, "
"L<po4a-updatepo(1)>, L<po4a-translate(1)>, L<po4a-normalize(1)>."
msgstr ""
"单个 po4a 脚本的文档: L<po4a-gettextize(1)>、L<po4a-updatepo(1)>、L<po4a-"
"late(1)>、L<po4a-Normalize(1)>。"
#. type: textblock
#: doc/po4a.7.pod:193
msgid ""
"The additional helping scripts: L<msguntypot(1)>, L<po4a-display-man(1)>, "
"L<po4a-display-pod(1)>."
msgstr ""
"其他帮助脚本:L<msgan typot(1)>、L<po4a-display-man(1)>、L<po4a-display-"
"pod(1)>。"
#. type: textblock
#: doc/po4a.7.pod:194
msgid ""
"The parsers of each formats, in particular to see the options accepted by "
"each of them: L<Locale::Po4a::AsciiDoc(3pm)> L<Locale::Po4a::Dia(3pm)>, "
"L<Locale::Po4a::Guide(3pm)>, L<Locale::Po4a::Ini(3pm)>, L<Locale::Po4a::"
"KernelHelp(3pm)>, L<Locale::Po4a::Man(3pm)>, L<Locale::Po4a::RubyDoc(3pm)>, "
"L<Locale::Po4a::Texinfo(3pm)>, L<Locale::Po4a::Text(3pm)>, L<Locale::Po4a::"
"Xhtml(3pm)>, L<Locale::Po4a::Yaml(3pm)>, L<Locale::Po4a::BibTeX(3pm)>, "
"L<Locale::Po4a::Docbook(3pm)>, L<Locale::Po4a::Halibut(3pm)>, L<Locale::"
"Po4a::LaTeX(3pm)>, L<Locale::Po4a::Pod(3pm)>, L<Locale::Po4a::Sgml(3pm)>, "
"L<Locale::Po4a::TeX(3pm)>, L<Locale::Po4a::Wml(3pm)>, L<Locale::Po4a::"
"Xml(3pm)>."
msgstr ""
"每种格式的解析器,特别是查看每种格式接受的选项:L<Locale::Po4a::"
"AsciiDoc(3pm)> L<Locale::Po4a::Dia(3pm)>, L<Locale::Po4a::Guide(3pm)>, "
"L<Locale::Po4a::Ini(3pm)>, L<Locale::Po4a::KernelHelp(3pm)>, L<Locale::Po4a::"
"Man(3pm)>, L<Locale::Po4a::RubyDoc(3pm)>, L<Locale::Po4a::Texinfo(3pm)>, "
"L<Locale::Po4a::Text(3pm)>, L<Locale::Po4a::Xhtml(3pm)>, L<Locale::Po4a::"
"Yaml(3pm)>, L<Locale::Po4a::BibTeX(3pm)>, L<Locale::Po4a::Docbook(3pm)>, "
"L<Locale::Po4a::Halibut(3pm)>, L<Locale::Po4a::LaTeX(3pm)>, L<Locale::Po4a::"
"Pod(3pm)>, L<Locale::Po4a::Sgml(3pm)>, L<Locale::Po4a::TeX(3pm)>, L<Locale::"
"Po4a::Wml(3pm)>, L<Locale::Po4a::Xml(3pm)>."
#. type: textblock
#: doc/po4a.7.pod:195
msgid ""
"The implementation of the core infrastructure: L<Locale::Po4a::"
"TransTractor(3pm)> (particularly important to understand the code "
"organization), L<Locale::Po4a::Chooser(3pm)>, L<Locale::Po4a::Po(3pm)>, "
"L<Locale::Po4a::Common(3pm)>. Please also check the F<CONTRIBUTING.md> file "
"in the source tree."
msgstr ""
"核心基础设施的实施:L<Locale::Po4a::TransTractor(3pm)> (particularly "
"important to understand the code organization), L<Locale::Po4a::"
"Chooser(3pm)>, L<Locale::Po4a::Po(3pm)>, L<Locale::Po4a::Common(3pm)>. 还请检"
"查源代码树中的 F<CONTRIBUTING.md> 文件。"
#. type: verbatim
#: doc/po4a.7.pod:197
#, no-wrap
msgid ""
" Denis Barbier <barbier,linuxfr.org>\n"
" Martin Quinson (mquinson#debian.org)\n"
"\n"
msgstr ""
" Denis Barbier <barbier,linuxfr.org>\n"
" Martin Quinson (mquinson#debian.org)\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:2
msgid "Locale::Po4a::AsciiDoc - convert AsciiDoc documents from/to PO files"
msgstr "Locale::Po4a::AsciiDoc - 从/到 PO 文件转换 AsciiDoc 文档"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:5
msgid ""
"Locale::Po4a::AsciiDoc is a module to help the translation of documentation "
"in the AsciiDoc format."
msgstr "Locale::Po4a::AsciiDoc 是一个帮助翻译 AsciiDoc 格式文档的模块。"
#. type: =head1
#: lib/Locale/Po4a/AsciiDoc.pm:6 lib/Locale/Po4a/BibTeX.pm:7
#: lib/Locale/Po4a/Man.pm:34 lib/Locale/Po4a/Po.pm:13
#: lib/Locale/Po4a/RubyDoc.pm:9 lib/Locale/Po4a/Sgml.pm:7
#: lib/Locale/Po4a/TeX.pm:11 lib/Locale/Po4a/Texinfo.pm:10
#: lib/Locale/Po4a/Text.pm:8 lib/Locale/Po4a/Wml.pm:7
#: lib/Locale/Po4a/Xhtml.pm:6 lib/Locale/Po4a/Xml.pm:9
#: lib/Locale/Po4a/Yaml.pm:7
msgid "OPTIONS ACCEPTED BY THIS MODULE"
msgstr "此模块接受的选项"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:7 lib/Locale/Po4a/Man.pm:35
#: lib/Locale/Po4a/TeX.pm:12 lib/Locale/Po4a/Texinfo.pm:11
#: lib/Locale/Po4a/Text.pm:9 lib/Locale/Po4a/Xhtml.pm:7
#: lib/Locale/Po4a/Xml.pm:11 lib/Locale/Po4a/Yaml.pm:8
msgid "These are this module's particular options:"
msgstr "以下是此模块的特定选项:"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:8 lib/Locale/Po4a/TeX.pm:21
msgid "B<definitions>"
msgstr "B<definitions>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:9 lib/Locale/Po4a/TeX.pm:22
msgid ""
"The name of a file containing definitions for po4a, as defined in the "
"B<INLINE CUSTOMIZATION> section. You can use this option if it is not "
"possible to put the definitions in the document being translated."
msgstr ""
"包含 po4a 定义的文件的名称,如 B<INLINE CUSTOMIZATION> 部分中定义。 如果无法"
"将定义放在要翻译的文档中,可以使用此选项。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:10
msgid ""
"In a definitions file, lines must not start by two slashes, but directly by "
"B<po4a:>."
msgstr "在定义文件中,行不能以两个斜杠开始,而直接由 B<po4a:> 开始。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:11
msgid "B<entry>"
msgstr "B<entry>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:12
msgid ""
"Space-separated list of attribute entries you want to translate. By "
"default, no attribute entries are translatable."
msgstr "要转换的属性条目的空格分隔列表。默认情况下,没有属性条目是可翻译的。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:13
msgid "B<macro>"
msgstr "B<macro>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:14
msgid "Space-separated list of macro definitions."
msgstr "空格分隔的宏定义列表。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:15
msgid "B<style>"
msgstr "B<style>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:16
msgid "Space-separated list of style definitions."
msgstr "以空格分隔的样式定义列表。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:17
msgid "B<forcewrap>"
msgstr "B<forcewrap>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:18
msgid ""
"Enable automatic line wrapping in non-verbatim blocks, even if the result "
"could be misinterpreted by AsciiDoc formatters."
msgstr "启用非逐字块中的自动行换行,即使结果可能被 AsciiDoc 格式器误解。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:19
msgid ""
"By default, po4a will not wrap the produced AsciiDoc files because a manual "
"inspection is mandated to ensure that the wrapping does not change the "
"formatting. Consider for instance the following list item:"
msgstr ""
"默认情况下,po4a 不会对生成的 AsciiDoc 文件进行封装,因为强制执行手动检查以确"
"保封装不会更改格式。例如,请考虑以下列表项:"
#. type: verbatim
#: lib/Locale/Po4a/AsciiDoc.pm:20
#, no-wrap
msgid ""
" * a long sentence that is ending with a number 1. A second sentence.\n"
"\n"
msgstr ""
" * 以数字结尾的长句。1. 第二句。\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:21
msgid ""
"If the wrapping leads to the following presentation, the item is split into "
"a numbered sub-list. To make things worse, only the speakers of the language "
"used in the translation can inspect the situation."
msgstr ""
"如果换行指向以下演示文稿,则该项目将被拆分到一个带编号的子列表中。更糟糕的"
"是,只有使用翻译语言的人才能检查情况。"
#. type: verbatim
#: lib/Locale/Po4a/AsciiDoc.pm:22
#, no-wrap
msgid ""
" * a long sentence that is ending with a number\n"
" 1. A second sentence.\n"
"\n"
msgstr ""
" * 以数字结尾的长句\n"
" 1. 第二句话。\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:23
msgid ""
"Note that not wrapping the files produced by po4a should not be a problem "
"since those files are meant to be processed automatically. They should not "
"be regarded as source files anyway."
msgstr ""
"请注意,不封装 po4a 生成的文件应该不是问题,因为这些文件是自动处理的。它们无"
"论如何都不应该被视为源文件。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:24
#, fuzzy
#| msgid ""
#| "With this option, po4a will produce better-looking source files, that may "
#| "lead to possibly erroneous formatted outputs."
msgid ""
"With this option, po4a will produce better-looking AsciiDoc files, but it "
"may lead to possibly erroneous formatted outputs."
msgstr "使用此选项,po4a 将生成更好看的源文件,这可能会导致格式错误的输出。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:25
msgid "B<noimagetargets>"
msgstr "B<noimagetargets>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:26
msgid ""
"By default, the targets of block images are translatable to give opportunity "
"to make the content point to translated images. This can be stopped by "
"setting this option."
msgstr ""
"默认情况下,块图像的目标是可翻译的,以提供使内容指向已翻译图像的机会。可以通"
"过设置此选项来停止此操作。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:27
msgid "B<tablecells>"
msgstr "B<tablecells>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:28
msgid ""
"This option is a flag that enables sub-table segmentation into cell "
"content. The segmentation is limited to cell content, without any parsing "
"inside of it."
msgstr ""
"此选项是启用子表分割为单元格内容的标志。分割仅限于单元格内容,其中没有任何解"
"析。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:29
msgid "B<compat>"
msgstr "B<compat>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:30
msgid ""
"Switch parsing rules to compatibility with different tools. Available "
"options are \"asciidoc\" or \"asciidoctor\". Asciidoctor has stricter "
"parsing rules, such as equality of length of opening and closing block "
"fences."
msgstr ""
"将解析规则切换为与不同工具兼容。可用选项为 \"asciidoc\" 或 \"asciidoctor\"。"
"Asciidoctor 有更严格的解析规则,例如打开和关闭块围栏的长度相等。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:31
msgid "B<nolinting>"
msgstr "B<nolinting>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:32
msgid ""
"Disable linting messages. When the source code cannot be fixed for clearer "
"document structure, these messages are useless."
msgstr ""
"禁用发送邮件。当无法修复源代码以使文档结构更清晰时,这些消息将毫无用处。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:33
msgid "B<cleanspaces>"
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:34
msgid ""
"Remove extra spaces from the source segments in no-wrap mode. This is useful "
"when the translation tools are sensitive to the number of spaces."
msgstr ""
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:35
msgid "B<yfm_keys>"
msgstr "B<yfm_keys>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:36 lib/Locale/Po4a/Text.pm:31
#, fuzzy
#| msgid ""
#| "Space-separated list of hash keys to process for extraction, all other "
#| "keys are skipped. Keys are matched with a case-insensitive match. If "
#| "B<paths> and B<keys> are used together, values are included if they are "
#| "matched by at least one of the options. Arrays values are always "
#| "returned unless the B<skip_array> option is provided."
msgid ""
"Comma-separated list of keys to process for translation in the YAML Front "
"Matter section. All other keys are skipped. Keys are matched with a case-"
"sensitive match. If B<yfm_paths> and B<yfm_keys> are used together, values "
"are included if they are matched by at least one of the options. Array "
"values are always translated, unless the B<yfm_skip_array> option is "
"provided."
msgstr ""
"要处理以进行提取的哈希键的空格分隔列表,将跳过所有其他键。密钥与不区分大小写"
"的匹配项匹配。如果 B<paths> 和 B<keys> 一起使用,则包括至少一个选项匹配的值。"
"除非提供了 B<skip_array> 选项,否则始终返回数组值。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:37
msgid "B<yfm_skip_array>"
msgstr "B<yfm_skip_array>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:38 lib/Locale/Po4a/Text.pm:38
msgid "Do not translate array values in the YAML Front Matter section."
msgstr "不要转换 YAML Front Matter 部分中的数组值。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:39 lib/Locale/Po4a/Text.pm:35
#, fuzzy
#| msgid "B<paths>"
msgid "B<yfm_paths>"
msgstr "B<paths>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:40 lib/Locale/Po4a/Text.pm:36
#, fuzzy
#| msgid ""
#| "Comma-separated list of hash paths to process for extraction, all other "
#| "paths are skipped. Paths are matched with a case-insensitive match. If "
#| "B<paths> and B<keys> are used together, values are included if they are "
#| "matched by at least one of the options. Arrays values are always "
#| "returned unless the B<skip_array> option is provided."
msgid ""
"Comma-separated list of hash paths to process for extraction in the YAML "
"Front Matter section, all other paths are skipped. Paths are matched with a "
"case-sensitive match. If B<yfm_paths> and B<yfm_keys> are used together, "
"values are included if they are matched by at least one of the options. "
"Arrays values are always returned unless the B<yfm_skip_array> option is "
"provided."
msgstr ""
"要处理以进行提取的哈希路径的逗号分隔列表,则跳过所有其他路径。路径与不区分大"
"小写的匹配匹配。如果 B<paths> 和 B<keys> 一起使用,则包括至少一个选项匹配的"
"值。除非提供了 B<skip_array> 选项,否则始终返回数组值。"
#. type: =head1
#: lib/Locale/Po4a/AsciiDoc.pm:41 lib/Locale/Po4a/TeX.pm:27
msgid "INLINE CUSTOMIZATION"
msgstr "在线定制"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:42
msgid ""
"The AsciiDoc module can be customized with lines starting by B<//po4a:>. "
"These lines are interpreted as commands to the parser. The following "
"commands are recognized:"
msgstr ""
"AsciiDoc 模块可自定义由 B<//po4a:>。 这些行被解释为解析器的命令。 识别以下命"
"令:"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:43
msgid "B<//po4a: macro >I<name>B<[>I<attribute list>B<]>"
msgstr "B<//po4a: macro >I<name>B<[>I<attribute list>B<]>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:44
msgid ""
"This describes in detail the parameters of a B<macro>; I<name> must be a "
"valid macro name, and it ends with an underscore if the target must be "
"translated."
msgstr ""
"这详细描述 B<macro> 的参数;I<name> 必须是有效的宏名称,如果必须翻译目标,则"
"以下划线结束。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:45
msgid ""
"The I<attribute list> argument is a comma separated list which contains "
"information about translatable arguments. This list contains either "
"numbers, to define positional parameters, or named attributes."
msgstr ""
"I<attribute list> 参数是一个逗号分隔的列表,其中包含有关可翻译参数的信息。此"
"列表包含用于定义位置参数的数字或命名属性。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:46
msgid ""
"If a plus sign (B<+>) is prepended to I<name>, then the macro and its "
"arguments are translated as a whole. There is no need to define attribute "
"list in this case, but brackets must be present."
msgstr ""
"如果 I<name> 前面加了一个加号 (B<+>),则宏及其参数将作为一个整体进行转换。这"
"种情况下不需要定义属性列表,但必须有方括号。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:47
msgid "B<//po4a: style >B<[>I<attribute list>B<]>"
msgstr "B<//po4a: style >B<[>I<attribute list>B<]>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:48
msgid ""
"This describes in detail which attributes of a style must be translated."
msgstr "这详细描述了必须翻译样式的哪些属性。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:49
msgid ""
"The I<attribute list> argument is a comma separated list which contains "
"information about translatable arguments. This list contains either "
"numbers, to define positional parameters, or named attributes. The first "
"attribute is the style name, it will not be translated."
msgstr ""
"I<attribute list> 参数是一个逗号分隔的列表,其中包含有关可翻译参数的信息。此"
"列表包含用于定义位置参数的数字或命名属性。第一个属性是样式名称,它不会被翻"
"译。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:50
msgid ""
"If a plus sign (B<+>) is prepended to the style name, then the attribute "
"list is translated as a whole. There is no need to define translatable "
"attributes."
msgstr ""
"如果样式名称前面有加号 (B<+>),则属性列表将作为整体进行转换。不需要定义可翻译"
"属性。"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:51
msgid ""
"If a minus sign (B<->) is prepended to the style name, then this attribute "
"is not translated."
msgstr "如果样式名称前面有减号 (B<->),则不会转换此属性。"
#. type: =item
#: lib/Locale/Po4a/AsciiDoc.pm:52
msgid "B<//po4a: entry >I<name>"
msgstr "B<//po4a: entry >I<name>"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:53
msgid ""
"This declares an attribute entry as being translatable. By default, they "
"are not translated."
msgstr "这将属性条目声明为可翻译。默认情况下,它们不会被翻译。"
#. type: =head1
#: lib/Locale/Po4a/AsciiDoc.pm:54 lib/Locale/Po4a/BibTeX.pm:9
#: lib/Locale/Po4a/Dia.pm:10 lib/Locale/Po4a/Docbook.pm:6
#: lib/Locale/Po4a/Guide.pm:7 lib/Locale/Po4a/Halibut.pm:7
#: lib/Locale/Po4a/KernelHelp.pm:5 lib/Locale/Po4a/Man.pm:96
#: lib/Locale/Po4a/Pod.pm:9 lib/Locale/Po4a/RubyDoc.pm:6
#: lib/Locale/Po4a/Sgml.pm:34 lib/Locale/Po4a/TeX.pm:104
#: lib/Locale/Po4a/Texinfo.pm:8 lib/Locale/Po4a/Text.pm:43
#: lib/Locale/Po4a/Wml.pm:9 lib/Locale/Po4a/Xhtml.pm:12
#: lib/Locale/Po4a/Xml.pm:181
msgid "STATUS OF THIS MODULE"
msgstr "此模块的状态"
#. type: textblock
#: lib/Locale/Po4a/AsciiDoc.pm:55
msgid "Tested successfully on simple AsciiDoc files."
msgstr "在简单的 AsciiDoc 文件上测试成功。"
#. type: verbatim
#: lib/Locale/Po4a/AsciiDoc.pm:57
#, no-wrap
msgid ""
" Nicolas François <nicolas.francois@centraliens.net>\n"
" Denis Barbier <barbier@linuxfr.org>\n"
"\n"
msgstr ""
" Nicolas François <nicolas.francois@centraliens.net>\n"
" Denis Barbier <barbier@linuxfr.org>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/AsciiDoc.pm:59
#, no-wrap
msgid ""
" Copyright © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
" Copyright © 2012 Denis BARBIER <barbier@linuxfr.org>.\n"
" Copyright © 2017 Martin Quinson <mquinson#debian.org>.\n"
"\n"
msgstr ""
" 版权所有 © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
" 版权所有 © 2012 Denis BARBIER <barbier@linuxfr.org>.\n"
" 版权所有 © 2017 Martin Quinson <mquinson#debian.org>.\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/BibTeX.pm:2
msgid "Locale::Po4a::BibTeX - convert BibTeX documents from/to PO files"
msgstr "Locale::Po4a::BibTeX - 将 BibTeX 文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/BibTeX.pm:5
msgid ""
"Locale::Po4a::BibTeX is a module to help the translation of bibliographies "
"in the BibTeX format into other [human] languages."
msgstr ""
"Locale::Po4a::BibTeX 是一个帮助将 BibTeX 格式的书目翻译成其他 [人类] 语言的模"
"块。"
#. type: textblock
#: lib/Locale/Po4a/BibTeX.pm:6
msgid "Fields values are extracted and proposed for translation."
msgstr "提取字段值并建议进行翻译。"
#. type: textblock
#: lib/Locale/Po4a/BibTeX.pm:8 lib/Locale/Po4a/Wml.pm:8
msgid "NONE."
msgstr "没有。"
#. type: textblock
#: lib/Locale/Po4a/BibTeX.pm:10
msgid "It is a very simple module, but still young."
msgstr "这是一个非常简单的模块,但还很年轻。"
#. type: verbatim
#: lib/Locale/Po4a/BibTeX.pm:12 lib/Locale/Po4a/Halibut.pm:17
#: lib/Locale/Po4a/LaTeX.pm:11 lib/Locale/Po4a/TeX.pm:121
#: lib/Locale/Po4a/Texinfo.pm:17 lib/Locale/Po4a/Text.pm:46
#, no-wrap
msgid ""
" Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/BibTeX.pm:14
#, no-wrap
msgid ""
" Copyright © 2006 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
"\n"
msgstr ""
" 版权所有 © 2006 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:2
msgid "Locale::Po4a::Chooser - manage po4a modules"
msgstr "Locale::Po4a::Chooser - 管理 po4a 模块"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:4
msgid ""
"Locale::Po4a::Chooser is a module to manage po4a modules. Previously, all "
"po4a binaries used to know all po4a modules (pod, man, sgml, etc). This made "
"the addition of a new module boring, because you had to make sure that the "
"documentation is synchronized in all modules, and that each of them can "
"access the new module."
msgstr ""
"Locale::Po4a::Chooser 是一个管理 po4a 模块的模块。以前,所有的 po4a 二进制文"
"件都知道所有的 po4a 模块(pod、man、sgml 等)。这使得添加新模块变得枯燥乏味,因"
"为您必须确保文档在所有模块中都是同步的,并且每个模块都可以访问新模块。"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:5
msgid ""
"Now, you just have to call the Locale::Po4a::Chooser::new() function, "
"passing the name of module as argument."
msgstr ""
"现在,您只需调用 Locale::Po4a::Chooser::new() 函数,将模块名称作为参数传递。"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:6
msgid ""
"The function Locale::Po4a::Chooser::list() lists the available formats, and "
"exits with the value passed as argument. So, we call Locale::Po4a::Chooser::"
"list(0) when requested for the list of formats, and Locale::Po4a::Chooser::"
"list(1) when passed an invalid format name."
msgstr ""
"函数 Locale::Po4a::Chooser::list() 列出了可用的格式,并以作为参数传递的值退"
"出。因此,当请求格式列表时,我们调用 Locale::Po4a::Chooser::list(0),当传递无"
"效的格式名称时,调用Locale::Po4a::Chooser::list(1) 。"
#. type: =item
#: lib/Locale/Po4a/Chooser.pm:8
msgid "About po4a:"
msgstr "关于 po4a:"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:9
msgid ""
"L<Locale::Po4a::Po(3pm)>, L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|"
"po4a.7>"
msgstr ""
"L<Locale::Po4a::Po(3pm)>, L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|"
"po4a.7>"
#. type: =item
#: lib/Locale/Po4a/Chooser.pm:10
msgid "About modules:"
msgstr "关于模块:"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:11
msgid ""
"L<Locale::Po4a::Dia(3pm)>, L<Locale::Po4a::Docbook(3pm)>, L<Locale::Po4a::"
"Guide(3pm)>, L<Locale::Po4a::Halibut(3pm)>, L<Locale::Po4a::Ini(3pm)>, "
"L<Locale::Po4a::KernelHelp(3pm)>, L<Locale::Po4a::LaTeX(3pm)>, L<Locale::"
"Po4a::Man(3pm)>, L<Locale::Po4a::Pod(3pm)>, L<Locale::Po4a::RubyDoc(3pm)>, "
"L<Locale::Po4a::Sgml(3pm)>, L<Locale::Po4a::TeX(3pm)>, L<Locale::Po4a::"
"Texinfo(3pm)>, L<Locale::Po4a::Text(3pm)>, L<Locale::Po4a::Wml(3pm)>. "
"L<Locale::Po4a::Xhtml(3pm)>, L<Locale::Po4a::Xml(3pm)>, L<Locale::Po4a::"
"Wml(3pm)>, L<Locale::Po4a::Yaml(3pm)>."
msgstr ""
"L<Locale::Po4a::Dia(3pm)>, L<Locale::Po4a::Docbook(3pm)>, L<Locale::Po4a::"
"Guide(3pm)>, L<Locale::Po4a::Halibut(3pm)>, L<Locale::Po4a::Ini(3pm)>, "
"L<Locale::Po4a::KernelHelp(3pm)>, L<Locale::Po4a::LaTeX(3pm)>, L<Locale::"
"Po4a::Man(3pm)>, L<Locale::Po4a::Pod(3pm)>, L<Locale::Po4a::RubyDoc(3pm)>, "
"L<Locale::Po4a::Sgml(3pm)>, L<Locale::Po4a::TeX(3pm)>, L<Locale::Po4a::"
"Texinfo(3pm)>, L<Locale::Po4a::Text(3pm)>, L<Locale::Po4a::Wml(3pm)>. "
"L<Locale::Po4a::Xhtml(3pm)>, L<Locale::Po4a::Xml(3pm)>, L<Locale::Po4a::"
"Wml(3pm)>, L<Locale::Po4a::Yaml(3pm)>."
#. type: verbatim
#: lib/Locale/Po4a/Chooser.pm:13 lib/Locale/Po4a/KernelHelp.pm:10
#: lib/Locale/Po4a/Po.pm:94 lib/Locale/Po4a/Pod.pm:24
#: lib/Locale/Po4a/Sgml.pm:57
#, no-wrap
msgid ""
" Denis Barbier <barbier@linuxfr.org>\n"
" Martin Quinson (mquinson#debian.org)\n"
"\n"
msgstr ""
" Denis Barbier <barbier@linuxfr.org>\n"
" Martin Quinson (mquinson#debian.org)\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Chooser.pm:15
msgid "Copyright © 2002-2005, 2014, 2017 SPI, Inc."
msgstr "版权© 2002-2005,2014, 2017 SPI, Inc."
#. type: textblock
#: lib/Locale/Po4a/Common.pm:2
msgid "Locale::Po4a::Common - common parts of the po4a scripts and utils"
msgstr "Locale::Po4a::Common - po4a 脚本和实用程序的通用部分"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:4
msgid ""
"Locale::Po4a::Common contains common parts of the po4a scripts and some "
"useful functions used along the other modules."
msgstr ""
"Locale::Po4a::Common 包含 po4a 脚本的公共部分和其他模块使用的一些有用函数。"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:5
msgid "If needed, you can disable the use of Text::WrapI18N as such:"
msgstr "如果需要,您可以禁用 Text::WrapI18N,如下所示:"
#. type: verbatim
#: lib/Locale/Po4a/Common.pm:6
#, no-wrap
msgid ""
" use Locale::Po4a::Common qw(nowrapi18n);\n"
" use Locale::Po4a::Text;\n"
"\n"
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/Common.pm:7
msgid "instead of:"
msgstr "而不是:"
#. type: verbatim
#: lib/Locale/Po4a/Common.pm:8
#, no-wrap
msgid ""
" use Locale::Po4a::Text;\n"
"\n"
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/Common.pm:9
msgid ""
"The ordering is important here: as most Locale::Po4a modules load themselves "
"Locale::Po4a::Common, the first time this module is loaded determines "
"whether Text::WrapI18N is used."
msgstr ""
"这里的顺序很重要:因为大多数 Locale::Po4a 模块都会自行加载 Locale::Po4a::"
"Common,所以第一次加载此模块将确定是否使用 Text::WrapI18N。"
#. type: =head1
#: lib/Locale/Po4a/Common.pm:10
msgid "FUNCTIONS"
msgstr "功能"
#. type: =head2
#: lib/Locale/Po4a/Common.pm:11
msgid "Showing output messages"
msgstr "显示输出消息"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:12
msgid "show_version($)"
msgstr "show_version($)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:13
msgid ""
"Shows the current version of the script, and a short copyright message. It "
"takes the name of the script as an argument."
msgstr "显示脚本的当前版本,以及一条简短的版权消息。它将脚本的名称作为参数。"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:14
msgid "wrap_msg($@)"
msgstr "wrap_msg($@)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:15
msgid ""
"This function displays a message the same way as sprintf() does, but wraps "
"the result so that they look nice on the terminal."
msgstr ""
"此函数显示消息的方式与 sprintf() 相同,但会将结果封装起来,以便它们在终端上看"
"起来很美观。"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:16
msgid "wrap_mod($$@)"
msgstr "wrap_mod($$@)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:17
msgid ""
"This function works like wrap_msg(), but it takes a module name as the first "
"argument, and leaves a space at the left of the message."
msgstr ""
"此函数的工作方式类似于 wrap_msg(),但它将模块名作为第一个参数,并在消息左侧留"
"下一个空格。"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:18
msgid "wrap_ref_mod($$$@)"
msgstr "wrap_ref_mod($$$@)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:19
msgid ""
"This function works like wrap_msg(), but it takes a file:line reference as "
"the first argument, a module name as the second one, and leaves a space at "
"the left of the message."
msgstr ""
"此函数的工作方式类似于 wrap_msg(),但是它将 file:line 引用作为第一个参数,将"
"模块名作为第二个参数,并在消息的左侧留下一个空格。"
#. type: =head2
#: lib/Locale/Po4a/Common.pm:20
msgid "Wrappers for other modules"
msgstr "其他模块的封装器"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:21
msgid "Locale::Gettext"
msgstr "Locale::Gettext"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:22
msgid ""
"When the Locale::Gettext module cannot be loaded, this module provide dummy "
"(empty) implementation of the following functions. In that case, po4a "
"messages won't get translated but the program will continue to work."
msgstr ""
"当无法加载 Locale::Gettext 模块时,该模块提供以下函数的伪 (空) 实现。在这种情"
"况下,po4a 消息不会被翻译,但程序将继续工作。"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:23
msgid ""
"If Locale::gettext is present, this wrapper also calls "
"setlocale(LC_MESSAGES, \"\") so callers don't depend on the POSIX module "
"either."
msgstr ""
"如果存在 Locale::gettext,则此封装器还调用 setlocale(LC_MESSAGES, \"\"),因此"
"调用者也不依赖于 POSIX 模块。"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:24
msgid "bindtextdomain($$)"
msgstr "bindtextdomain($$)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:25
msgid "textdomain($)"
msgstr "textdomain($)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:26
msgid "gettext($)"
msgstr "gettext($)"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:27
msgid "dgettext($$)"
msgstr "dgettext($$)"
#. type: verbatim
#: lib/Locale/Po4a/Common.pm:29 lib/Locale/Po4a/Dia.pm:15
#: lib/Locale/Po4a/Docbook.pm:18 lib/Locale/Po4a/Guide.pm:13
#, no-wrap
msgid ""
" Jordi Vilalta <jvprat@gmail.com>\n"
"\n"
msgstr ""
" Jordi Vilalta <jvprat@gmail.com>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Common.pm:31
msgid "Copyright © 2005 SPI, Inc."
msgstr "版权所有 © 2005 SPI, Inc."
#. type: textblock
#: lib/Locale/Po4a/Dia.pm:2
msgid "Locale::Po4a::Dia - convert uncompressed Dia diagrams from/to PO files"
msgstr "Locale::Po4a::Dia - 将未压缩的 Dia 图表从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Dia.pm:5
msgid ""
"Locale::Po4a::Dia is a module to help the translation of diagrams in the "
"uncompressed Dia format into other [human] languages."
msgstr ""
"Locale::Po4a::Dia 是一个模块,可帮助将未压缩的 Dia 格式的图表转换为其他 [人"
"类] 语言。"
#. type: verbatim
#: lib/Locale/Po4a/Dia.pm:6
#, no-wrap
msgid ""
"You can get Dia (the graphical editor for these diagrams) from:\n"
" http://www.gnome.org/projects/dia/\n"
"\n"
msgstr ""
"您可以从以下位置获得 Dia (这些图表的图形编辑器):\n"
" http://www.gnome.org/projects/dia/\n"
"\n"
#. type: =head1
#: lib/Locale/Po4a/Dia.pm:7
msgid "TRANSLATING WITH PO4A::DIA"
msgstr "翻译与 PO4A::DIA"
#. type: textblock
#: lib/Locale/Po4a/Dia.pm:8
msgid ""
"This module only translates uncompressed Dia diagrams. You can save your "
"uncompressed diagrams with Dia itself, unchecking the \"Compress diagram "
"files\" at the \"Save Diagram\" dialog."
msgstr ""
"此模块仅转换未压缩的 Dia 图。您可以使用 Dia 本身保存未压缩的图表,取消选中“保"
"存图表”对话框中的“压缩图表文件”。"
#. type: verbatim
#: lib/Locale/Po4a/Dia.pm:9
#, no-wrap
msgid ""
"Another way is to uncompress the dia files from command line with:\n"
" gunzip < original.dia > uncompressed.dia\n"
"\n"
msgstr ""
"另一种方法是使用以下命令行解压缩 dia 文件:\n"
" gunzip < 原始.dia > 解压缩.dia\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Dia.pm:11
msgid ""
"This module is fully functional, as it relies in the L<Locale::Po4a::Xml> "
"module. This only defines the translatable tags (E<lt>dia:stringE<gt>), and "
"filters the internal strings (the content of the E<lt>dia:diagramdataE<gt> "
"tag), not interesting for translation."
msgstr ""
"该模块功能齐全,因为它依赖于 L<Locale::Po4a::Xml> 模块。这只定义了可翻译标记 "
"(E<lt>dia:stringE<gt>),并过滤了内部字符串 (E<lt>dia:diagramdataE<gt> 标记的"
"内容),对翻译没有意义。"
#. type: textblock
#: lib/Locale/Po4a/Dia.pm:13 lib/Locale/Po4a/Docbook.pm:16
#: lib/Locale/Po4a/Guide.pm:11 lib/Locale/Po4a/Xhtml.pm:16
msgid ""
"L<Locale::Po4a::TransTractor(3pm)>, L<Locale::Po4a::Xml(3pm)>, L<po4a(7)|"
"po4a.7>"
msgstr ""
"L<Locale::Po4a::TransTractor(3pm)>, L<Locale::Po4a::Xml(3pm)>, L<po4a(7)|"
"po4a.7>"
#. type: textblock
#: lib/Locale/Po4a/Dia.pm:17 lib/Locale/Po4a/Guide.pm:15
msgid "Copyright © 2004 Jordi Vilalta <jvprat@gmail.com>"
msgstr "版权所有 © 2004 Jordi Vilalta <jvprat@gmail.com>"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:2
msgid "Locale::Po4a::Docbook - convert DocBook XML documents from/to PO files"
msgstr "Locale::Po4a::Docbook - 将 DocBook XML 文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:5
msgid ""
"Locale::Po4a::Docbook is a module to help the translation of DocBook XML "
"documents into other [human] languages."
msgstr ""
"Locale::Po4a::Docbook 是一个帮助将 DocBook XML 文档翻译成其他 [人类] 语言的模"
"块。"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:7 lib/Locale/Po4a/Guide.pm:8
#: lib/Locale/Po4a/Xhtml.pm:13
msgid ""
"This module is fully functional, as it relies in the L<Locale::Po4a::Xml> "
"module. This only defines the translatable tags and attributes."
msgstr ""
"该模块功能齐全,因为它依赖于 L<Locale::Po4a::Xml> 模块。这只定义了可翻译的标"
"签和属性。"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:8
msgid ""
"The only known issue is that it doesn't handle entities yet, and this "
"includes the file inclusion entities, but you can translate most of those "
"files alone (except the typical entities files), and it's usually better to "
"maintain them separated."
msgstr ""
"唯一已知的问题是它还不处理实体,这包括文件包含实体,但是您可以单独转换大多数"
"这些文件(典型实体文件除外),而且通常最好将它们分开维护。"
#. type: =head2
#: lib/Locale/Po4a/Docbook.pm:9 lib/Locale/Po4a/Xml.pm:106
msgid "OVERRIDE THE DEFAULT BEHAVIOR WITH COMMAND LINE OPTIONS"
msgstr "使用命令行选项覆盖默认行为"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:10
msgid ""
"The default behavior of system provided modules is set to be on the safe "
"side."
msgstr "系统提供的模块的默认行为设置为安全。"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:11
msgid ""
"For example, the default of B<< <author> >> tag is aiming it to appear under "
"B<< <para> >>. But you may be using it only under B<< <bookinfo> >>. For "
"this case, you may want to translate it independently for each author."
msgstr ""
"例如,B<< <author> >> 标记的缺省设置是将其显示在 B<< <para> >> 下。但是您只能"
"在 B<< <bookinfo> >> 下使用它。对于这种情况,您可能希望为每个作者单独翻译它。"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:12
msgid ""
"If you don't like the default behavior of the xml module and its derivative "
"modules, you can provide command line options to change their behavior. For "
"example, you can add the following to the po4a configuration file:"
msgstr ""
"如果您不喜欢 xml 模块及其派生模块的默认行为,可以提供命令行选项来更改它们的行"
"为。 例如,您可以将以下内容添加到 po4a 配置文件中:"
#. type: verbatim
#: lib/Locale/Po4a/Docbook.pm:13
#, no-wrap
msgid ""
" opt:\"-k 0 -o nodefault=\\\"<bookinfo> <author>\\\" \\\n"
" -o break=\\\"<bookinfo> <author>\\\" \\\n"
" -o untranslated=\\\"<bookinfo>\\\" \\\n"
" -o translated=\\\"<author>\\\"\"\n"
"\n"
msgstr ""
" opt:\"-k 0 -o nodefault=\\\"<bookinfo> <author>\\\" \\\n"
" -o break=\\\"<bookinfo> <author>\\\" \\\n"
" -o untranslated=\\\"<bookinfo>\\\" \\\n"
" -o translated=\\\"<author>\\\"\"\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Docbook.pm:14
msgid ""
"This overrides the default behavior for B<< <bookinfo> >> and B<< <author> "
">>, set B<< <bookinfo> >> and B<< <author> >> to break input data stream on "
"these tags, set B<< <bookinfo> >> not to translate its tagged content, and "
"set B<< <author> >> to translate its tagged content."
msgstr ""
"这将覆盖 B<< <bookinfo> >> 和 B<< <author> >> 的默认行为,设置 B<< "
"<bookinfo> >> 和 B<< <author> >> 以中断这些标记上的输入数据流,设置 B<< "
"<bookinfo> >> 不翻译其标记的内容,并设置 B<< <author> >> 翻译其标记的内容。"
#. type: verbatim
#: lib/Locale/Po4a/Docbook.pm:20
#, no-wrap
msgid ""
" Copyright © 2004 Jordi Vilalta <jvprat@gmail.com>\n"
" Copyright © 2007-2009 Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" 版权所有 © 2004 Jordi Vilalta <jvprat@gmail.com>\n"
" 版权所有 © 2007-2009 Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Guide.pm:2
msgid "Locale::Po4a::Guide - convert Guide XML documents from/to PO files"
msgstr "Locale::Po4a::Guide - 将指南 XML 文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Guide.pm:5
msgid ""
"Locale::Po4a::Guide is a module to help in the translation of the Gentoo "
"Linux documentation in the Guide XML format into other [human] languages."
msgstr ""
"Locale::Po4a::Guide 是一个模块,用于帮助将 Guide XML 格式的 Gentoo Linux 文档"
"翻译成其他 [人类] 语言。"
#. type: textblock
#: lib/Locale/Po4a/Guide.pm:6
msgid ""
"This format is documented here: http://www.gentoo.org/doc/en/xml-guide.xml"
msgstr "此格式记录在这里: http://www.gentoo.org/doc/en/xml-guide.xml"
#. type: textblock
#: lib/Locale/Po4a/Guide.pm:9
msgid ""
"The only known issue is that it doesn't include files with the <include "
"href=\"...\"> tag, but you can translate all those files alone, and it's "
"usually better to have them separated."
msgstr ""
"唯一已知的问题是它不包含带有 <include href=\"...\"> 标记的文件,但是您可以单"
"独转换所有这些文件,通常最好将它们分开。"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:2
msgid ""
"Locale::Po4a::Halibut - convert Halibut documents and derivates from/to PO "
"files"
msgstr "Locale::Po4a::Halibut -将 Halibut 文档和衍生内容从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:5
msgid ""
"Locale::Po4a::Halibut is a module to help the translation of Halibut "
"documents into other [human] languages."
msgstr ""
"Locale::Po4a::Halibut 是一个帮助将 Halibut 文档翻译成其他 [人类] 语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:6
msgid ""
"This module contains the definitions of common Halibut commands and "
"environments."
msgstr "本模块包含常见的 Halibut 命令和环境的定义。"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:8
msgid "This module is still beta. Please send feedback and feature requests."
msgstr "此模块仍为测试版。请发送反馈和功能请求。"
#. type: =head1
#: lib/Locale/Po4a/Halibut.pm:9
msgid "CAVEAT"
msgstr "警告"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:10
msgid ""
"Some constructs are badly supported. The known ones are documented below."
msgstr "有些构造的支持率很低。已知的记录如下。"
#. type: =head2
#: lib/Locale/Po4a/Halibut.pm:11
msgid "Verbatim blocks"
msgstr "逐字记录块"
#. type: verbatim
#: lib/Locale/Po4a/Halibut.pm:12
#, no-wrap
msgid ""
" \\c foo\n"
" \\c bar\n"
"\n"
msgstr ""
" \\c foo\n"
" \\c bar\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:13
msgid ""
"The verbatim block is not considered as a whole. Each line will be "
"translated separately."
msgstr "不会将逐字逐句的块作为一个整体来考虑。每一行都将单独翻译。"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:15 lib/Locale/Po4a/LaTeX.pm:9
#: lib/Locale/Po4a/Texinfo.pm:15
msgid ""
"L<Locale::Po4a::TeX(3pm)|Locale::Po4a::TeX>, L<Locale::Po4a::"
"TransTractor(3pm)|Locale::Po4a::TransTractor>, L<po4a(7)|po4a.7>"
msgstr ""
"L<Locale::Po4a::TeX(3pm)|Locale::Po4a::TeX>, L<Locale::Po4a::"
"TransTractor(3pm)|Locale::Po4a::TransTractor>, L<po4a(7)|po4a.7>"
#. type: textblock
#: lib/Locale/Po4a/Halibut.pm:19
msgid ""
"Copyright © 2004-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>."
msgstr ""
"版权所有 © 2004-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>."
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:2
msgid "Locale::Po4a::Ini - convert INI files from/to PO files"
msgstr "Locale::Po4a::Ini - 将 INI 文件从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:4
msgid ""
"Locale::Po4a::Ini is a module to help the translation of INI files into "
"other [human] languages."
msgstr "Locale::Po4a::Ini 是一个帮助将INI文件翻译成其他 [人类] 语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:5
msgid ""
"The module searches for lines of the following format and extracts the "
"quoted text:"
msgstr "系统搜索以下格式的行,并提取引号文本:"
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:6
msgid "identificator=\"text than can be translated\""
msgstr "identificator=\"可以翻译的文本\""
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:7
msgid "NOTE: If the text is not quoted, it will be ignored."
msgstr "注:如果文本未加引号,将被忽略。"
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:9 lib/Locale/Po4a/Yaml.pm:16
msgid "L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|po4a.7>"
msgstr "L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|po4a.7>"
#. type: verbatim
#: lib/Locale/Po4a/Ini.pm:11
#, no-wrap
msgid ""
" Razvan Rusu <rrusu@bitdefender.com>\n"
" Costin Stroie <cstroie@bitdefender.com>\n"
"\n"
msgstr ""
" Razvan Rusu <rrusu@bitdefender.com>\n"
" Costin Stroie <cstroie@bitdefender.com>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Ini.pm:13
msgid "Copyright © 2006 BitDefender"
msgstr "版权所有 © 2006 BitDefender"
#. type: textblock
#: lib/Locale/Po4a/KernelHelp.pm:2
msgid ""
"Locale::Po4a::KernelHelp - convert kernel configuration help from/to PO files"
msgstr "Locale::Po4a::KernelHelp - 将内核配置帮助从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/KernelHelp.pm:4
msgid ""
"Locale::Po4a::KernelHelp is a module to help the translation of "
"documentation for the Linux kernel configuration options into other [human] "
"languages."
msgstr ""
"Locale::Po4a::KernelHelp 一个模块,用于帮助将 Linux 内核配置选项的文档翻译成"
"其他 [人类] 语言。"
#. type: textblock
#: lib/Locale/Po4a/KernelHelp.pm:6
msgid ""
"This module is just written, and needs more tests. Most of the needed work "
"will concern the tools used to parse this file (and configure the kernel), "
"so that they accept to read the documentation from another (translated) "
"file."
msgstr ""
"此模块刚刚编写,需要更多测试。所需的大部分工作将涉及用于解析此文件 (并配置内"
"核) 的工具,以便它们接受从另一个 (翻译后的) 文件中读取文档。"
#. type: textblock
#: lib/Locale/Po4a/KernelHelp.pm:8
msgid ""
"L<Pod::Parser>, L<Locale::Po4a::Man(3pm)>, L<Locale::Po4a::Pod(3pm)>, "
"L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|po4a.7>"
msgstr ""
"L<Pod::Parser>, L<Locale::Po4a::Man(3pm)>, L<Locale::Po4a::Pod(3pm)>, "
"L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|po4a.7>"
#. type: textblock
#: lib/Locale/Po4a/KernelHelp.pm:12 lib/Locale/Po4a/Pod.pm:26
msgid "Copyright © 2002 SPI, Inc."
msgstr "版权所有 © 2002 SPI, Inc."
#. type: textblock
#: lib/Locale/Po4a/LaTeX.pm:2
msgid ""
"Locale::Po4a::LaTeX - convert LaTeX documents and derivates from/to PO files"
msgstr "Locale::Po4a::LaTeX - 将 LaTeX 文档和衍生从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/LaTeX.pm:5
msgid ""
"Locale::Po4a::LaTeX is a module to help the translation of LaTeX documents "
"into other [human] languages. It can also be used as a base to build modules "
"for LaTeX-based documents."
msgstr ""
"Locale::Po4a::LaTeX 是一个帮助将 LaTeX 文档翻译成其他 [人类] 语言的模块。它还"
"可以用作构建基于 LaTeX 文档的模块的基础。"
#. type: textblock
#: lib/Locale/Po4a/LaTeX.pm:6
msgid ""
"This module contains the definitions of common LaTeX commands and "
"environments."
msgstr "此模块包含常见 LaTeX 命令和环境的定义。"
#. type: textblock
#: lib/Locale/Po4a/LaTeX.pm:7
msgid ""
"See the L<Locale::Po4a::TeX(3pm)|Locale::Po4a::TeX> manpage for the list of "
"recognized options."
msgstr ""
"有关可识别选项的列表,请参见 L<Locale::Po4a::TeX(3pm)|Locale::Po4a::TeX> 手册"
"页。"
#. type: textblock
#: lib/Locale/Po4a/LaTeX.pm:13 lib/Locale/Po4a/TeX.pm:123
msgid ""
"Copyright © 2004, 2005 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>."
msgstr ""
"版权所有 © 2004, 2005 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>."
#. type: textblock
#: lib/Locale/Po4a/Man.pm:2
msgid "Locale::Po4a::Man - convert manual pages from/to PO files"
msgstr "Locale::Po4a::Man - 将手动页面从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:5
msgid ""
"Locale::Po4a::Man is a module to help the translation of documentation in "
"the nroff format (the language of manual pages) into other [human] languages."
msgstr ""
"Locale::Po4a::Man 是一个模块,用于帮助将 nroff 格式(手册页的语言)的文档翻译成"
"其他 [人类] 语言。"
#. type: =head1
#: lib/Locale/Po4a/Man.pm:6
msgid "TRANSLATING WITH PO4A::MAN"
msgstr "使用 PO4A::MAN 进行翻译"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:7
msgid ""
"This module tries pretty hard to make translator's life easier. For that, "
"the text presented to translators isn't a verbatim copy of the text found in "
"the man page. Indeed, the cruder parts of the nroff format are hidden, so "
"that translators can't mess up with them."
msgstr ""
"这个模块非常努力地让翻译员的工作变得更容易。因此,呈现给翻译人员的文本不是手"
"册页中的文本的逐字副本。实际上,nroff 格式的粗略部分是隐藏的,这样翻译人员就"
"不会把它们搞砸了。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:8
msgid "Text wrapping"
msgstr "文本换行"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:9
msgid ""
"Unindented paragraphs are automatically rewrapped for the translator. This "
"can lead to some minor difference in the generated output, since the "
"rewrapping rules used by groff aren't very clear. For example, two spaces "
"after a parenthesis are sometimes preserved."
msgstr ""
"未缩进的段落会自动为翻译器重新换行。这可能会在生成的输出中导致一些细微的差"
"异,因为 groff 使用的重新包装规则不是很清楚。例如,有时保留括号后的两个空格。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:10
msgid ""
"Anyway, the difference will only be about the position of the extra spaces "
"in wrapped paragraph, and I think it's worth."
msgstr "无论如何,不同之处只在于换行段落中额外空格的位置,我认为这是值得的。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:11
msgid "Font specification"
msgstr "字体规格"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:12
msgid ""
"The first change is about font change specifications. In nroff, there are "
"several ways to specify if a given word should be written in small, bold or "
"italics. In the text to translate, there is only one way, borrowed from the "
"POD (Perl online documentation) format:"
msgstr ""
"第一个更改是关于字体更改规范。在 nroff 中,有几种方法可以指定给定的单词应该用"
"小写、粗体还是斜体书写。在要翻译的文本中,只有一种方法,借用 POD (Perl "
"Online Documentation) 格式:"
#. type: =item
#: lib/Locale/Po4a/Man.pm:13
msgid "IE<lt>textE<gt> -- italic text"
msgstr "IE<lt>textE<gt> -- 斜体文本"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:14
msgid "equivalent to \\fItext\\fP or \".I text\""
msgstr "等效于 \\fItext\\fP 或 \".I text\""
#. type: =item
#: lib/Locale/Po4a/Man.pm:15
msgid "BE<lt>textE<gt> -- bold text"
msgstr "BE<lt>textE<gt> -- 粗体文本"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:16
msgid "equivalent to \\fBtext\\fP or \".B text\""
msgstr "等效于 \\fBtext\\fP 或 \".B text\""
#. type: =item
#: lib/Locale/Po4a/Man.pm:17
msgid "RE<lt>textE<gt> -- roman text"
msgstr "RE<lt>textE<gt> -- 罗马文本"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:18
msgid "equivalent to \\fRtext\\fP"
msgstr "等效于 \\fRtext\\fP"
#. type: =item
#: lib/Locale/Po4a/Man.pm:19
msgid "CWE<lt>textE<gt> -- constant width text"
msgstr "CWE<lt>textE<gt> -- 等长宽度文本"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:20
msgid "equivalent to \\f(CWtext\\fP or \".CW text\""
msgstr "等效于 \\f(CWtext\\fP 或 \".CW text\""
#. type: textblock
#: lib/Locale/Po4a/Man.pm:21
msgid ""
"Remark: The CW face is not available for all groff devices. It is not "
"recommended to use it. It is provided for your convenience."
msgstr ""
"备注:并非所有 groff 设备都提供 CW 面。不推荐使用。这是为了您的方便而提供的。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:22
msgid "Automatic characters transliteration"
msgstr "字符自动音译"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:23
msgid ""
"Po4a automatically transliterate some characters to ease the translation or "
"the review of the translation. Here is the list of the transliterations:"
msgstr "Po4a 会自动音译某些字符,以简化翻译或审核翻译。以下是音译的列表:"
#. type: =item
#: lib/Locale/Po4a/Man.pm:24
msgid "hyphens"
msgstr "连字符"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:25
msgid ""
"Hyphens (-) and minus signs (\\-) in man pages are all transliterated as "
"simple dashes (-) in the PO file. Then all dash are transliterated into "
"roff minus signs (\\-) when the translation is inserted into the output "
"document."
msgstr ""
"手册页中的连字符 (-) 和减号 (\\-) 在 PO 文件中都音译为简单的破折号 (-)。然"
"后,在将翻译插入到输出文档中时,所有破折号都音译为 roff 减号 (\\-)。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:26
msgid ""
"Translators can force an hyphen by using the roff glyph '\\[hy]' in their "
"translations."
msgstr "翻译人员可以在翻译中使用 roff 字形 '\\[hy]' 强制使用连字符。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:27
msgid "non-breaking spaces"
msgstr "不间断空格"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:28
msgid ""
"Translators can use non-breaking spaces in their translations. These non-"
"breaking spaces (0xA0 in latin1) will be transliterated into a roff non-"
"breaking space ('\\ ')."
msgstr ""
"翻译人员可以在翻译中使用不间断空格。这些不间断空格 (latin1 中的 0xA0)将音译"
"为 roff 不间断空格('\\ ')。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:29
msgid "quotes transliterations"
msgstr "引用音译"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:30
msgid "`` and '' are respectively tranliterated into \\*(lq and \\*(rq."
msgstr "`` 和 '' 分别音译为 \\*(lq 和 \\*(rq."
#. type: textblock
#: lib/Locale/Po4a/Man.pm:31
msgid ""
"To avoid these transliterations, translators can insert a zero width roff "
"character (i.e., using `\\&` or '\\&' respectively)."
msgstr ""
"为了避免这些音译,翻译人员可以插入零宽度 roff 字符(即分别使用 '\\&' 或 "
"'\\&')。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:32
msgid "Putting 'E<lt>' and 'E<gt>' in translations"
msgstr "在翻译中放 'E<lt>' 和 'E<gt>'"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:33
msgid ""
"Since these chars are used to delimit parts under font modification, you "
"can't use them verbatim. Use EE<lt>ltE<gt> and EE<lt>gtE<gt> instead (as in "
"POD, one more time)."
msgstr ""
"由于这些字符用于分隔字体修改后的部分,因此您不能逐字使用它们。改为使用 "
"EE<lt>ltE<gt> 和 EE<lt>gtE<gt> (与 POD 中相同)。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:36 lib/Locale/Po4a/Sgml.pm:8
#: lib/Locale/Po4a/TeX.pm:13
msgid "B<debug>"
msgstr "B<debug>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:37 lib/Locale/Po4a/TeX.pm:14
msgid ""
"Activate debugging for some internal mechanisms of this module. Use the "
"source to see which parts can be debugged."
msgstr "激活此模块某些内部机制的调试。 使用源查看哪些部件可以调试。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:38 lib/Locale/Po4a/Sgml.pm:10
msgid "B<verbose>"
msgstr "B<verbose>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:39
msgid "Increase verbosity."
msgstr "增加详细程度。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:40
msgid "B<groff_code>"
msgstr "B<groff_code>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:41
msgid ""
"This option controls the behavior of the module when it encounter a .de, .ie "
"or .if section. It can take the following values:"
msgstr "此选项控制模块在遇到.de、.ie 或 .if 节时的行为。它可以采用下列值:"
#. type: =item
#: lib/Locale/Po4a/Man.pm:42 lib/Locale/Po4a/Xml.pm:27
msgid "I<fail>"
msgstr "I<fail>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:43
msgid ""
"This is the default value. The module will fail when a .de, .ie or .if "
"section is encountered."
msgstr "这是默认值。遇到 .de、.ie 或 .if 章节时,模块将失败。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:44
msgid "I<verbatim>"
msgstr "I<verbatim>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:45
msgid ""
"Indicates that the .de, .ie or .if sections must be copied as is from the "
"original to the translated document."
msgstr "指示必须按原样将 .de、.ie 或 .if 节从原始文档复制到翻译后的文档。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:46
msgid "I<translate>"
msgstr "I<translate>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:47
msgid ""
"Indicates that the .de, .ie or .if sections will be proposed for the "
"translation. You should only use this option if a translatable string is "
"contained in one of these section. Otherwise, I<verbatim> should be "
"preferred."
msgstr ""
"指示将为翻译建议 .de、.ie 或 .if 章节。仅当这些部分之一中包含可翻译字符串时,"
"才应使用此选项。否则,应该首选 I<verbatim>。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:48
msgid "B<generated>"
msgstr "B<generated>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:49
msgid ""
"This option specifies that the file was generated, and that po4a should not "
"try to detect if the man pages was generated from another format. This "
"option is mandatory to use po4a on generated man pages. Note that "
"translating generated pages instead of sources ones is often more fragile, "
"and thus a bad idea."
msgstr ""
"该选项指定文件是生成的,并且 po4a 不应尝试检测手册页是否由另一种格式生成。要"
"在生成的手册页上使用 po4a,此选项是必需的。请注意,转换生成的页面而不是源页面"
"通常更脆弱,因此不是一个好主意。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:50
msgid "B<mdoc>"
msgstr "B<mdoc>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:51
msgid "This option is only useful for mdoc pages."
msgstr "此选项仅对 mdoc 页面有用。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:52
msgid ""
"It selects a stricter support of the mdoc format by telling po4a not to "
"translate the 'NAME' section. mdoc pages whose 'NAME' section is translated "
"won't generate any header or footer."
msgstr ""
"它通过告诉 po4a 不翻译 'NAME' 部分来选择更严格的 mdoc 格式支持。翻译了 "
"'NAME' 部分的 mdoc 页面不会生成任何页眉或页脚。"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:53
#, no-wrap
msgid ""
"According to the groff_mdoc page, the NAME, SYNOPSIS and DESCRIPTION\n"
"sections are mandatory.\n"
"There are no known issues with translated SYNOPSIS or DESCRIPTION section,\n"
"but you can also specify these sections this way:\n"
" -o mdoc=NAME,SYNOPSIS,DESCRIPTION\n"
"\n"
msgstr ""
"根据 groff_mdoc,名称,概要和描述\n"
"章节是必填项。\n"
"翻译的概要或描述部分没有已知问题,\n"
"但您也可以这样指定这些部分:\n"
" -o mdoc=NAME,SYNOPSIS,DESCRIPTION\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:54
#, no-wrap
msgid ""
"This mdoc issue can also be solved with an addendum like this one:\n"
" PO4A-HEADER:mode=before;position=^.Dd\n"
" .TH DOCUMENT_TITLE 1 \"Month day, year\" OS \"Section Name\"\n"
"\n"
msgstr ""
"此 mdoc 问题也可以通过如下附录解决:\n"
" PO4A-HEADER:mode=before;position=^.Dd\n"
" .TH DOCUMENT_TITLE 1 \"月日,年\" 操作系统 \"章节名\"\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:55
#, fuzzy
#| msgid ""
#| "The following options permit to specify the behavior of a new macro "
#| "(defined with a .de request), or of a macro not supported by po4a. They "
#| "take as argument a comma-separated list of macros. For example:"
msgid ""
"The following options specify the behavior of a user-defined macro (with a ."
"de request), or of a classical macro that is not supported by po4a. They "
"take as argument a comma-separated list of macros. For example:"
msgstr ""
"以下选项允许指定新宏(使用 .de 请求定义)或 po4a 不支持的宏的行为。 它们将逗"
"号分隔的宏列表作为参数。 例如:"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:56
#, no-wrap
msgid ""
" -o noarg=FO,OB,AR -o translate_joined=BA,ZQ,UX\n"
"\n"
msgstr ""
" -o noarg=FO,OB,AR -o translate_joined=BA,ZQ,UX\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:57
msgid ""
"Note: if a macro is not supported by po4a and if you consider that it is a "
"standard roff macro, you should submit it to the po4a development team."
msgstr ""
"注意:如果某个宏不受 po4a 支持,并且您认为它是标准的 roff 宏,那么您应该将其"
"提交给 po4a 开发团队。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:58 lib/Locale/Po4a/Xml.pm:94
msgid "B<untranslated>"
msgstr "B<untranslated>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:59
msgid ""
"B<untranslated> indicates that this macro (at its arguments) don't have to "
"be translated."
msgstr "B<untranslated> 指示不必翻译此宏(在其参数处)。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:60
msgid "B<noarg>"
msgstr "B<noarg>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:61
msgid ""
"B<noarg> is like B<untranslated>, except that po4a will verify that no "
"argument is added to this macro."
msgstr ""
"B<noarg> 类似于 B<untransted>,不同之处在于 po4a 将验证没有参数添加到此宏。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:62
msgid "B<translate_joined>"
msgstr "B<translate_joined>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:63
msgid ""
"B<translate_joined> indicates that po4a must propose to translate the "
"arguments of the macro."
msgstr "B<translate_joined> 指示 po4a 必须提议翻译宏的参数。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:64
msgid "B<translate_each>"
msgstr "B<translate_each>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:65
msgid ""
"With B<translate_each>, the arguments will also be proposed for the "
"translation, except that each one will be translated separately."
msgstr ""
"对于 B<translate_each>,除了每个参数将被单独翻译外,还将为翻译建议参数。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:66 lib/Locale/Po4a/TeX.pm:15
msgid "B<no_wrap>"
msgstr "B<no_wrap>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:67
msgid ""
"This option takes as argument a list of comma-separated couples I<begin>:"
"I<end>, where I<begin> and I<end> are commands that delimit the begin and "
"end of a section that should not be rewrapped."
msgstr ""
"该选项将逗号分隔的对列表 I<begin>:I<end> 作为参数,其中 I<begin> 和 I<end> 是"
"分隔不应该重新换行的节的开始和结束的命令。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:68
msgid ""
"Note: no test is done to ensure that an I<end> command matches its I<begin> "
"command; any ending command stop the no_wrap mode. If you have a I<begin> "
"(respectively I<end>) macro that has no I<end> (respectively I<begin>), you "
"can specify an existing I<end> (like fi) or I<begin> (like nf) as a "
"counterpart. These macros (and their arguments) won't be translated."
msgstr ""
"注意:不执行任何测试来确保 I<end> 命令与其 I<begin> 命令匹配;任何结束命令都"
"会停止 no_wrap 模式。如果您有一个没有 I<end> (分别是 I<begin> )的 I<begin> "
"(分别是 I<end>)宏,则可以指定现有的 I<end> (如 fi)或 I<begin> (如 nf)作为对应"
"宏。这些宏 (及其参数) 不会被翻译。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:69 lib/Locale/Po4a/Xml.pm:59
msgid "B<inline>"
msgstr "B<inline>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:70
msgid ""
"This option specifies a list of comma-separated macros that must not split "
"the current paragraph. The string to translate will then contain I<foo E<lt>."
"bar baz quxE<gt> quux>, where I<bar> is the command that should be inlined, "
"and I<baz qux> its arguments."
msgstr ""
"此选项指定不得拆分当前段落的逗号分隔宏列表。然后,要转换的字符串将包含 I<foo "
"E<lt>.bar baz quxE<gt> quux>,其中 I<bar> 是应该内联的命令,I<baz qux> 是其参"
"数。"
#. type: =item
#: lib/Locale/Po4a/Man.pm:71
msgid "B<unknown_macros>"
msgstr "B<unknown_macros>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:72
msgid ""
"This option indicates how po4a should behave when an unknown macro is "
"found. By default, po4a fails with a warning. It can take the following "
"values: B<failed> (the default value), B<untranslated>, B<noarg>, "
"B<translate_joined>, or B<translate_each> (see above for an explanation of "
"these values)."
msgstr ""
"此选项指示找到未知宏时 po4a 的行为。默认情况下,po4a 失败并显示警告。它可以采"
"用以下值: B<failed> (默认值)、B<untranslated>、B<noarg>、"
"B<translate_joined> 或 B<translate_each> (有关这些值的解释,请参见上文)。"
#. type: =head1
#: lib/Locale/Po4a/Man.pm:73
msgid "AUTHORING MAN PAGES COMPLIANT WITH PO4A::MAN"
msgstr "创作符合 PO4A::MAN 的手册页"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:74
msgid ""
"This module is still very limited, and will always be, because it's not a "
"real nroff interpreter. It would be possible to do a real nroff interpreter, "
"to allow authors to use all the existing macros, or even to define new ones "
"in their pages, but we didn't want to. It would be too difficult, and we "
"thought it wasn't necessary. We do think that if manpages' authors want to "
"see their productions translated, they may have to adapt to ease the work of "
"translators."
msgstr ""
"这个模块仍然非常有限,而且将永远如此,因为它不是一个真正的 nroff 解释器。做一"
"个真正的 nroff 解释器是可能的,允许作者使用所有现有的宏,甚至在他们的页面中定"
"义新的宏,但我们不想这样做。这太难了,我们认为没有必要。我们确实认为,如果手"
"册页的作者想要看到他们的作品被翻译,他们可能必须适应,以减轻翻译人员的工作。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:75
msgid ""
"So, the man parser implemented in po4a have some known limitations we are "
"not really inclined to correct, and which will constitute some pitfalls "
"you'll have to avoid if you want to see translators taking care of your "
"documentation."
msgstr ""
"因此,po4a 中实现的 man 解析器有一些我们不太愿意纠正的已知限制,如果您希望看"
"到翻译人员处理您的文档,这些限制将构成您必须避免的一些陷阱。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:76
msgid "Don't program in nroff"
msgstr "不要在 nroff 中编程"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:77
msgid ""
"nroff is a complete programming language, with macro definition, "
"conditionals and so on. Since this parser isn't a fully featured nroff "
"interpreter, it will fail on pages using these facilities (There are about "
"200 such pages on my box)."
msgstr ""
"nroff 是一种完整的编程语言,具有宏定义、条件等功能。因为这个解析器不是一个功"
"能齐全的 nroff 解释器,所以它在使用这些工具的页面上将失败 (我框中大约有200个"
"这样的页面)。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:78
msgid "Use the plain macro set"
msgstr "使用普通宏集"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:79
msgid ""
"There are still some macros which are not supported by po4a::man. This is "
"only because I failed to find any documentation about them. Here is the list "
"of unsupported macros used on my box. Note that this list isn't exhaustive "
"since the program fails on the first encountered unsupported macro. If you "
"have any information about some of these macros, I'll happily add support "
"for them. Because of these macros, about 250 pages on my box are "
"inaccessible to po4a::man."
msgstr ""
"仍然有一些宏不受 po4a::man 支持。这只是因为我找不到任何关于它们的文档。这是我"
"的计算机上使用的不受支持的宏的列表。请注意,此列表并不详尽,因为程序在第一个"
"遇到的不受支持的宏上失败。如果您有关于这些宏的任何信息,我很乐意添加对它们的"
"支持。由于这些宏,po4a::man 无法访问我框中的大约 250 个页面。"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:80
#, no-wrap
msgid ""
" .. .\" .AT .b .bank\n"
" .BE ..br .Bu .BUGS .BY\n"
" .ce .dbmmanage .do .En\n"
" .EP .EX .Fi .hw .i\n"
" .Id .l .LO .mf\n"
" .N .na .NF .nh .nl\n"
" .Nm .ns .NXR .OPTIONS .PB\n"
" .pp .PR .PRE .PU .REq\n"
" .RH .rn .S< .sh .SI\n"
" .splitfont .Sx .T .TF .The\n"
" .TT .UC .ul .Vb .zZ\n"
"\n"
msgstr ""
" .. .\" .AT .b .bank\n"
" .BE ..br .Bu .BUGS .BY\n"
" .ce .dbmmanage .do .En\n"
" .EP .EX .Fi .hw .i\n"
" .Id .l .LO .mf\n"
" .N .na .NF .nh .nl\n"
" .Nm .ns .NXR .OPTIONS .PB\n"
" .pp .PR .PRE .PU .REq\n"
" .RH .rn .S< .sh .SI\n"
" .splitfont .Sx .T .TF .The\n"
" .TT .UC .ul .Vb .zZ\n"
"\n"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:81
msgid "Hiding text from po4a"
msgstr "从 po4a 隐藏文本"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:82
msgid ""
"Sometimes, the author knows that some parts are not translatable, and should "
"not be extracted by po4a. For example, an option may accept an I<other> "
"argument, and I<other> may also appear as the last item of a list. In the "
"first case, I<other> should be not be translatable. And in the second case, "
"I<other> should be translated."
msgstr ""
"有时,作者知道有些部分是不可翻译的,不应该用 po4a 提取。例如,选项可能接受 "
"I<other> 参数,并且 I<other> 也可能显示为列表的最后一项。在第一种情况下,"
"I<other> 应该是不可翻译的。在第二种情况下,应该翻译 I<other>。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:83
msgid ""
"In such case, the author can avoid po4a to extract some strings, using some "
"special groff constructs:"
msgstr ""
"在这种情况下,作者可以避免 po4a 提取一些字符串,使用一些特殊的 groff 结构:"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:84
#, no-wrap
msgid ""
" .if !'po4a'hide' .B other\n"
"\n"
msgstr ""
" .if !'po4a'hide' .B other\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:85
msgid "(this will require the B<-o groff_code=verbatim> option)"
msgstr "(这将需要 B<-o groff_code=verbatim> 选项)"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:86
#, no-wrap
msgid ""
"A new macro can also be defined to automate this:\n"
" .de IR_untranslated\n"
" . IR \\\\$@\n"
" ..\n"
"\n"
msgstr ""
"还可以定义一个新的宏来自动执行:\n"
" .de IR_untranslated\n"
" . IR \\\\$@\n"
" ..\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:87 lib/Locale/Po4a/Man.pm:90
#, no-wrap
msgid ""
" .IR_untranslated \\-q \", \" \\-\\-quiet\n"
"\n"
msgstr ""
" .IR_untranslated \\-q \", \" \\-\\-quiet\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:88
msgid ""
"(this will require the options B<-o groff_code=verbatim> and B<-o "
"untranslated=IR_untranslated>; with this construct, the B<.if !'po4a'hide'> "
"conditional is not strictly needed since po4a will not parse the internal of "
"the macro definition)"
msgstr ""
"(这将需要选项 B<-o groff_code=verbatim> 和 B<-o "
"untranslated=IR_untranslated>;使用此构造,不严格需要 B<.if !'po4a'hide'> 条"
"件,因为 po4a 不会解析宏定义的内部)"
#. type: verbatim
#: lib/Locale/Po4a/Man.pm:89
#, no-wrap
msgid ""
"or using an alias:\n"
" .als IR_untranslated IR\n"
"\n"
msgstr ""
"或使用别名:\n"
" .als IR_untranslated IR\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:91
msgid "This will require the B<-o untranslated=als,IR_untranslated> option."
msgstr "这将需要 B<-o untranslated=als,IR_untranslated> 选项。"
#. type: =head2
#: lib/Locale/Po4a/Man.pm:92
msgid "Conclusion"
msgstr "结论"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:93
msgid ""
"To summarise this section, keep simple, and don't try to be clever while "
"authoring your man pages. A lot of things are possible in nroff, and not "
"supported by this parser. For example, don't try to mess with \\c to "
"interrupt the text processing (like 40 pages on my box do). Or, be sure to "
"put the macro arguments on the same line that the macro itself. I know that "
"it's valid in nroff, but would complicate too much the parser to be handled."
msgstr ""
"总结这一节,请保持简单,在编写手册页时不要试图变得聪明。很多事情在 nroff 中是"
"可能的,并且不被这个解析器支持。例如,不要试图扰乱 \\c 来中断文本处理(就像我"
"框中的 40 页一样)。或者,确保将宏参数与宏本身放在同一行。我知道它在 nroff 中"
"是有效的,但是会使解析器过于复杂而无法处理。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:94
msgid ""
"Of course, another possibility is to use another format, more translator "
"friendly (like POD using po4a::pod, or one of the XML family like SGML), but "
"thanks to po4a::man it isn't needed anymore. That being said, if the source "
"format of your documentation is POD, or XML, it may be clever to translate "
"the source format and not this generated one. In most cases, po4a::man will "
"detect generated pages and issue a warning. It will even refuse to process "
"POD generated pages, because those pages are perfectly handled by po4a::pod, "
"and because their nroff counterpart defines a lot of new macros I didn't "
"want to write support for. On my box, 1432 of the 4323 pages are generated "
"from POD and will be ignored by po4a::man."
msgstr ""
"当然,另一种可能是使用另一种更便于翻译的格式(比如使用 po4a::pod 的 POD,或者"
"像 SGML 这样的 XML 家族之一),但是多亏了 po4a::man,它不再需要了。也就是说,"
"如果您的文档的源格式是 POD 或 XML,那么转换源格式而不是这个生成的格式可能更聪"
"明。在大多数情况下,po4a::man 将检测生成的页面并发出警告。它甚至会拒绝处理 "
"POD 生成的页面,因为这些页面由 po4a::pod 完美地处理,而且它们的 nroff 对应项"
"定义了许多我不想编写支持的新宏。在我的机器上,4323 个页面中的 1432 个是从 "
"POD 生成的,将被 po4a::man 忽略。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:95
msgid ""
"In most cases, po4a::man will detect the problem and refuse to process the "
"page, issuing an adapted message. In some rare cases, the program will "
"complete without warning, but the output will be wrong. Such cases are "
"called \"bugs\" ;) If you encounter such case, be sure to report this, along "
"with a fix when possible…"
msgstr ""
"在大多数情况下, po4a::man 会发现问题并拒绝处理页面,发出一个适应的消息。在一"
"些罕见的情况下,程序将没有警告完成,但输出将是错误的。这种情况称为 \"bugs\";"
"如果遇到这种情况,请务必报告此情况,并在可能时进行修复…"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:97
msgid "This module can be used for most of the existing man pages."
msgstr "此模块可用于大多数现有手册页。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:98
msgid "Some tests are regularly run on Linux boxes:"
msgstr "一些测试定期在 Linux 机器上运行:"
#. type: =item
#: lib/Locale/Po4a/Man.pm:99 lib/Locale/Po4a/Man.pm:101
#: lib/Locale/Po4a/Man.pm:103 lib/Locale/Po4a/Man.pm:105
#: lib/Locale/Po4a/Sgml.pm:36 lib/Locale/Po4a/Sgml.pm:42
#: lib/Locale/Po4a/Sgml.pm:45 lib/Locale/Po4a/Sgml.pm:49
msgid "*"
msgstr "*"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:100
msgid ""
"one third of the pages are refused because they were generated from another "
"format supported by po4a (e.g. POD or SGML)."
msgstr ""
"三分之一的页面被拒绝,因为它们是从 po4a 支持的另一种格式 (例如 POD 或 SGML) "
"生成的。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:102
msgid ""
"10% of the remaining pages are rejected with an error (e.g. a groff macro is "
"not supported)."
msgstr "10% 的剩余页面因错误而被拒绝(例如,不支持 groff 宏)。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:104
msgid ""
"Then, less than 1% of the pages are accepted silently by po4a, but with "
"significant issues (i.e. missing words, or new words inserted)"
msgstr ""
"然后,只有不到 1% 的页面被 po4a 静默接受,但存在重大问题 (即丢失单词或插入新"
"词)"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:106
msgid ""
"The other pages are usually handled without differences more important than "
"spacing differences or line rewrapped (font issues in less than 10% of the "
"processed pages)."
msgstr ""
"处理其他页面时通常没有比间距差异或换行更重要的差异 (只有不到 10% 的已处理页面"
"出现字体问题)。"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:108
msgid ""
"L<Locale::Po4a::Pod(3pm)>, L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|"
"po4a.7>"
msgstr ""
"L<Locale::Po4a::Pod(3pm)>, L<Locale::Po4a::TransTractor(3pm)>, L<po4a(7)|"
"po4a.7>"
#. type: textblock
#: lib/Locale/Po4a/Man.pm:112
msgid "Copyright © 2002-2008 SPI, Inc."
msgstr "版权所有 © 2002-2008 SPI, Inc."
#. type: textblock
#: lib/Locale/Po4a/Po.pm:2
msgid "Locale::Po4a::Po - PO file manipulation module"
msgstr "Locale::Po4a::Po - PO 文件操作模块"
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:4
#, no-wrap
msgid ""
" use Locale::Po4a::Po;\n"
" my $pofile=Locale::Po4a::Po->new();\n"
"\n"
msgstr ""
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:5
#, no-wrap
msgid ""
" # Read PO file\n"
" $pofile->read('file.po');\n"
"\n"
msgstr ""
" # 读取 PO 文件\n"
" $pofile->read('file.po');\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:6
#, no-wrap
msgid ""
" # Add an entry\n"
" $pofile->push('msgid' => 'Hello', 'msgstr' => 'bonjour',\n"
" 'flags' => \"wrap\", 'reference'=>'file.c:46');\n"
"\n"
msgstr ""
" # 添加条目\n"
" $pofile->push('msgid' => 'Hello', 'msgstr' => '你好',\n"
" 'flags' => \"wrap\", 'reference'=>'file.c:46');\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:7
#, no-wrap
msgid ""
" # Extract a translation\n"
" $pofile->gettext(\"Hello\"); # returns 'bonjour'\n"
"\n"
msgstr ""
" # 提取翻译\n"
" $pofile->gettext(\"Hello\"); # 返回 'bonjour'\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:8
#, no-wrap
msgid ""
" # Write back to a file\n"
" $pofile->write('otherfile.po');\n"
"\n"
msgstr ""
" # 写回文件\n"
" $pofile->write('otherfile.po');\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:10
msgid ""
"Locale::Po4a::Po is a module that allows you to manipulate message catalogs. "
"You can load and write from/to a file (which extension is often I<po>), you "
"can build new entries on the fly or request for the translation of a string."
msgstr ""
"Locale::Po4a::Po 是一个允许您操作消息目录的模块。您可以从/向文件 (其扩展名通"
"常是 I<po>) 加载和写入,您可以动态构建新条目或请求字符串翻译。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:11
msgid ""
"For a more complete description of message catalogs in the PO format and "
"their use, please refer to the info documentation of the gettext program "
"(node \"`PO Files\"')."
msgstr ""
"有关 PO 格式的消息目录及其使用的更完整说明,请参阅 gettext 程序(节点\"'PO 文"
"件\"')的信息文档。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:12
msgid ""
"This module is part of the po4a project, which objective is to use PO files "
"(designed at origin to ease the translation of program messages) to "
"translate everything, including documentation (man page, info manual), "
"package description, debconf templates, and everything which may benefit "
"from this."
msgstr ""
"此模块是 po4a 项目的一部分,该项目的目标是使用 PO 文件(在原始位置设计用于简化"
"程序消息的翻译)来翻译所有内容,包括文档(手册页、信息手册)、软件包说明、"
"debconf 模板以及可能从中受益的所有内容。"
#. type: =head1
#: lib/Locale/Po4a/Po.pm:28
msgid "Functions concerning entire message catalogs"
msgstr "有关整个消息目录的函数"
#. type: =item
#: lib/Locale/Po4a/Po.pm:29
msgid "new()"
msgstr "new()"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:30
msgid ""
"Creates a new message catalog. If an argument is provided, it's the name of "
"a PO file we should load."
msgstr "创建新的消息目录。如果提供了参数,则它是我们应该加载的 PO 文件的名称。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:31
msgid "read($)"
msgstr "read($)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:32
msgid ""
"Reads a PO file (which name is given as argument). Previously existing "
"entries in self are not removed, the new ones are added to the end of the "
"catalog."
msgstr ""
"读取 PO 文件(其名称作为参数给定)。self 中以前存在的条目不会删除,新条目会添加"
"到目录的末尾。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:33 lib/Locale/Po4a/TransTractor.pm:81
msgid "write($)"
msgstr "write($)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:34
msgid "Writes the current catalog to the given file."
msgstr "将当前目录写入给定文件。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:35
msgid "write_if_needed($$)"
msgstr "write_if_needed($$)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:36
msgid ""
"Like write, but if the PO or POT file already exists, the object will be "
"written in a temporary file which will be compared with the existing file to "
"check if the update is needed (this avoids to change a POT just to update a "
"line reference or the POT-Creation-Date field)."
msgstr ""
"与 write 类似,但如果 PO 或 POT 文件已经存在,则对象将被写入临时文件中,该临"
"时文件将与现有文件进行比较,以检查是否需要更新 (这避免了仅仅为了更新线参考或 "
"POT-Creation-Date 字段而更改 POT)。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:37
msgid "filter($)"
msgstr "filter($)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:38
msgid ""
"This function extracts a catalog from an existing one. Only the entries "
"having a reference in the given file will be placed in the resulting catalog."
msgstr ""
"此函数用于从现有目录中提取目录。只有在给定文件中有引用的条目才会放入结果目录"
"中。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:39
msgid ""
"This function parses its argument, converts it to a Perl function "
"definition, evals this definition and filters the fields for which this "
"function returns true."
msgstr ""
"该函数解析其参数,将其转换为 Perl 函数定义,计算该定义的值,并筛选该函数返回 "
"true 的字段。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:40
msgid "I love Perl sometimes ;)"
msgstr "我有时喜欢 Perl ;)"
#. type: =head1
#: lib/Locale/Po4a/Po.pm:41
msgid "Functions to use a message catalog for translations"
msgstr "使用消息目录进行翻译的函数"
#. type: =item
#: lib/Locale/Po4a/Po.pm:42
msgid "gettext($%)"
msgstr "gettext($%)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:43
msgid ""
"Request the translation of the string given as argument in the current "
"catalog. The function returns the original (untranslated) string if the "
"string was not found."
msgstr ""
"请求翻译当前目录中作为参数给定的字符串。如果未找到原始 (未翻译) 字符串,该函"
"数将返回该字符串。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:44
msgid ""
"After the string to translate, you can pass a hash of extra arguments. Here "
"are the valid entries:"
msgstr "在要转换的字符串之后,可以传递一组额外的参数。以下是有效的条目:"
#. type: =item
#: lib/Locale/Po4a/Po.pm:45 lib/Locale/Po4a/Po.pm:75
#: lib/Locale/Po4a/TransTractor.pm:122 lib/Locale/Po4a/Xml.pm:14
msgid "B<wrap>"
msgstr "B<wrap>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:46
msgid ""
"boolean indicating whether we can consider that whitespaces in string are "
"not important. If yes, the function canonizes the string before looking for "
"a translation, and wraps the result."
msgstr ""
"指示我们是否可以认为字符串中的空格不重要的布尔值。如果是,则该函数在查找翻译"
"之前对字符串进行规范化,并对结果进行封装。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:47 lib/Locale/Po4a/Po.pm:78
#: lib/Locale/Po4a/TransTractor.pm:124
msgid "B<wrapcol>"
msgstr "B<wrapcol>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:48
msgid "the column at which we should wrap (default: 76)."
msgstr "我们应该换行的列 (默认值:76)。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:49
msgid "stats_get()"
msgstr "stats_get()"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:50
msgid ""
"Returns statistics about the hit ratio of gettext since the last time that "
"stats_clear() was called. Please note that it's not the same statistics than "
"the one printed by msgfmt --statistic. Here, it's statistics about recent "
"usage of the PO file, while msgfmt reports the status of the file. Example "
"of use:"
msgstr ""
"返回自上次调用 stats_clear() 以来 gettext 命中率的统计信息。请注意,它与 "
"msgfmt --statistic 打印的统计数据不同。这里,它是关于 PO 文件最近使用情况的统"
"计信息,而 msgfmt 报告文件的状态。使用示例:"
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:51
#, no-wrap
msgid ""
" [some use of the PO file to translate stuff]\n"
"\n"
msgstr ""
" [使用 PO 文件翻译内容]\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Po.pm:52
#, no-wrap
msgid ""
" ($percent,$hit,$queries) = $pofile->stats_get();\n"
" print \"So far, we found translations for $percent\\% ($hit of $queries) of strings.\\n\";\n"
"\n"
msgstr ""
" ($percent,$hit,$queries) = $pofile->stats_get();\n"
" print \"So far, we found translations for $percent\\% ($hit of $queries) of strings.\\n\";\n"
"\n"
#. type: =item
#: lib/Locale/Po4a/Po.pm:53
msgid "stats_clear()"
msgstr "stats_clear()"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:54
msgid "Clears the statistics about gettext hits."
msgstr "清除有关 gettext 命中的统计信息。"
#. type: =head1
#: lib/Locale/Po4a/Po.pm:55
msgid "Functions to build a message catalog"
msgstr "用于构建消息目录的函数"
#. type: =item
#: lib/Locale/Po4a/Po.pm:56
msgid "push(%)"
msgstr "push(%)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:57
msgid ""
"Push a new entry at the end of the current catalog. The arguments should "
"form a hash table. The valid keys are:"
msgstr "在当前目录的末尾推送新条目。参数应形成哈希表。有效密钥为:"
#. type: =item
#: lib/Locale/Po4a/Po.pm:58
msgid "B<msgid>"
msgstr "B<msgid>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:59
msgid "the string in original language."
msgstr "原始语言的字符串。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:60
msgid "B<msgstr>"
msgstr "B<msgstr>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:61
msgid "the translation."
msgstr "翻译。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:62
msgid "B<reference>"
msgstr "B<reference>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:63
msgid ""
"an indication of where this string was found. Example: file.c:46 (meaning in "
"'file.c' at line 46). It can be a space-separated list in case of multiple "
"occurrences."
msgstr ""
"指示找到此字符串的地点。示例:file.c:46(意思是在第 46 行的 'file.c' 中)。它可"
"以是空格分隔列表,以防发生多次。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:64 lib/Locale/Po4a/TransTractor.pm:127
msgid "B<comment>"
msgstr "B<comment>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:65
msgid ""
"a comment added here manually (by the translators). The format here is free."
msgstr "此处手动添加的评论(由翻译人员)。此处的格式是免费的。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:66
msgid "B<automatic>"
msgstr "B<automatic>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:67
msgid ""
"a comment which was automatically added by the string extraction program. "
"See the B<--add-comments> option of the B<xgettext> program for more "
"information."
msgstr ""
"由字符串提取程序自动添加的注释。有关详细信息,请参阅 B<--add-comments> 程序"
"的 B<xgettext> 选项。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:68
msgid "B<flags>"
msgstr "B<flags>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:69
msgid "space-separated list of all defined flags for this entry."
msgstr "此条目的所有已定义标志的以空格分隔的列表。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:70
msgid ""
"Valid flags are: B<c-text>, B<python-text>, B<lisp-text>, B<elisp-text>, "
"B<librep-text>, B<smalltalk-text>, B<java-text>, B<awk-text>, B<object-"
"pascal-text>, B<ycp-text>, B<tcl-text>, B<wrap>, B<no-wrap> and B<fuzzy>."
msgstr ""
"有效标志为: B<c-text>, B<python-text>, B<lisp-text>, B<elisp-text>, "
"B<librep-text>, B<smalltalk-text>, B<java-text>, B<awk-text>, B<object-"
"pascal-text>, B<ycp-text>, B<tcl-text>, B<wrap>, B<no-wrap> 和 B<fuzzy>."
#. type: textblock
#: lib/Locale/Po4a/Po.pm:71
msgid "See the gettext documentation for their meaning."
msgstr "有关它们的含义,请参阅 gettext 文档。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:72
msgid "B<type>"
msgstr "B<type>"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:73
msgid ""
"this is mostly an internal argument: it is used while gettextizing "
"documents. The idea here is to parse both the original and the translation "
"into a PO object, and merge them, using one's msgid as msgid and the other's "
"msgid as msgstr. To make sure that things get ok, each msgid in PO objects "
"are given a type, based on their structure (like \"chapt\", \"sect1\", \"p\" "
"and so on in DocBook). If the types of strings are not the same, that means "
"that both files do not share the same structure, and the process reports an "
"error."
msgstr ""
"这主要是一个内部参数:它是在对文档进行获取文本化时使用的。这里的想法是将原始"
"和翻译都解析成 PO 对象,并将它们合并,使用一个的 msgid 作为 msgid,使用另一个"
"的 msgid 作为 msgstr。为了确保一切正常,PO 对象中的每个 msgid 都根据它们的结"
"构 (就像 DocBook 中的 \"chapt\"、\"sect1\"、\"p\" 等)被赋予一个类型。如果字符"
"串类型不同,则意味着两个文件不共享相同的结构,并且该过程会报告错误。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:74
msgid ""
"This information is written as automatic comment in the PO file since this "
"gives to translators some context about the strings to translate."
msgstr ""
"此信息在 PO 文件中作为自动注释写入,因为这为翻译人员提供了有关要翻译的字符串"
"的一些上下文。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:76
msgid ""
"boolean indicating whether whitespaces can be mangled in cosmetic "
"reformattings. If true, the string is canonized before use."
msgstr ""
"指示在外观中是否可以损坏空格的布尔值。如果为 true,则字符串在使用之前被规范"
"化。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:77
msgid ""
"This information is written to the PO file using the B<wrap> or B<no-wrap> "
"flag."
msgstr "此信息使用 B<wrap> 或 B<no-wrap> 标志写入 PO 文件。"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:79
msgid "ignored; the key is kept for backward computability."
msgstr ""
#. type: =head1
#: lib/Locale/Po4a/Po.pm:80
msgid "Miscellaneous functions"
msgstr "其他功能"
#. type: =item
#: lib/Locale/Po4a/Po.pm:81
msgid "count_entries()"
msgstr "count_entries()"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:82
msgid "Returns the number of entries in the catalog (without the header)."
msgstr "返回目录中的条目数 (不带标题)。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:83
msgid "count_entries_doc()"
msgstr "count_entries_doc()"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:84
msgid ""
"Returns the number of entries in document. If a string appears multiple "
"times in the document, it will be counted multiple times."
msgstr ""
"返回文档中的条目数。如果一个字符串在文档中出现多次,则会对其进行多次计数。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:85
msgid "msgid($)"
msgstr "msgid($)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:86
msgid "Returns the msgid of the given number."
msgstr "返回给定数字的 msgid。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:87
msgid "msgid_doc($)"
msgstr "msgid_doc($)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:88
msgid "Returns the msgid with the given position in the document."
msgstr "返回文档中具有给定位置的 msgid。"
#. type: =item
#: lib/Locale/Po4a/Po.pm:89
#, fuzzy
#| msgid "msgid_doc($)"
msgid "type_doc($)"
msgstr "msgid_doc($)"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:90
msgid ""
"Returns the type of the msgid with the given position in the document. This "
"is probably only useful to gettextization, and it's stored separately from "
"{$msgid}{'type'} because the later location may be overwritten by another "
"type when the $msgid is duplicated in the master document."
msgstr ""
#. type: =item
#: lib/Locale/Po4a/Po.pm:91
msgid "get_charset()"
msgstr "get_charset()"
#. type: textblock
#: lib/Locale/Po4a/Po.pm:92
msgid ""
"Returns the character set specified in the PO header. If it hasn't been set, "
"it will return \"UTF-8\"."
msgstr "返回 PO 标头中指定的字符集。如果没有设置,则返回 \"UTF-8\"。"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:2
msgid "Locale::Po4a::Pod - convert POD data from/to PO files"
msgstr "Locale::Po4a::Pod - 将 POD 数据从/转换为 PO 文件"
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:4
#, no-wrap
msgid ""
" use Locale::Po4a::Pod;\n"
" my $parser = Locale::Po4a::Pod->new();\n"
"\n"
msgstr ""
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:5
#, no-wrap
msgid ""
" # Read POD from STDIN and write to STDOUT.\n"
" $parser->parse_from_filehandle;\n"
"\n"
msgstr ""
" # 从标准输入读取 POD 并写入标准输出。\n"
" $parser->parse_from_filehandle;\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:6
#, no-wrap
msgid ""
" # Read POD from file.pod and write to file.txt.\n"
" $parser->parse_from_file ('file.pod', 'file.txt');\n"
"\n"
msgstr ""
" # 从 file.pod 读取 POD 并写入 file.txt。\n"
" $parser->parse_from_file ('file.pod', 'file.txt');\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:8
msgid ""
"Locale::Po4a::Pod is a module to help the translation of documentation in "
"the POD format (the preferred language for documenting Perl) into other "
"[human] languages."
msgstr ""
"Locale::Po4a::Pod 是一个模块,用于帮助将 POD 格式(编写 Perl 文档的首选语言)的"
"文档翻译成其他 [人类] 语言。"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:10
msgid ""
"I think that this module is rock stable, and there is only one known bug "
"with F</usr/lib/perl5/Tk/MainWindow.pod> (and some other pages, see below) "
"which contains:"
msgstr ""
"我认为这个模块非常稳定,F</usr/lib/perl5/tk/MainWindow.pod> (以及其他一些页"
"面,见下文)中只有一个已知的 bug:"
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:11
#, no-wrap
msgid ""
" C<\" #n\">\n"
"\n"
msgstr ""
" C<\" #n\">\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:12
#, fuzzy
#| msgid ""
#| "Lack of luck, in the po4a version, this was split on the space by the "
#| "wrapping. As result, in the original version, the man page contains"
msgid ""
"Lack of luck, in the po4a version, this was split on the space by the "
"wrapping. As result, in the original version, the man page contains:"
msgstr ""
"运气不佳,在 po4a 版本中,这是通过封装在空间上分开的。因此,在原始版本中,手"
"册页包含"
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:13
#, no-wrap
msgid ""
" \" #n\"\n"
"\n"
msgstr ""
" \" #n\"\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:14
#, fuzzy
#| msgid "and mine contains"
msgid "and mine contains:"
msgstr "而我的则包含"
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:15
#, no-wrap
msgid ""
" \"\" #n\"\"\n"
"\n"
msgstr ""
" \"\" #n\"\"\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:16
msgid "which is logic since CE<lt>foobarE<gt> is rewritten \"foobar\"."
msgstr "这是因为 CE<lt>foobarE<gt> 被重写为 \"foobar\" 的逻辑。"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:17
msgid ""
"Complete list of pages having this problem on my box (from 564 pages; note "
"that it depends on the chosen wrapping column):"
msgstr ""
#. type: verbatim
#: lib/Locale/Po4a/Pod.pm:18
#, fuzzy, no-wrap
#| msgid "Complete list of pages having this problem on my box (from 564 pages; note that it depends on the chosen wrapping column): /usr/lib/perl5/Tk/MainWindow.pod /usr/share/perl/5.8.0/overload.pod /usr/share/perl/5.8.0/pod/perlapi.pod /usr/share/perl/5.8.0/pod/perldelta.pod /usr/share/perl/5.8.0/pod/perlfaq5.pod /usr/share/perl/5.8.0/pod/perlpod.pod /usr/share/perl/5.8.0/pod/perlre.pod /usr/share/perl/5.8.0/pod/perlretut.pod"
msgid ""
" /usr/lib/perl5/Tk/MainWindow.pod\n"
" /usr/share/perl/5.8.0/overload.pod\n"
" /usr/share/perl/5.8.0/pod/perlapi.pod\n"
" /usr/share/perl/5.8.0/pod/perldelta.pod\n"
" /usr/share/perl/5.8.0/pod/perlfaq5.pod\n"
" /usr/share/perl/5.8.0/pod/perlpod.pod\n"
" /usr/share/perl/5.8.0/pod/perlre.pod\n"
" /usr/share/perl/5.8.0/pod/perlretut.pod\n"
"\n"
msgstr "我的框中有此问题的页面的完整列表(来自 564 页;请注意,这取决于所选的换行列):/usr/lib/perl5/Tk/MainWindow.pod /usr/share/perl/5.8.0/overload.pod /usr/share/perl/5.8.0/pod/perlapi.pod /usr/share/perl/5.8.0/pod/perldelta.pod /usr/share/perl/5.8.0/pod/perlfaq5.pod /usr/share/perl/5.8.0/pod/perlpod.pod /usr/share/perl/5.8.0/pod/perlre.pod /usr/share/perl/5.8.0/pod/perlretut.pod"
#. type: =head1
#: lib/Locale/Po4a/Pod.pm:19
msgid "INTERNALS"
msgstr "内件"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:20
msgid ""
"As a derived class from Pod::Parser, Locale::Po4a::Pod supports the same "
"methods and interfaces. See L<Pod::Parser> for all the details; briefly, "
"one creates a new parser with C<< Locale::Po4a::Pod->new() >> and then calls "
"either parse_from_filehandle() or parse_from_file()."
msgstr ""
"作为 Pod::Parser 的派生类,Locale::Po4a::Pod 支持相同的方法和接口。有关所有细"
"节,请参见 L<Pod::Parser>;简而言之,使用 C<< Locale::Po4a::Pod->new() >> 创"
"建一个新的解析器,然后调用 parse_from_filehandle() 或 parse_from_file()。"
#. type: textblock
#: lib/Locale/Po4a/Pod.pm:22
msgid ""
"L<Pod::Parser>, L<Locale::Po4a::Man(3pm)>, L<Locale::Po4a::"
"TransTractor(3pm)>, L<po4a(7)|po4a.7>"
msgstr ""
"L<Pod::Parser>, L<Locale::Po4a::Man(3pm)>, L<Locale::Po4a::"
"TransTractor(3pm)>, L<po4a(7)|po4a.7>"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:2
msgid "Locale::Po4a::RubyDoc -- Convert Ruby Document data from/to PO files"
msgstr "Locale::Po4a::RubyDoc - - 将 Ruby 文档数据从 PO 文件转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:5
msgid ""
"Locale::Po4a::RubyDoc is a module to help the translation of documentation "
"in the Ruby Document (RD) format (a language used to document Ruby) into "
"other [human] languages."
msgstr ""
"Locale::Po4a::RubyDoc 是一个帮助将 Ruby 文档 (RD) 格式(一种用于记录 Ruby 的语"
"言) 格式的文档翻译成其他[人类]语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:7
msgid ""
"This module has been successfully tested on simple Ruby Document files "
"covering a good part of the format syntax."
msgstr ""
"该模块已经在简单的 Ruby 文档文件上成功测试,该文件涵盖了格式语法的很大一部"
"分。"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:8
msgid ""
"A known limitation is that it fails to properly recognize the stacked "
"structure of input Ruby Document: this implies that when, for instance, an "
"EnumListItem consists of more than one Block, only the first Block is "
"actually recognized as EnumListItem, while the subsequent ones are "
"considered just as TextBlocks..."
msgstr ""
"一个已知的限制是它无法正确识别输入 Ruby 文档的堆叠结构:这意味着,例如,当一"
"个 EnumListItem 由多个 Block 组成时,只有第一个 Block 实际上被识别为 "
"EnumListItem,而后续的块被视为TextBlock..."
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:10
msgid "This module supports the following option:"
msgstr "此模块支持以下选项:"
#. type: =item
#: lib/Locale/Po4a/RubyDoc.pm:11
msgid "B<puredoc>"
msgstr "B<puredoc>"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:12
msgid ""
"Handle files entirely made of Ruby Document formatted text (without any "
"\"=begin\" line)."
msgstr "处理完全由 Ruby 文档格式的文本组成的文件(没有任何 \"=begin\" 行)。"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:13
msgid ""
"By default, this module only handles Ruby Document formatted text between "
"\"=begin\" and \"=end\" lines (hence ignoring, among other things, "
"everything that precedes the first \"=begin\" line)."
msgstr ""
"默认情况下,该模块只处理 \"=begin\" 和 \"=end\" 行之间的 Ruby 文档格式的文本"
"(因此忽略第一行 \"=begin\" 之前的所有内容)。"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:15
msgid "L<Locale::Po4a::TransTractor(3pm)>"
msgstr "L<Locale::Po4a::TransTractor(3pm)>"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:17
msgid "Francesco Poli <invernomuto@paranoici.org>"
msgstr "Francesco Poli <invernomuto@paranoici.org>"
#. type: verbatim
#: lib/Locale/Po4a/RubyDoc.pm:19
#, no-wrap
msgid ""
" Copyright © 2016-2017 Francesco Poli <invernomuto@paranoici.org>\n"
"\n"
msgstr ""
" 版权所有©2016-2017 Francesco Poli<wintermuto@paranoic.org>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:20
msgid ""
"This work is free software; you can redistribute it and/or modify it under "
"the terms of the GNU General Public License as published by the Free "
"Software Foundation; either version 2 of the License, or (at your option) "
"any later version."
msgstr ""
"本作品是自由软件;您可以根据自由软件基金会发布的 GNU 通用公共许可证的条款重新"
"分发和/或修改它;可以是许可证的版本 2,也可以是(根据您的选择)任何更高版本。"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:21
msgid ""
"This work is distributed in the hope that it will be useful, but WITHOUT ANY "
"WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS "
"FOR A PARTICULAR PURPOSE. See the GNU General Public License for more "
"details."
msgstr ""
"分发这项工作的目的是希望它有用,但没有任何担保;甚至没有对适销性或是否适合特"
"定目的的默示担保。有关详细信息,请参阅 GNU 通用公共许可证。"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:22
msgid ""
"You should have received a copy of the GNU General Public License along with "
"this work; if not, write to the Free Software Foundation, Inc., 51 Franklin "
"Street, Fifth Floor, Boston, MA 02110-1301 USA."
msgstr ""
"您应该已经收到了 GNU 通用公共许可证的副本;如果没有,请写信给自由软件基金会,"
"Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:23
msgid ""
"Parts of the code (such as many regular expressions) were adapted from the "
"source of rdtool, under the terms of the GNU General Public License, version "
"2 or later. These parts are originally:"
msgstr ""
"根据 GNU 通用公共许可证版本 2 或更高版本的条款,部分代码(如许多正则表达式)改"
"编自 rdTool 的源代码。这些部分最初是:"
#. type: verbatim
#: lib/Locale/Po4a/RubyDoc.pm:24
#, no-wrap
msgid ""
" Copyright © 2004 MoonWolf <moonwolf@moonwolf.com>\n"
" Copyright © 2011-2012 Youhei SASAKI <uwabami@gfd-dennou.org>\n"
"\n"
msgstr ""
" 版权所有©2004 Moonwolf <moonwolf@moonwolf.com>\n"
"版权所有©2011-2012 Youhei SASAKI <uwabami@gfd-dennou.org>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/RubyDoc.pm:25
msgid ""
"The initialize code was adapted from the source of Locale::Po4a::Text, under "
"the terms of the GNU General Public License, version 2 or later. This code "
"was originally:"
msgstr ""
"根据 GNU 通用公共许可证版本 2 或更高版本的条款,从 Locale::Po4a::Text 的源代"
"码改编了初始化代码。此代码最初是:"
#. type: verbatim
#: lib/Locale/Po4a/RubyDoc.pm:26
#, no-wrap
msgid ""
" Copyright © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" 版权所有 © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:2
msgid "Locale::Po4a::Sgml - convert SGML documents from/to PO files"
msgstr "Locale::Po4a::Sgml - 将 SGML 文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:5
msgid ""
"Locale::Po4a::Sgml is a module to help the translation of documentation in "
"the SGML format into other [human] languages."
msgstr ""
"Locale::Po4a::Sgml 是一个帮助将 SGML 格式的文档翻译成其他 [人类] 语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:6
msgid ""
"This module uses B<onsgmls>(1) to parse the SGML files. Make sure it is "
"installed. Also make sure that the DTD of the SGML files are installed in "
"the system."
msgstr ""
"本模块使用 B<onsgmls>(1) 解析 SGML 文件。确保它已安装。还要确保 SGML 文件的 "
"DTD 已安装在系统中。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:9
#, fuzzy
#| msgid ""
#| "Space separated list of keywords indicating which part you want to debug. "
#| "Possible values are: tag, generic, entities and refs."
msgid ""
"Space-separated list of keywords indicating which category of extra debug "
"messages should be shown. Possible values are: C<entities>, C<generic>, "
"C<onsgml>, C<refs> and C<tag>."
msgstr ""
"空格分隔的关键字列表,指示要调试的部件。可能的值有:标记、类属、图元和参照。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:11
msgid "Give more information about what's going on."
msgstr "给出更多关于正在发生的事情的信息。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:12 lib/Locale/Po4a/TeX.pm:60
msgid "B<translate>"
msgstr "B<translate>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:13
#, fuzzy
#| msgid ""
#| "Space separated list of extra tags (beside the DTD provided ones) whose "
#| "content should form an extra msgid."
msgid ""
"Space-separated list of extra tags (beside the DTD provided ones) whose "
"content should form an extra msgid, i.e that should be translated."
msgstr ""
"空格分隔的额外标记列表 (除了 DTD 提供的标记之外),其内容应形成额外的 msgid。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:14
msgid "B<section>"
msgstr "B<section>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:15
#, fuzzy
#| msgid ""
#| "Space separated list of extra tags (beside the DTD provided ones) "
#| "containing other tags, some of them being of category B<translate>."
msgid ""
"Space-separated list of extra tags (beside the DTD provided ones) "
"containing other tags, some of them being of category B<translate>."
msgstr ""
"空格分隔的包含其他标记的额外标记列表 (除了 DTD 提供的标记之外),其中一些标记"
"属于 B<translate> 类别。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:16
msgid "B<indent>"
msgstr "B<indent>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:17
#, fuzzy
#| msgid "Space separated list of tags which increase the indentation level."
msgid ""
"Space-separated list of tags which increase the indentation level. This will "
"affect the identation in the resulting document."
msgstr "增加缩进级别的以空格分隔的标记列表。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:18 lib/Locale/Po4a/TeX.pm:23
#: lib/Locale/Po4a/Text.pm:19
msgid "B<verbatim>"
msgstr "B<verbatim>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:19
msgid ""
"The layout within those tags should not be changed. The paragraph won't get "
"wrapped, and no extra indentation space or new line will be added for "
"cosmetic purpose."
msgstr ""
"这些标签内的布局不应更改。段落不会换行,也不会添加额外的缩进空间或新行用于修"
"饰。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:20
msgid "B<empty>"
msgstr "B<empty>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:21
msgid "Tags not needing to be closed."
msgstr "标签不需要关闭。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:22
msgid "B<ignore>"
msgstr "B<ignore>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:23
#, fuzzy
#| msgid ""
#| "Tags ignored and considered as plain char data by po4a. That is to say "
#| "that they can be part of an msgid. For example, E<lt>bE<gt> is a good "
#| "candidate for this category since putting it in the translate section "
#| "would create msgids not being whole sentences, which is bad."
msgid ""
"Tags ignored and considered as plain char data by po4a. That is to say that "
"they can be part of an msgid. For example, E<lt>bE<gt> is a good candidate "
"for this category since putting it in the B<translate> section would create "
"a msgids with only its content, (and it's ususally not a whole sentence), "
"which is bad."
msgstr ""
"标签被 po4a 忽略并视为纯字符数据。也就是说,它们可以是 msgid 的一部分。例如,"
"E<lt>bE<gt> 是此类别的一个很好的候选者,因为将其放入翻译部分会创建不是完整句"
"子的 msgid,这是不好的。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:24 lib/Locale/Po4a/Xml.pm:48
msgid "B<attributes>"
msgstr "B<attributes>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:25
#, fuzzy
#| msgid ""
#| "A space separated list of attributes that need to be translated. You can "
#| "specify the attributes by their name (for example, \"lang\"), but you can "
#| "also prefix it with a tag hierarchy, to specify that this attribute will "
#| "only be translated when it is into the specified tag. For example: "
#| "E<lt>bbbE<gt>E<lt>aaaE<gt>lang specifies that the lang attribute will "
#| "only be translated if it is in an E<lt>aaaE<gt> tag, which is in a "
#| "E<lt>bbbE<gt> tag. The tag names are actually regular expressions so you "
#| "can also write things like E<lt>aaa|bbbbE<gt>lang to only translate lang "
#| "attributes that are in an E<lt>aaaE<gt> or a E<lt>bbbE<gt> tag."
msgid ""
"A space-separated list of attributes that need to be translated. You can "
"specify the attributes by their name (for example, C<lang>), but you can "
"also prefix it with a tag hierarchy, to specify that this attribute will "
"only be translated when it is into the specified tag. For example: C<< "
"<bbb><aaa>lang >> specifies that the lang attribute will only be translated "
"if it is in an C<< <aaa> >> tag, which is in a C<< <bbb> >> tag. The tag "
"names are actually regular expressions so you can also write things like C<< "
"<aaa|bbb>lang >> to only translate C<lang> attributes that are in an C<< "
"<aaa> >> or a C<< <bbb> >> tag."
msgstr ""
"需要转换的属性的空格分隔列表。您可以按属性的名称指定属性(例如,\"lang\"(语"
"言)),但也可以在其前面加上标记层次结构,以指定此属性仅在转换为指定的标记时才"
"会被转换。例如:E<lt>bbbE<gt>E<lt>aaaE<gt> lang 指定只有当 lang 属性在 "
"E<lt>aaaE<gt> 标记中(该标记在 E<lt>bbbE<gt> 标记中)时,lang 属性才会被转换。"
"标记名称实际上是正则表达式,因此您还可以编写类似 E<lt>aaa|bbbbE<gt> lang 这样"
"的内容,以便仅转换 E<lt>aaaE<gt> 或 E<lt>bbbE<gt> 标记中的 lang 属性。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:26
msgid "B<qualify>"
msgstr "B<qualify>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:27
#, fuzzy
#| msgid ""
#| "A space separated list of attributes for which the translation must be "
#| "qualified by the attribute name. Note that this setting automatically "
#| "adds the given attribute into the 'attributes' list too."
msgid ""
"A space-separated list of attributes for which the translation must be "
"qualified by the attribute name, i.e. the text extracted for the "
"transalation will include both the attributes name and it's value. e.g. for "
"a tag like C<< <aaa lang_en=\"foo\"> >> translators will be presented with "
"the string C<lang_en=\"foo\">. Note that this also automatically adds the "
"given attribute into the B<attributes> list too."
msgstr ""
"翻译必须由属性名称限定的属性的空格分隔列表。请注意,此设置会自动将给定属性添"
"加到\"属性\"列表中。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:28
msgid "B<force>"
msgstr "B<force>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:29
#, fuzzy
#| msgid ""
#| "Proceed even if the DTD is unknown or if onsgmls finds errors in the "
#| "input file."
msgid ""
"Proceed even if the DTD is unknown or if B<onsgmls> finds errors in the "
"input file."
msgstr "即使 DTD 未知或 onsgmls 在输入文件中发现错误,也要继续。"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:30
msgid "B<include-all>"
msgstr "B<include-all>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:31
#, fuzzy
#| msgid ""
#| "By default, msgids containing only one entity (like '&version;') are "
#| "skipped for the translator comfort. Activating this option prevents this "
#| "optimisation. It can be useful if the document contains a construction "
#| "like \"<title>Á</title>\", even if I doubt such things to ever "
#| "happen..."
msgid ""
"By default, msgids containing only one entity (like C<&version;>) are "
"skipped for the translators' comfort. Activating this option prevents this "
"optimisation. It can be useful if the document contains a construction like "
"C<< <title>Á</title> >>, even if I doubt such things to ever happen..."
msgstr ""
"默认情况下,仅包含一个实体(如 '&version;')的 msgid 会被跳过,以方便翻译人员使"
"用。激活此选项可阻止此优化。如果文档包含像 \"<title>Á</title>\" 这样的"
"结构,那么它可能会很有用,即使我怀疑这样的事情是否会发生……"
#. type: =item
#: lib/Locale/Po4a/Sgml.pm:32
msgid "B<ignore-inclusion>"
msgstr "B<ignore-inclusion>"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:33
#, fuzzy
#| msgid ""
#| "Space separated list of entities that won't be inlined. Use this option "
#| "with caution: it may cause onsgmls (used internally) to add tags and "
#| "render the output document invalid."
msgid ""
"Space-separated list of entities that won't be inlined. Use this option "
"with caution: it may cause B<onsgmls> (used internally) to add tags and "
"render the output document invalid."
msgstr ""
"不会内联的实体的空格分隔列表。请谨慎使用此选项:它可能会导致 onsgmls (内部使"
"用) 添加标记并使输出文档无效。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:35
#, fuzzy
#| msgid ""
#| "The result is perfect. I.e., the generated documents are exactly the "
#| "same. But there are still some problems:"
msgid ""
"The result is perfect. I.e., the generated documents are exactly the same as "
"the originals. But there are still some problems:"
msgstr "结果是完美的。即生成的文档完全相同。但是仍然存在一些问题:"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:37
#, fuzzy
#| msgid ""
#| "The error output of onsgmls is redirected to /dev/null by default, which "
#| "is clearly bad. I don't know how to avoid that."
msgid ""
"The error output of B<onsgmls> is redirected to /dev/null by default, which "
"is clearly bad. I don't know how to avoid that."
msgstr ""
"默认情况下,onsgmls 的错误输出被重定向到 /dev/null,这显然是错误的。我不知道"
"如何避免这一点。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:38
#, fuzzy
#| msgid ""
#| "The problem is that I have to \"protect\" the conditional inclusions (i."
#| "e. the C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) from onsgmls. Otherwise "
#| "onsgmls eats them, and I don't know how to restore them in the final "
#| "document. To prevent that, I rewrite them to C<{PO4A-beg-foo}> and "
#| "C<{PO4A-end}>."
msgid ""
"The problem is that I have to \"protect\" the conditional inclusions (i.e. "
"the C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) from B<onsgmls>. Otherwise "
"B<onsgmls> eats them, and I don't know how to restore them in the final "
"document. To prevent that, I rewrite them to C<{PO4A-beg-foo}> and C<{PO4A-"
"end}>."
msgstr ""
"问题是我必须 \"protect\" 条件包含(即C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) "
"不受 onsgmls 的影响。否则 onsgmls 会吃掉它们,我不知道如何在最终文档中恢复它"
"们。为了防止出现这种情况,我将它们重写为 C<{PO4A-beg-foo}> 和 C<{PO4A-end}>。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:39
msgid ""
"The problem with this is that the C<{PO4A-end}> and such I add are invalid "
"in the document (not in a E<lt>pE<gt> tag or so)."
msgstr ""
"这样做的问题是,C<{PO4A-end}> 和 I 添加的内容在文档中无效(不在 E<lt>pE<gt> 标"
"记中)。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:40
#, fuzzy
#| msgid ""
#| "If you want to view the onsgmls output, just add the following to your "
#| "command line (or po4a configuration line):"
msgid ""
"If you want to view the B<onsgmls> output, just add the following to your "
"command line (or po4a configuration line):"
msgstr "如果您想查看在输出,请将以下内容添加到命令行(或 po4a 配置行):"
#. type: verbatim
#: lib/Locale/Po4a/Sgml.pm:41
#, no-wrap
msgid ""
" -o debug=onsgmls\n"
"\n"
msgstr ""
" -o debug=onsgmls\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:43
msgid ""
"It does work only with the DebianDoc and DocBook DTD. Adding support for a "
"new DTD should be very easy. The mechanism is the same for every DTD, you "
"just have to give a list of the existing tags and some of their "
"characteristics."
msgstr ""
"它只适用于 DebianDoc 和 DocBook DTD。添加对新 DTD 的支持应该非常容易。该机制"
"对于每个 DTD 都是相同的,您只需给出现有标记及其一些特征的列表。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:44
msgid ""
"I agree, this needs some more documentation, but it is still considered as "
"beta, and I hate to document stuff which may/will change."
msgstr ""
"我同意,这需要更多的文档,但它仍然被认为是测试版,我讨厌记录可能/将会改变的东"
"西。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:46
msgid ""
"Warning, support for DTDs is quite experimental. I did not read any "
"reference manual to find the definition of every tag. I did add tag "
"definition to the module 'till it works for some documents I found on the "
"net. If your document use more tags than mine, it won't work. But as I said "
"above, fixing that should be quite easy."
msgstr ""
"警告,对 DTD 的支持只是试验性的。我没有阅读任何参考手册来查找每个标签的定义。"
"我确实在模块中添加了标签定义,直到它适用于我在网上找到的一些文档。如果你的文"
"档使用的标签比我的多,它就不会起作用。但正如我上面所说的,修复这个问题应该是"
"相当容易的。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:47
msgid ""
"I did test DocBook against the SAG (System Administrator Guide) only, but "
"this document is quite big, and should use most of the DocBook specificities."
msgstr ""
"我只针对 SAG (系统管理员指南)测试了 DocBook,但是这个文档相当大,应该使用大多"
"数 DocBook 特性。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:48
msgid ""
"For DebianDoc, I tested some of the manuals from the DDP, but not all yet."
msgstr "对于 DebianDoc,我测试了 DDP 的一些手册,但还没有全部测试。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:50
msgid ""
"In case of file inclusion, string reference of messages in PO files (i.e. "
"lines like C<#: en/titletoc.sgml:9460>) will be wrong."
msgstr ""
"在包含文件的情况下,PO 文件中消息的字符串引用(即类似 C<#: en/titletoc."
"sgml:9460> 的行)将是错误的。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:51
#, fuzzy
#| msgid ""
#| "This is because I preprocess the file to protect the conditional "
#| "inclusion (i.e. the C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) and some "
#| "entities (like &version;) from onsgmls because I want them verbatim to "
#| "the generated document. For that, I make a temp copy of the input file "
#| "and do all the changes I want to this before passing it to onsgmls for "
#| "parsing."
msgid ""
"This is because I preprocess the file to protect the conditional inclusion "
"(i.e. the C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) and some entities (like "
"C<&version;>) from B<onsgmls> because I want them verbatim to the generated "
"document. For that, I make a temp copy of the input file and do all the "
"changes I want to this before passing it to B<onsgmls> for parsing."
msgstr ""
"这是因为我对文件进行了预处理,以保护条件包含 (即 C<E<lt>! [ %foo [> and "
"C<]]E<gt>> 内容) 和某些实体 (如 &version;) 不受 onsgmls 的影响,因为我希望它"
"们与生成的文档保持原样。为此,我创建了输入文件的临时副本,并在将其传递给 "
"onsgmls 进行解析之前对其进行了所有我想要的更改。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:52
msgid ""
"So that it works, I replace the entities asking for a file inclusion by the "
"content of the given file (so that I can protect what needs to be in a "
"subfile also). But nothing is done so far to correct the references (i.e., "
"filename and line number) afterward. I'm not sure what the best thing to do "
"is."
msgstr ""
"为了使其正常工作,我将请求包含文件的实体替换为给定文件的内容 (这样我也可以保"
"护子文件中需要的内容)。但是到目前为止,没有采取任何措施来纠正后面的引用 (即文"
"件名和行号)。我不确定最好的办法是什么。"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:54
msgid ""
"This module is an adapted version of sgmlspl (SGML postprocessor for the "
"ONSGMLS parser) which was:"
msgstr ""
"此模块是 sgmlspl (用于 ONSGMLS 解析器的 SGML 后处理器) 的改编版本,它是:"
#. type: verbatim
#: lib/Locale/Po4a/Sgml.pm:55
#, no-wrap
msgid ""
" Copyright © 1995 David Megginson <dmeggins@aix1.uottawa.ca>\n"
"\n"
msgstr ""
" 版权所有 © 1995 David Megginson <dmeggins@aix1.uottawa.ca>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Sgml.pm:56
msgid "The adaptation for po4a was done by:"
msgstr "对 po4a 的改编是通过以下方式完成的:"
#. type: verbatim
#: lib/Locale/Po4a/Sgml.pm:59
#, no-wrap
msgid ""
" Copyright © 1995 David Megginson <dmeggins@aix1.uottawa.ca>.\n"
" Copyright © 2002-2005 SPI, Inc.\n"
"\n"
msgstr ""
" 版权所有 © 1995 David Megginson <dmeggins@aix1.uottawa.ca>。\n"
" 版权所有 © 2002-2005 SPI, Inc.\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:2
msgid ""
"Locale::Po4a::TeX - convert TeX documents and derivatives from/to PO files"
msgstr "Locale::Po4a::TeX - 将 TeX 文档和衍生品从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:5
msgid ""
"Locale::Po4a::TeX is a module to help the translation of TeX documents into "
"other [human] languages. It can also be used as a base to build modules for "
"TeX-based documents."
msgstr ""
"Locale::Po4a::TeX 是一个帮助将 TeX 文档翻译成其他 [人类] 语言的模块。它还可以"
"用作构建基于 TeX 文档的模块的基础。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:6
msgid ""
"Users should probably use the LaTeX module, which inherits from the TeX "
"module and contains the definitions of common LaTeX commands."
msgstr ""
"用户可能应该使用 LaTeX 模块,它继承自 TeX 模块并包含常见 LaTeX 命令的定义。"
#. type: =head1
#: lib/Locale/Po4a/TeX.pm:7
msgid "TRANSLATING WITH PO4A::TEX"
msgstr "使用 PO4A::TEX 进行翻译"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:8
msgid ""
"This module can be used directly to handle generic TeX documents. This will "
"split your document in smaller blocks (paragraphs, verbatim blocks, or even "
"smaller like titles or indexes)."
msgstr ""
"此模块可直接用于处理通用 TeX 文档。这将把您的文档拆分成更小的块 (段落、逐字"
"块,甚至更小的块,如标题或索引)。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:9
msgid ""
"There are some options (described in the next section) that can customize "
"this behavior. If this doesn't fit to your document format you're "
"encouraged to write your own derivative module from this, to describe your "
"format's details. See the section B<WRITING DERIVATIVE MODULES> below, for "
"the process description."
msgstr ""
"有一些选项(将在下一节中介绍)可以自定义此行为。如果这不适合您的文档格式,我们"
"鼓励您编写自己的派生模块,以描述您的格式的详细信息。有关流程描述,请参阅下面"
"的 B<WRITING DERIVATIVE MODULES> 小节。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:10
msgid ""
"This module can also be customized by lines starting with \"% po4a:\" in the "
"TeX file. This process is described in the B<INLINE CUSTOMIZATION> section."
msgstr ""
"该模块还可以通过 TeX 文件中以 \"% po4a:\" 开头的行进行定制。此过程在 "
"B<INLINE CUSTOMIZATION> 一节中介绍。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:16
msgid "Comma-separated list of environments which should not be re-wrapped."
msgstr "不应重新封装的环境的逗号分隔列表。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:17
msgid ""
"Note that there is a difference between verbatim and no_wrap environments. "
"There is no command and comments analysis in verbatim blocks."
msgstr ""
"请注意,逐字和 no_wrap 环境之间存在差异。在逐字逐句的块中没有命令和注释分析。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:18 lib/Locale/Po4a/TeX.pm:25
#: lib/Locale/Po4a/TeX.pm:54
msgid ""
"If this environment was not already registered, po4a will consider that this "
"environment does not take any parameters."
msgstr "如果此环境尚未注册,则 po4a 将考虑此环境不会接受任何参数。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:19
msgid "B<exclude_include>"
msgstr "B<exclude_include>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:20
msgid ""
"Colon-separated list of files that should not be included by \\input and "
"\\include."
msgstr "不应由 \\input 和 \\include 包含的文件的冒号分隔列表。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:24
msgid "Comma-separated list of environments which should be taken as verbatim."
msgstr "应逐字处理的环境的逗号分隔列表。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:26
msgid ""
"Use these options to override the default behavior of the defined commands."
msgstr "使用这些选项可以替代已定义命令的默认行为。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:28
msgid ""
"The TeX module can be customized with lines starting by B<% po4a:>. These "
"lines are interpreted as commands to the parser. The following commands are "
"recognized:"
msgstr ""
"TeX 模块可以使用以 B<% po4a:> 开头的行进行自定义。这些行被解释为解析器的命"
"令。可以识别以下命令:"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:29
msgid "B<% po4a: command> I<command1> B<alias> I<command2>"
msgstr "B<% po4a: command> I<command1> B<alias> I<command2>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:30
msgid ""
"Indicates that the arguments of the I<command1> command should be treated as "
"the arguments of the I<command2> command."
msgstr "指示 I<command1> 命令的参数应作为 I<command2> 命令的参数处理。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:31
msgid "B<% po4a: command> I<command1> I<parameters>"
msgstr "B<% po4a: command> I<command1> I<parameters>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:32
msgid ""
"This describes in detail the parameters of the I<command1> command. This "
"information will be used to check the number of arguments and their types."
msgstr ""
"这详细描述了 I<command1> 命令的参数。此信息将用于检查参数的数量及其类型。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:33
msgid "You can precede the I<command1> command by"
msgstr "您可以在 I<command1> 之前加上"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:34
msgid "an asterisk (B<*>)"
msgstr "一个星号 (B<*>)"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:35
msgid ""
"po4a will extract this command from paragraphs (if it is located at the "
"beginning or the end of a paragraph). The translators will then have to "
"translate the parameters that are marked as translatable."
msgstr ""
"po4a 将从段落中提取此命令 (如果它位于段落的开头或结尾)。然后,翻译者必须翻译"
"标记为可翻译的参数。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:36
msgid "a plus (B<+>)"
msgstr "一个加号 (B<+>)"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:37
msgid ""
"As for an asterisk, the command will be extracted if it appear at an "
"extremity of a block, but the parameters won't be translated separately. "
"The translator will have to translate the command concatenated to all its "
"parameters. This keeps more context, and is useful for commands with small "
"words in parameter, which can have multiple meanings (and translations)."
msgstr ""
"对于星号,如果它出现在块的末端,命令将被提取,但参数不会单独转换。翻译器将不"
"得不翻译连接到其所有参数的命令。这保留了更多的上下文,并且对于参数中包含较小"
"单词的命令非常有用,这些命令可以有多种含义(和翻译)。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:38
msgid ""
"Note: In this case you don't have to specify which parameters are "
"translatable, but po4a must know the type and number of parameters."
msgstr ""
"注意:在这种情况下,您不必指定哪些参数是可翻译的,但 po4a 必须知道参数的类型"
"和数量。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:39
msgid "a minus (B<->)"
msgstr "一个减号 (B<->)"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:40
msgid ""
"In this case, the command won't be extracted from any block. But if it "
"appears alone on a block, then only the parameters marked as translatable "
"will be presented to the translator. This is useful for font commands. "
"These commands should generally not be separated from their paragraph (to "
"keep the context), but there is no reason to annoy the translator with them "
"if a whole string is enclosed in such a command."
msgstr ""
"在这种情况下,不会从任何块中提取命令。但是如果它单独出现在块上,那么只有标记"
"为可翻译的参数才会显示给翻译器。这对于字体命令很有用。这些命令通常不应该与它"
"们的段落分开(以保持上下文),但是如果整个字符串都包含在这样的命令中,就没有理"
"由用它们来烦扰翻译人员。"
#. type: verbatim
#: lib/Locale/Po4a/TeX.pm:41
#, no-wrap
msgid ""
"The I<parameters> argument is a set of [] (to indicate an optional\n"
"argument) or {} (to indicate a mandatory argument).\n"
"You can place an underscore (_) between these brackets to indicate that\n"
"the parameter must be translated. For example:\n"
" % po4a: command *chapter [_]{_}\n"
"\n"
msgstr ""
"参数是一组 [] (表示可选的。\n"
"参数) 或 {} (指示强制参数)。\n"
"您可以在这些方括号之间加一个下划线 (_) 来表示。\n"
"必须翻译该参数。例如:\n"
" % po4a: command *chapter [_]{_}\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TeX.pm:42
#, no-wrap
msgid ""
"This indicates that the chapter command has two parameters: an optional\n"
"(short title) and a mandatory one, which must both be translated.\n"
"If you want to specify that the href command has two mandatory parameters,\n"
"that you don't want to translate the URL (first parameter), and that you\n"
"don't want this command to be separated from its paragraph (which allow\n"
"the translator to move the link in the sentence), you can use:\n"
" % po4a: command -href {}{_}\n"
"\n"
msgstr ""
"这表明章节命令有两个参数:可选的。\n"
"(简称) 和强制性的,都必须翻译。\n"
"如果要指定 href 命令有两个必需参数,\n"
"您不想转换 URL (第一个参数),并且您。\n"
"我不希望此命令与其段落 (允许。\n"
"翻译器移动句子中的链接),您可以使用:\n"
" % po4a: command -href {}{_}\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:43
msgid ""
"In this case, the information indicating which arguments must be translated "
"is only used if a paragraph is only composed of this href command."
msgstr ""
"在这种情况下,仅当段落仅由此 href 命令组成时,才使用指示必须翻译哪些参数的信"
"息。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:44
msgid "B<% po4a: environment> I<env> I<parameters>"
msgstr "B<% po4a: environment> I<env> I<parameters>"
#. type: verbatim
#: lib/Locale/Po4a/TeX.pm:45
#, no-wrap
msgid ""
"This defines the parameters accepted by the I<env> environment and specifies the ones to be translated.\n"
"This information is later used to check the number of arguments of the\n"
"\\begin command.\n"
"The syntax of the I<parameters> argument is the same as described for the\n"
"others commands.\n"
"The first parameter of the \\begin command is the name of the environment.\n"
"This parameter must not be specified in the list of parameters. Here are\n"
"some examples:\n"
" % po4a: environment multicols {}\n"
" % po4a: environment equation\n"
"\n"
msgstr ""
"这允许定义 I<env> 环境接受的参数。\n"
"此信息稍后将用于检查。\n"
"\\begin 命令,并允许指定必须翻译哪一个。\n"
"I<Parameters> 参数的语法与。\n"
"其他命令。\n"
"\\begin 命令的第一个参数是环境的名称。\n"
"不能在参数列表中指定此参数。以下是。\n"
"下面是一些示例:\n"
" % po4a: 环境多层 {}\n"
" % po4a: 环境方程\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:46
msgid ""
"As for the commands, I<env> can be preceded by a plus (+) to indicate that "
"the \\begin command must be translated with all its arguments."
msgstr ""
"至于命令,i<env> 前面可以有一个加号 (+),表示 \\begin 命令必须使用其所有参数"
"进行转换。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:47
msgid "B<% po4a: separator> I<env> B<\">I<regex>B<\">"
msgstr "B<% po4a: separator> I<env> B<\">I<regex>B<\">"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:48
msgid ""
"Indicates that an environment should be split according to the given regular "
"expression."
msgstr "指示应根据给定正则表达式拆分环境。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:49
msgid ""
"The regular expression is delimited by quotes. It should not create any "
"back-reference. You should use (?:) if you need a group. It may also need "
"some escapes."
msgstr ""
"正则表达式由引号分隔。它不应该创建任何反向引用。如果需要组,应使用 (?:)。它可"
"能还需要一些逃脱。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:50
msgid ""
"For example, the LaTeX module uses the \"(?:&|\\\\\\\\)\" regular expression "
"to translate separately each cell of a table (lines are separated by '\\\\' "
"and cells by '&')."
msgstr ""
"例如,LaTeX 模块使用 \"(?:&|\\\\\\\\)\" 正则表达式分别翻译表的每个单元格(行"
"用 '\\\\' 分隔,单元格用 '&' 分隔)。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:51
msgid ""
"The notion of environment is expanded to the type displayed in the PO file. "
"This can be used to split on \"\\\\\\\\\" in the first mandatory argument of "
"the title command. In this case, the environment is title{#1}."
msgstr ""
"环境的概念扩展为 PO 文件中显示的类型。这可用于拆分 title 命令的第一个强制参数"
"中的 \"\\\\\\\\\"。在本例中,环境是 title{#1}。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:52
msgid "B<% po4a: verbatim environment> I<env>"
msgstr "B<% po4a: verbatim environment> I<env>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:53
msgid ""
"Indicate that I<env> is a verbatim environment. Comments and commands will "
"be ignored in this environment."
msgstr "指示 I<env> 是一个逐字环境。在此环境中将忽略注释和命令。"
#. type: =head1
#: lib/Locale/Po4a/TeX.pm:55
msgid "WRITING DERIVATE MODULES"
msgstr "编写衍生模块"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:56
msgid "B<pre_trans>"
msgstr "B<pre_trans>"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:57
msgid "B<post_trans>"
msgstr "B<post_trans>"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:58
msgid "B<add_comment>"
msgstr "B<add_comment>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:59
msgid ""
"Add a string as a comment to be added around the next translated element. "
"This is mostly useful to the texinfo module, as comments are automatically "
"handled in TeX."
msgstr ""
"添加字符串作为要在下一个翻译元素周围添加的注释。 这对于 texinfo 模块非常有"
"用,因为注释在 TeX 中自动处理。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:61
msgid ""
"Wrapper around Transtractor's translate, with pre- and post-processing "
"filters."
msgstr "封装在转换器的翻译上,带有前后处理过滤器。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:62
msgid ""
"Comments of a paragraph are inserted as a PO comment for the first "
"translated string of this paragraph."
msgstr "段落注释作为此段落第一个翻译字符串的 PO 注释插入。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:63
msgid "B<get_leading_command>($buffer)"
msgstr "B<get_leading_command>($buffer)"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:64
msgid "This function returns:"
msgstr "此函数返回:"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:65 lib/Locale/Po4a/TeX.pm:93
msgid "A command name"
msgstr "命令名称"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:66
msgid ""
"If no command is found at the beginning of the given buffer, this string "
"will be empty. Only commands that can be separated are considered. The "
"%separated_command hash contains the list of these commands."
msgstr ""
"如果在给定缓冲区的开头未找到命令,则此字符串将为空。只考虑可以分隔的命"
"令。%separated_command 散列包含这些命令的列表。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:67 lib/Locale/Po4a/TeX.pm:94
msgid "A variant"
msgstr "变种"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:68
msgid ""
"This indicates if a variant is used. For example, an asterisk (*) can be "
"added at the end of sections command to specify that they should not be "
"numbered. In this case, this field will contain \"*\". If there is no "
"variant, the field is an empty string."
msgstr ""
"这表明是否使用了变量。例如,可以在 sections 命令的末尾添加星号(*),以指定不应"
"对其进行编号。在本例中,此字段将包含 \"*\"。如果没有变量,则该字段为空字符"
"串。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:69
msgid "An array of tuples (type of argument, argument)"
msgstr "元组数组(参数类型、参数)"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:70
msgid ""
"The type of argument can be either '{' (for mandatory arguments) or '[' (for "
"optional arguments)."
msgstr "参数类型可以是 '{' (对于强制参数) 或 '[' (对于可选参数)。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:71
msgid "The remaining buffer"
msgstr "剩余的缓冲区"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:72
msgid ""
"The rest of the buffer after the removal of this leading command and its "
"arguments. If no command is found, the original buffer is not touched and "
"returned in this field."
msgstr ""
"删除此前导命令及其参数后缓冲区的其余部分。如果未找到命令,则不会触及原始缓冲"
"区,并在此字段中返回。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:73
msgid "B<get_trailing_command>($buffer)"
msgstr "B<get_trailing_command>($buffer)"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:74
msgid ""
"The same as B<get_leading_command>, but for commands at the end of a buffer."
msgstr "与 B<get_leading_command> 相同,但适用于缓冲区末尾的命令。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:75
msgid "B<translate_buffer>"
msgstr "B<translate_buffer>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:76
msgid ""
"Recursively translate a buffer by separating leading and trailing commands "
"(those which should be translated separately) from the buffer."
msgstr ""
"通过将前导命令和尾随命令(应该分别转换的命令)从缓冲区中分离出来,递归地转换缓"
"冲区。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:77
msgid ""
"If a function is defined in %translate_buffer_env for the current "
"environment, this function will be used to translate the buffer instead of "
"translate_buffer()."
msgstr ""
"如果在 %translate_buffer_env 中为当前环境定义了函数,则此函数将用于转换缓冲"
"区,而不是 translate_buffer()。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:78
msgid "B<read>"
msgstr "B<read>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:79
msgid "Overloads Transtractor's read()."
msgstr "重载翻译器的 read()。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:80
msgid "B<read_file>"
msgstr "B<read_file>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:81
msgid ""
"Recursively read a file, appending included files which are not listed in "
"the @exclude_include array. Included files are searched using the "
"B<kpsewhich> command from the Kpathsea library."
msgstr ""
"递归读取文件,追加 @exclude_include 数组中未列出的包含文件。包含的文件是使用 "
"KpathSea 库中的 B<kpseWhich> 命令进行搜索的。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:82
msgid ""
"Except from the file inclusion part, it is a cut and paste from "
"Transtractor's read."
msgstr "除了文件包含部分,它是从翻译提取器的读取中剪切并粘贴的。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:83
msgid "B<parse_definition_file>"
msgstr "B<parse_definition_file>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:84
msgid ""
"Subroutine for parsing a file with po4a directives (definitions for new "
"commands)."
msgstr "用于使用 po4a 指令解析文件的子例程 (新命令的定义)。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:85
msgid "B<parse_definition_line>"
msgstr "B<parse_definition_line>"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:86
msgid "Parse a definition line of the form \"% po4a: \"."
msgstr "解析格式为 \"% po4a: \" 的定义行。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:87
msgid "See the B<INLINE CUSTOMIZATION> section for more details."
msgstr "有关更多详细信息,请参阅 B<INLINE CUSTOMIZATION> 部分。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:88
msgid "B<is_closed>"
msgstr "B<is_closed>"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:89
msgid "B<parse>"
msgstr "B<parse>"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:90
msgid "B<docheader>"
msgstr "B<docheader>"
#. type: =head1
#: lib/Locale/Po4a/TeX.pm:91 lib/Locale/Po4a/TransTractor.pm:97
#: lib/Locale/Po4a/Xml.pm:134
msgid "INTERNAL FUNCTIONS used to write derivative parsers"
msgstr "用于编写派生解析器的内部函数"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:92
msgid ""
"Command and environment functions take the following arguments (in addition "
"to the $self object):"
msgstr "命令和环境函数接受以下参数(除了 $self 对象之外):"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:95
msgid "An array of (type, argument) tuples"
msgstr "(类型、参数)元组的数组"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:96
msgid "The current environment"
msgstr "当前环境"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:97
msgid ""
"The first 3 arguments are extracted by get_leading_command or "
"get_trailing_command."
msgstr "前 3 个参数由 get_leading_command 或 get_trailing_command 提取。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:98
msgid ""
"Command and environment functions return the translation of the command with "
"its arguments and a new environment."
msgstr "命令和环境函数返回命令及其参数和新环境的转换。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:99
msgid ""
"Environment functions are called when a \\begin command is found. They are "
"called with the \\begin command and its arguments."
msgstr ""
"当找到 \\begin 命令时,将调用环境函数。它们由 \\begin 命令及其参数调用。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:100
msgid ""
"The TeX module only proposes one command function and one environment "
"function: generic_command and generic_environment."
msgstr ""
"TeX 模块只提出一个命令函数和一个环境函数:generic_command 和 "
"generic_environment。"
#. type: verbatim
#: lib/Locale/Po4a/TeX.pm:101
#, no-wrap
msgid ""
"generic_command uses the information specified by\n"
"register_generic_command or by adding definition to the TeX file:\n"
" % po4a: command I<command1> I<parameters>\n"
"\n"
msgstr ""
"generic_command 使用由指定的信息。\n"
"register_generic_command 或通过将定义添加到 TeX 文件:\n"
" % po4a: command I<command1> I<parameters>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TeX.pm:102
#, no-wrap
msgid ""
"generic_environment uses the information specified by\n"
"register_generic_environment or by adding definition to the TeX file:\n"
" % po4a: environment I<env> I<parameters>\n"
"\n"
msgstr ""
"generic_environment 使用\n"
"register_generic_environment 或通过向 TeX 文件添加定义:\n"
" % po4a: environment I<env> I<parameters>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:103
msgid ""
"Both functions will only translate the parameters that were specified as "
"translatable (with a '_'). generic_environment will append the name of the "
"environment to the environment stack and generic_command will append the "
"name of the command followed by an identifier of the parameter (like {#7} or "
"[#2])."
msgstr ""
"这两个函数将仅转换指定为可翻译的参数(带 '_')。generic_environment 将把环境的"
"名称附加到环境堆栈中,而 generic_command 将在命令的名称后面加上参数的标识符"
"(如 {#7} 或 [#2])。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:105
msgid "This module needs more tests."
msgstr "此模块需要更多测试。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:106
msgid "It was tested on a book and with the Python documentation."
msgstr "它在一本书上进行了测试,并使用 Python 文档进行了测试。"
#. type: =head1
#: lib/Locale/Po4a/TeX.pm:107 lib/Locale/Po4a/Xml.pm:183
msgid "TODO LIST"
msgstr "待办事项清单使用PO4A::XML进行转换"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:108
msgid "Automatic detection of new commands"
msgstr "自动检测新命令"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:109
msgid ""
"The TeX module could parse the newcommand arguments and try to guess the "
"number of arguments, their type and whether or not they should be translated."
msgstr ""
"Tex 模块可以解析 newcommand 参数,并尝试猜测参数的数量、它们的类型以及是否应"
"该转换它们。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:110
msgid "Translation of the environment separator"
msgstr "环境分隔符的翻译"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:111
msgid ""
"When \\item is used as an environment separator, the item argument is "
"attached to the following string."
msgstr "当 \\item 用作环境分隔符时,item 参数附加到以下字符串。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:112
msgid "Some commands should be added to the environment stack"
msgstr "应将某些命令添加到环境堆栈"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:113
#, fuzzy
#| msgid ""
#| "These commands should be specified by couples. This could allow to "
#| "specify commands beginning or ending a verbatim environment."
msgid ""
"These commands should be specified by couples. This can be used to specify "
"commands beginning or ending a verbatim environment."
msgstr "这些命令应该由配对指定。这可以允许指定逐字环境开始或结束的命令。"
#. type: =item
#: lib/Locale/Po4a/TeX.pm:114
msgid "Others"
msgstr "其它"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:115
msgid "Various other points are tagged TODO in the source."
msgstr "各种其他点在源代码中都标记为 TODO。"
#. type: =head1
#: lib/Locale/Po4a/TeX.pm:116
msgid "KNOWN BUGS"
msgstr "已知缺陷"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:117
msgid "Various points are tagged FIXME in the source."
msgstr "源代码中的各个点都被标记为 FIXME。"
#. type: textblock
#: lib/Locale/Po4a/TeX.pm:119
msgid ""
"L<Locale::Po4a::LaTeX(3pm)|Locale::Po4a::LaTeX>, L<Locale::Po4a::"
"TransTractor(3pm)|Locale::Po4a::TransTractor>, L<po4a(7)|po4a.7>"
msgstr ""
"L<Locale::Po4a::LaTeX(3pm)|Locale::Po4a::LaTeX>, L<Locale::Po4a::"
"TransTractor(3pm)|Locale::Po4a::TransTractor>, L<po4a(7)|po4a.7>"
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:2
msgid ""
"Locale::Po4a::Texinfo - convert Texinfo documents and derivates from/to PO "
"files"
msgstr "Locale::Po4a::Texinfo - 将 Texinfo 文档和衍生从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:5
msgid ""
"Locale::Po4a::Texinfo is a module to help the translation of Texinfo "
"documents into other [human] languages."
msgstr ""
"Locale::Po4a::Texinfo 是一个帮助将 Texinfo 文档翻译成其他 [人类] 语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:6
msgid ""
"This module contains the definitions of common Texinfo commands and "
"environments."
msgstr "本模块包含常见 Texinfo 命令和环境的定义。"
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:7
msgid ""
"Only the comments starting with 'TRANSLATORS' are added to the PO files to "
"guide the translators."
msgstr "只有以 'TRANSLATORS' 开头的注释才会添加到 PO 文件中,以指导翻译人员。"
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:9
msgid ""
"This module is still beta and not ready for production use. Please send "
"patches to contribute, not bug reports as we don't know how to deal with "
"them."
msgstr ""
#. type: =item
#: lib/Locale/Po4a/Texinfo.pm:12
msgid "no-warn"
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:13
msgid "Do not warn about the current state of this module."
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/Texinfo.pm:19
msgid ""
"Copyright © 2004-2007 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>."
msgstr ""
"版权所有 © 2004-2007 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>."
#. type: textblock
#: lib/Locale/Po4a/Text.pm:2
msgid "Locale::Po4a::Text - convert text documents from/to PO files"
msgstr "Locale::Po4a::Text - 将文本文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:5
msgid ""
"Locale::Po4a::Text is a module to help the translation of text documents "
"into other [human] languages."
msgstr "Locale::Po4a::Text 是一个帮助将文本文档翻译成其他 [人类] 语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:6
msgid ""
"Paragraphs are split on empty lines (or lines containing only spaces or "
"tabulations)."
msgstr "段落以空行 (或仅包含空格或表格的行) 拆分。"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:7
msgid ""
"If a paragraph contains a line starting by a space (or tabulation), this "
"paragraph won't be rewrapped."
msgstr "如果段落包含以空格(或制表符)开头的行,则此段落不会重新换行。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:10
msgid "B<keyvalue>"
msgstr "B<keyvalue>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:11
#, fuzzy
#| msgid ""
#| "Treat paragraphs that look like a key value pair as verbatim (with the no-"
#| "wrap flag in the PO file). Key value pairs are defined as a line "
#| "containing one or more non-colon and non-space characters followed by a "
#| "colon followed by at least one non-space character before the end of the "
#| "line."
msgid ""
"Treat paragraphs that look like a colon-separated key-value pair as verbatim "
"(with the C<no-wrap> flag in the PO file). A key-value pair string is a "
"string like C<key: value>, containing one or more non-colon and non-space "
"characters followed by a colon followed by at least one non-space character "
"before the end of the line."
msgstr ""
"将看起来像键值对的段落逐字处理 (在 PO 文件中使用无换行标志)。键值对定义为一行"
"包含一个或多个非冒号和非空格字符,后跟冒号,后跟至少一个非空格字符。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:12
msgid "B<nobullets>"
msgstr "B<nobullets>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:13
msgid "Deactivate the detection of bullets."
msgstr "停用对项目符号的检测。"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:14
#, fuzzy
#| msgid ""
#| "By default, when a bullet is detected, the bullet paragraph is not "
#| "considered as a verbatim paragraph (with the no-wrap flag in the PO "
#| "file). Instead, the corresponding paragraph is rewrapped in the "
#| "translation."
msgid ""
"By default, when a bullet is detected, the bullet paragraph is not "
"considered as a verbatim paragraph (with the C<no-wrap> flag in the PO "
"file). Instead, the corresponding paragraph is rewrapped in the translation."
msgstr ""
"默认情况下,当检测到项目符号时,项目符号段落不会被视为逐字段落(PO 文件中带有"
"无换行标志)。相反,相应的段落在翻译中重新换行。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:15
msgid "B<tabs=>I<mode>"
msgstr "B<tabs=>I<mode>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:16
msgid "Specify how tabulations shall be handled. The I<mode> can be any of:"
msgstr "指定应如何处理制表。I<mode> 可以是以下任一项:"
#. type: =item
#: lib/Locale/Po4a/Text.pm:17
msgid "B<split>"
msgstr "B<split>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:18
msgid "Lines with tabulations introduce breaks in the current paragraph."
msgstr "带有表格的行会在当前段落中引入分隔符。"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:20
msgid "Paragraph containing tabulations will not be re-wrapped."
msgstr "包含表格的段落将不会重新换行。"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:21
msgid "By default, tabulations are considered as spaces."
msgstr "默认情况下,制表符被视为空格。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:22
msgid "B<breaks=>I<regex>"
msgstr "B<breaks=>I<regex>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:23
msgid ""
"A regular expression matching lines which introduce breaks. The regular "
"expression will be anchored so that the whole line must match."
msgstr "引入中断的正则表达式匹配行。 正则表达式将锚定,以便整行必须匹配。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:24
msgid "B<debianchangelog>"
msgstr "B<debianchangelog>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:25
msgid ""
"Handle the header and footer of released versions, which only contain non "
"translatable information."
msgstr "处理仅包含不可翻译信息的已发布版本的页眉和页脚。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:26
msgid "B<fortunes>"
msgstr "B<fortunes>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:27
msgid ""
"Handle the fortunes format, which separate fortunes with a line which "
"consists in '%' or '%%', and use '%%' as the beginning of a comment."
msgstr ""
"处理富文本格式,该格式用位于 '%' 或 '%%' 中的一行分隔财富,并使用 '%%' 作为注"
"释的开头。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:28
msgid "B<markdown>"
msgstr "B<markdown>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:29
msgid "Handle some special markup in Markdown-formatted texts."
msgstr "处理 Markdown 格式文本中的一些特殊标记。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:30
msgid "B<yfm_keys> (markdown-only)"
msgstr "B<yfm_keys> (仅限 markdown)"
#. type: =item
#: lib/Locale/Po4a/Text.pm:32
#, fuzzy
#| msgid "B<yfm_keys> (markdown-only)"
msgid "B<yfm_lenient> (markdown only)"
msgstr "B<yfm_keys> (仅限 markdown)"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:33
msgid ""
"Allow the YAML Front Matter parser to fail on malformated headers. This is "
"particularly helpful when your file starts with a horizontal ruler instead "
"of a YAML Front Matter, but you insist on using three dashes only for your "
"ruler."
msgstr ""
#. type: =item
#: lib/Locale/Po4a/Text.pm:34
#, fuzzy
#| msgid "B<yfm_keys> (markdown-only)"
msgid "B<yfm_paths> (markdown only)"
msgstr "B<yfm_keys> (仅限 markdown)"
#. type: =item
#: lib/Locale/Po4a/Text.pm:37
msgid "B<yfm_skip_array> (markdown-only)"
msgstr "B<yfm_skip_array> (仅限 markdown)"
#. type: =item
#: lib/Locale/Po4a/Text.pm:39
#, fuzzy
#| msgid "B<control>[B<=>I<taglist>]"
msgid "B<control>[B<=>I<field_list>]"
msgstr "B<control>[B<=>I<taglist>]"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:40
#, fuzzy
#| msgid ""
#| "Handle control files. A comma-separated list of tags to be translated "
#| "can be provided."
msgid ""
"Handle Debian's control files. A comma-separated list of fields to be "
"translated can be provided."
msgstr "处理控制文件。可以提供要翻译的标签的逗号分隔列表。"
#. type: =item
#: lib/Locale/Po4a/Text.pm:41
msgid "B<neverwrap>"
msgstr "B<neverwrap>"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:42
msgid ""
"Prevent po4a from wrapping any lines. This means that every content is "
"handled verbatim, even simple paragraphs."
msgstr "防止 po4a 换行。这意味着每个内容都是逐字处理的,即使是简单的段落。"
#. type: textblock
#: lib/Locale/Po4a/Text.pm:44
msgid "Tested successfully on simple text files and NEWS.Debian files."
msgstr "在简单文本文件和 NEWS.Debian 文件上测试成功。"
#. type: verbatim
#: lib/Locale/Po4a/Text.pm:48
#, fuzzy, no-wrap
#| msgid ""
#| " Copyright © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>\n"
#| "\n"
msgid ""
" Copyright © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
"\n"
msgstr ""
" 版权所有 © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Text.pm:49
#, fuzzy, no-wrap
#| msgid ""
#| " Copyright © 2008-2009, 2018 Jonas Smedegaard <dr@jones.dk>.\n"
#| " Copyright © 2020 Martin Quinson <mquinson#debian.org>.\n"
#| "\n"
msgid ""
" Copyright © 2008-2009, 2018 Jonas Smedegaard <dr@jones.dk>.\n"
" Copyright © 2020 Martin Quinson <mquinson#debian.org>.\n"
"\n"
msgstr ""
" 版权所有 © 2008-2009, 2018 Jonas Smedegaard <dr@jones.dk>.\n"
" 版权所有 © 2020 Martin Quinson <mquinson#debian.org>.\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:2
msgid "Locale::Po4a::TransTractor - generic trans(lator ex)tractor."
msgstr "Locale::Po4a::TransTractor - 通用翻译提取器。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:5
msgid ""
"This class is the ancestor of every po4a parser used to parse a document, to "
"search translatable strings, to extract them to a PO file and to replace "
"them by their translation in the output document."
msgstr ""
"这个类是每个 po4a 解析器的祖先,用于解析文档、搜索可翻译字符串、将它们提取到 "
"PO 文件并在输出文档中用它们的翻译替换它们。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:6
msgid "More formally, it takes the following arguments as input:"
msgstr "更正式地说,它接受以下参数作为输入:"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:7 lib/Locale/Po4a/TransTractor.pm:9
#: lib/Locale/Po4a/TransTractor.pm:12 lib/Locale/Po4a/TransTractor.pm:14
#: lib/Locale/Po4a/TransTractor.pm:114 lib/Locale/Po4a/TransTractor.pm:116
#: lib/Locale/Po4a/TransTractor.pm:118 lib/Locale/Po4a/TransTractor.pm:130
#: lib/Locale/Po4a/TransTractor.pm:132 lib/Locale/Po4a/TransTractor.pm:134
#: lib/Locale/Po4a/TransTractor.pm:149 lib/Locale/Po4a/TransTractor.pm:151
#: lib/Locale/Po4a/TransTractor.pm:153
msgid "-"
msgstr "-"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:8
msgid "a document to translate;"
msgstr "要翻译的文档;"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:10
msgid "a PO file containing the translations to use."
msgstr "包含要使用的翻译的 PO 文件。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:11
msgid "As output, it produces:"
msgstr "作为输出,它产生:"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:13
msgid ""
"another PO file, resulting of the extraction of translatable strings from "
"the input document;"
msgstr "另一个 PO 文件,其结果是从输入文档中提取可翻译字符串;"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:15
msgid ""
"a translated document, with the same structure than the one in input, but "
"with all translatable strings replaced with the translations found in the PO "
"file provided in input."
msgstr ""
"翻译的文档,其结构与输入中的文档相同,但所有可翻译字符串都替换为输入中提供的 "
"PO 文件中的翻译。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:16
msgid "Here is a graphical representation of this:"
msgstr "以下是这一点的图形表示:"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:17
#, no-wrap
msgid ""
" Input document --\\ /---> Output document\n"
" \\ / (translated)\n"
" +-> parse() function -----+\n"
" / \\\n"
" Input PO --------/ \\---> Output PO\n"
" (extracted)\n"
"\n"
msgstr ""
" 输入文档 --\\ /---> 输出文档\n"
" \\ / (已翻译)\n"
" +-> 解析() 函数 -----+\n"
" / \\\n"
" 输入 PO --------/ \\---> 输出 PO\n"
" (已提取)\n"
"\n"
#. type: =head1
#: lib/Locale/Po4a/TransTractor.pm:18
msgid "FUNCTIONS YOUR PARSER SHOULD OVERRIDE"
msgstr "解析器应该重写的函数"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:19
msgid "parse()"
msgstr "parse()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:20
msgid ""
"This is where all the work takes place: the parsing of input documents, the "
"generation of output, and the extraction of the translatable strings. This "
"is pretty simple using the provided functions presented in the section "
"B<INTERNAL FUNCTIONS> below. See also the B<SYNOPSIS>, which presents an "
"example."
msgstr ""
"所有工作都在这里进行:解析输入文档、生成输出和提取可翻译字符串。使用下面 "
"B<INTERNAL FUNCTIONS> 章节中提供的函数可以非常简单地实现这一点。另请参阅 "
"B<SYNOPSIS>,它提供了一个示例。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:21
msgid ""
"This function is called by the process() function below, but if you choose "
"to use the new() function, and to add content manually to your document, you "
"will have to call this function yourself."
msgstr ""
"此函数由下面的 process() 函数调用,但如果您选择使用 new() 函数,并手动将内容"
"添加到文档中,则必须自己调用此函数。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:22
msgid "docheader()"
msgstr "docheader()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:23
msgid ""
"This function returns the header we should add to the produced document, "
"quoted properly to be a comment in the target language. See the section "
"B<Educating developers about translations>, from L<po4a(7)|po4a.7>, for what "
"it is good for."
msgstr ""
"此函数返回我们应该添加到生成的文档中的标题,并将其正确引用为目标语言中的注"
"释。有关它的好处,请参阅 L<po4a(7)|po4a.7> 中的 B<Educating developers about "
"translations> 章节。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:25
msgid ""
"The following example parses a list of paragraphs beginning with \"<p>\". "
"For the sake of simplicity, we assume that the document is well formatted, i."
"e. that '<p>' tags are the only tags present, and that this tag is at the "
"very beginning of each paragraph."
msgstr ""
"下面的示例解析以 \"<p>\" 开头的段落列表。为简单起见,我们假定文档格式良好,"
"即 \"<p>\" 标记是唯一存在的标记,并且该标记位于每个段落的最开始。"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:26
#, no-wrap
msgid ""
" sub parse {\n"
" my $self = shift;\n"
"\n"
msgstr ""
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:27
#, no-wrap
msgid ""
" PARAGRAPH: while (1) {\n"
" my ($paragraph,$pararef)=(\"\",\"\");\n"
" my $first=1;\n"
" my ($line,$lref)=$self->shiftline();\n"
" while (defined($line)) {\n"
" if ($line =~ m/<p>/ && !$first--; ) {\n"
" # Not the first time we see <p>.\n"
" # Reput the current line in input,\n"
" # and put the built paragraph to output\n"
" $self->unshiftline($line,$lref);\n"
"\n"
msgstr ""
" PARAGRAPH: while (1) {\n"
" my ($paragraph,$pararef)=(\"\",\"\");\n"
" my $first=1;\n"
" my ($line,$lref)=$self->shiftline();\n"
" while (defined($line)) {\n"
" if ($line =~ m/<p>/ && !$first--; ) {\n"
" # 这不是我们第一次看到<p>。\n"
" # 将当前行重新放入输入,\n"
" # 并将构建的段落输出\n"
" $self->unshiftline($line,$lref);\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:28
#, no-wrap
msgid ""
" # Now that the document is formed, translate it:\n"
" # - Remove the leading tag\n"
" $paragraph =~ s/^<p>//s;\n"
"\n"
msgstr ""
" # 现在文档已形成,请翻译它:\n"
" # - 删除前导标记\n"
" $paragraph =~ s/^<p>//s;\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:29
#, no-wrap
msgid ""
" # - push to output the leading tag (untranslated) and the\n"
" # rest of the paragraph (translated)\n"
" $self->pushline( \"<p>\"\n"
" . $self->translate($paragraph,$pararef)\n"
" );\n"
"\n"
msgstr ""
" # - 按键输出前导标签(未翻译)和\n"
" # 段落的其余部分(已翻译)\n"
" $self->pushline( \"<p>\"\n"
" . $self->translate($paragraph,$pararef)\n"
" );\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:30
#, no-wrap
msgid ""
" next PARAGRAPH;\n"
" } else {\n"
" # Append to the paragraph\n"
" $paragraph .= $line;\n"
" $pararef = $lref unless(length($pararef));\n"
" }\n"
"\n"
msgstr ""
" next PARAGRAPH;\n"
" } else {\n"
" # 追加到段落后面\n"
" $paragraph .= $line;\n"
" $pararef = $lref unless(length($pararef));\n"
" }\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:31
#, no-wrap
msgid ""
" # Reinit the loop\n"
" ($line,$lref)=$self->shiftline();\n"
" }\n"
" # Did not get a defined line? End of input file.\n"
" return;\n"
" }\n"
" }\n"
"\n"
msgstr ""
" # 重新初始化循环\n"
" ($line,$lref)=$self->shiftline();\n"
" }\n"
" # 没有得到定义的行吗?输入文件的结尾。\n"
" return;\n"
" }\n"
" }\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:32
msgid ""
"Once you've implemented the parse function, you can use your document class, "
"using the public interface presented in the next section."
msgstr ""
"一旦实现了解析函数,就可以使用下一节中介绍的公共接口来使用 document 类。"
#. type: =head1
#: lib/Locale/Po4a/TransTractor.pm:33
msgid "PUBLIC INTERFACE for scripts using your parser"
msgstr "使用解析器的脚本的公共接口"
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:34
msgid "Constructor"
msgstr "构造 函数"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:35
msgid "process(%)"
msgstr "process(%)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:36
msgid ""
"This function can do all you need to do with a po4a document in one "
"invocation. Its arguments must be packed as a hash. ACTIONS:"
msgstr ""
"此函数可以在一次调用中完成处理 po4a 文档所需的所有操作。它的参数必须打包为散"
"列。操作:"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:37
msgid "a."
msgstr "a."
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:38
msgid "Reads all the PO files specified in po_in_name"
msgstr "读取 po_in_name 中指定的所有 PO 文件"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:39
msgid "b."
msgstr "b."
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:40
msgid "Reads all original documents specified in file_in_name"
msgstr "读取在 file_in_name 中指定的所有原始文档"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:41
msgid "c."
msgstr "c."
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:42
msgid "Parses the document"
msgstr "解析文档"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:43
msgid "d."
msgstr "d."
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:44
msgid "Reads and applies all the addenda specified"
msgstr "读取并应用所有指定的附录"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:45
msgid "e."
msgstr "e."
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:46
msgid "Writes the translated document to file_out_name (if given)"
msgstr "将翻译的文档写入 file_out_name (如果给定)"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:47
msgid "f."
msgstr "f."
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:48
msgid "Writes the extracted PO file to po_out_name (if given)"
msgstr "将提取的 PO 文件写入 po_out_name (如果给定)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:49
msgid "ARGUMENTS, beside the ones accepted by new() (with expected type):"
msgstr "参数,除了 new() 接受的参数(具有预期类型):"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:50
msgid "file_in_name (@)"
msgstr "file_in_name (@)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:51
msgid "List of filenames where we should read the input document."
msgstr "我们应该在其中读取输入文档的文件名列表。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:52
msgid "file_in_charset ($)"
msgstr "file_in_charset ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:53
#, fuzzy
#| msgid ""
#| "Charset used in the output document (if it isn't specified, it will use "
#| "the PO file charset)."
msgid "Charset used in the input document (if it isn't specified, use UTF-8)."
msgstr "输出文档中使用的字符集(如果未指定,将使用 PO 文件字符集)。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:54
msgid "file_out_name ($)"
msgstr "file_out_name ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:55
msgid "Filename where we should write the output document."
msgstr "我们应该在其中写入输出文档的文件名。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:56
msgid "file_out_charset ($)"
msgstr "file_out_charset ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:57
#, fuzzy
#| msgid ""
#| "Charset used in the output document (if it isn't specified, it will use "
#| "the PO file charset)."
msgid "Charset used in the output document (if it isn't specified, use UTF-8)."
msgstr "输出文档中使用的字符集(如果未指定,将使用 PO 文件字符集)。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:58
msgid "po_in_name (@)"
msgstr "po_in_name (@)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:59
msgid ""
"List of filenames where we should read the input PO files from, containing "
"the translation which will be used to translate the document."
msgstr ""
"我们应该从中读取输入 PO 文件的文件名列表,其中包含将用于翻译文档的翻译。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:60
msgid "po_out_name ($)"
msgstr "po_out_name ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:61
msgid ""
"Filename where we should write the output PO file, containing the strings "
"extracted from the input document."
msgstr ""
"我们应该在其中写入输出 PO 文件的文件名,其中包含从输入文档提取的字符串。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:62
msgid "addendum (@)"
msgstr "addendum (@)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:63
msgid "List of filenames where we should read the addenda from."
msgstr "我们应该从中读取附录的文件名列表。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:64
msgid "addendum_charset ($)"
msgstr "addendum_charset ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:65
msgid "Charset for the addenda."
msgstr "附录的字符集。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:66
msgid "new(%)"
msgstr "new(%)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:67
msgid ""
"Create a new po4a document. Accepted options (in the hash passed as a "
"parameter):"
msgstr "创建新的 po4a 文档。接受的选项 (在作为参数传递的哈希中):"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:68
msgid "verbose ($)"
msgstr "verbose ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:69
msgid "Sets the verbosity."
msgstr "设置详细程度。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:70
msgid "debug ($)"
msgstr "debug ($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:71
msgid "Sets the debugging."
msgstr "设置调试。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:72
#, fuzzy
#| msgid "B<wrapcol>"
msgid "wrapcol ($)"
msgstr "B<wrapcol>"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:73
#, fuzzy
#| msgid "the column at which we should wrap (default: 76)."
msgid ""
"The column at which we should wrap text in output document (default: 76)."
msgstr "我们应该换行的列 (默认值:76)。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:74
msgid "The negative value means not to wrap lines at all."
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:75
msgid ""
"Also it accepts next options for underlying Po-files: B<porefs>, B<copyright-"
"holder>, B<msgid-bugs-address>, B<package-name>, B<package-version>, B<wrap-"
"po>."
msgstr ""
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:76
msgid "Manipulating document files"
msgstr "操作文档文件"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:77
msgid "read($$)"
msgstr "read($$)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:78
msgid ""
"Add another input document data at the end of the existing array C<< @{$self-"
">{TT}{doc_in}} >>. The argument is the filename to read. If a second "
"argument is provided, it is the filename to use in the references."
msgstr ""
"在现有数组 C<< @{$self->{TT}{doc_in}} >> 的末尾添加另一个输入文档数据。参数是"
"要读取的文件名。如果提供了第二个参数,则它是在引用中使用的文件名。"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:79
#, no-wrap
msgid ""
"This array C<< @{$self->{TT}{doc_in}} >> holds this input document data as an\n"
"array of strings with alternating meanings.\n"
" * The string C<$textline> holding each line of the input text data.\n"
" * The string C<< $filename:$linenum >> holding its location and called as\n"
" \"reference\" (C<linenum> starts with 1).\n"
"\n"
msgstr ""
"此数组 C<< @{$self->{TT}{doc_in}} >> 将此输入文档数据保存为。\n"
"具有交替含义的字符串数组。\n"
"*字符串 C<$textline> 保存输入文本数据的每一行。\n"
"*字符串 C<< $filename:$linenum >> 保存其位置并调用为。\n"
" \"reference\" (C<linenum> 从 1 开始)。\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:80
msgid ""
"Please note that it does not parse anything. You should use the parse() "
"function when you're done with packing input files into the document."
msgstr ""
"请注意,它不解析任何内容。当您完成将输入文件打包到文档中时,应该使用 parse() "
"函数。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:82
msgid "Write the translated document to the given filename."
msgstr "将翻译后的文档写入给定的文件名。"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:83
#, no-wrap
msgid ""
"This translated document data are provided by:\n"
" * C<< $self->docheader() >> holding the header text for the plugin, and\n"
" * C<< @{$self->{TT}{doc_out}} >> holding each line of the main translated text in the array.\n"
"\n"
msgstr ""
"此翻译文档数据由以下人员提供:\n"
" * C<< $self->docheader() >> 保存插件的标题文本,以及。\n"
" * C<< @{$self->{TT}{doc_out}} >> 保存数组中主翻译文本的每一行。\n"
"\n"
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:84
msgid "Manipulating PO files"
msgstr "操作 PO 文件"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:85
msgid "readpo($)"
msgstr "readpo($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:86
msgid ""
"Add the content of a file (which name is passed as argument) to the existing "
"input PO. The old content is not discarded."
msgstr "将文件的内容(该名称作为参数传递)添加到现有输入 PO。旧内容不会丢弃。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:87
msgid "writepo($)"
msgstr "writepo($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:88
msgid "Write the extracted PO file to the given filename."
msgstr "将提取的 PO 文件写入给定的文件名。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:89
msgid "stats()"
msgstr "stats()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:90
msgid ""
"Returns some statistics about the translation done so far. Please note that "
"it's not the same statistics than the one printed by msgfmt --statistic. "
"Here, it's stats about recent usage of the PO file, while msgfmt reports the "
"status of the file. It is a wrapper to the Locale::Po4a::Po::stats_get "
"function applied to the input PO file. Example of use:"
msgstr ""
"返回到目前为止完成的转换的一些统计信息。请注意,它与 msgfmt --statistic 打印"
"的统计数据不同。在这里,它是关于 PO 文件最近使用情况的统计信息,而 msgfmt 则"
"报告该文件的状态。它是应用于输入 PO 文件的 Locale::Po4a::Po::stats_get 函数的"
"封装。使用示例:"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:91
#, no-wrap
msgid ""
" [normal use of the po4a document...]\n"
"\n"
msgstr ""
" [正常使用 po4a 文档...]\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:92
#, no-wrap
msgid ""
" ($percent,$hit,$queries) = $document->stats();\n"
" print \"We found translations for $percent\\% ($hit from $queries) of strings.\\n\";\n"
"\n"
msgstr ""
" ($percent,$hit,$queries) = $document->stats();\n"
" print \"我们找到了 $percent\\% ($hit from $queries) 字符串的翻译\\n\";\n"
"\n"
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:93
msgid "Manipulating addenda"
msgstr "操作附录"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:94
msgid "addendum($)"
msgstr "addendum($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:95
msgid ""
"Please refer to L<po4a(7)|po4a.7> for more information on what addenda are, "
"and how translators should write them. To apply an addendum to the "
"translated document, simply pass its filename to this function and you are "
"done ;)"
msgstr ""
"请参阅 L<po4a(7)|po4a.7>,了解有关附录的详细信息,以及翻译人员应如何编写附"
"录。要对翻译后的文档应用附录,只需将其文件名传递给此函数,即可完成 ;)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:96
msgid "This function returns a non-null integer on error."
msgstr "此函数在出错时返回非空整数。"
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:98
msgid "Getting input, providing output"
msgstr "获取输入,提供输出"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:99
msgid ""
"Four functions are provided to get input and return output. They are very "
"similar to shift/unshift and push/pop of Perl."
msgstr ""
"提供了四个函数来获取输入和返回输出。它们与 Perl 的 shift/unshift 和 push/pop "
"非常相似。"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:100
#, no-wrap
msgid ""
" * Perl shift returns the first array item and drop it from the array.\n"
" * Perl unshift prepends an item to the array as the first array item.\n"
" * Perl pop returns the last array item and drop it from the array.\n"
" * Perl push appends an item to the array as the last array item.\n"
"\n"
msgstr ""
" * Perl shift 返回第一个数组项并将其从数组中删除。\n"
" * Perl unshift 将项作为第一个数组项添加到数组中。\n"
" * Perl pop 返回最后一个数组项并将其从数组中删除。\n"
" * Perl push 将一项作为最后一个数组项追加到数组中。\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:101
msgid ""
"The first pair is about input, while the second is about output. Mnemonic: "
"in input, you are interested in the first line, what shift gives, and in "
"output you want to add your result at the end, like push does."
msgstr ""
"第一对是关于输入的,第二对是关于输出的。助记符:在 input 中,您感兴趣的是第一"
"行,shift 提供什么,而在 output 中,您希望将结果添加到末尾,就像 push 一样。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:102
msgid "shiftline()"
msgstr "shiftline()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:103
msgid ""
"This function returns the first line to be parsed and its corresponding "
"reference (packed as an array) from the array C<< @{$self->{TT}{doc_in}} >> "
"and drop these first 2 array items. Here, the reference is provided by a "
"string C<< $filename:$linenum >>."
msgstr ""
"此函数从数组 C<< @{$self->{TT}{doc_in}} >> 返回要解析的第一行及其对应的引用 "
"(打包为数组),并删除前两个数组项。这里,引用由字符串 C<< $filename:$linenum "
">> 提供。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:104
msgid "unshiftline($$)"
msgstr "unshiftline($$)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:105
msgid ""
"Unshifts the last shifted line of the input document and its corresponding "
"reference back to the head of C<< {$self->{TT}{doc_in}} >>."
msgstr ""
"取消将输入文档的最后移位行及其对应的引用移回 C<< {$self->{TT}{doc_in}} >> 的"
"头部。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:106
msgid "pushline($)"
msgstr "pushline($)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:107
msgid "Push a new line to the end of C<< {$self->{TT}{doc_out}} >>."
msgstr "将新行推到 C<< {$self->{TT}{doc_out}} >> 的末尾。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:108
msgid "popline()"
msgstr "popline()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:109
msgid "Pop the last pushed line from the end of C<< {$self->{TT}{doc_out}} >>."
msgstr "从 C<< {$self->{TT}{doc_out}} >> 的末尾弹出最后推送的行。"
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:110
msgid "Marking strings as translatable"
msgstr "将字符串标记为可翻译"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:111
msgid "One function is provided to handle the text which should be translated."
msgstr "提供一个函数来处理应该翻译的文本。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:112
msgid "translate($$$)"
msgstr "translate($$$)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:113
msgid "Mandatory arguments:"
msgstr "必选参数:"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:115
msgid "A string to translate"
msgstr "要翻译的字符串"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:117
msgid "The reference of this string (i.e. position in inputfile)"
msgstr "此字符串的引用 (即输入文件中的位置)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:119
msgid ""
"The type of this string (i.e. the textual description of its structural "
"role; used in Locale::Po4a::Po::gettextization(); see also L<po4a(7)|"
"po4a.7>, section B<Gettextization: how does it work?>)"
msgstr ""
"此字符串的类型(即对其结构角色的文本描述;在 Locale::Po4a::Po::"
"gettextization() 中使用;另请参阅 L<po4a(7)|po4a.7>,B<Gettextization: how "
"does it work?> 部分)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:120
msgid ""
"This function can also take some extra arguments. They must be organized as "
"a hash. For example:"
msgstr "此函数还可以接受一些额外的参数。它们必须组织为散列。例如:"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:121
#, no-wrap
msgid ""
" $self->translate(\"string\",\"ref\",\"type\",\n"
" 'wrap' => 1);\n"
"\n"
msgstr ""
" $self->translate(\"string\",\"ref\",\"type\",\n"
" 'wrap' => 1);\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:123
msgid ""
"boolean indicating whether we can consider that whitespaces in string are "
"not important. If yes, the function canonizes the string before looking for "
"a translation or extracting it, and wraps the translation."
msgstr ""
"指示我们是否可以认为字符串中的空格不重要的布尔值。如果是,则该函数在查找或提"
"取翻译之前对字符串进行规范化,并对翻译进行封装。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:125
msgid ""
"the column at which we should wrap (default: the value of B<wrapcol> "
"specified during creation of the TransTractor or 76)."
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:126
msgid "The negative value will be substracted from the default."
msgstr ""
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:128
msgid "an extra comment to add to the entry."
msgstr "要添加到条目的额外注释。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:129
msgid "Actions:"
msgstr "操作:"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:131
msgid "Pushes the string, reference and type to po_out."
msgstr "将字符串、引用和类型推送到 po_out。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:133
msgid ""
"Returns the translation of the string (as found in po_in) so that the parser "
"can build the doc_out."
msgstr "返回字符串的翻译(如 po_in 中所示),以便解析器可以构建 doc_out。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:135
msgid ""
"Handles the charsets to recode the strings before sending them to po_out and "
"before returning the translations."
msgstr "在将字符串发送到 po_out 和返回翻译之前,处理字符集以重新编码字符串。"
#. type: =head2
#: lib/Locale/Po4a/TransTractor.pm:136
msgid "Misc functions"
msgstr "其他函数"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:137
msgid "verbose()"
msgstr "verbose()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:138
msgid ""
"Returns if the verbose option was passed during the creation of the "
"TransTractor."
msgstr "返回是否在创建翻译提取器期间传递了 verbose 选项。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:139
msgid "debug()"
msgstr "debug()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:140
msgid ""
"Returns if the debug option was passed during the creation of the "
"TransTractor."
msgstr "返回是否在创建翻译提取器期间传递了调试选项。"
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:141
#, fuzzy
#| msgid "get_charset()"
msgid "get_in_charset()"
msgstr "get_charset()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:142
msgid "This function return the charset that was provided as master charset"
msgstr ""
#. type: =item
#: lib/Locale/Po4a/TransTractor.pm:143
msgid "get_out_charset()"
msgstr "get_out_charset()"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:144
msgid ""
"This function will return the charset that should be used in the output "
"document (usually useful to substitute the input document's detected charset "
"where it has been found)."
msgstr ""
"此函数将返回应该在输出文档中使用的字符集(通常用于替换已找到的输入文档的检测到"
"的字符集)。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:145
msgid ""
"It will use the output charset specified in the command line. If it wasn't "
"specified, it will use the input PO's charset, and if the input PO has the "
"default \"CHARSET\", it will return the input document's charset, so that no "
"encoding is performed."
msgstr ""
"它将使用命令行中指定的输出字符集。如果未指定该命令,则将使用输入 PO 的字符"
"集,如果输入 PO 具有默认的 \"CHARSET\",则返回输入文档的字符集,以便不会执行"
"编码。"
#. type: =head1
#: lib/Locale/Po4a/TransTractor.pm:146
msgid "FUTURE DIRECTIONS"
msgstr "未来方向"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:147
msgid ""
"One shortcoming of the current TransTractor is that it can't handle "
"translated document containing all languages, like debconf templates, or ."
"desktop files."
msgstr ""
"当前翻译提取器的一个缺点是它不能处理包含所有语言的翻译文档,如 debconf 模板"
"或 .desktop 文件。"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:148
msgid "To address this problem, the only interface changes needed are:"
msgstr "要解决此问题,只需更改接口:"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:150
msgid "take a hash as po_in_name (a list per language)"
msgstr "将散列作为 po_in_name (每种语言的列表)"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:152
msgid "add an argument to translate to indicate the target language"
msgstr "添加要翻译的参数以指示目标语言"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:154
msgid ""
"make a pushline_all function, which would make pushline of its content for "
"all languages, using a map-like syntax:"
msgstr ""
"使用类似映射的语法创建一个 pushline_all 函数,该函数将为所有语言创建其内容的 "
"pushline:"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:155
#, no-wrap
msgid ""
" $self->pushline_all({ \"Description[\".$langcode.\"]=\".\n"
" $self->translate($line,$ref,$langcode)\n"
" });\n"
"\n"
msgstr ""
" $self->pushline_all({ \"Description[\".$langcode.\"]=\".\n"
" $self->translate($line,$ref,$langcode)\n"
" });\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/TransTractor.pm:156
msgid "Will see if it's enough ;)"
msgstr "看看是否足够 ;)"
#. type: verbatim
#: lib/Locale/Po4a/TransTractor.pm:158
#, no-wrap
msgid ""
" Denis Barbier <barbier@linuxfr.org>\n"
" Martin Quinson (mquinson#debian.org)\n"
" Jordi Vilalta <jvprat@gmail.com>\n"
"\n"
msgstr ""
" Denis Barbier <barbier@linuxfr.org>\n"
" Martin Quinson (mquinson#debian.org)\n"
" Jordi Vilalta <jvprat@gmail.com>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Wml.pm:2
msgid ""
"Locale::Po4a::Wml - convert WML (web markup language) documents from/to PO "
"files"
msgstr "Locale::Po4a::Wml - 将 WML (web 标记语言)文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Wml.pm:5
msgid ""
"Locale::Po4a::Wml is a module to help the translation of WML documents into "
"other [human] languages. Do not mixup the WML we are speaking about here "
"(web markup language) and the WAP crap used on cell phones."
msgstr ""
"Locale::Po4a::Wml 是一个帮助将 WML 文档翻译成其他 [人类] 语言的模块。不要把我"
"们在这里谈论的 WML (网络标记语言) 和手机上使用的 WAP 垃圾混为一谈。"
#. type: textblock
#: lib/Locale/Po4a/Wml.pm:6
msgid ""
"Please note that this module relies upon the Locale::Po4a::Xhtml module, "
"which also relies upon the Locale::Po4a::Xml module. This means that all "
"tags for web page expressions are assumed to be written in the XHTML syntax."
msgstr ""
"请注意,此模块依赖于 Locale::Po4a::Xhtml 模块,该模块也依赖于 Locale::Po4a::"
"Xml 模块。这意味着网页表达式的所有标记都假定是用 XHTML 语法编写的。"
#. type: textblock
#: lib/Locale/Po4a/Wml.pm:10
msgid ""
"This module works for some simple documents, but is still young. Currently, "
"the biggest issue of the module is probably that it cannot handle documents "
"that contain non-XML inline tags such as <email \"foo@example.org\">, which "
"are often defined in the WML. Improvements will be added in the future "
"releases."
msgstr ""
"此模块适用于一些简单的文档,但还很年轻。目前,该模块最大的问题可能是它不能处"
"理包含非 XML 内联标记的文档,例如通常在 WML中定义的 <email \"foo@example."
"org\">。在将来的版本中将添加改进。"
#. type: verbatim
#: lib/Locale/Po4a/Wml.pm:12
#, no-wrap
msgid ""
" Martin Quinson (mquinson#debian.org)\n"
" Noriada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>\n"
"\n"
msgstr ""
" Martin Quinson (mquinson#debian.org)\n"
" Noriada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Wml.pm:14
#, no-wrap
msgid ""
" Copyright © 2005 SPI, Inc.\n"
"\n"
msgstr ""
" 版权所有 © 2005 SPI, Inc.\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Xhtml.pm:2
msgid "Locale::Po4a::Xhtml - convert XHTML documents from/to PO files"
msgstr "Locale::Po4a::Xhtml - 将 XHTML 文档从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Xhtml.pm:5
msgid ""
"Locale::Po4a::Xhtml is a module to help the translation of XHTML documents "
"into other [human] languages."
msgstr ""
"Locale::Po4a::Xhtml 是一个帮助将 XHTML 文档翻译成其他 [人类] 语言的模块。"
#. type: =item
#: lib/Locale/Po4a/Xhtml.pm:8
msgid "B<includessi>[B<=>I<rootpath>]"
msgstr "B<includessi>[B<=>I<rootpath>]"
#. type: textblock
#: lib/Locale/Po4a/Xhtml.pm:9
msgid ""
"Include files specified by an include SSI (Server Side Includes) element (e."
"g. <!--#include virtual=\"/foo/bar.html\" -->)."
msgstr ""
"包括由 include SSI (服务器端包含) 元素指定文件(例如,<!--#include virtual=\"/"
"foo/bar.html\" -->)。"
#. type: textblock
#: lib/Locale/Po4a/Xhtml.pm:10
msgid "B<Note:> You should use it only for static files."
msgstr "B<Note:> 您应该只对静态文件使用它。"
#. type: textblock
#: lib/Locale/Po4a/Xhtml.pm:11
msgid ""
"An additional I<rootpath> parameter can be specified. It specifies the root "
"path to find files included by a B<virtual> attribute."
msgstr ""
"可以指定一个附加的 I<rootpath> 参数。它指定查找 B<virtual> 属性包含的文件的根"
"路径。"
#. type: textblock
#: lib/Locale/Po4a/Xhtml.pm:14
#, fuzzy
#| msgid ""
#| "\"It works for me\", which means I use it successfully on my personal Web "
#| "site. However, YMMV: please let me know if something doesn't work for "
#| "you. In particular, tables are getting no testing whatsoever, as we don't "
#| "use them."
msgid ""
"\"It works for me\", which means I use it successfully on my personal Web "
"site. However, YMMV: please let me know if something doesn't work for you."
msgstr ""
"\"它适合我\",这意味着我在我的个人网站上成功地使用它。 然而,YMMV:请让我知"
"道,如果有什么不为你工作。特别是,表没有任何测试,因为我们不使用它们。"
#. type: verbatim
#: lib/Locale/Po4a/Xhtml.pm:18
#, no-wrap
msgid ""
" Yves Rütschlé <po4a@rutschle.net>\n"
" Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" Yves Rütschlé <po4a@rutschle.net>\n"
" Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Xhtml.pm:20
#, no-wrap
msgid ""
" Copyright © 2004 Yves Rütschlé <po4a@rutschle.net>\n"
" Copyright © 2007-2008 Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" 版权所有 © 2004 Yves Rütschlé <po4a@rutschle.net>\n"
" 版权所有 © 2007-2008 Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:2
msgid ""
"Locale::Po4a::Xml - convert XML documents and derivates from/to PO files"
msgstr "Locale::Po4a::Xml - 将 XML 文档和衍生内容从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:5
msgid ""
"Locale::Po4a::Xml is a module to help the translation of XML documents into "
"other [human] languages. It can also be used as a base to build modules for "
"XML-based documents."
msgstr ""
"Locale::Po4a::Xml 是一个帮助将 XML 文档翻译成其他 [人类] 语言的模块。它还可以"
"用作为基于 XML 的文档构建模块的基础。"
#. type: =head1
#: lib/Locale/Po4a/Xml.pm:6
msgid "TRANSLATING WITH PO4A::XML"
msgstr "使用 PO4A::XML 进行转换"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:7
msgid ""
"This module can be used directly to handle generic XML documents. This will "
"extract all tag's content, and no attributes, since it's where the text is "
"written in most XML based documents."
msgstr ""
"此模块可直接用于处理通用 XML 文档。这将提取所有标记的内容,而不提取属性,因为"
"它是大多数基于 XML 的文档中的文本写入位置。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:8
msgid ""
"There are some options (described in the next section) that can customize "
"this behavior. If this doesn't fit to your document format you're "
"encouraged to write your own module derived from this, to describe your "
"format's details. See the section B<WRITING DERIVATE MODULES> below, for "
"the process description."
msgstr ""
"有一些选项 (将在下一节中介绍) 可以自定义此行为。如果这不适合您的文档格式,则"
"鼓励您编写由此衍生的您自己的模块,以描述您的格式的详细信息。有关过程描述,请"
"参阅下面的 B<WRITING DERIVATE MODULES> 小节。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:10
msgid ""
"The global debug option causes this module to show the excluded strings, in "
"order to see if it skips something important."
msgstr "全局调试选项会导致此模块显示排除的字符串,以查看它是否跳过了重要内容。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:12
msgid "B<nostrip>"
msgstr "B<nostrip>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:13
msgid "Prevents it to strip the spaces around the extracted strings."
msgstr "防止它剥离提取字符串周围的空格。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:15
msgid ""
"Canonicalizes the string to translate, considering that whitespaces are not "
"important, and wraps the translated document. This option can be overridden "
"by custom tag options. See the B<translated> option below."
msgstr ""
"考虑到空格并不重要,规范化要翻译的字符串,并对翻译后的文档进行换行。自定义标"
"记选项可以覆盖此选项。请参阅下面的 B<translated> 选项。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:16
msgid "B<unwrap_attributes>"
msgstr "B<unwrap_attributes>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:17
msgid "Attributes are wrapped by default. This option disables wrapping."
msgstr "默认情况下,属性是换行的。此选项禁用换行。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:18
msgid "B<caseinsensitive>"
msgstr "B<caseinsensitive>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:19
msgid ""
"It makes the tags and attributes searching to work in a case insensitive "
"way. If it's defined, it will treat E<lt>BooKE<gt>laNG and "
"E<lt>BOOKE<gt>Lang as E<lt>bookE<gt>lang."
msgstr ""
"它使标签和属性搜索以不区分大小写的方式工作。如果定义了它,它会将 "
"E<lt>BooKE<gt>laNG 和 E<lt>BOOKE<gt>Lang 视为 E<lt>bookE<gt>lang。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:20
msgid "B<escapequotes>"
msgstr "B<escapequotes>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:21
msgid ""
"Escape quotes in output strings. Necessary, for example, for creating "
"string resources for use by Android build tools."
msgstr ""
"输出字符串中的转义引号。例如,创建供 Android 构建工具使用的字符串资源时是必需"
"的。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:22
msgid ""
"See also: https://developer.android.com/guide/topics/resources/string-"
"resource.html"
msgstr ""
"另请参阅:https://developer.android.com/guide/topics/resources/string-"
"resource.html"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:23
msgid "B<includeexternal>"
msgstr "B<includeexternal>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:24
msgid ""
"When defined, external entities are included in the generated (translated) "
"document, and for the extraction of strings. If it's not defined, you will "
"have to translate external entities separately as independent documents."
msgstr ""
"定义后,外部实体将包括在生成的 (翻译的) 文档中,并用于提取字符串。如果未定"
"义,则必须将外部实体单独转换为独立文档。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:25
msgid "B<ontagerror>"
msgstr "B<ontagerror>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:26
msgid ""
"This option defines the behavior of the module when it encounters invalid "
"XML syntax (a closing tag which does not match the last opening tag). It "
"can take the following values:"
msgstr ""
"此选项定义模块遇到无效 XML 语法 (结束标记与最后一个开始标记不匹配) 时的行为。"
"它可以采用以下值:"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:28
msgid "This is the default value. The module will exit with an error."
msgstr "这是默认值。模块将退出,并出现错误。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:29
msgid "I<warn>"
msgstr "I<warn>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:30
msgid "The module will continue, and will issue a warning."
msgstr "该模块将继续运行,并发出警告。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:31
msgid "I<silent>"
msgstr "I<silent>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:32
msgid "The module will continue without any warnings."
msgstr "模块将继续,没有任何警告。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:33
msgid ""
"Be careful when using this option. It is generally recommended to fix the "
"input file."
msgstr "使用此选项时要小心。通常建议修复输入文件。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:34
msgid "B<tagsonly>"
msgstr "B<tagsonly>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:35
msgid "Note: This option is deprecated."
msgstr "注意:此选项已弃用。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:36
msgid ""
"Extracts only the specified tags in the B<tags> option. Otherwise, it will "
"extract all the tags except the ones specified."
msgstr ""
"仅提取 B<tags> 选项中指定的标记。否则,它将提取除指定标记之外的所有标记。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:37
msgid "B<doctype>"
msgstr "B<doctype>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:38
msgid ""
"String that will try to match with the first line of the document's doctype "
"(if defined). If it doesn't, a warning will indicate that the document might "
"be of a bad type."
msgstr ""
"尝试与文档的 doctype 的第一行匹配的字符串(如果已定义)。如果不是,则会出现一条"
"警告,指示该文档的类型可能不正确。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:39
msgid "B<addlang>"
msgstr "B<addlang>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:40
msgid ""
"String indicating the path (e.g. E<lt>bbbE<gt>E<lt>aaaE<gt>) of a tag where "
"a lang=\"...\" attribute shall be added. The language will be defined as the "
"basename of the PO file without any .po extension."
msgstr ""
"指示标记的路径 (例如,E<lt>bbbE<gt>E<lt>aaaE<gt>) 的字符串,其中 lang=\"..."
"\" 需要增加属性。语言将定义为 PO 文件的基本名称,不带任何 .po 扩展名。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:41
msgid "B<optionalclosingtag>"
msgstr "B<optionalclosingtag>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:42
msgid ""
"Boolean indicating whether closing tags are optional (as in HTML). By "
"default, missing closing tags raise an error handled according to "
"B<ontagerror>."
msgstr ""
"指示关闭标记是否可选的布尔值(如 HTML 中所示)。默认情况下,缺少的关闭标记会"
"引发根据 B<ontagerror> 处理的错误。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:43
msgid "B<tags>"
msgstr "B<tags>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:44
msgid ""
"Note: This option is deprecated. You should use the B<translated> and "
"B<untranslated> options instead."
msgstr "注意:此选项已弃用。您应该改用 B<translated> 和 B<untranslated> 选项。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:45
msgid ""
"Space-separated list of tags you want to translate or skip. By default, the "
"specified tags will be excluded, but if you use the \"tagsonly\" option, the "
"specified tags will be the only ones included. The tags must be in the form "
"E<lt>aaaE<gt>, but you can join some (E<lt>bbbE<gt>E<lt>aaaE<gt>) to say "
"that the content of the tag E<lt>aaaE<gt> will only be translated when it's "
"into a E<lt>bbbE<gt> tag."
msgstr ""
"要翻译或跳过的以空格分隔的标签列表。默认情况下,将排除指定的标记,但如果使用 "
"\"tagsonly\" 选项,则只包含指定的标记。标记的格式必须是 E<lt>aaaE<gt>,但是您"
"可以加入一些 (E<lt>bbbE<gt>E<lt>aaaE<gt>),说明标记 E<lt>aaaE<gt> 的内容只有"
"在转换为 E<lt>bbbE<gt> 标记时才会被转换。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:46
msgid ""
"You can also specify some tag options by putting some characters in front of "
"the tag hierarchy. For example, you can put I<w> (wrap) or I<W> (don't "
"wrap) to override the default behavior specified by the global B<wrap> "
"option."
msgstr ""
"您还可以通过在标签层次结构前面放置一些字符来指定一些标签选项。例如,您可以放"
"入 'W' (换行) 或 'W' (不换行) 来覆盖全局 B<wrap> 选项指定的默认行为。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:47 lib/Locale/Po4a/Xml.pm:92
msgid "Example: WE<lt>chapterE<gt>E<lt>titleE<gt>"
msgstr "例如:WE<lt>chapterE<gt>E<lt>titleE<gt>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:49
msgid ""
"Space-separated list of tag's attributes you want to translate. You can "
"specify the attributes by their name (for example, \"lang\"), but you can "
"prefix it with a tag hierarchy, to specify that this attribute will only be "
"translated when it's in the specified tag. For example: "
"E<lt>bbbE<gt>E<lt>aaaE<gt>lang specifies that the lang attribute will only "
"be translated if it's in an E<lt>aaaE<gt> tag, and it's in a E<lt>bbbE<gt> "
"tag."
msgstr ""
"要转换的标记属性的空格分隔列表。您可以按名称指定属性 (例如,\"lang\"),但可以"
"在其前面加上标记层次结构,以指定此属性仅在其位于指定的标记中时才会被转换。例"
"如:E<lt>bbbE<gt>E<lt>aaaE<gt>lang 指定只有当 lang 属性在 E<lt>aaaE<gt> 标记"
"中,并且它在 E<lt>bbbE<gt> 标记中时,lang 属性才会被转换。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:50
msgid "B<foldattributes>"
msgstr "B<foldattributes>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:51
msgid ""
"Do not translate attributes in inline tags. Instead, replace all attributes "
"of a tag by po4a-id=<id>."
msgstr "不要转换行内标签中的属性。相反,将标记的所有属性替换为 po4a-id=<id>。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:52
msgid ""
"This is useful when attributes shall not be translated, as this simplifies "
"the strings for translators, and avoids typos."
msgstr ""
"当属性不应该被翻译时,这很有用,因为这简化了翻译人员的字符串,并避免了打字错"
"误。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:53
msgid "B<customtag>"
msgstr "B<customtag>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:54
msgid ""
"Space-separated list of tags which should not be treated as tags. These "
"tags are treated as inline, and do not need to be closed."
msgstr ""
"不应视为标记的以空格分隔的标记列表。这些标记被视为内联标记,不需要关闭。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:55
msgid "B<break>"
msgstr "B<break>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:56
msgid ""
"Space-separated list of tags which should break the sequence. By default, "
"all tags break the sequence."
msgstr "空格分隔的应中断序列的标记列表。默认情况下,所有标签都会打破顺序。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:57 lib/Locale/Po4a/Xml.pm:61
#: lib/Locale/Po4a/Xml.pm:66 lib/Locale/Po4a/Xml.pm:76
#: lib/Locale/Po4a/Xml.pm:96
msgid ""
"The tags must be in the form <aaa>, but you can join some (<bbb><aaa>), if a "
"tag (<aaa>) should only be considered when it's within another tag (<bbb>)."
msgstr ""
"标记的形式必须为 <aaa>,但如果标记 (<aaa>) 仅在另一个标记 (<bbb>) 内时才应考"
"虑,则可以联接一些 (<bbb><aaa>)。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:58
msgid ""
"Please note a tag should be listed in only one of the B<break>, B<inline> "
"B<placeholder>, or B<customtag> setting string."
msgstr ""
"请注意,标记只能在 B<break>、B<inline> 、B<placeholder> 或 B<customtag> 设置"
"字符串之一中列出。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:60
msgid ""
"Space-separated list of tags which should be treated as inline. By default, "
"all tags break the sequence."
msgstr "应视为内联的以空格分隔的标记列表。默认情况下,所有标签都会打破顺序。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:62
msgid "B<placeholder>"
msgstr "B<placeholder>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:63
msgid ""
"Space-separated list of tags which should be treated as placeholders. "
"Placeholders do not break the sequence, but the content of placeholders is "
"translated separately."
msgstr ""
"应视为占位符的以空格分隔的标记列表。占位符不会打乱顺序,但会单独转换占位符的"
"内容。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:64
msgid ""
"The location of the placeholder in its block will be marked with a string "
"similar to:"
msgstr "占位符在其块中的位置将使用类似于以下内容的字符串进行标记:"
#. type: verbatim
#: lib/Locale/Po4a/Xml.pm:65
#, no-wrap
msgid ""
" <placeholder type=\\\"footnote\\\" id=\\\"0\\\"/>\n"
"\n"
msgstr ""
" <placeholder type=\\\"footnote\\\" id=\\\"0\\\"/>\n"
"\n"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:67
msgid "B<break-pi>"
msgstr "B<break-pi>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:68
msgid ""
"By default, Processing Instructions (i.e., C<E<lt>? ... ?E<gt>> tags) are "
"handled as inline tags. Pass this option if you want the PI to be handled "
"as breaking tag. Note that unprocessed PHP tags are handled as Processing "
"Instructions by the parser."
msgstr ""
"默认情况下,处理指令(即 C<E<lt>? ... ?E<gt>> 标记)作为内联标记处理。如果希望"
"将 PI 作为中断标记处理,请通过此选项。请注意,解析器将未处理的 PHP 标记作为处"
"理指令进行处理。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:69
msgid "B<nodefault>"
msgstr "B<nodefault>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:70
msgid ""
"Space separated list of tags that the module should not try to set by "
"default in any category."
msgstr "默认情况下,模块不应尝试在任何类别中设置的标记的空格分隔列表。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:71
msgid ""
"If you have a tag which has its default setting by the subclass of this "
"module but you want to set alternative setting, you need to list that tag as "
"a part of the B<nodefault> setting string."
msgstr ""
"如果您的标记按此模块的子类具有其默认设置,但您想要设置替代设置,则需要将该标"
"记作为 B<nodefault> 设置字符串的一部分列出。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:72
msgid "B<cpp>"
msgstr "B<cpp>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:73
msgid ""
"Support C preprocessor directives. When this option is set, po4a will "
"consider preprocessor directives as paragraph separators. This is important "
"if the XML file must be preprocessed because otherwise the directives may be "
"inserted in the middle of lines if po4a consider it belong to the current "
"paragraph, and they won't be recognized by the preprocessor. Note: the "
"preprocessor directives must only appear between tags (they must not break a "
"tag)."
msgstr ""
"支持 C 预处理器指令。设置此选项时,po4a 将把预处理器指令视为段落分隔符。如果"
"必须对 XML 文件进行预处理,这一点很重要,因为否则,如果 po4a 认为它属于当前段"
"落,则指令可能会插入到行的中间,并且预处理器无法识别它们。注意:预处理器指令"
"只能出现在标记之间 (它们不能换开标记)。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:74
msgid "B<translated>"
msgstr "B<translated>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:75
msgid "Space-separated list of tags you want to translate."
msgstr "要翻译的标记的空格分隔列表。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:77
msgid ""
"You can also specify some tag options by putting some characters in front of "
"the tag hierarchy. This overrides the default behavior specified by the "
"global B<wrap> and B<defaulttranslateoption> option."
msgstr ""
"您还可以通过在标签层次结构前面放置一些字符来指定一些标签选项。这将覆盖全局 "
"B<wrap> 和 B<defaulttranslateoption> 选项指定的默认行为。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:78
msgid "I<w>"
msgstr "I<w>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:79
msgid "Tags should be translated and content can be re-wrapped."
msgstr "标签应该被翻译,内容可以重新封装。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:80
msgid "I<W>"
msgstr "I<W>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:81
msgid "Tags should be translated and content should not be re-wrapped."
msgstr "标签应该被翻译,内容不应该被重新包装。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:82
msgid "I<i>"
msgstr "I<i>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:83
msgid "Tags should be translated inline."
msgstr "标签应该内联翻译。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:84
msgid "I<p>"
msgstr "I<p>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:85
msgid "Tags should be translated as placeholders."
msgstr "标记应转换为占位符。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:86
msgid ""
"Internally, the XML parser only cares about these four options: I<w> I<W> "
"I<i> I<p>."
msgstr "在内部,XML 解析器只关心以下四个选项: I<w> I<W> I<i> I<p>。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:87
msgid ""
"* Tags listed in B<break> are set to I<w> or I<W> depending on the B<wrap> "
"option."
msgstr "* 根据 B<break> 选项,将 B<Break> 中列出的标记设置为 I<w> 或 I<W> 。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:88
msgid "* Tags listed in B<inline> are set to I<i>."
msgstr "* B<inline> 中列出的标记设置为 I<i>。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:89
msgid "* Tags listed in B<placeholder> are set to I<p>."
msgstr "* B<placeholder> 中列出的标记设置为 I<p>。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:90
msgid "* Tags listed in B<untranslated> are without any of these options set."
msgstr "* B<untranslated> 中列出的标记未设置任何这些选项。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:91
msgid ""
"You can verify actual internal parameter behavior by invoking B<po4a> with "
"B<--debug> option."
msgstr "您可以通过使用 B<--debug> 选项调用 B<po4a> 来验证实际的内部参数行为。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:93
msgid ""
"Please note a tag should be listed in either B<translated> or "
"B<untranslated> setting string."
msgstr "请注意,标签应列在 B<translated> 或 B<untranslated> 设置字符串中。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:95
msgid "Space-separated list of tags you do not want to translate."
msgstr "您不想翻译的以空格分隔的标签列表。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:97
msgid ""
"Please note a translatable inline tag in an untranslated tag is treated as a "
"translatable breaking tag, I<i> setting is dropped and I<w> or I<W> is set "
"depending on the B<wrap> option."
msgstr ""
"请注意,未翻译标记中的可翻译行内标记将被视为可翻译中断标记,I<i> 设置将被删"
"除,I<w> 或 I<W> 将根据 B<wrap> 选项进行设置。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:98
msgid "B<defaulttranslateoption>"
msgstr "B<defaulttranslateoption>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:99
msgid ""
"The default categories for tags that are not in any of the translated, "
"untranslated, break, inline, or placeholder."
msgstr "不在任何已翻译、未翻译、分隔符、内联或占位符中的标签的默认类别。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:100
msgid ""
"This is a set of letters as defined in B<translated> and this setting is "
"only valid for translatable tags."
msgstr "这是 B<translated> 中定义的一组字母,此设置仅对可翻译标记有效。"
#. type: =head1
#: lib/Locale/Po4a/Xml.pm:101
msgid "WRITING DERIVATIVE MODULES"
msgstr "编写衍生模块"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:102
msgid "DEFINE WHAT TAGS AND ATTRIBUTES TO TRANSLATE"
msgstr "定义要转换的标签和属性"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:103
msgid ""
"The simplest customization is to define which tags and attributes you want "
"the parser to translate. This should be done in the initialize function. "
"First you should call the main initialize, to get the command-line options, "
"and then, append your custom definitions to the options hash. If you want "
"to treat some new options from command line, you should define them before "
"calling the main initialize:"
msgstr ""
"最简单的定制是定义希望解析器转换哪些标记和属性。这应该在 initialize 函数中完"
"成。首先,您应该调用 main initialize 来获取命令行选项,然后将您的自定义定义附"
"加到选项散列中。如果您想从命令行处理一些新选项,您应该在调用 main initialize "
"之前定义它们:"
#. type: verbatim
#: lib/Locale/Po4a/Xml.pm:104
#, no-wrap
msgid ""
" $self->{options}{'new_option'}='';\n"
" $self->SUPER::initialize(%options);\n"
" $self->{options}{'_default_translated'}.=' <p> <head><title>';\n"
" $self->{options}{'attributes'}.=' <p>lang id';\n"
" $self->{options}{'_default_inline'}.=' <br>';\n"
" $self->treat_options;\n"
"\n"
msgstr ""
" $self->{options}{'new_option'}='';\n"
" $self->SUPER::initialize(%options);\n"
" $self->{options}{'_default_translated'}.=' <p> <head><title>';\n"
" $self->{options}{'attributes'}.=' <p>lang id';\n"
" $self->{options}{'_default_inline'}.=' <br>';\n"
" $self->treat_options;\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:105
msgid ""
"You should use the B<_default_inline>, B<_default_break>, "
"B<_default_placeholder>, B<_default_translated>, B<_default_untranslated>, "
"and B<_default_attributes> options in derivative modules. This allow users "
"to override the default behavior defined in your module with command line "
"options."
msgstr ""
"您应该在衍生模块中使用 B<_default_inline>, B<_default_break>, "
"B<_default_placeholder>, B<_default_translated>, B<_default_untranslated>, "
"和 B<_default_attributes> 选项。这允许用户使用命令行选项覆盖模块中定义的默认"
"行为。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:107
msgid ""
"If you don't like the default behavior of this xml module and its derivative "
"modules, you can provide command line options to change their behavior."
msgstr ""
"如果您不喜欢这个 xml 模块及其派生模块的默认行为,则可以提供命令行选项来更改它"
"们的行为。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:108
msgid "See L<Locale::Po4a::Docbook(3pm)|Locale::Po4a::Docbook>,"
msgstr "请参阅 L<Locale::Po4a::Docbook(3pm)|Locale::Po4a::Docbook>,"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:109
msgid "OVERRIDING THE found_string FUNCTION"
msgstr "覆盖 found_string 功能"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:110
msgid ""
"Another simple step is to override the function \"found_string\", which "
"receives the extracted strings from the parser, in order to translate them. "
"There you can control which strings you want to translate, and perform "
"transformations to them before or after the translation itself."
msgstr ""
"另一个简单的步骤是重写函数 \"found_string\",该函数接收从解析器中提取的字符"
"串,以便转换它们。 您可以控制要翻译的字符串,并在转换本身之前或之后执行转换。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:111
msgid ""
"It receives the extracted text, the reference on where it was, and a hash "
"that contains extra information to control what strings to translate, how to "
"translate them and to generate the comment."
msgstr ""
"它接收提取的文本、关于它所在位置的引用以及包含额外信息的散列,以控制要翻译哪"
"些字符串、如何翻译它们以及生成注释。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:112
msgid ""
"The content of these options depends on the kind of string it is (specified "
"in an entry of this hash):"
msgstr "这些选项的内容取决于字符串的类型 (在此散列的条目中指定):"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:113
msgid "type=\"tag\""
msgstr "type=\"tag\""
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:114
msgid ""
"The found string is the content of a translatable tag. The entry "
"\"tag_options\" contains the option characters in front of the tag hierarchy "
"in the module \"tags\" option."
msgstr ""
"找到的字符串是可翻译标签的内容。条目 \"tag_options\" 包含模块 \"tags\" 选项中"
"标记层次结构前面的选项字符。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:115
msgid "type=\"attribute\""
msgstr "type=\"attribute\""
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:116
msgid ""
"Means that the found string is the value of a translatable attribute. The "
"entry \"attribute\" has the name of the attribute."
msgstr ""
"表示找到的字符串是可翻译属性的值。条目 \"attribute\" 具有该属性的名称。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:117
msgid ""
"It must return the text that will replace the original in the translated "
"document. Here's a basic example of this function:"
msgstr ""
"它必须返回将替换翻译文档中原始文本的文本。下面是这个函数的一个基本示例:"
#. type: verbatim
#: lib/Locale/Po4a/Xml.pm:118
#, no-wrap
msgid ""
" sub found_string {\n"
" my ($self,$text,$ref,$options)=@_;\n"
" $text = $self->translate($text,$ref,\"type \".$options->{'type'},\n"
" 'wrap'=>$self->{options}{'wrap'});\n"
" return $text;\n"
" }\n"
"\n"
msgstr ""
" sub found_string {\n"
" my ($self,$text,$ref,$options)=@_;\n"
" $text = $self->translate($text,$ref,\"type \".$options->{'type'},\n"
" 'wrap'=>$self->{options}{'wrap'});\n"
" return $text;\n"
" }\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:119
msgid ""
"There's another simple example in the new Dia module, which only filters "
"some strings."
msgstr "在新的 Dia 模块中还有另一个简单的示例,它只过滤一些字符串。"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:120
msgid "MODIFYING TAG TYPES (TODO)"
msgstr "修改标记类型 (TODO)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:121
msgid ""
"This is a more complex one, but it enables a (almost) total customization. "
"It's based on a list of hashes, each one defining a tag type's behavior. The "
"list should be sorted so that the most general tags are after the most "
"concrete ones (sorted first by the beginning and then by the end keys). To "
"define a tag type you'll have to make a hash with the following keys:"
msgstr ""
"这是一个更复杂的方法,但它支持(几乎)完全自定义。它基于散列列表,每个散列定义"
"一种标记类型的行为。应该对列表进行排序,以便最通用的标记位于最具体的标记之后"
"(首先按开始排序,然后按结束键排序)。要定义标记类型,您必须使用以下键进行散"
"列:"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:122
msgid "B<beginning>"
msgstr "B<beginning>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:123
msgid "Specifies the beginning of the tag, after the \"E<lt>\"."
msgstr "在 \"E<lt>\" 之后指定标记的开始。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:124
msgid "B<end>"
msgstr "B<end>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:125
msgid "Specifies the end of the tag, before the \"E<gt>\"."
msgstr "在 \"E<gt>\" 之前指定标记的末尾。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:126
msgid "B<breaking>"
msgstr "B<breaking>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:127
msgid ""
"It says if this is a breaking tag class. A non-breaking (inline) tag is one "
"that can be taken as part of the content of another tag. It can take the "
"values false (0), true (1) or undefined. If you leave this undefined, "
"you'll have to define the f_breaking function that will say whether a "
"concrete tag of this class is a breaking tag or not."
msgstr ""
"它会显示这是否是中断标记类。非中断(内联)标签是可以作为另一个标签内容的一部分"
"的标签。它可以采用值 false (0)、true (1) 或 undefined。如果未定义此标记,则必"
"须定义 f_breaking 函数,该函数将说明该类的具体标记是否为中断标记。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:128
msgid "B<f_breaking>"
msgstr "B<f_breaking>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:129
msgid ""
"It's a function that will tell if the next tag is a breaking one or not. It "
"should be defined if the B<breaking> option is not."
msgstr ""
"它是一个函数,它将判断下一个标记是否是中断标记。如果 B<breaking> 选项不是,则"
"应该定义它。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:130
msgid "B<f_extract>"
msgstr "B<f_extract>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:131
msgid ""
"If you leave this key undefined, the generic extraction function will have "
"to extract the tag itself. It's useful for tags that can have other tags or "
"special structures in them, so that the main parser doesn't get mad. This "
"function receives a boolean that says if the tag should be removed from the "
"input stream or not."
msgstr ""
"如果您将此键未定义,泛型提取函数将必须提取标记本身。对于那些可以在它们中拥有"
"其他标记或特殊结构的标签来说,它很有用,所以主解析器不会错乱。此函数接收一个"
"布尔值,该布尔值表示如果标记应该从输入流中删除,或者不应该删除。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:132
msgid "B<f_translate>"
msgstr "B<f_translate>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:133
msgid ""
"This function receives the tag (in the get_string_until() format) and "
"returns the translated tag (translated attributes or all needed "
"transformations) as a single string."
msgstr ""
"此函数接收标记 (get_string_until() 格式),并将转换后的标记 (转换后的属性或所"
"有需要的转换) 作为单个字符串返回。"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:135
msgid "WORKING WITH TAGS"
msgstr "使用标记"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:136
msgid "get_path()"
msgstr "get_path()"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:137
msgid ""
"This function returns the path to the current tag from the document's root, "
"in the form E<lt>htmlE<gt>E<lt>bodyE<gt>E<lt>pE<gt>."
msgstr ""
"此函数返回从文档根到当前标记的路径,格式为 "
"E<lt>htmlE<gt>E<lt>bodyE<gt>E<lt>pE<gt>."
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:138
msgid ""
"An additional array of tags (without brackets) can be passed as argument. "
"These path elements are added to the end of the current path."
msgstr ""
"可以作为参数传递额外的标记数组(不带括号)。 这些路径元素将添加到当前路径的末"
"尾。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:139
msgid "tag_type()"
msgstr "tag_type()"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:140
msgid ""
"This function returns the index from the tag_types list that fits to the "
"next tag in the input stream, or -1 if it's at the end of the input file."
msgstr ""
"此函数返回 tag_types 列表中适合输入流中下一个标记的索引,如果它位于输入文件的"
"末尾,则返回 -1。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:141
msgid ""
"Here, the tag has structure started by E<lt> and end by E<gt> and it can "
"contain multiple lines."
msgstr "这里,标记的结构以 E<lt> 开头,以 E<gt> 结尾,并且可以包含多行。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:142 lib/Locale/Po4a/Xml.pm:145
#: lib/Locale/Po4a/Xml.pm:152 lib/Locale/Po4a/Xml.pm:161
msgid ""
"This works on the array C<< @{$self->{TT}{doc_in}} >> holding input document "
"data and reference indirectly via C<< $self->shiftline() >> and C<< $self-"
">unshiftline($$) >>."
msgstr ""
"这适用于通过 C<< $self->shiftline() >> 和 C<< $self->unshiftline($$) >> 间接"
"保存输入文档数据和引用的数组 C<< @{$self->{TT}{doc_in}} >>。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:143
msgid "extract_tag($$)"
msgstr "extract_tag($$)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:144
msgid ""
"This function returns the next tag from the input stream without the "
"beginning and end, in an array form, to maintain the references from the "
"input file. It has two parameters: the type of the tag (as returned by "
"tag_type) and a boolean, that indicates if it should be removed from the "
"input stream."
msgstr ""
"此函数返回输入流的下一个标记,而不以数组形式结束,以维护来自输入文件的引用。 "
"它有两个参数:标记的类型(由 tag_type 返回)和布尔,指示是否应该从输入流中删"
"除标记类型。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:146
msgid "get_tag_name(@)"
msgstr "get_tag_name(@)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:147
msgid ""
"This function returns the name of the tag passed as an argument, in the "
"array form returned by extract_tag."
msgstr "此函数以 extract_tag 返回的数组形式返回作为参数传递的标记名。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:148
msgid "breaking_tag()"
msgstr "breaking_tag()"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:149
msgid ""
"This function returns a boolean that says if the next tag in the input "
"stream is a breaking tag or not (inline tag). It leaves the input stream "
"intact."
msgstr ""
"此函数返回一个布尔值,该布尔值表示输入流中的下一个标记是否为中断标记(内联标"
"记)。 它保持输入流不变。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:150
msgid "treat_tag()"
msgstr "treat_tag()"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:151
msgid ""
"This function translates the next tag from the input stream. Using each tag "
"type's custom translation functions."
msgstr "此函数用于转换输入流中的下一个标记。使用每种标签类型的自定义翻译功能。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:153
msgid "tag_in_list($@)"
msgstr "tag_in_list($@)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:154
msgid ""
"This function returns a string value that says if the first argument (a tag "
"hierarchy) matches any of the tags from the second argument (a list of tags "
"or tag hierarchies). If it doesn't match, it returns 0. Else, it returns the "
"matched tag's options (the characters in front of the tag) or 1 (if that tag "
"doesn't have options)."
msgstr ""
"此函数返回一个字符串值,表示第一个参数 (标记层次结构) 是否与第二个参数 (标记"
"列表或标记层次结构) 中的任何标记匹配。如果不匹配,则返回 0。否则,它返回匹配"
"标记的选项(标记前面的字符)或 1 (如果该标记没有选项)。"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:155
msgid "WORKING WITH ATTRIBUTES"
msgstr "使用属性"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:156
msgid "treat_attributes(@)"
msgstr "treat_attributes(@)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:157
msgid ""
"This function handles the translation of the tags' attributes. It receives "
"the tag without the beginning / end marks, and then it finds the attributes, "
"and it translates the translatable ones (specified by the module option "
"B<attributes>). This returns a plain string with the translated tag."
msgstr ""
"此函数处理标记属性的转换。它接收没有开始/结束标记的标记,然后找到属性,并翻译"
"可翻译的属性(由模块选项 B<attributes> 指定)。这将返回一个带有翻译后的标记的纯"
"字符串。"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:158
msgid "WORKING WITH TAGGED CONTENTS"
msgstr "使用已标记的内容"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:159
msgid "treat_content()"
msgstr "treat_content()"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:160
msgid ""
"This function gets the text until the next breaking tag (not inline) from "
"the input stream. Translate it using each tag type's custom translation "
"functions."
msgstr ""
"此函数从输入流获取文本,直到下一个换行标记(不是内联)。使用每种标记类型的自定"
"义翻译功能对其进行翻译。"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:162
msgid "WORKING WITH THE MODULE OPTIONS"
msgstr "使用模块选项"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:163
msgid "treat_options()"
msgstr "treat_options()"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:164
msgid ""
"This function fills the internal structures that contain the tags, "
"attributes and inline data with the options of the module (specified in the "
"command-line or in the initialize function)."
msgstr ""
"此函数使用模块的选项 (在命令行或 initialize 函数中指定) 填充包含标记、属性和"
"内联数据的内部结构。"
#. type: =head2
#: lib/Locale/Po4a/Xml.pm:165
msgid "GETTING TEXT FROM THE INPUT DOCUMENT"
msgstr "从输入文档获取文本"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:166
msgid "get_string_until($%)"
msgstr "get_string_until($%)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:167
msgid ""
"This function returns an array with the lines (and references) from the "
"input document until it finds the first argument. The second argument is an "
"options hash. Value 0 means disabled (the default) and 1, enabled."
msgstr ""
"此函数返回一个数组,该数组包含输入文档中的行(和引用),直到它找到第一个参"
"数。 第二个参数是选项哈希。值 0 表示已禁用(默认值)和启用 1。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:168
msgid "The valid options are:"
msgstr "有效选项包括:"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:169
msgid "B<include>"
msgstr "B<include>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:170
msgid "This makes the returned array to contain the searched text"
msgstr "这使得返回的数组包含搜索的文本"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:171
msgid "B<remove>"
msgstr "B<remove>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:172
msgid "This removes the returned stream from the input"
msgstr "这将从输入中删除返回的流"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:173
msgid "B<unquoted>"
msgstr "B<unquoted>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:174
msgid "This ensures that the searched text is outside any quotes"
msgstr "这样可以确保搜索的文本位于任何引号之外"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:175
msgid "B<regex>"
msgstr "B<regex>"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:176
msgid ""
"This denotes that the first argument is a regular expression rather than an "
"plain string"
msgstr "这表示第一个参数是正则表达式,而不是普通字符串"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:177
msgid "skip_spaces(\\@)"
msgstr "skip_spaces(\\@)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:178
msgid ""
"This function receives as argument the reference to a paragraph (in the "
"format returned by get_string_until), skips his heading spaces and returns "
"them as a simple string."
msgstr ""
"此函数接收对段落的引用作为参数(格式由 get_string_until 返回),跳过其标题空格"
"并将其作为简单字符串返回。"
#. type: =item
#: lib/Locale/Po4a/Xml.pm:179
msgid "join_lines(@)"
msgstr "join_lines(@)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:180
msgid ""
"This function returns a simple string with the text from the argument array "
"(discarding the references)."
msgstr "此函数返回一个包含参数数组中文本的简单字符串(丢弃引用)。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:182
msgid "This module can translate tags and attributes."
msgstr "此模块可以翻译标记和属性。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:184
msgid "DOCTYPE (ENTITIES)"
msgstr "DOCTYPE (ENTITIES)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:185
msgid ""
"There is a minimal support for the translation of entities. They are "
"translated as a whole, and tags are not taken into account. Multilines "
"entities are not supported and entities are always rewrapped during the "
"translation."
msgstr ""
"对实体转换的支持最低。它们是作为整体翻译的,不考虑标签。不支持多行图元,并且"
"在转换过程中始终重包裹图元。"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:186
msgid ""
"MODIFY TAG TYPES FROM INHERITED MODULES (move the tag_types structure inside "
"the $self hash?)"
msgstr "修改继承模块中的标记类型(在 tag_types 中移动 $self 结构?)"
#. type: textblock
#: lib/Locale/Po4a/Xml.pm:188
msgid ""
"L<Locale::Po4a::TransTractor(3pm)|Locale::Po4a::TransTractor>, L<po4a(7)|"
"po4a.7>"
msgstr ""
"L<Locale::Po4a::TransTractor(3pm)|Locale::Po4a::TransTractor>, L<po4a(7)|"
"po4a.7>"
#. type: verbatim
#: lib/Locale/Po4a/Xml.pm:190
#, no-wrap
msgid ""
" Jordi Vilalta <jvprat@gmail.com>\n"
" Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" Jordi Vilalta <jvprat@gmail.com>\n"
" Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Xml.pm:192
#, no-wrap
msgid ""
" Copyright © 2004 Jordi Vilalta <jvprat@gmail.com>\n"
" Copyright © 2008-2009 Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
msgstr ""
" 版权所有 © 2004 Jordi Vilalta <jvprat@gmail.com>\n"
" 版权所有 © 2008-2009 Nicolas François <nicolas.francois@centraliens.net>\n"
"\n"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:2
msgid "Locale::Po4a::Yaml - convert YAML files from/to PO files"
msgstr "Locale::Po4a::Yaml - 将 YAML 文件从/转换为 PO 文件"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:4
msgid ""
"Locale::Po4a::Yaml is a module to help the translation of Yaml files into "
"other [human] languages."
msgstr ""
"Locale::Po4a::Yaml 是一个帮助将 Yaml 文件翻译成其他 [人类] 语言的模块。"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:5
msgid ""
"The module extracts the value of YAML hashes and arrays. Hash keys are not "
"extracted."
msgstr "该模块提取 YAML 散列和数组的值。不提取散列键。"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:6
msgid "NOTE: This module parses the YAML file with YAML::Tiny."
msgstr "注意:此模块使用 YAML::Tiny 解析 YAML 文件。"
#. type: =item
#: lib/Locale/Po4a/Yaml.pm:9
msgid "B<keys>"
msgstr "B<keys>"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:10
#, fuzzy
#| msgid ""
#| "Space-separated list of hash keys to process for extraction, all other "
#| "keys are skipped. Keys are matched with a case-insensitive match. If "
#| "B<paths> and B<keys> are used together, values are included if they are "
#| "matched by at least one of the options. Arrays values are always "
#| "returned unless the B<skip_array> option is provided."
msgid ""
"Space-separated list of hash keys to process for extraction, all other keys "
"are skipped. Keys are matched with a case-sensitive match. If B<paths> and "
"B<keys> are used together, values are included if they are matched by at "
"least one of the options. Arrays values are always returned unless the "
"B<skip_array> option is provided."
msgstr ""
"要处理以进行提取的哈希键的空格分隔列表,将跳过所有其他键。密钥与不区分大小写"
"的匹配项匹配。如果 B<paths> 和 B<keys> 一起使用,则包括至少一个选项匹配的值。"
"除非提供了 B<skip_array> 选项,否则始终返回数组值。"
#. type: =item
#: lib/Locale/Po4a/Yaml.pm:11
msgid "B<paths>"
msgstr "B<paths>"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:12
#, fuzzy
#| msgid ""
#| "Comma-separated list of hash paths to process for extraction, all other "
#| "paths are skipped. Paths are matched with a case-insensitive match. If "
#| "B<paths> and B<keys> are used together, values are included if they are "
#| "matched by at least one of the options. Arrays values are always "
#| "returned unless the B<skip_array> option is provided."
msgid ""
"Comma-separated list of hash paths to process for extraction, all other "
"paths are skipped. Paths are matched with a case-sensitive match. If "
"B<paths> and B<keys> are used together, values are included if they are "
"matched by at least one of the options. Arrays values are always returned "
"unless the B<skip_array> option is provided."
msgstr ""
"要处理以进行提取的哈希路径的逗号分隔列表,则跳过所有其他路径。路径与不区分大"
"小写的匹配匹配。如果 B<paths> 和 B<keys> 一起使用,则包括至少一个选项匹配的"
"值。除非提供了 B<skip_array> 选项,否则始终返回数组值。"
#. type: =item
#: lib/Locale/Po4a/Yaml.pm:13
msgid "B<skip_array>"
msgstr "B<skip_array>"
#. type: textblock
#: lib/Locale/Po4a/Yaml.pm:14
msgid "Do not translate array values."
msgstr "不转换数组值。"
#. type: verbatim
#: lib/Locale/Po4a/Yaml.pm:18
#, no-wrap
msgid ""
" Brian Exelbierd <bex@pobox.com>\n"
"\n"
msgstr ""
" Brian Exelbierd <bex@pobox.com>\n"
"\n"
#. type: verbatim
#: lib/Locale/Po4a/Yaml.pm:20
#, fuzzy, no-wrap
#| msgid ""
#| " Copyright © 2008-2009, 2018 Jonas Smedegaard <dr@jones.dk>.\n"
#| " Copyright © 2020 Martin Quinson <mquinson#debian.org>.\n"
#| "\n"
msgid ""
" Copyright © 2017 Brian Exelbierd.\n"
" Copyright © 2022 Martin Quinson <mquinson#debian.org>.\n"
"\n"
msgstr ""
" 版权所有 © 2008-2009, 2018 Jonas Smedegaard <dr@jones.dk>.\n"
" 版权所有 © 2020 Martin Quinson <mquinson#debian.org>.\n"
"\n"
#~ msgid "This information is not written to the PO file."
#~ msgstr "此信息不会写入 PO 文件。"
#~ msgid ""
#~ "new() can take options, in the form of key/value pairs, that control the "
#~ "behavior of the parser. The recognized options common to all Pod::Parser "
#~ "children are:"
#~ msgstr ""
#~ "new() 可以采用键/值对形式的选项来控制解析器的行为。所有 Pod::Parser 子级通"
#~ "用的可识别选项为:"
#~ msgid "B<alt>"
#~ msgstr "B<alt>"
#~ msgid ""
#~ "If set to a true value, selects an alternate output format that, among "
#~ "other things, uses a different heading style and marks B<=item> entries "
#~ "with a colon in the left margin. Defaults to false."
#~ msgstr ""
#~ "如果设置为 true 值,则选择使用不同标题样式的备用输出格式,并在左边距中用冒"
#~ "号标记 B<=Item> 条目。默认值为 false。"
#~ msgid "B<code>"
#~ msgstr "B<code>"
#~ msgid ""
#~ "If set to a true value, the non-POD parts of the input file will be "
#~ "included in the output. Useful for viewing code documented with POD "
#~ "blocks with the POD rendered and the code left intact."
#~ msgstr ""
#~ "如果设置为 true 值,则输入文件的非 POD 部分将包括在输出中。用于查看使用 "
#~ "POD 块记录的代码,并呈现 POD 并保持代码不变。"
#~ msgid ""
#~ "The number of spaces to indent regular text, and the default indentation "
#~ "for B<=over> blocks. Defaults to 4."
#~ msgstr "用于缩进常规文本的空格数,以及 B<=over> 块的默认缩进。默认为 4。"
#~ msgid "B<loose>"
#~ msgstr "B<loose>"
#~ msgid ""
#~ "If set to a true value, a blank line is printed after a B<=head1> "
#~ "heading. If set to false (the default), no blank line is printed after "
#~ "B<=head1>, although one is still printed after B<=head2>. This is the "
#~ "default because it's the expected formatting for manual pages; if you're "
#~ "formatting arbitrary text documents, setting this to true may result in "
#~ "more pleasing output."
#~ msgstr ""
#~ "如果设置为 true 值,则在 B<=head1> 标题后打印一个空行。如果设置为 false "
#~ "(默认值),则在 B<=head1> 之后不打印空行,但在 B<=head2> 之后仍打印一个空"
#~ "行。这是默认设置,因为这是手册页的预期格式;如果您正在格式化任意文本文档,"
#~ "则将其设置为 true 可能会产生更令人满意的输出。"
#~ msgid "B<quotes>"
#~ msgstr "B<quotes>"
#~ msgid ""
#~ "Sets the quote marks used to surround CE<lt>> text. If the value is a "
#~ "single character, it is used as both the left and right quote; if it is "
#~ "two characters, the first character is used as the left quote and the "
#~ "second as the right quote; and if it is four characters, the first two "
#~ "are used as the left quote and the second two as the right quote."
#~ msgstr ""
#~ "设置用于将 CE<lt>> 文本括起来的引号。如果值是单字符,则同时用作左引号和右"
#~ "引号;如果是两个字符,则第一个字符用作左引号,第二个字符用作右引号;如果是"
#~ "四个字符,则前两个字符用作左引号,后两个字符用作右引号。"
#~ msgid ""
#~ "This may also be set to the special value B<none>, in which case no quote "
#~ "marks are added around CE<lt>> text."
#~ msgstr ""
#~ "也可以将其设置为特殊值 B<none>,在这种情况下,CE<lt>> 文本两边不会添加引"
#~ "号。"
#~ msgid "B<sentence>"
#~ msgstr "B<sentence>"
#~ msgid ""
#~ "If set to a true value, Locale::Po4a::Pod will assume that each sentence "
#~ "ends in two spaces, and will try to preserve that spacing. If set to "
#~ "false, all consecutive whitespace in non-verbatim paragraphs is "
#~ "compressed into a single space. Defaults to true."
#~ msgstr ""
#~ "如果设置为真值,Locale::Po4a::Pod 将假定每个句子以两个空格结束,并将尝试保"
#~ "留该空格。如果设置为 false,则非逐字段落中的所有连续空格都将压缩为一个空"
#~ "格。默认值为 true。"
#~ msgid "B<width>"
#~ msgstr "B<width>"
#~ msgid ""
#~ "The column at which to wrap text on the right-hand side. Defaults to 76."
#~ msgstr "要在其右侧换行文本的列。默认为 76。"
#~ msgid ""
#~ "Note that this option has no impact on how the msgid and msgstr are "
#~ "wrapped, ie on how newlines are added to the content of these strings."
#~ msgstr ""
#~ "请注意,此选项对 msgid 和 msgstr 的封装方式(即,将换行符添加到这些字符串"
#~ "的内容中)没有影响。"
#~ msgid "__END__"
#~ msgstr "__END__"
#~ msgid ""
#~ "# LocalWords: Charset charset AsciiDoc tablecells po UTF gettext msgid "
#~ "nostrip"
#~ msgstr ""
#~ "# LocalWords: Charset charset AsciiDoc tablecells po UTF gettext msgid "
#~ "nostrip"
#, fuzzy
#~| msgid ""
#~| "This program is free software; you may redistribute it and/or modify it "
#~| "under the terms of GPL (see COPYING file)."
#~ msgid ""
#~ "This program is free software; you may redistribute it and/or modify it "
#~ "under the terms of GPL v2.0 or later (see COPYING file)."
#~ msgstr ""
#~ "这个程序是自由软件;您可以根据 GPL 的条款重新分发和/或修改它(请参阅 "
#~ "COPYING 文件)。"
#~ msgid ""
#~ "Historically, po4a was built around four scripts, each fulfilling a "
#~ "specific task. L<po4a-gettextize(1)> helps bootstrapping translations and "
#~ "optionally converting existing translation projects to po4a. L<po4a-"
#~ "updatepo(1)> reflects the changes to the original documentation into the "
#~ "corresponding po files. L<po4a-translate(1)> builds translated source "
#~ "file from the original file and the corresponding PO file. In addition, "
#~ "L<po4a-normalize(1)> is mostly useful to debug the po4a parsers, as it "
#~ "produces an untranslated document from the original one. It makes it "
#~ "easier to spot the glitches introduced by the parsing process."
#~ msgstr ""
#~ "从历史上看,po4a 是围绕四个脚本构建的,每个脚本都完成特定的任务。L<po4a-"
#~ "gettexalize(1)> 帮助引导翻译,并可选择将现有翻译项目转换为 po4a。L<po4a-"
#~ "updatepo(1)> 将对原始文档的更改反映到相应的 po 文件中。L<po4a-late(1)> 从"
#~ "原始文件和相应的 PO 文件构建翻译后的源文件。此外,L<po4a-Normalize(1)> 对"
#~ "于调试 po4a 解析器非常有用,因为它从原始文档生成一个未翻译的文档。它使发现"
#~ "解析过程引入的故障变得更容易。"
#, fuzzy
#~| msgid ""
#~| "Most projects only require the features of L<po4a-updatepo(1)> and "
#~| "L<po4a-translate(1)>, but these scripts proved to be cumbersome and "
#~| "error prone to use. If the documentation to translate is split over "
#~| "several source files, it is difficult to keep the PO files up to date "
#~| "and build the documentation files correctly. As an answer, a all-in-one "
#~| "tool was provided: L<po4a(1)>. This tool takes a configuration file "
#~| "describing the structure of the translation project: the location of the "
#~| "PO files, the list of files to translate, and the options to use, and it "
#~| "fully automatizes the process. When you invoke L<po4a(1)>, it both "
#~| "updates the PO files and regenerate the translation files that need to. "
#~| "If everything is already up to date, L<po4a(1)> does not change any file."
#~ msgid ""
#~ "Most projects only require the features of L<po4a-updatepo(1)> and L<po4a-"
#~ "translate(1)>, but these scripts proved to be cumbersome and error prone "
#~ "to use. If the documentation to translate is split over several source "
#~ "files, it is difficult to keep the PO files up to date and build the "
#~ "documentation files correctly. As an answer, a all-in-one tool was "
#~ "provided: L<po4a(1)>. This tool takes a configuration file describing the "
#~ "structure of the translation project: the location of the PO files, the "
#~ "list of files to translate, and the options to use, and it fully "
#~ "automates the process. When you invoke L<po4a(1)>, it both updates the PO "
#~ "files and regenerate the translation files that need to. If everything is "
#~ "already up to date, L<po4a(1)> does not change any file."
#~ msgstr ""
#~ "大多数项目只需要 L<po4a-updatepo(1)> 和 L<po4a-late(1)> 的特性,但事实证明"
#~ "这些脚本使用起来很麻烦且容易出错。如果要翻译的文档分散在多个源文件中,则很"
#~ "难使 PO 文件保持最新并正确构建文档文件。作为答案,我们提供了一个一体化工"
#~ "具:L<po4a(1)>。该工具采用一个描述翻译项目结构的配置文件:PO 文件的位置、"
#~ "要翻译的文件列表和要使用的选项,并且它完全自动化了该过程。当您调用 "
#~ "L<po4a(1)> 时,它既更新 PO 文件,又重新生成需要的转换文件。如果所有内容都"
#~ "已经是最新的,则 L<po4a(1)> 不会更改任何文件。"
#~ msgid ""
#~ "The rest of this section gives an overview of how use the scripts' "
#~ "interface of po4a. Most users will probably prefer to use the all-in-one "
#~ "tool, that is described in the documentation of L<po4a(1)>."
#~ msgstr ""
#~ "本节的其余部分将概述如何使用 po4a 的脚本界面。大多数用户可能更喜欢使用 "
#~ "L<po4a(1)> 文档中描述的多合一工具。"
#~ msgid "Graphical overview of the po4a scripts"
#~ msgstr "Po4a 脚本的概述图"
#~ msgid ""
#~ "This schema is complicated, but in practice only the right part "
#~ "(involving L<po4a-updatepo(1)> and L<po4a-translate(1)>) is used once the "
#~ "project is setup and configured."
#~ msgstr ""
#~ "此模式很复杂,但实际上,一旦设置和配置了项目,就只使用正确的部分(涉及 "
#~ "L<po4a-updatepo(1)> 和 L<po4a-late(1)> )。"
#~ msgid ""
#~ "As noted before, the L<po4a(1)> program combines the effects of the "
#~ "separated scripts, updating the PO files and the translated document in "
#~ "one invocation. The underlying logic remains the same."
#~ msgstr ""
#~ "如前所述,L<po4a(1)> 程序结合了分离脚本的效果,在一次调用中更新 PO 文件和"
#~ "翻译后的文档。基本逻辑保持不变。"
#~ msgid ""
#~ "If you use L<po4a(1)>, there is no specific step to start a translation. "
#~ "You just have to list the languages in the configuration file, and the "
#~ "missing PO files are automatically created. Naturally, the translator "
#~ "then have to provide translations for every content used in your "
#~ "documents. L<po4a(1)> also creates a POT file, that is a PO template "
#~ "file. Potential translators can translate your project into a new "
#~ "language by renaming this file and providing the translations in their "
#~ "language."
#~ msgstr ""
#~ "如果使用 L<po4a(1)>,则没有特定的步骤来开始转换。您只需在配置文件中列出语"
#~ "言,就会自动创建丢失的 PO 文件。自然,翻译人员必须为您的文档中使用的每个内"
#~ "容提供翻译。L<po4a(1)>还创建 POT 文件,即 PO 模板文件。潜在的翻译人员可以"
#~ "通过重命名此文件并提供其语言的翻译,将您的项目翻译成一种新的语言。"
#, fuzzy
#~| msgid ""
#~| "If you prefer to use the individual scripts separately, you should use "
#~| "L<po4a-gettextize(1)> as follows to create the POT file. This file can "
#~| "then be copied into F<XX.po> to initiate a new translation."
#~ msgid ""
#~ "If you prefer to use the individual scripts separately, you should use "
#~ "L<po4a-gettextize(1)> as follows to bootstrap the POT file when "
#~ "converting your project to po4a (prefer L<po4a-updatepo(1)> once "
#~ "everything is setup, and reserve L<po4a-gettextize(1)> to this initial "
#~ "conversion). The obtained POT file can then be copied into F<XX.po> to "
#~ "initiate a new translation."
#~ msgstr ""
#~ "如果您喜欢单独使用各个脚本,则应该使用 L<po4a-gettexalize(1)> 创建 POT 文"
#~ "件,如下所示。然后可以将该文件复制到 F<XX.po> 以启动新的翻译。"
#, no-wrap
#~ msgid ""
#~ " $ po4a-gettextize --format <format> --master <master.doc> --po <translation.pot>\n"
#~ "\n"
#~ msgstr ""
#~ " $ po4a-gettextize --format <format> --master <master.doc> --po <translation.pot>\n"
#~ "\n"
#~ msgid ""
#~ "The master document is used in input, while the POT file is the output of "
#~ "this process."
#~ msgstr "Master 文档用于输入,而 POT 文件是此过程的输出。"
#~ msgid "Integrating changes to the original document"
#~ msgstr "将更改集成到原始文档"
#~ msgid ""
#~ "The script to use for that is L<po4a-updatepo(1)> (please refer to its "
#~ "documentation for details):"
#~ msgstr "为此使用的脚本是 L<po4a-updatepo(1)> (有关详细信息,请参阅其文档):"
#, no-wrap
#~ msgid ""
#~ " $ po4a-updatepo --format <format> --master <new_master.doc> --po <old_doc.XX.po>\n"
#~ "\n"
#~ msgstr ""
#~ " $ po4a-updatepo --format <format> --master <new_master.doc> --po <old_doc.XX.po>\n"
#~ "\n"
#~ msgid ""
#~ "The master document is used in input, while the PO file is updated: it is "
#~ "used both in input and output."
#~ msgstr ""
#~ "在输入中使用 master 文档,同时更新 PO 文件:它在输入和输出中都使用。"
#~ msgid ""
#~ "Once you're done with the translation, you want to get the translated "
#~ "documentation and distribute it to users along with the original one. "
#~ "For that, use the L<po4a-translate(1)> program as follows:"
#~ msgstr ""
#~ "完成翻译后,您希望获得翻译后的文档,并将其与原始文档一起分发给用户。为此,"
#~ "请使用 L<po4a-late(1)> 程序,如下所示:"
#, no-wrap
#~ msgid ""
#~ " $ po4a-translate --format <format> --master <master.doc> --po <doc.XX.po> --localized <XX.doc>\n"
#~ "\n"
#~ msgstr ""
#~ " $ po4a-translate --format <format> --master <master.doc> --po <doc.XX.po> --localized <XX.doc>\n"
#~ "\n"
#~ msgid ""
#~ "Both the master and PO files are used in input, while the localized file "
#~ "is the output of this process."
#~ msgstr "Master 文件和 PO 文件都用于输入,而本地化文件是此过程的输出。"
#~ msgid "to_utf8()"
#~ msgstr "to_utf8()"
#~ msgid ""
#~ "Recodes to UTF-8 the PO's msgstrs. Does nothing if the charset is not "
#~ "specified in the PO file (\"CHARSET\" value), or if it's already UTF-8 or "
#~ "ASCII."
#~ msgstr ""
#~ "重新编码为UTF-8 PO的消息。如果 PO 文件中没有指定字符集 (\"CHARSET\" 值),"
#~ "或者它已经是 UTF-8 或 ASCII,则不执行任何操作。"
#~ msgid "set_charset($)"
#~ msgstr "set_charset($)"
#~ msgid ""
#~ "This sets the character set of the PO header to the value specified in "
#~ "its first argument. If you never call this function (and no file with a "
#~ "specified character set is read), the default value is left to \"UTF-8\". "
#~ "This value doesn't change the behavior of this module, it's just used to "
#~ "fill that field in the header, and to return it in get_charset()."
#~ msgstr ""
#~ "这会将 PO 标头的字符集设置为其第一个参数中指定的值。如果您从不调用此函数"
#~ "(并且没有读取具有指定字符集的文件),则默认值为 \"UTF-8\"。这个值不会改变这"
#~ "个模块的行为,它只是用来填充头中的字段,并在 get_charset() 中返回它。"
#~ msgid ""
#~ "Charset used in the input document (if it isn't specified, it will try to "
#~ "detect it from the input document)."
#~ msgstr "输入文档中使用的字符集(如果未指定,它将尝试从输入文档中检测它)。"
#~ msgid "detected_charset($)"
#~ msgstr "detected_charset($)"
#~ msgid ""
#~ "This tells TransTractor that a new charset (the first argument) has been "
#~ "detected from the input document. It can usually be read from the "
#~ "document header. Only the first charset will remain, coming either from "
#~ "the process() arguments or detected from the document."
#~ msgstr ""
#~ "这告诉翻译提取器已经从输入文档中检测到新的字符集(第一个参数)。通常可以从单"
#~ "据表头读取。将只保留第一个字符集,它要么来自 process() 参数,要么来自文档"
#~ "中检测到的字符集。"
#~ msgid "recode_skipped_text($)"
#~ msgstr "recode_skipped_text($)"
#~ msgid ""
#~ "This function returns the recoded text passed as argument, from the input "
#~ "document's charset to the output document's one. This isn't needed when "
#~ "translating a string (translate() recodes everything itself), but it is "
#~ "when you skip a string from the input document and you want the output "
#~ "document to be consistent with the global encoding."
#~ msgstr ""
#~ "此函数将重新编码的文本作为参数从输入文档的字符集返回到输出文档的字符集。翻"
#~ "译字符串时不需要这样做 (translate() 会重新编码所有内容),但是当您跳过输入"
#~ "文档中的一个字符串并希望输出文档与全局编码一致时,就需要这样做。"
#~ msgid "Copyright 2002-2020 by SPI, inc."
#~ msgstr "版权所有 2002-2020,SPI,Inc."
#~ msgid ""
#~ "Comma-separated list of keys to process for translation in the YAML Front "
#~ "Matter section. All other keys are skipped. Keys are matched with a case-"
#~ "insensitive match. Array values are always translated, unless the "
#~ "B<yfm_skip_array> option is provided."
#~ msgstr ""
#~ "要在 YAML Front Matter 部分中处理以进行翻译的关键字的逗号分隔列表。将跳过"
#~ "所有其他关键点。密钥与不区分大小写的匹配匹配。除非提供了 "
#~ "B<yfm_skip_array> 选项,否则始终转换数组值。"
#~ msgid "Copyright © 2017 Brian Exelbierd."
#~ msgstr "版权所有 © 2017 Brian Exelbierd."
#, fuzzy
#~| msgid "B<debug>"
#~ msgid "B<dedup>"
#~ msgstr "B<debug>"
#~ msgid "gettextize($$)"
#~ msgstr "gettextize($$)"
#~ msgid ""
#~ "This function produces one translated message catalog from two catalogs, "
#~ "an original and a translation. This process is described in L<po4a(7)|"
#~ "po4a.7>, section I<Gettextization: how does it work?>."
#~ msgstr ""
#~ "此函数从两个目录 (一个原始目录和一个翻译目录) 生成一个翻译后的消息目录。这"
#~ "个过程在 L<po4a(7)|po4a.7> 这一章节 I<Gettextization: how does it work?> "
#~ "中描述。"
#~ msgid ""
#~ "When you run the B<po4a> program for the first time, with only a "
#~ "configuration file and the documents to translate (called master "
#~ "documents), it produces a POT file (also called translation template) "
#~ "that contains all of the translatable strings in the document in a form "
#~ "that eases the work of translators."
#~ msgstr ""
#~ "当您第一次运行 B<po4a> 程序时,只有一个配置文件和要翻译的文档(称为主文"
#~ "档),它会生成一个 POT 文件(也称为翻译模板),其中包含文档中的所有可翻译"
#~ "字符串,格式可以简化翻译器的工作。"
#~ msgid ""
#~ "Those POT files can either be translated with a specific editor such as "
#~ "the B<GNOME Translation Editor>, KDE's B<Lokalize> or B<poedit>, or they "
#~ "can be integrated in an online localization platform such as B<weblate> "
#~ "or B<pootle>. The translation result is a set of PO files, one per "
#~ "language."
#~ msgstr ""
#~ "这些 POT 文件可以使用特定的编辑器(如 B<GNOME Translation editor>、KDE 的 "
#~ "B<Lokalize> 或 B<poedit>)进行翻译,也可以集成到在线本地化平台(如 "
#~ "B<weblate> 或 B<pootle>)中。翻译结果是一组 PO 文件,每种语言一个。"
#~ msgid ""
#~ "If the master documents changed in the meanwhile, po4a will update the PO "
#~ "and POT files accordingly, so that the translators can easily detect the "
#~ "modifications and update their work. Depending on your settings, po4a "
#~ "will discard the partially translated documents, or produce a document "
#~ "mixing English (for the new or modified paragraphs) and the target "
#~ "language (for paragraphs where translation is already in the PO file)."
#~ msgstr ""
#~ "如果主文档同时发生了变化,po4a 将相应地更新 PO 和 POT 文件,以便翻译人员能"
#~ "够轻松地检测到修改并更新他们的工作。根据您的设置,po4a 将丢弃部分翻译的文"
#~ "档,或者生成一个混合了英语(对于新的或修改过的段落)和目标语言(对于翻译已"
#~ "经在 PO 文件中的段落)的文档。"
#~ msgid "Graphical overview"
#~ msgstr "概述图"
#~ msgid ""
#~ "The master documents are authored by the documentation writers. Any "
#~ "changes are automatically reflected by po4a in the PO files, that are "
#~ "then updated by the translators. All changes to the PO files (either "
#~ "manual or by po4a) are automatically reflected in translated documents. "
#~ "You can mimic this behavior using the L<po4a-updatepo(1)> and L<po4a-"
#~ "translate(1)> scripts in makefiles, but this quickly becomes bothersome "
#~ "and repetitive (see L<po4a(7)>). It is highly recommended to use the "
#~ "B<po4a> program in your build process."
#~ msgstr ""
#~ "主文档由文档作者编写。任何更改都会由 po4a 自动反映在 PO 文件中,然后由翻译"
#~ "人员进行更新。对采购订单文件的所有更改(手动或通过 po4a)都会自动反映在翻"
#~ "译的文档中。您可以使用 makefile 中的 L<po4a updatepo(1)> 和 L<po4a "
#~ "translate(1)> 脚本模拟此行为,但这很快就会变得麻烦和重复(请参见 "
#~ "L<po4a(7)>)。强烈建议在构建过程中使用 B<po4a>程序。"
#~ msgid "CONFIGURATION EXAMPLE"
#~ msgstr "配置示例"
#~ msgid "TODO: Is this section really useful?"
#~ msgstr "待办事项:这部分真的有用吗?"
#~ msgid ""
#~ "Let's assume you maintain a program named B<foo> which has a man page "
#~ "F<man/foo.1> which naturally is maintained in English only. Now you as "
#~ "the upstream or downstream maintainer want to create and maintain the "
#~ "translation. First you need to create the POT file necessary to send to "
#~ "translators using L<po4a-gettextize(1)>."
#~ msgstr ""
#~ "假设您维护一个名为 B<foo> 的程序,该程序有一个手册页 F<man/foo.1>,该手册"
#~ "页自然只以英语维护。现在,作为上游或下游维护者,您需要创建和维护转换。首"
#~ "先,需要创建 POT 文件,以便使用 L<po4a-gettextize(1)> 发送给转换器。"
#~ msgid "So for our case we would call"
#~ msgstr "因此,对于我们的情况,我们会将其称为"
#, no-wrap
#~ msgid ""
#~ " cd man && po4a-gettextize -f man -m foo.1 -p foo.pot\n"
#~ "\n"
#~ msgstr ""
#~ " cd man && po4a-gettextize -f man -m foo.1 -p foo.pot\n"
#~ "\n"
#~ msgid ""
#~ "You would then send this file to the appropriate language lists or offer "
#~ "it for download somewhere on your website."
#~ msgstr ""
#~ "然后,您可以将此文件发送到适当的语言列表,或在您的网站上的某个位置提供下"
#~ "载。"
#~ msgid ""
#~ "Now let's assume you received three translations before your next "
#~ "release: F<de.po> (including an addendum F<de.add>), F<sv.po> and F<pt."
#~ "po>. Since you don't want to change your F<Makefile>(s) whenever a new "
#~ "translation arrives you can use B<po4a> with an appropriate configuration "
#~ "file in your F<Makefile>. Let's call it F<po4a.cfg>. In our example it "
#~ "would look like the following:"
#~ msgstr ""
#~ "现在假设您在下一个版本发布之前收到了三个翻译:F<de.po>(包括附录 F<de."
#~ "po>), F<sv.po> 和 F<pt.po>. 由于您不想在新的翻译到达时更改 F<Makefile>,"
#~ "因此可以在 F<Makefile> 中使用 B<po4a> 和适当的配置文件。我们称之为 F<po4a."
#~ "cfg>。在我们的示例中,如下所示:"
#, no-wrap
#~ msgid ""
#~ " [po_directory] man/po4a/po/\n"
#~ "\n"
#~ msgstr ""
#~ " [po_directory] man/po4a/po/\n"
#~ "\n"
#~ msgid ""
#~ "In this example we assume that your generated man pages (and all PO and "
#~ "addenda files) should be stored in F<man/translated/$lang/> (respectively "
#~ "in F<man/po4a/po/> and F<man/po4a/add_$lang/>) below the current "
#~ "directory. In our example the F<man/po4a/po/> directory would include "
#~ "F<de.po>, F<pt.po> and F<sv.po>, and the F<man/po4a/add_de/> directory "
#~ "would include F<de.add>."
#~ msgstr ""
#~ "在这个例子中,我们假设您生成的手册页(以及所有的 PO 和 addenda 文件)应该"
#~ "存储在当前目录下的 F<man/translated/$lang/>(分别存储在 F<man/po4a/PO/> "
#~ "和 F<man/po4a/add\\$lang/>)中。在我们的示例中,F<man/po4a/po/> 目录将包"
#~ "括 F<de.po>,F<de.po> 和F<de.po>,并且 F<man/po4a/add_de/> 目录将包括 "
#~ "F<de.add>."
#~ msgid ""
#~ "Note the use of the modifier B<?> as only the German translation (F<de."
#~ "po>) is accompanied by an addendum."
#~ msgstr "注意修饰语 B<?> 的用法,因为只有德语翻译(F<de.po>)附有附录。"
#~ msgid ""
#~ "To actually build the translated man pages you would then (once!) add the "
#~ "following line in the B<build> target of the appropriate F<Makefile>:"
#~ msgstr ""
#~ "要实际构建翻译后的手册页,您需要(只需一次!)。在相应 F<Makefile> 的 "
#~ "B<build> 目标中添加以下行:"
#~ msgid ""
#~ "Once this is set up you don't need to touch the F<Makefile> when a new "
#~ "translation arrives, i.e. if the French team sends you F<fr.po> and F<fr."
#~ "add> then you simply drop them respectively in F<man/po4a/po/> and F<man/"
#~ "po4a/add_fr/> and the next time the program is built the French "
#~ "translation is automatically build as well in F<man/translated/fr/>."
#~ msgstr ""
#~ "设置好后,当新的翻译版本到达时,您不需要创建 F<Makefile>,也就是说,如果法"
#~ "国团队向您发送 F<fr.po> 和 F<fr.add>,那么您只需将它们分别放在 F<man/po4a/"
#~ "po/> 和 F<man/po4a/add_fr/> 中,下一次构建程序时,法语翻译也会自动在 F 中"
#~ "构建。"
#~ msgid ""
#~ "Note that you still need an appropriate target to install localized "
#~ "manual pages with English ones."
#~ msgstr "请注意,您仍然需要一个合适的目标来安装带有英文的本地化手册页。"
#, no-wrap
#~ msgid ""
#~ "Finally if you do not store generated files into your version control system,\n"
#~ "you will need a line in your B<clean> target as well:\n"
#~ " -rm -rf man/translated\n"
#~ "\n"
#~ msgstr ""
#~ "最后,如果您没有将生成的文件存储到版本控制系统中,\n"
#~ "您的 B<clean> 目标中也需要一行:\n"
#~ " -rm -rf man/translated\n"
#~ "\n"
#~ msgid ""
#~ "L<po4a-gettextize(1)>, L<po4a-normalize(1)>, L<po4a-translate(1)>, L<po4a-"
#~ "updatepo(1)>, L<po4a(7)>."
#~ msgstr ""
#~ "L<po4a-gettextize(1)>, L<po4a-normalize(1)>, L<po4a-translate(1)>, L<po4a-"
#~ "updatepo(1)>, L<po4a(7)>."
#~ msgid "As far as I know, there are only two of them:"
#~ msgstr "据我所知,只有两个:"
#~ msgid ""
#~ "The B<po4a-gettextize> script is in charge of converting documentation "
#~ "files into PO files. You only need it to setup your translation project "
#~ "with po4a, never afterward."
#~ msgstr ""
#~ "B<po4a-gettex> 脚本负责将文档文件转换为 PO 文件。您只需要使用它来设置您的 "
#~ "po4a 翻译项目,之后就不需要了。"
#~ msgid ""
#~ "If you start from scratch, B<po4a-gettextize> will extract the "
#~ "translatable strings from the documentation and write a POT file. If you "
#~ "provide a previously existing translated file with the B<-l> flag, B<po4a-"
#~ "gettextize> will try to use the translations that it contains in the "
#~ "produced PO file. This process remains tedious and manual, as explained "
#~ "in Section 'Converting a manual translation to po4a' below."
#~ msgstr ""
#~ "如果从头开始,B<po4a-gettextize> 从文档中提取可翻译字符串并编写 POT 文件。"
#~ "如果使用 B<-l> 标志提供以前存在的翻译文件,B<po4a-gettextize> 将尝试使用它"
#~ "所包含的 PO 文件中的翻译。此过程仍然繁琐和手动,如下面的\"将手动翻译转换"
#~ "为 po4a\"一节所述。"
#~ msgid ""
#~ "Even when the document is successfully processed, undetected disparities "
#~ "and silent errors are still possible. That is why any translation "
#~ "associated automatically by po4a-gettextize is marked as I<fuzzy> to "
#~ "require an manual inspection by humans. One has to check that each "
#~ "retrieved msgstr is actually the translation of the associated msgid, and "
#~ "not the string before or after."
#~ msgstr ""
#~ "即使成功处理文档,未检测到的差异和静默错误仍然是可能的。这就是为什么 po4a "
#~ "-gettextize 自动关联的任何翻译被标记为<fuzzy>需要人工检查。必须检查每个检"
#~ "索到的 msgstr 实际上是关联的 msgid 的转换,而不是之前或之后的字符串。"
#~ msgid ""
#~ "As you can see, the key here is to have the exact same structure in the "
#~ "translated document and in the original one. The best is to do the "
#~ "gettextization on the exact version of F<master.doc> that was used for "
#~ "the translation, and only update the PO file against the latest master "
#~ "file once the gettextization was successful."
#~ msgstr ""
#~ "如您了解,此处的关键是翻译的文档和原始文档中具有完全相同的结构。最好的方法"
#~ "就是对用于翻译的 F<master.doc> 的确切版本进行文本化,并且仅在 gettextd 成"
#~ "功后针对最新的主文件更新 PO 文件。"
#~ msgid ""
#~ "Even when things go wrong, gettextization often remains faster than "
#~ "translating everything again. I was able to gettextize the existing "
#~ "French translation of the whole Perl documentation in one day, even "
#~ "though the structure of many documents were desynchronized. That was more "
#~ "than two megabytes of original text (2 millions of characters): "
#~ "restarting the translation from scratch would have required several "
#~ "months of work."
#~ msgstr ""
#~ "即使事情出错,文本化通常仍然比再次翻译所有内容更快。尽管许多文档的结构已不"
#~ "同步,但我能够在一天内对整个 Perl 文档的现有法语翻译进行文本化。这是超过两"
#~ "兆字节的原始文本(200 万个字符):从头开始翻译需要几个月的工作。"
#~ msgid ""
#~ "The gettextization stops as soon as a desynchronization is detected. In "
#~ "theory, it should probably be possible resynchronize the gettextization "
#~ "later in the documents using e.g. the same algorithm than the L<diff(1)> "
#~ "utility. But a manual intervention would still be mandatory to manually "
#~ "match the elements that couldn't be automatically matched, explaining why "
#~ "automatic resynchronization is not implemented (yet?)."
#~ msgstr ""
#~ "检测到非同步一点后,gettextization 将停止。从理论上讲,在文档中的后期,使"
#~ "用与 L<diff(1)> 实用程序相同的算法,可以重新同步获取文本化。但是,手动干预"
#~ "仍是必需的,以手动匹配无法自动匹配的元素,这解释了为什么未实现自动重新同步"
#~ "(尚未实现?)。"
#~ msgid ""
#~ "As a final note, do not be too surprised if the first synchronization of "
#~ "your PO file takes a long time. This is because most of the msgid of the "
#~ "PO file resulting from the gettextization don't match exactly any element "
#~ "of the POT file built from the recent master files. This forces gettext "
#~ "to search for the closest one using a costly string proximity algorithm."
#~ msgstr ""
#~ "最后一点,如果 PO 文件的第一次同步需要很长时间,不要太惊讶。这是因为由 "
#~ "gettextization 生成的 PO 文件的 msgid 与从最近主文件生成的 POT 文件的任何"
#~ "元素不完全匹配。这强制使用昂贵的字符串接近算法搜索最近的一个。"
#~ msgid ""
#~ "For example, the first B<po4a-updatepo> of the Perl documentation's "
#~ "French translation (5.5 MB PO file) took about 48 hours (yes, two days) "
#~ "while the subsequent ones only take a dozen of seconds."
#~ msgstr ""
#~ "例如,Perl 文档的法语翻译(5.5 MB PO 文件)的第一个 B<po4a-updatepo> 花了"
#~ "大约 48 小时(是的,两天),而后续的 B<po4a-updatepo> 文件只需十几秒。"
#, fuzzy, no-wrap
#~| msgid ""
#~| " Nicolas François <nicolas.francois@centraliens.net>\n"
#~| "\n"
#~ msgid ""
#~ " Nicolas Francois <nicolas.francois@centraliens.net>\n"
#~ "\n"
#~ msgstr ""
#~ " Nicolas François <nicolas.francois@centraliens.net>\n"
#~ "\n"
#, fuzzy, no-wrap
#~| msgid ""
#~| " Copyright © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
#~| "\n"
#~ msgid ""
#~ " Copyright (c) 2005-2008 Nicolas FRANCOIS <nicolas.francois@centraliens.net>.\n"
#~ "\n"
#~ msgstr ""
#~ " 版权所有 © 2005-2008 Nicolas FRANÇOIS <nicolas.francois@centraliens.net>.\n"
#~ "\n"
#~ msgid ""
#~ "In some unfortunate settings, you will get the feeling that po4a ate some "
#~ "parts of the text, either the original or the translation. "
#~ "F<gettextization.failed.po> indicates that both files matched as expected "
#~ "up to the paragraph N. But then, an (unsuccessful) attempt is made to "
#~ "match the N+1 paragraph in the original file not with the N+1 paragraph "
#~ "in the translation as it should, but with the N+2 paragraph. Just as if "
#~ "the N+1 paragraph that you see in the document simply disappeared from "
#~ "the file during the process."
#~ msgstr ""
#~ "在一些不幸的环境中,你会觉得 po4a 吃了文本的某些部分,无论是原文还是翻译。"
#~ "F<gettextization.failed.po> 表示两个文件都匹配到段落 N。但是,如果尝试(不"
#~ "成功),原始文件中的 N+1 段落不会与翻译中的 N+1 段落匹配,而是与 N+2 段落"
#~ "匹配。就像在文档中看到的 N+1 段落在过程中从文件中消失一样。"
#~ msgid ""
#~ "This unfortunate situation happens when the same paragraph is repeated "
#~ "over the document. In that case, no new entry is created in the PO file, "
#~ "but a new reference is added to the existing one instead."
#~ msgstr ""
#~ "当同一段落在文档中重复时,就会发生这种不幸的情况。在这种情况下,在 PO 文件"
#~ "中不会创建任何新条目,而是向现有引用添加新引用。"
#~ msgid ""
#~ "So, the previous situation occurs when two similar but different "
#~ "paragraphs are translated in the exact same way. This will apparently "
#~ "remove a paragraph of the translation. To fix the problem, it is "
#~ "sufficient to slightly alter one of the translations in the document. You "
#~ "can also prefer to kill the second paragraph in the original document."
#~ msgstr ""
#~ "因此,当两个相似但不同的段落以完全相同的方式翻译时,将发生前一种情况。这显"
#~ "然将删除翻译的一段。要解决此问题,请稍微更改文档中的一个翻译就足够了。您还"
#~ "可以选择终止原始文档中的第二段。"
#~ msgid ""
#~ "To the opposite, if the same paragraph appearing twice in the original "
#~ "document is not translated in the exact same way at both locations, you "
#~ "will get the feeling that one paragraph of the original document just "
#~ "vanished. Just copy the best translation over the other one in the "
#~ "translated document to fix the problem."
#~ msgstr ""
#~ "相反,如果在原始文档中出现两次的同一段落在两个位置没有以完全相同的方式翻"
#~ "译,您就会感觉到原始文档中的一段刚刚消失。只需将最佳翻译复制到翻译文档中的"
#~ "另一个翻译,即解决问题。"
#~ msgid "equals_msgid(po)"
#~ msgstr "equals_msgid(po)"
#~ msgid ""
#~ "Returns ($uptodate, $diagnostic) with $uptodate indicating whether all "
#~ "msgid of the current po file are also present in the one passed as "
#~ "parameter (all other fields are ignored in the file comparison). "
#~ "Informally, if $uptodate returns false, then the po files would be "
#~ "changed when going through B<po4a-updatepo>."
#~ msgstr ""
#~ "返回 ($uptodate, $diagnostic),其中 $uptodate 指示当前 po 文件的所有 "
#~ "msgid 是否也出现在作为参数传递的参数中(所有其他字段在文件比较中被忽略)。非"
#~ "正式地,如果$uptodate 返回 false,那么在通过 B<po4a-updatepo> 时 po 文件将"
#~ "被更改。"
#~ msgid ""
#~ "If $uptodate is false, then $diagnostic contains a diagnostic of why this "
#~ "is so."
#~ msgstr "如果 $uptodate 为 false,则 $diagnostic 包含对原因的诊断。"
#~ msgid "is_po_uptodate()"
#~ msgstr "is_po_uptodate()"
#~ msgid ""
#~ "Returns ($uptodate, $diagnostic) where $uptodate is whether the input po "
#~ "and the output po match (if not, it means that the input po should be "
#~ "updated) and $diagnostic is a string explaining why the po file is not "
#~ "uptodate, when this happens."
#~ msgstr ""
#~ "返回 ($uptodate, $diagnostic) ,其中 $uptodate 是输入 po 和输出 po 是否匹"
#~ "配 (如果不匹配,则表示应该更新输入 po),而 $diagnostic 是一个字符串,解释"
#~ "当发生这种情况时 po 文件为什么不是最新的。"
#, no-wrap
#~ msgid ""
#~ " * Tags listed in B<break> are set to I<w> or I<W> depending on the <wrap> option.\n"
#~ " * Tags listed in B<inline> are set to I<i>.\n"
#~ " * Tags listed in B<placeholder> are set to I<p>.\n"
#~ " * Tags listed in B<untranslated> are without any of these options set.\n"
#~ "\n"
#~ msgstr ""
#~ " * B<break> 中列出的标记根据 <wrap> 选项设置为 I<w> 或 I<W>。\n"
#~ " * B<inline> 中列出的标记设置为 I<i>。\n"
#~ " * B<placeholder> 中列出的标记设置为 I<p>。\n"
#~ " * B<untranslated> 中列出的标记没有设置这些选项中的任何一个。\n"
#~ "\n"
#~ msgid "INTERNAL FUNCTIONS used to write derivated parsers"
#~ msgstr "用于编写导出解析器的内部函数"
#~ msgid ""
#~ "If there are name conflicts because several files have the same filename, "
#~ "the name of the master file can be specified by adding a C<master:"
#~ "file=>I<name> option:"
#~ msgstr ""
#~ "如果由于多个文件具有相同的文件名而导致名称冲突,则可以通过添加 C<master:"
#~ "file=>I<name> 选项:"
#~ msgid ""
#~ "If you prefer, you can give the same information explicitly as follows:"
#~ msgstr "如果愿意,您可以显式地提供相同的信息,如下所示:"
#~ msgid ""
#~ "<command>po4aman-display-po</command> can be used by a translator who "
#~ "wants to check how the man page being translated in a PO will be "
#~ "displayed."
#~ msgstr ""
#~ "<command>po4aman-display-po</command>可供翻译人员使用, 以检查在 PO 中翻译"
#~ "的男子页面将如何显示。"
#~ msgid ""
#~ "The manual page must be in one of the formats supported by the po4a's "
#~ "<emphasis remap='I'>man</emphasis> module. The manual page can be "
#~ "provided on the command line, or installed on the system."
#~ msgstr ""
#~ "手册页必须采用po4a的<emphasis remap='I'> man </emphasis>模块支持的格式之"
#~ "一。 手册页可以在命令行上提供,也可以安装在系统上。"
#~ msgid "PO4APOD-DISPLAY-PO"
#~ msgstr "PO4APOD-DISPLAY-PO"
#~ msgid "po4apod-display-po"
#~ msgstr "po4apod-display-po"
|