translateorgza / translate forked from egparedes/translate

Toolkit assisting in the localization of software

This URL has Read+Write access

translate / ChangeLog.pre-0.9
100644 7093 lines (4530 sloc) 218.327 kb
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
2006-02-20 13:03 davidfraser
 
* README: updated for 0.8 release
 
2006-02-20 12:15 davidfraser
 
* __version__.py: version 0.8! TADA!
 
2006-02-20 12:13 davidfraser
 
* convert/oo2po.py: fixed docstring to correspond to functionality
 
2006-02-20 11:47 friedelwolff
 
* convert/: po2html.py, po2ts.py, po2txt.py: Convert last few users
of getunquotedstr() to use .source and .target
 
2006-02-20 09:38 friedelwolff
 
* filters/checks.py: Allow variables _and_ musttranslate words in
acronym test
 
2006-02-17 21:05 dwaynebailey
 
* storage/csvl10n.py: Convert last remnants of msgid and msgstr to
source and target
 
2006-02-17 19:42 dwaynebailey
 
* tools/test_pocount.py: Test that we count correctly. Quite a few
word break errors that need fixing. The failing tests have been
disabled.
 
2006-02-17 14:10 charlvn
 
* convert/test_html2po.py: If the 'lang' attribute is placed on the
'html' element, '<head>' incorrectly becomes one of the
translatable strings in the output.
 
2006-02-17 10:39 friedelwolff
 
* filters/: checks.py, test_checks.py: Allow missing acronyms in
musttranslate file
 
2006-02-16 13:52 dwaynebailey
 
* filters/checks.py: Add a number of new OpenOffice.org variables
styles. Including: % #1 # We're now sitting at 14 variable
styles!
 
2006-02-16 11:10 friedelwolff
 
* filters/pofilter.py: fix for test_ignore_if_already_marked: test
if pofilter message already present before appending
 
2006-02-16 11:08 friedelwolff
 
* filters/test_pofilter.py: fix comment ordering in posource
 
2006-02-16 08:27 charlvn
 
* convert/test_html2po.py: First basic test
 
2006-02-15 11:20 dwaynebailey
 
* convert/test_po2csv.py: Fix test. We shouldn't be escaping the
internal CVS representation, we should escape when we use __str__
and friends.
 
2006-02-15 10:08 dwaynebailey
 
* filters/test_pofilter.py: Correct silly typo in
test_ignore_if_already_marked: test now fails properly. Added
some poexpected strings to that we are testing to see that we
exactly match the expected output not doing X != Y but noe
poresult == poexpected
 
2006-02-15 09:57 dwaynebailey
 
* storage/test_properties.py: Enable some tests that were disabled
from 0.8 merging. Make them pass. Some are working but require
playing with newlines. Probably needs a better look within the
properties class to distinguish between real translatables and
others.
 
2006-02-15 09:43 dwaynebailey
 
* convert/csv2po.py: Make the error message more logical. Not sure
how to create a test to validate this though.
 
2006-02-15 09:38 dwaynebailey
 
* convert/test_po2csv.py: Reenable test for start single quotes.
Break up checking for middle and end from checking for start. We
do some weird mangling on single quotes to get around
spreadsheets (specifically Excel).
 
2006-02-15 09:27 dwaynebailey
 
* convert/test_po2oo.py, filters/test_autocorrect.py,
storage/test_oo.py, tools/test_pomerge.py: SOme tests that didn't
make it across in the merging of 0.8 into head
 
2006-02-14 17:46 davidfraser
 
* storage/: po.py, test_po.py: zap getunquotedstr, as its no longer
used anywhere (unquotefrompo or better .source or .target
properties replace it)
 
2006-02-14 17:43 davidfraser
 
* storage/test_po.py: woops! there were two test_getunquotedstr
functions. The first one actually fails leaving this for
posterity, next I'll remove the other one :-)
 
2006-02-14 17:42 davidfraser
 
* storage/test_po.py: this test actually passes, remove it before
removing the function
 
2006-02-14 17:39 davidfraser
 
* convert/test_dtd2po.py: explicitly request line breaks where
desired for checking layout in po file
 
2006-02-14 17:38 davidfraser
 
* storage/po.py: switch default to not include line break between
lines (since its not part of the semantics)
 
2006-02-14 17:33 davidfraser
 
* convert/po2tmx.py: use source and target properties rather than
manually unquoting the strings
 
2006-02-14 17:29 davidfraser
 
* convert/: csv2po.py, pot2po.py: replace getunquotedstr with
unquotefrompo
 
2006-02-14 17:23 davidfraser
 
* filters/pofilter.py, tools/pocount.py, tools/podebug.py,
tools/pogrep.py, tools/pomerge.py: replace getunquotedstr with
unquotefrompo
 
2006-02-14 17:22 davidfraser
 
* storage/: po.py, test_po.py: replace getunquotedstr with
unquotefrompo which is much more regular
 
2006-02-14 15:50 dwaynebailey
 
* misc/quote.py: Do not treat \a (Ctrl-G or BELL) as a special
escape as otherwise we end up with a literal ^G in the
translation when we actually want \u0007.
 
2006-02-14 15:42 dwaynebailey
 
* misc/test_quote.py: Add test for quote.py
 
2006-02-14 14:52 dwaynebailey
 
* filters/test_checks.py: Add tests for variables of style: %1, %,
#1, #
 
2006-02-14 13:26 friedelwolff
 
* convert/test_po2tmx.py, storage/base.py, storage/test_base.py,
storage/test_tbx.py, storage/test_tmx.py: Make
base.TranslationStore.findunit() return None instead of raising
exception. Adapt users.
 
2006-02-14 13:17 friedelwolff
 
* storage/tmx.py: Fix tmx.translate() with unfound unit.
tab->spaces
 
2006-02-14 12:26 dwaynebailey
 
* filters/test_checks.py: Test to ensure that newlines do not mask
end punctuation errors
 
2006-02-14 12:20 davidfraser
 
* convert/: html2po.py, nb2po.py, po2csv.py, po2tmx.py, pot2po.py,
sxw2po.py, ts2po.py, txt2po.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
added encoding argument when constructing poelements (its the
default, but it doesn't hurt...)
 
unwrapped docstrings, and shortened them where appropriate
 
2006-02-14 12:15 davidfraser
 
* convert/csv2po.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
unwrapped docstrings, and shortened them where appropriate
adjusted test to handle them being wrapped in the help
 
added encoding argument when constructing poelements (its the
default, but it doesn't hurt...)
 
2006-02-14 12:09 davidfraser
 
* convert/: prop2po.py, test_prop2po.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
added encoding argument when constructing pounits (its the
default, but it doesn't hurt...)
 
Added test to detect problem with multiline entries. Ie those
with \ escapes newlines.
 
added test for unicode conversions
 
added test that actually checks the convertprop method that the
converter calls
 
2006-02-14 12:03 davidfraser
 
* convert/: moz2po.py, mozfunny2prop.py, po2html.py, po2moz.py,
po2nb.py, po2oo.py, po2prop.py, po2ts.py, po2txt.py, po2xliff.py,
poreplace.py, prop2mozfunny.py, xliff2po.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
2006-02-14 12:00 davidfraser
 
* convert/: oo2po.py, test_oo2po.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
added encoding argument when constructing poelements (its the
default, but it doesn't hurt...)
 
Now also test for \t (Tab) anr \r (Carriage Return) escaping
 
added oo2po test that actually runs the command
 
added a simple test to ensure --multifile=onefile generates a
file, not a directory currently fails...
 
Check for the unique oo2po command line options.
 
2006-02-14 11:52 davidfraser
 
* convert/: po2dtd.py, test_po2dtd.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
make case of accelerators match that in the original string
 
Add a test for convertdtd. This was to make the output to file
fail. po2dtd misnamed str with scr. Fix was simple test was
harder.
 
split roundtripstring out so we can easily do roundtrips on
whole dtds as well
use two input files to make sure we actually convert the string
back in roundtrip
print out intermediate roundtrip values to aid debugging errors
added lots of escaping and quote tests
 
added string roundtrip helper
 
added test for preserving access key case where possible...
 
Test to check that we don't mess with the encoding of an
escaped \n from a PO file.
 
Added test for merging flattened PO entries back into their
parent pretty printed entity.
 
added setup_ and teardown_ methods to TestPO2DTDCommand for
calling the things in both base classes...
 
2006-02-14 11:44 davidfraser
 
* convert/: dtd2po.py, test_dtd2po.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them...
 
added encoding argument when constructing pounits (its the
default, but it doesn't hurt...)
 
if thepo is blank and has no sources, it is probably a
DONT_TRANSLATE and so we ignore it
 
Add convertdtd test for dtd2po similar to prop2po
 
If the template has a blank translation eg translators.credits
and we merge it with a language that has a transaltion. Then we
end up with the translation in msgid and KDE comment in the
msgid.
 
Add a test that picks up DONT_TRANSLATE elements that are only
themselves entities.
 
Add a test for #102. Entities that appear inside SGML comments
Identified #101 correctly
 
changed test for newline escaping to test the string converter
function directly
 
Add a test to see that we convert \r\n to \n in a PO file and
don't end up with \r in our PO messages.
 
Make sure \r appears correctly in the PO file.
 
Ensure that we can handle \n or \t correctly when converting
dtd to PO
 
Fix for #79 multiline pretty printed DTD entities. Tests
included.
We do the following:
* Single line elements are left untrated
* Multiline
* Space at the start of the first line are preserved
* Whitespace at the start of all subsequent lines is removed
* All lines except the last have one whitespace character
(ensures that when join lines we don't join words
inadvertantly.)
 
our merge test was coded the wrong way round ...
 
We are escaping hard coded newlines found in DTDs when creating
PO files. We should just carry them through and not escape them.
Not these are not real newlines found in the file but a \n in
the text.
 
moved extractdtdstring from dtd2po to dtd storage module as
unquotefromdtd
 
2006-02-14 11:25 friedelwolff
 
* search/Levenshtein.py: Use segmenting for similarity calculations
 
2006-02-14 11:24 davidfraser
 
* convert/: convert.py, test_convert.py: Forward port from
translate-toolkit-0-8-branch: modified convert methods to make
the actual commandline operation more testable all main
functions now take an optional argv parameter used for testing
also refactored main functions for modules that didn't have
them... included a base test_convert.TestConvertCommand class
handle onefile non-recursion for input output and templates in
the convert module
 
2006-02-14 11:19 davidfraser
 
* tools/: poconflicts.py, pydiff.py: space cleanup
 
2006-02-14 11:17 davidfraser
 
* filters/test_checks.py: Forward port from
translate-toolkit-0-8-branch: unicode escapes are easier to
read in any editor... Add the $blah$ variables style
 
2006-02-14 11:16 davidfraser
 
* filters/checks.py: replace tabs with spaces
 
2006-02-14 11:11 davidfraser
 
* misc/quote.py: Forward port from translate-toolkit-0-8-branch:
handle multiline escapes properly by returning the escape so the
parser can use it removed spurious check that just gave errors
for unknown escapes at the end of a string...
 
2006-02-14 11:08 davidfraser
 
* storage/test_zipfile.py: replace tabs with spaces
 
2006-02-14 11:04 davidfraser
 
* storage/: dtd.py, test_dtd.py, oo.py, properties.py: Forward
ported from translate-toolkit-0-8-branch
 
2006-02-14 11:02 davidfraser
 
* storage/csvl10n.py: Forward ported from
translate-toolkit-0-8-branch: Handling csv escapes Conversion
to str must return str
 
2006-02-14 10:58 dwaynebailey
 
* filters/test_checks.py: Add a number of real world examples for
tests that failed on 0.8 branch. Including: - endpunc - variables
at end of line - endpunc - apostophe at end of line. -
notranslatewords - various punctuation surrounding these words -
singlequote - at end of line - simplecaps - various that should
pass Some disabled until we get HEAD tests stable. These
include: - endpunc - elipsis ... at end of line (UTF-8
\xe2\x80\xa6) - simplecaps - variable removal give false capitals
- simplecaps - ALLCAPS should be ALLCAPS in translation
 
2006-02-14 10:57 davidfraser
 
* storage/test_po.py: Forward ported tests from
translate-toolkit-0-8-branch
 
2006-02-14 10:51 davidfraser
 
* storage/po.py: Forward port from translate-toolkit-0-8-branch:
Converts \t and \r back into proper unescaped form. remember
encodings on pounits (set by default to be the same as the pofile
that creates them) encode line by line so we don't have
problems joining the string together (or dealing with mixed
unicode / str) plastered unicode conversion onto all the
__str__ functions to make sure we don't get inane errors
renamed the underlying function to getsource, which could be used
alternatively if unicode is desired in certain cases. note that
this will end up using UTF-8 encoding as a desparate measure
rather than giving errors...
 
2006-02-14 10:48 friedelwolff
 
* search/segment.py: Provide preliminary means of simple segmenting
 
2006-02-14 10:34 davidfraser
 
* filters/checks.py: moved default punctuation into a variable, and
encoded non-ascii chars with escapes handle replacing punctuation
in notranslatewords for non-unicode strings
 
2006-02-14 10:22 davidfraser
 
* filters/: checks.py, test_checks.py: disabled tests that are for
enhancements, can be renabled once we've finished stabilising
adjusted heuristic for simple_caps so its less strict on small
numbers of capitals
 
2006-02-14 10:14 dwaynebailey
 
* search/.cvsignore: Ignore compiled Python files
 
2006-02-14 10:12 davidfraser
 
* filters/: checks.py, test_checks.py: count repetitions of
variables so if one is missing it is an error this pointed out
that the test for filtering KDE comments when checking variables
was only passing because the same variable name was used twice,
so added more tests, and fixed the lack of kde comment filtering
in the variables check
 
2006-02-14 10:09 dwaynebailey
 
* storage/test_po.py: Test for the correct handling of Unicode
characters
 
2006-02-14 09:13 friedelwolff
 
* storage/: test_po.py, test_properties.py: Comment out failing
unit tests, fix a tab
 
2006-02-14 08:57 friedelwolff
 
* convert/: test_po2csv.py, test_po2tmx.py: Disable failing unit
tests
 
2006-02-14 07:31 friedelwolff
 
* storage/lisa.py: Make parse also accept a file, fix tabs
 
2006-02-13 12:17 davidfraser
 
* __version__.py: since its version 0.8, we need at least 8 release
candidates :-)
 
2006-02-13 12:10 davidfraser
 
* storage/dtd.py: leave ENTITY comments in, and add TODO to convert
them to obsolete messages
 
2006-02-13 12:08 davidfraser
 
* convert/test_po2dtd.py: split roundtripstring out so we can
easily do roundtrips on whole dtds as well
 
2006-02-13 11:41 davidfraser
 
* storage/: dtd.py, test_dtd.py: added test and fix for bug 77 on
comments getting run together
 
2006-02-13 10:47 davidfraser
 
* convert/: convert.py, oo2po.py: rather handle onefile
non-recursion for input output and templates in the convert
module
 
2006-02-13 07:38 friedelwolff
 
* storage/lisa.py: tab -> spaces
 
2006-02-10 23:32 friedelwolff
 
* storage/lisa.py: Improve performance in lisa parsing
 
2006-02-10 23:10 friedelwolff
 
* convert/: po2tmx.py, test_po2tmx.py: Adapt po2tmx and test_po2tmx
to new TMX storage. 2 new tests failing
 
2006-02-10 22:21 friedelwolff
 
* storage/lisa.py: Handle sourcelanguage neater, readlines->read,
improve comment
 
2006-02-10 22:18 friedelwolff
 
* search/match.py: Expect TranslationUnits as candidates, fix tabs,
speedups
 
2006-02-10 22:17 friedelwolff
 
* search/test_match.py: Rather pass list of TranslationUnits for
matching (use CSV storage)
 
2006-02-10 21:54 friedelwolff
 
* storage/tbx.py: More uniformity in source language use
 
2006-02-10 21:45 friedelwolff
 
* storage/tmx.py: fix broken language tags, less duplication of
base class
 
2006-02-10 20:11 friedelwolff
 
* search/Levenshtein.py: Always return floats
 
2006-02-10 17:32 friedelwolff
 
* services/: lookupclient.py, lookupservice.py: Add support for TMX
and TM-lookup
 
2006-02-10 14:22 friedelwolff
 
* storage/: test_tmx.py, tmx.py: Move TMX to new LISA base class.
Port unit tests as necessary.
 
2006-02-10 14:14 friedelwolff
 
* storage/tbx.py: Move TBX to new LISA base class
 
2006-02-10 14:05 friedelwolff
 
* storage/lisa.py: LISA base class for the XML based classes
 
2006-02-10 12:05 dwaynebailey
 
* filters/test_pofilter.py: Added test to make sure we don't pull
an item if its already marked as failing. Test doesn't work as
their is something wrong with the way we're doing the command
line stuff.
 
2006-02-10 09:53 dwaynebailey
 
* convert/csv2po.py, convert/test_csv2po.py, storage/csvl10n.py:
Test to see that we handle CSV first character escapes Refactor
how we strip first character escapes in CSV files, added ' as a
possible Test for missing entries when merging csv 2 PO. Should
check stderr but didn't know how. We should probably have a
generic test method that can give us the results of stdout for
querying. Fixed the error to be the same as head ie displayes
the source CSV filename as that is where you want to look for the
error mostly.
 
2006-02-09 22:50 dwaynebailey
 
* filters/: test_checks.py, checks.py: Add teh $blah$ variables
style
 
2006-02-09 17:50 davidfraser
 
* convert/: csv2po.py, po2csv.py, po2oo.py, pot2po.py,
test_convert.py: unwrapped docstrings, and shortened them where
appropriate adjusted test to handle them being wrapped in the
help added more detail to po2oo error if key not found
 
2006-02-09 17:22 davidfraser
 
* convert/test_po2dtd.py: added setup_ and teardown_ methods for
calling the things in both base classes...
 
2006-02-09 17:13 davidfraser
 
* storage/oo.py: flush the file (otherwise it fails in testing)
 
2006-02-09 16:16 dwaynebailey
 
* convert/: csv2po.py, po2csv.py, pot2po.py, test_csv2po.py,
test_dtd2po.py, test_po2csv.py, test_po2dtd.py, test_po2oo.py,
test_pot2po.py, test_prop2po.py: Add help test to all the
convertors. Fix some of the __doc__ string for various
convertors to make the tests pass.
 
2006-02-09 16:10 davidfraser
 
* convert/test_po2oo.py: added commandline-style test class made
test_convertoo multilingual made a version of convertoo that
works on the commandline system (so tests happen through that
too, by inheritance) removed unused helpers po2oo and merge2oo
 
2006-02-09 16:07 davidfraser
 
* convert/test_convert.py: create directories recursively if
required for opening new files
 
2006-02-09 15:16 davidfraser
 
* convert/test_oo2po.py: defaultoptions now in base class made test
for pot and test for po too use kwargs where possible
 
2006-02-09 15:08 davidfraser
 
* convert/test_convert.py: added default options to not output
progress as its not helpful actually only the first line of the
docstring is included in the help
 
2006-02-09 15:00 dwaynebailey
 
* convert/: test_convert.py, test_oo2po.py: Check for the unique
oo2po command line options.
 
2006-02-09 14:15 davidfraser
 
* convert/: test_convert.py, test_oo2po.py: added helpers for
creating and reading file contents
 
2006-02-09 14:10 friedelwolff
 
* storage/: csvl10n.py, po.py, test_po.py, test_tmx.py, tmx.py:
Back out accidental commit of unintended files
 
2006-02-09 14:06 davidfraser
 
* convert/oo2po.py: if multifile is onefile, then don't
allowrecursiveinput (bug 88)
 
2006-02-09 14:05 davidfraser
 
* convert/test_oo2po.py: got the wrong argument - single means each
subfile is a singlefile, onefile means all in one big file.
Intuitive, I think...
 
2006-02-09 13:59 davidfraser
 
* convert/test_oo2po.py: added a simple test to ensure
--multifile=singlefile generates a file, not a directory
currently fails...
 
2006-02-09 13:58 davidfraser
 
* convert/test_convert.py: added more helpful things to
run_command: - support for keyword arguments so help=True
gives --help, language="yi" gives --language=yi - support for
default options defined on self.defaultoptions so
self.defaultoptions = {"progress": "none"} gives --progress=None
defaultoptions are overridden by keyword arguments added
get_testfilename helper so people don't have to do
os.path.join...
 
2006-02-09 13:54 dwaynebailey
 
* convert/test_pot2po.py: Rename the merging tests. Add two tests
(currently disabled): - check for merges when the source remains
unchanged but msgid changes - check for merges where msgid
remains unchanged but source changes
 
2006-02-09 13:46 davidfraser
 
* convert/: test_convert.py, test_oo2po.py: added helper for
opening test files added simple oo2po test that actually runs the
command
 
2006-02-09 13:46 dwaynebailey
 
* convert/: pot2po.py, test_pot2po.py: Porting fix for message cut
differently. Porting from 0.8 branch.
 
2006-02-09 13:39 davidfraser
 
* convert/test_convert.py: replaced tempdir with testdir
 
2006-02-09 13:37 davidfraser
 
* convert/test_convert.py: helper run_command that runs in the
target directory
 
2006-02-09 13:30 friedelwolff
 
* storage/: csvl10n.py, po.py, tbx.py, test_po.py, test_tbx.py,
test_tmx.py, tmx.py: Fix failing unit tests, use properties in
tests
 
2006-02-09 13:28 davidfraser
 
* convert/: convert.py, csv2po.py, dtd2po.py, html2po.py,
moz2po.py, mozfunny2prop.py, nb2po.py, oo2po.py, po2csv.py,
po2dtd.py, po2html.py, po2moz.py, po2nb.py, po2oo.py, po2prop.py,
po2tmx.py, po2ts.py, po2txt.py, po2xliff.py, poreplace.py,
pot2po.py, prop2mozfunny.py, prop2po.py, sxw2po.py,
test_convert.py, test_oo2po.py, ts2po.py, txt2po.py, xliff2po.py:
modified convert methods to make the actual commandline operation
more testable all main functions now take an optional argv
parameter used for testing also refactored main functions for
modules that didn't have them... included a base
test_convert.TestConvertCommand class and an initial oo2po test
 
2006-02-09 13:19 friedelwolff
 
* storage/base.py: Use newstyle class for TranslationUnit
 
2006-02-09 13:10 friedelwolff
 
* storage/tbx.py: Inherit __init__, fix settarget(None)
 
2006-02-09 12:24 dwaynebailey
 
* convert/test_pot2po.py: Test to see that "fuzzy" markers in PO
files are carried across when merging with POT files.
 
2006-02-09 11:41 dwaynebailey
 
* convert/test_dtd2po.py: Add a test to see that we convert \r\n to
\n in a PO file and don't end up with \r in our PO messages.
 
2006-02-08 17:37 friedelwolff
 
* search/: Levenshtein.py, __init__.py, match.py,
test_Levenshtein.py, test_match.py: Search module to perform
translation memory matchin. Levenshtein distances are used to
measure similarity.
 
2006-02-08 17:34 friedelwolff
 
* services/: lookupclient.py, lookupservice.py: Add method
"matches" to return likely matches from the storage
 
2006-02-08 16:34 dwaynebailey
 
* convert/pot2po.py: Fixes the bug that prevented us merging
messages that had the msgid cut differently.
 
2006-02-08 16:26 dwaynebailey
 
* convert/test_pot2po.py: Test when we are merging strings and the
msgid is cut/split differently but us actually exactly the same
string. We should merge correctly. Currently we drop those
strings. Fix comments for some tests
 
2006-02-08 15:42 dwaynebailey
 
* convert/test_pot2po.py: Add some tests for pot2po. Searching for
the bugs that people found with this so I can make some tests.
 
2006-02-08 14:18 friedelwolff
 
* storage/test_tbx.py: Move to base test class
 
2006-02-08 13:56 dwaynebailey
 
* storage/po.py: Converts \t and \r back into proper unescaped
form.
 
2006-02-08 13:38 dwaynebailey
 
* convert/test_oo2po.py: Now also test for \t (Tab) anr \r
(Carriage Return) escaping
 
2006-02-08 13:31 dwaynebailey
 
* convert/test_dtd2po.py: Make sure \r appears correctly in the PO
file.
 
2006-02-08 13:23 dwaynebailey
 
* convert/test_po2oo.py: Add \r roundtrip testing for our Windows
friends
 
2006-02-08 13:21 dwaynebailey
 
* convert/test_po2dtd.py: Lets not forget to check for \r for our
Windows needs
 
2006-02-08 13:09 dwaynebailey
 
* convert/test_po2oo.py: Add a test for po2oo firstly to get
roundtrip checking on escapes, etc
 
2006-02-08 12:48 dwaynebailey
 
* storage/test_oo.py: Test the validity of the width entry in an
SDF file
 
2006-02-08 12:17 dwaynebailey
 
* storage/test_oo.py: Add test to see that we can get the Quick
Help and Title text
 
2006-02-07 22:20 dwaynebailey
 
* convert/test_dtd2po.py: Ensure that we can handle \n or \t
correctly when converting dtd to PO
 
2006-02-07 18:53 davidfraser
 
* convert/dtd2po.py, convert/test_csv2po.py,
convert/test_dtd2po.py, convert/test_oo2po.py,
convert/test_po2dtd.py, filters/checks.py, storage/test_dtd.py,
storage/test_zipfile.py, tools/poconflicts.py, tools/pydiff.py:
Remove tab indents
 
2006-02-07 18:42 davidfraser
 
* convert/test_dtd2po.py: changed test for newline escaping to test
the string converter function directly
 
2006-02-07 18:27 davidfraser
 
* storage/dtd.py: make sure we remove entities within comments from
the line that will be parsed (were doing it later and leaving
them in...) added comments that eplain better what we're doing
here...
 
2006-02-07 18:19 davidfraser
 
* storage/test_dtd.py: added test for comments that wrap
entities...
 
2006-02-07 17:56 friedelwolff
 
* filters/prefilters.py: Add extra Afrikaans word with punctuation:
't
 
2006-02-07 16:49 dwaynebailey
 
* convert/test_po2dtd.py: Don't forget to test for tabs \t
 
2006-02-07 16:21 dwaynebailey
 
* filters/test_checks.py: A few more notranslatewords checks
 
2006-02-07 16:06 davidfraser
 
* convert/test_dtd2po.py: our merge test was coded the wrong way
round ...
 
2006-02-07 15:55 davidfraser
 
* convert/po2dtd.py: make case of accelerators match that in the
original string
 
2006-02-07 15:53 davidfraser
 
* convert/test_po2dtd.py: added test for preserving access key case
where possible...
 
2006-02-07 15:50 davidfraser
 
* storage/dtd.py: this old StopIteration was a means of returning
nothing when this function was an iterator rather return a blank
line which is what is actually required
 
2006-02-07 15:46 davidfraser
 
* storage/test_dtd.py: make sure blank lines at the end of the
string don't break parsing / regenerating the dtd
 
2006-02-07 15:32 davidfraser
 
* convert/dtd2po.py, storage/dtd.py: moved extractdtdstring from
dtd2po to dtd storage module as unquotefromdtd added rewrap
method and currently use it if dtd module is used to regenerate a
dtd file
 
2006-02-07 12:29 davidfraser
 
* convert/test_po2dtd.py: use two input files to make sure we
actually convert the string back in roundtrip print out
intermediate roundtrip values to aid debugging errors added lots
of escaping and quote tests
 
2006-02-07 11:58 davidfraser
 
* convert/test_po2dtd.py: added string roundtrip helper
 
2006-02-07 11:47 dwaynebailey
 
* convert/test_po2dtd.py: Added test for merging flattened PO
entries back into their parent pretty printed entity.
 
2006-02-06 22:22 dwaynebailey
 
* filters/test_checks.py: More examples tests for notranslate
Checks for simpleplurals near non-whitespace
 
2006-02-06 17:09 friedelwolff
 
* filters/: checks.py, prefilters.py, test_checks.py: Fix some
filter tests
 
2006-02-06 16:17 dwaynebailey
 
* convert/test_dtd2po.py: Add a test for #102. Entities that
appear inside SGML comments Identified #101 correctly
 
2006-02-06 16:00 dwaynebailey
 
* convert/test_dtd2po.py: If the template has a blank translation
eg translators.credits and we merge it with a language that has a
transaltion. Then we end up with the translation in msgid and
KDE comment in the msgid.
 
2006-02-06 09:35 friedelwolff
 
* convert/po2tmx.py: enable easy integration with pootle
 
2006-02-06 09:32 friedelwolff
 
* convert/csv2tbx.py: more renaming
 
2006-02-06 09:30 friedelwolff
 
* services/lookupservice: commandfile for lookupserverice.py
 
2006-02-03 14:59 friedelwolff
 
* services/: __init__.py, lookupclient.py, lookupservice.py:
Initial XML-RPC lookup service with example client.
 
2006-02-03 14:35 friedelwolff
 
* storage/tbx.py: some bugfixes
 
2006-02-03 11:40 dwaynebailey
 
* convert/dtd2po.py: Remove debug output
 
2006-02-03 11:24 dwaynebailey
 
* storage/test_dtd.py: Simple test for newlines in entities.
 
2006-02-03 11:18 dwaynebailey
 
* convert/: dtd2po.py, test_dtd2po.py: Fix for #79 multiline pretty
printed DTD entities. Tests included.
 
We do the following: * Single line elements are left untrated *
Multiline * Space at the start of the first line are
preserved * Whitespace at the start of all subsequent lines is
removed * All lines except the last have one whitespace
character (ensures that when join lines we don't join
words inadvertantly.)
 
2006-02-03 08:58 friedelwolff
 
* storage/tmx.py: Remove old code from ts storage
 
2006-02-03 08:26 friedelwolff
 
* convert/nb2po.py: more consistent renaming to base terminology
 
2006-02-02 17:09 davidfraser
 
* __version__.py: version 0.8rc7
 
2006-02-02 15:11 dwaynebailey
 
* convert/test_po2dtd.py: Test to check that we don't mess with the
encoding of an escaped \n from a PO file.
 
2006-02-02 14:52 dwaynebailey
 
* convert/test_dtd2po.py: We are escaping hard coded newlines found
in DTDs when creating PO files. We should just carry them
through and not escape them. Not these are not real newlines
found in the file but a \n in the text.
 
2006-02-02 14:37 friedelwolff
 
* convert/test_csv2po.py: Extra test - quotes do indeed work
 
2006-02-02 14:10 dwaynebailey
 
* convert/: po2dtd.py, test_po2dtd.py: Add a test for convertdtd.
This was to make the output to file fail. po2dtd misnamed str
with scr. Fix was simple test was harder.
 
2006-02-02 12:34 davidfraser
 
* filters/test_checks.py: unicode escapes are easier to read in any
editor...
 
2006-02-02 12:12 friedelwolff
 
* convert/test_po2csv.py: The promised unit test
 
2006-02-02 11:48 friedelwolff
 
* convert/po2csv.py: unit tests for csv2po. fix for po2csv problem
 
2006-02-02 11:37 davidfraser
 
* convert/: csv2po.py, dtd2po.py, html2po.py, nb2po.py, oo2po.py,
prop2po.py, sxw2po.py, ts2po.py, txt2po.py: added encoding
argument when constructing poelements (its the default, but it
doesn't hurt...)
 
2006-02-02 11:29 davidfraser
 
* storage/po.py: remember encodings on poelements (set by default
to be the same as the pofile that creates them) encode line by
line so we don't have problems joining the string together (or
dealing with mixed unicode / str)
 
2006-02-02 11:25 davidfraser
 
* storage/test_po.py: introduced a regularised set of tests that
tests both in unicode and in encoded form
 
2006-02-02 11:18 dwaynebailey
 
* convert/test_csv2po.py: I backported this from HEAD a while back.
All the tests pass so am checking it into this branch.
 
2006-02-02 11:02 davidfraser
 
* storage/test_po.py: include an escaped version of the character
as the test_po.py file doesn't formally declare an encoding
 
2006-02-02 10:49 dwaynebailey
 
* storage/test_po.py: Test that exercises __str__ when we have
unicode in the msgstr.
 
2006-02-02 10:44 davidfraser
 
* storage/po.py: getsource should always return a string, not None
 
2006-02-02 10:43 davidfraser
 
* convert/dtd2po.py: if thepo is blank and has no sources, it is
probably a DONT_TRANSLATE and so we ignore it
 
2006-02-02 10:42 davidfraser
 
* convert/test_dtd2po.py: added simpler check for donttranslate,
and removed printout that would cause error in entity test if it
passed
 
2006-02-02 10:29 davidfraser
 
* storage/test_properties.py: added a check for escaped colons
midstring to make sure we don't just handle the end of the string
changed quoting
 
2006-02-02 10:26 davidfraser
 
* misc/quote.py: this check was spurious as it just gave errors for
unknown escapes at the end of a string...
 
2006-02-02 10:24 davidfraser
 
* storage/test_properties.py: added test for bug 97 (\: at end of
string causes failure)
 
2006-02-02 10:16 davidfraser
 
* misc/quote.py: handle multiline escapes properly by returning the
escape so the parser can use it
 
2006-02-02 10:10 davidfraser
 
* storage/test_properties.py: made singleentry helper, added test
for multiline entries (currently fails)
 
2006-02-02 10:06 davidfraser
 
* storage/test_properties.py: added simple tests for properties
files
 
2006-02-02 09:54 davidfraser
 
* tools/test_pomerge.py: added simple tests for pomerge
 
2006-02-01 10:36 dwaynebailey
 
* filters/test_checks.py: Add some more 'should pass' tests for
simplecaps
 
2006-02-01 09:14 dwaynebailey
 
* filters/test_checks.py: More numbers checks to make sure we cover
all variants of numbers with a degree sign.
 
2006-01-31 21:16 dwaynebailey
 
* convert/csv2po.py: It makes more sense to report the name of the
CSV with a problem entry then to report the PO file.
 
2006-01-31 14:39 friedelwolff
 
* convert/test_po2csv.py: Unit test for single quoting problem
 
2006-01-31 14:39 friedelwolff
 
* convert/test_po2csv.py: file test_po2csv.py was added on branch
translate-toolkit-0-8-branch on 2006-02-02 10:12:09 +0000
 
2006-01-31 13:38 friedelwolff
 
* convert/csv2po.py, convert/po2csv.py, convert/test_csv2po.py,
convert/test_po2csv.py, storage/csvl10n.py: Complete CSV
transition to base classes
 
2006-01-31 13:38 dwaynebailey
 
* convert/test_csv2po.py: file test_csv2po.py was added on branch
translate-toolkit-0-8-branch on 2006-02-02 09:18:50 +0000
 
2006-01-31 13:28 dwaynebailey
 
* filters/test_checks.py: More single quote issues mostly around
quotes near other puctuation Enable a simplecaps test - we should
remove 'I' from text to compare as this give a number of false
positives.
 
2006-01-31 10:32 friedelwolff
 
* convert/csv2po.py, convert/csv2tbx.py, convert/po2csv.py,
convert/test_csv2po.py, convert/test_po2csv.py,
storage/csvl10n.py: CSV: closer to base classes\npo2csv:fix
newlines
 
2006-01-30 22:54 dwaynebailey
 
* filters/test_checks.py: Disabeled/commented out tests - Should
eliminate must translate words from acronyms check. - Ability to
find musttranslate words when prefixed
 
New tests - Lots of musttranslate words surrounded by various
punctuation
 
2006-01-30 18:19 dwaynebailey
 
* filters/test_checks.py: We shouldn't mark items that must remain
unchanged as unchanged. ie variables and notranslate words.
 
2006-01-30 16:28 dwaynebailey
 
* filters/test_checks.py: Test for double variable problem.
 
2006-01-30 16:09 dwaynebailey
 
* filters/test_checks.py: We should be detecting must and dont
translate words even when surrounded by punctuation.
 
2006-01-30 12:58 friedelwolff
 
* convert/test_csv2po.py: correct template usage
 
2006-01-30 11:37 davidfraser
 
* __version__.py: 0.8 is going to need fixing, setting to rc6 in
preparation for bug day
 
2006-01-30 11:23 davidfraser
 
* storage/: csvl10n.py, dtd.py, oo.py, po.py, properties.py:
plastered unicode conversion onto all the __str__ functions to
make sure we don't get inane errors renamed the underlying
function to getsource, which could be used alternatively if
unicode is desired in certain cases. note that this will end up
using UTF-8 encoding as a desparate measure rather than giving
errors...
 
2006-01-30 09:36 friedelwolff
 
* storage/test_csvl10n.py: unit tests for csv storage
 
2006-01-29 00:49 friedelwolff
 
* storage/csvl10n.py, convert/csv2po.py, convert/po2csv.py: Move
csv to base classes
 
2006-01-29 00:44 friedelwolff
 
* convert/csv2tbx, convert/csv2tbx.py, storage/tbx.py,
storage/test_tbx.py: Initial, buggy tbx and csv2tbx
implementation
 
2006-01-28 20:14 dwaynebailey
 
* filters/: checks.py, test_checks.py: A new Mozilla variable
style: $ProgramName$
 
2006-01-28 19:25 dwaynebailey
 
* filters/: checks.py, test_checks.py: Add a simpleplurals test.
Its really just an extractor in that it will highlight all source
texts that contain "(s)" ie an English style plural.
 
2006-01-28 17:00 dwaynebailey
 
* filters/test_checks.py: Check variables at the end of sentences
 
2006-01-28 15:42 dwaynebailey
 
* convert/test_csv2po.py: Test the csv2po convertor. Simple
conversion with template fails.
 
2006-01-28 00:32 dwaynebailey
 
* filters/test_checks.py: Added a few tests some of which will
fail: F check for singlequotes at end of sentence F double HTML
style variables with errors go undetected - variables in KDE
comments should be ignored
 
2006-01-28 00:30 dwaynebailey
 
* filters/test_pofilter.py: Add a number of pofilter tests: *
Whether to include review/fuzzies in tests * Extracting with
isfuzzy and isreview
 
Ideas for non-existant test and listing all tests but need to be
able to get what would go to stderror to properly validate.
 
2006-01-27 21:54 dwaynebailey
 
* convert/test_prop2po.py: Add a test for DONT TRANSLATE comments.
Not implemented yet, but its the same functionality that is found
in dtd2po. This test is currently disabled.
 
2006-01-27 20:31 dwaynebailey
 
* storage/test_properties.py: Add test to check that escaped
unicode is converted to proper unicode strings. Added a newline
to test_simpledefinition - this breaks it but I think that's an
issue with our parser anyway.
 
2006-01-27 20:31 davidfraser
 
* storage/test_properties.py: file test_properties.py was added on
branch translate-toolkit-0-8-branch on 2006-02-02 08:06:42 +0000
 
2006-01-27 19:55 dwaynebailey
 
* storage/: properties.py, test_properties.py: That's __str__ not
_str__ Add some tests for properties files
 
2006-01-27 19:54 dwaynebailey
 
* storage/properties.py: Thats __str__ not _str__
 
2006-01-27 15:49 dwaynebailey
 
* convert/: test_dtd2po.py, test_prop2po.py: Tests to check for
folding of accelerator keys into other messages. The test for
properties files is marked as xtest_ ie it won't run by default.
This feature needs to be fixed then the test enabled.
 
2006-01-27 12:06 friedelwolff
 
* storage/test_po.py: extra test for getuquotedstr
 
2006-01-27 10:44 friedelwolff
 
* convert/po2tmx.py: small fixup for easy integration with pootle
 
2006-01-27 09:53 dwaynebailey
 
* filters/test_checks.py: Accelerators placed before variables
should fail the accelerator test.
 
2006-01-26 17:20 davidfraser
 
* convert/csv2po.py, convert/dtd2po.py, convert/html2po.py,
convert/nb2po.py, convert/oo2po.py, convert/po2csv.py,
convert/po2dtd.py, convert/po2html.py, convert/po2nb.py,
convert/po2oo.py, convert/po2prop.py, convert/po2tmx.py,
convert/po2ts.py, convert/po2txt.py, convert/po2xliff.py,
convert/poreplace.py, convert/pot2po.py, convert/prop2po.py,
convert/sxw2po.py, convert/test_dtd2po.py, convert/test_oo2po.py,
convert/test_prop2po.py, convert/ts2po.py, convert/txt2po.py,
convert/xliff2po.py, filters/pofilter.py, storage/csvl10n.py,
storage/dtd.py, storage/oo.py, storage/po.py,
storage/properties.py, storage/test_po.py, storage/xliff.py,
tools/pocompile.py, tools/poconflicts.py, tools/pocount.py,
tools/podebug.py, tools/pogrep.py, tools/pomerge.py,
tools/porestructure.py: refactor translate.storage.po to use
translate.storage.base this involves wanton renaming of elements
to units etc
 
2006-01-26 16:53 davidfraser
 
* storage/: base.py, test_base.py: added ability to force override
of methods in base classes this is useful because otherwise the
pickling we use for testing the base classes gets transposed to
derived classes also allow an empty string for unit.target if it
has not been set...
 
2006-01-26 11:10 davidfraser
 
* storage/base.py: replace python 2.4 decorators with less
beautiful function syntax that works in 2.3 etc
 
2006-01-26 11:00 dwaynebailey
 
* filters/: checks.py, decoration.py, test_checks.py: Add two new
tests: urls - checks to see that basic URLs are not translated
emails - check to see that email addresses are not translated
 
2006-01-25 21:58 dwaynebailey
 
* filters/: decoration.py, checks.py, test_checks.py: New pofilter
test to ensure that functions() are not translated.
 
2006-01-25 12:20 dwaynebailey
 
* convert/test_prop2po.py: Added test to detect problem with
multiline entries. Ie those with \ escapes newlines.
 
2006-01-24 21:06 dwaynebailey
 
* convert/test_dtd2po.py: Add a test that picks up DONT_TRANSLATE
elements that are only themselves entities. These seems to come
through as blank translations ie:
 
msgid "_: \n" "" msgstr ""
 
When they should simply be dropped.
 
I have not created a fix.
 
2006-01-24 19:18 dwaynebailey
 
* storage/: po.py, test_po.py: Backport fixes: po class crashing
when trying to parse a string.
 
Backport tests: string and file tests and corrected error.
Friedel's test for getunquotedstr (basic sanity check)
 
2006-01-24 17:19 davidfraser
 
* convert/test_prop2po.py: added test for unicode conversions
 
2006-01-24 17:19 davidfraser
 
* storage/: po.py, test_po.py: fix up unicode test, and add testing
for when the msgid value is actually a unicode object, not a
string this test is currently made to pass by manually converting
to UTF-8 in poelement.__str__, but this is not the ultimate
solution - we should know which encoding to convert to...
 
2006-01-24 16:51 dwaynebailey
 
* convert/test_dtd2po.py: Add convertdtd test for dtd2po similar to
prop2po
 
2006-01-24 16:42 davidfraser
 
* storage/oo.py: rather than printing to sys.stderr, raise warnings
this means repeated errors aren't output it also makes it much
easier to test and catch the problems case in point: ignore empty
lines...
 
2006-01-24 16:41 davidfraser
 
* storage/test_oo.py: test handling of a blank line, make sure it
doesn't produce even a warning added support for warning testing
converted tab indents to spaces
 
2006-01-24 16:41 dwaynebailey
 
* storage/test_po.py: First attempt at a test to highlight
__str__() problems with Unicode items at the PO element level.
Test currently passes, it should fail.
 
2006-01-24 16:35 davidfraser
 
* storage/test_oo.py: added basic test for oo class
 
2006-01-24 16:18 davidfraser
 
* convert/test_prop2po.py: added test that ctually checks the
convertprop method that the converter calls
 
2006-01-24 15:59 dwaynebailey
 
* convert/prop2po.py: Forward port a fix from 0.8 branch. src(blah)
should have been str(blah)
 
2006-01-24 15:57 dwaynebailey
 
* convert/prop2po.py: We should be outputing _str_ not
src(outputpo) - src function does not exist. Did not create a
test for this. We probably should but I guess that will go into
HEAD base class to exercise the _str_ functionality.
 
2006-01-24 15:29 dwaynebailey
 
* tools/.cvsignore: Ignore compiled Python files.
 
2006-01-24 14:16 dwaynebailey
 
* tools/.cvsignore: Ignore precompiled Python files.
 
2006-01-24 14:16 dwaynebailey
 
* tools/.cvsignore: file .cvsignore was added on branch
translate-toolkit-0-8-branch on 2006-01-24 13:29:51 +0000
 
2006-01-24 13:20 davidfraser
 
* storage/test_base.py: refactored so reparsing and checking
equality are separate functions
 
2006-01-24 13:13 davidfraser
 
* storage/: base.py, test_base.py: added ability to set target in
TranslationUnit
 
2006-01-24 13:06 davidfraser
 
* storage/: base.py, test_base.py: added doc strings added new test
class for testing the individual Unit classes renamed TestClass
attributes of classes to UnitClass / StoreClass (otherwise
py.test tries to test them)
 
2006-01-24 12:51 davidfraser
 
* storage/: base.py, test_base.py: rename parse to parsestring and
add parsefile and savefile methods
 
2006-01-24 12:43 davidfraser
 
* storage/: base.py, test_base.py: committed initial base class for
TranslationStore, and tests. these will form the basis for the
new API to po, xliff, etc
 
2006-01-24 11:33 davidfraser
 
* convert/csv2po.py, convert/dtd2po.py, convert/html2po.py,
convert/nb2po.py, convert/oo2po.py, convert/po2csv.py,
convert/po2dtd.py, convert/po2html.py, convert/po2nb.py,
convert/po2oo.py, convert/po2prop.py, convert/po2tmx.py,
convert/po2ts.py, convert/po2txt.py, convert/po2xliff.py,
convert/poreplace.py, convert/pot2po.py, convert/prop2po.py,
convert/sxw2po.py, convert/test_dtd2po.py, convert/test_oo2po.py,
convert/test_prop2po.py, convert/ts2po.py, convert/txt2po.py,
convert/xliff2po.py, filters/pofilter.py, storage/po.py,
storage/test_po.py, storage/xliff.py, tools/pocompile.py,
tools/poconflicts.py, tools/pocount.py, tools/podebug.py,
tools/pogrep.py, tools/pomerge.py, tools/porestructure.py:
renamed poelements to elements started trying to convert xliff
transunits into elements
 
2006-01-24 11:10 davidfraser
 
* __version__.py: version 0.9 alpha 1 on HEAD
 
2006-01-20 12:14 dwaynebailey
 
* storage/: po.py, test_po.py: po class crashing when trying to
parse a string.
 
Fixed string and file tests and corrected error.
 
2006-01-20 12:05 dwaynebailey
 
* storage/test_po.py: Add test for parsing a string or parsing a
file. Thought I had a bug but it slipped through :/. The tests
don't seem to find it.
 
One problem the test writes to a file. We should remove and
destroy it, I didn't (know how to).
 
2006-01-20 08:35 friedelwolff
 
* convert/test_po2tmx.py: Unit tests for po2tmx
 
2006-01-19 18:08 friedelwolff
 
* convert/po2tmx.py: Make source language work
 
2006-01-19 16:23 friedelwolff
 
* storage/test_tmx.py: Test entries with newlines and XML entities
 
2006-01-19 15:36 friedelwolff
 
* convert/po2tmx.py: Handle multiple files. Handle source and
target languages.
 
2006-01-19 15:19 davidfraser
 
* storage/test_po.py: added Friedel's test for getunquotedstr
(basic sanity check)
 
2006-01-19 13:12 friedelwolff
 
* storage/tmx.py: Handle sourcelanguage better
 
2006-01-18 16:10 friedelwolff
 
* storage/test_tmx.py: Unit tests for tmx storage
 
2006-01-18 15:42 friedelwolff
 
* storage/tmx.py: Up to tmx1.4, +accessors, fix getxml(), optimise
addtranslation()
 
2006-01-18 13:46 dwaynebailey
 
* tools/pogrep.py: Fixes current instance of Pootle barfing on
searching. However we still have problems with Unicode in search
strings. Bug http://bugs.wordforge.org/show_bug.cgi?id=89 refers
to the problem.
 
2006-01-17 17:07 davidfraser
 
* ChangeLog: updated ChangeLog at 0.8 stage
 
2006-01-17 15:41 davidfraser
 
* storage/test_zipfile.py: added tests for zipfile module to make
sure it supports required functionality for xpi module
(refactored from previous non-py.test version)
 
2006-01-17 09:53 davidfraser
 
* filters/test_pofilter.py: added ability to pass cmdlineoptions to
pofilter cmdlineparser
 
2006-01-17 09:31 davidfraser
 
* CREDITS: added nicolas
 
2006-01-17 09:11 davidfraser
 
* __version__.py: version 0.8 (at last!)
 
2006-01-17 09:06 davidfraser
 
* storage/: ts.py, xliff.py: commented out modifications to minidom
classes
 
2006-01-08 17:48 dwaynebailey
 
* convert/test_prop2po.py: More tab at the end tests for prop2po
 
2006-01-08 14:46 dwaynebailey
 
* filters/test_checks.py: Fix many of the escape tests using raw
wtrings Add another accelerator test for accelerators combined
with variables on Mozilla Fix KDE comment tests More unchanged
tests to cover KDE comments, numbers, accelerators Add validchars
tests
 
2006-01-08 14:29 dwaynebailey
 
* filters/checks.py: Must remove KDE comments when checking for
unchnaged entries.
 
2006-01-08 14:26 dwaynebailey
 
* filters/TODO: musttranslate and notranslate implement the stop
words functionality.
 
2005-12-23 16:46 dwaynebailey
 
* filters/: checks.py, test_checks.py: Make singlequoting remove
KDE comments before testing Add test to check that KDE comments
are ignored.
 
Add fuller coverage for "escapes" unit tests.
 
Add commented out tests for "simplcaps" and "spellcheck" as these
are the only remaining tests that we need to check here.
"isfuzzy" and "isreview" should be tested in test_pofilter.py
 
2005-12-23 16:21 dwaynebailey
 
* filters/test_checks.py: Add a unit test for pofilter "escapes"
test.
 
Add another test for "singlequotes" to check quotes at end of
sentences.
 
2005-12-23 16:17 dwaynebailey
 
* filters/test_pofilter.py: Test to check variables spanning lines.
 
2005-12-23 15:48 dwaynebailey
 
* convert/: prop2po.py, test_prop2po.py: Only strip spaces, not all
whitespace. Thus we leave \t (tabs) that occur at the end of a
.properties entry.
 
Also updated the test to focus on the \t at the end (removed all
other Unicode bumf)
 
2005-12-23 15:24 dwaynebailey
 
* convert/test_prop2po.py: Add a unit test harness for prop2po
based on the tests for dtd2po.
 
This includes a test for Bug 74.
 
2005-12-23 15:11 davidfraser
 
* filters/test_pofilter.py: actually pass a fake argument to the
parser so it doesn't use sys.argv and thinks it has something to
handle
 
2005-12-23 15:10 davidfraser
 
* filters/: pofilter.py, test_pofilter.py: added a way of testing
pofilter by giving it actual poentries and passing them through
the standard chain this slightly bypasses command line argument
handling etc; refactored a helper to return a command line parser
for this purpose
 
2005-12-23 14:56 davidfraser
 
* convert/convert.py: avoid potential errors caused by default
arguments getting set as member variables and modified
 
2005-12-23 14:53 davidfraser
 
* filters/: checks.py, pofilter.py: avoid potential errors caused
by default arguments getting set as member variables and modified
 
2005-12-23 14:52 davidfraser
 
* filters/test_checks.py: this check was passing incorrectly
because of mozilla variables leaking into the standard checker
check properly now that that was fixed - should fail if &amp; is
not a variable and pass if it is
 
2005-12-23 14:43 friedelwolff
 
* filters/test_checks.py: Uncomment failing bracket test
 
2005-12-23 14:41 davidfraser
 
* filters/checks.py: map strings to unicode before checking valid
characters
 
2005-12-23 14:40 dwaynebailey
 
* filters/test_checks.py: Add a unit test for pofilter
"singlequoting" check.
 
2005-12-23 14:38 davidfraser
 
* filters/test_checks.py: added test for config objects not being
muddly (which they were until a recent fix)
 
2005-12-23 14:35 davidfraser
 
* filters/checks.py: default [] arguments are a no-no - they can
get altered if they are stored in the object, and cause muddly
issues
 
2005-12-23 14:31 dwaynebailey
 
* filters/test_checks.py: Add tests to the "accelerator" unit test
that covers the various types of accelerator keys.
 
2005-12-23 14:24 dwaynebailey
 
* filters/test_checks.py: Add unit tests for pofilter "variables"
check. They are broken down into each defined checker type: KDE,
GNOME, etc
 
2005-12-23 14:20 davidfraser
 
* README: we're going to get the docs from the wiki, and we've
relicensed them under GPL (see bug 33)
 
2005-12-23 14:05 dwaynebailey
 
* filters/test_checks.py: Added unit test for pofilter
"setencecount" check.
 
2005-12-23 13:58 dwaynebailey
 
* filters/test_checks.py: Add unit test for pofilter "endpunc"
check.
 
2005-12-23 13:52 dwaynebailey
 
* filters/test_checks.py: Add unit test for pofilter "startpunc"
check.
 
2005-12-23 13:49 dwaynebailey
 
* filters/test_checks.py: Added unit test for pofilter
"startwhitespace" check.
 
2005-12-23 13:42 dwaynebailey
 
* filters/test_checks.py: Added "endwhitespace" test
 
2005-12-23 13:36 dwaynebailey
 
* filters/test_checks.py: Added validchars test: this needs some
fixing from Dave for the internal workings of validchars.
 
2005-12-23 12:43 dwaynebailey
 
* filters/test_checks.py: Put numbers test in alphabetic order
 
Add a test for "purepunc"
 
2005-12-23 12:39 dwaynebailey
 
* filters/test_checks.py: Add a test for the kdecomments test
 
2005-12-23 12:35 dwaynebailey
 
* filters/test_checks.py: Add a test for pofilter "long" test
 
2005-12-23 12:32 dwaynebailey
 
* filters/test_checks.py: Reorder tests into alphabetic order - we
have 34 so order is important.
 
Added a short test.
 
2005-12-23 12:31 friedelwolff
 
* tools/porestructure.py: Don't use templates
 
2005-12-23 12:23 dwaynebailey
 
* filters/test_checks.py: Add tests for pofilter numbers test.
 
2005-12-23 12:05 dwaynebailey
 
* filters/test_checks.py: Make test names follow the pofilter
names, to ease finding associated tests.
 
2005-12-23 12:02 dwaynebailey
 
* filters/test_checks.py: Change test_compendiumconflicts to use a
raw string in the assert, to make things clearer.
 
2005-12-23 11:59 dwaynebailey
 
* filters/test_checks.py: Add test for doublespacing
 
2005-12-23 11:31 davidfraser
 
* convert/test_oo2po.py: used raw strings so escapes are less
confusing added a test of escape conversions (bug 24)
 
2005-12-23 11:24 friedelwolff
 
* filters/helpers.py: Clarify comment
 
2005-12-23 11:23 friedelwolff
 
* filters/test_checks.py: More unit tests for standard checks
 
2005-12-23 11:22 davidfraser
 
* storage/: test_dtd.py, test_po.py: simplified by using str
directly now that its that easy
 
2005-12-23 11:19 davidfraser
 
* convert/csv2po.py, convert/dtd2po.py, convert/html2po.py,
convert/nb2po.py, convert/oo2po.py, convert/po2csv.py,
convert/po2dtd.py, convert/po2oo.py, convert/poreplace.py,
convert/pot2po.py, convert/prop2po.py, convert/sxw2po.py,
convert/test_dtd2po.py, convert/test_po2dtd.py, convert/ts2po.py,
convert/txt2po.py, convert/xliff2po.py, filters/pofilter.py,
storage/csvl10n.py, storage/dtd.py, storage/oo.py, storage/po.py,
storage/properties.py, storage/test_dtd.py, storage/test_po.py,
tools/poconflicts.py, tools/podebug.py, tools/pogrep.py,
tools/pomerge.py, tools/porestructure.py: replaced all tolines
functions with __str__ functions that return a string rather than
a list of lines note that we could use __unicode__ if desired as
well
 
2005-12-23 11:03 dwaynebailey
 
* convert/: dtd2po.py, test_dtd2po.py: Fix for Bug #79
 
Removes starting whitespace in subsequent lines of a DTD entity.
Thus the PO entry has these uneeded spaces removed.
 
Ie:
 
<!ENTITY blah "Some text and more"
 
Becomes
 
msgid "Some text \nand more" msgstr ""
 
Conversion back does not create a pretty formatted entity and
won't do that.
 
This fix does not solve the CRLF at the end of such multiline
entities. See Bug 86 for the line ending problem.
 
2005-12-23 10:39 davidfraser
 
* convert/oo2po.py, convert/po2oo.py, convert/prop2mozfunny.py,
convert/test_oo2po.py, storage/csvl10n.py, storage/dtd.py,
storage/oo.py, storage/po.py, storage/properties.py,
tools/pocount.py, tools/pomerge.py: replaced all fromlines
functions with parse functions that take strings (or sometimes
file objects) instead of lists of lines the underlying functions
still often split things up into lines in some cases there was an
existing parse function that called fromlines, so these have been
merged also the dtd element parsing broke on empty strings with
thinking it had a line, so this was fixed added an input argument
to oofile so that it can be constructed more easily renamed
methods in storage/oo.py oomultifile (getlines -> getsubfilesrc,
getsubfile -> getsubfilename) added a simple test for oo2po
 
2005-12-23 10:29 friedelwolff
 
* tools/: porestructure, porestructure.py: Tool to restructure po
files according to poconflicts directives
 
2005-12-20 11:59 davidfraser
 
* convert/po2csv.py: need a default value for columnorder so we can
call convertfile with just the pofile argument (for Pootle)
 
2005-12-13 16:54 davidfraser
 
* storage/test_po.py: must make sure we don't add msgid_comments to
blanks when keeping them
 
2005-12-13 16:53 davidfraser
 
* storage/po.py: Always add msgid_comment to blank entries unless
"keep"ing them. This is already done for msgid_comment and
msgid_comment_all so the one needing change is merge
 
2005-12-13 16:47 davidfraser
 
* storage/test_po.py: added tests for merging duplicates, and
particularly ensure that merging blanks with "merge" adds
msgid_comments see bug 15 for an explanation
 
2005-12-08 14:59 friedelwolff
 
* tools/pydiff.py: Support stdin. Check arguments more carefully.
 
2005-12-08 12:49 davidfraser
 
* storage/po.py: allow duplicate handling of blank msg ids, but
exclude the header
 
2005-12-08 12:17 davidfraser
 
* misc/test_zipfileext.py: only use TestFailed if test.test_support
is present (requires python-devel on Fedora)
 
2005-12-08 10:01 davidfraser
 
* storage/xpi.py: support seamonkey containing os-specific jars by
not letting them get matched as lang-reg and disrupt the locale
detection
 
2005-12-06 16:08 davidfraser
 
* CREDITS: Friedel Wolff has been doing bug fixing
 
2005-12-06 15:57 friedelwolff
 
* tools/poconflicts.py: Complain if no ouput options are found
 
2005-11-30 23:11 dwaynebailey
 
* filters/test_checks.py: Unit test for pofilter "doublewords"
test. Disable one for testing double variables as I'm unsure of
how to prefilter variables.
 
2005-11-30 22:55 dwaynebailey
 
* filters/test_checks.py: Unit test for pofilter "filepaths" test
 
2005-11-30 22:49 dwaynebailey
 
* filters/test_checks.py: Unit tests for pofilter "untranslated"
 
2005-11-30 22:42 dwaynebailey
 
* filters/test_checks.py: Unit test for pofilter blank test
 
2005-11-30 22:37 dwaynebailey
 
* filters/test_checks.py: Test for conpedium conflicts
 
2005-11-30 22:30 dwaynebailey
 
* filters/test_checks.py: Add validation checks for acronyms
 
2005-11-30 22:24 dwaynebailey
 
* filters/test_checks.py: Also check that we can detect accelrators
that are using Unicode characters in the translation.
 
2005-11-30 22:18 dwaynebailey
 
* filters/test_checks.py: Add test for pofilters accelerators test
 
2005-11-30 22:06 dwaynebailey
 
* filters/test_checks.py: Add test pofilter unchanged test.
 
2005-11-30 21:26 dwaynebailey
 
* filters/test_checks.py: Add startcap tests
 
2005-11-29 20:55 dwaynebailey
 
* convert/convert.py: For --duplicates make merge the default
behaviour. This is the same and normal Gettext behaviour. This
change should make it more understandable for the general user
and still make it possible for the advanced user to manipulate
their PO files.
 
2005-11-29 15:52 davidfraser
 
* convert/po2xliff.py: convert getElementsByTagName results to list
in case it returns a generator (bug 78)
 
2005-11-29 15:09 davidfraser
 
* storage/test_dtd.py: forgot that trailing \n again
 
2005-11-29 15:06 davidfraser
 
* storage/dtd.py: adding the \n to the comment broke stripping the
comment from the line with the result that if it had a trailing
space, it came out as an unparsed line, and so was repeated (bug
77) doing the add after the stripping makes it work
(test_commentclosing)
 
2005-11-29 15:00 davidfraser
 
* storage/test_dtd.py: test that if comments have trailing spaces
they aren't duplicated
 
2005-11-29 14:13 davidfraser
 
* storage/po.py: if the msgid and msgstr are blank, but there is a
source comment, this is still an important piece of a po file
(bug 15)
 
2005-11-29 14:09 davidfraser
 
* storage/: test_po.py, po.py: added a test for combining msgid
comments, and actually do it when reproducing the source
 
2005-11-29 13:49 davidfraser
 
* storage/test_po.py: added simple start to tests for po module
 
2005-11-29 13:44 davidfraser
 
* convert/test_po2dtd.py: added test for retaining hash prefix (bug
81)
 
2005-11-29 13:38 davidfraser
 
* storage/: dtd.py, test_dtd.py: added a hack to handle
"hashprefix" in dtd, and fixed up the slight format problem in
the test
 
2005-11-29 13:29 davidfraser
 
* storage/test_dtd.py: added test for hashcomment from bug 81
 
2005-11-28 17:20 davidfraser
 
* storage/test_dtd.py: fixed simpleentity comment, added helper for
regenerating source and test on simple string
 
2005-11-28 17:12 davidfraser
 
* storage/test_dtd.py: added initial simple dtd test
 
2005-11-28 15:19 dwaynebailey
 
* filters/checks.py: Fix situation when jToolkit is not installed.
 
2005-11-19 08:33 davidfraser
 
* CREDITS: some fixes from Matt Chisholm and Ognyan Kulev, testing
by David Farning ; might have missed a few people out, so need to
review
 
2005-11-19 08:27 davidfraser
 
* __version__.py: version 0.8rc5
 
2005-11-14 17:41 davidfraser
 
* convert/test_dtd2po.py: actually we do want to convert the
apostrophe in the po file
 
2005-11-14 17:41 davidfraser
 
* convert/dtd2po.py, storage/dtd.py: crazy to replace &apos; with
single quote here as the defpart is still quoted so it will
always break the quoting do it rather in dtd2po, then the
back-conversion in po2dtd also still works this fixes bug 69
 
2005-11-14 17:27 davidfraser
 
* convert/test_dtd2po.py: added test for apostrophe breaking
single-quoted entity definition moved bug numbers to end of doc
strings
 
2005-11-14 16:55 davidfraser
 
* convert/test_dtd2po.py: added test for kde comments being merged
properly (bug 65)
 
2005-11-14 16:32 davidfraser
 
* convert/test_dtd2po.py: updated test_entityname to
test_donttranslate_label and explained current state a bit better
 
2005-11-14 16:12 davidfraser
 
* convert/test_dtd2po.py: added helper to return single element
from pofile added doc strings to tests added test for bug 30
 
2005-11-14 16:11 davidfraser
 
* convert/dtd2po.py: replaced visiblecomments with othercomments as
that's the correct name in pofile for # comments
 
2005-11-14 15:59 davidfraser
 
* convert/po2dtd.py: warn if accesskey is not found
 
2005-11-14 15:58 davidfraser
 
* convert/test_po2dtd.py: reset warnings properly using
setup_method and teardown_method so tests don't interact badly
added test to make sure missing access key raises an error (bug
44)
 
2005-11-14 15:49 davidfraser
 
* convert/po2dtd.py: generate warnings rather than writing straight
to sys.stderr don't use sy.argv[-1] for filename as this is
almost invariably wrong
 
2005-11-14 15:49 davidfraser
 
* convert/test_po2dtd.py: added proper test that invalid ampersands
generate warnings, renamed fix test
 
2005-11-14 15:26 davidfraser
 
* convert/po2dtd.py: check for invalid ampersands on straight
po2dtd conversions fixed the ampersand correction position as it
was keeping the ampersand and removing the next character!
 
2005-11-14 15:25 davidfraser
 
* convert/test_po2dtd.py: added test for ampersands being stripped
out (doesn't detect warning as it says yet) added a helper to do
dtd merging (not used yet)
 
2005-11-14 15:10 davidfraser
 
* storage/dtd.py: don't assume that self.entitytype will always be
set
 
2005-11-14 15:09 davidfraser
 
* convert/test_po2dtd.py: test that \n in msgstr is escaped
correctly in dtd - bug 45
 
2005-11-14 15:03 davidfraser
 
* storage/po.py: Convert nplurals if its unicode too... This was
bug 36 (Patch from Matt Chisholm)
 
2005-11-14 14:43 davidfraser
 
* convert/po2dtd.py: replaced quote functions etc with
unquotefrompo make sure newlines aren't included (bug 16)
 
2005-11-14 14:34 davidfraser
 
* convert/test_po2dtd.py: added test for bug 16 in test_po2dtd
 
2005-11-14 14:25 davidfraser
 
* convert/dtd2po.py: move convertmixedelement below convertelement,
which makes more sense removed a few blank lines
 
2005-11-14 14:24 davidfraser
 
* convert/test_dtd2po.py: check that the output actually contains
credit.translation (otherwise it could be an empty string, the
current situation) see
http://bugs.wordforge.org/show_bug.cgi?id=15
 
2005-11-14 14:16 davidfraser
 
* convert/test_dtd2po.py: added py.test file for dtd2po
 
2005-11-14 14:06 davidfraser
 
* misc/test_zipfileext.py: added py.test tests for zipfileext that
fixes problems in ZipFile
 
2005-11-14 13:59 davidfraser
 
* filters/: checks.py, test_checks.py: added helper functions
passes and fails to checks, and use them from within test_checks
this is neccessary now that a failure can raise a FilterFailure
exception
 
2005-11-14 13:16 davidfraser
 
* convert/convert.py: only do a replace if both the searchstring
and replacestring are not None
 
2005-11-03 15:06 davidfraser
 
* __version__.py: rc4, this is really a release candidate now :-)
 
2005-11-03 14:58 davidfraser
 
* convert/po2oo.py: this causes horrible problems for hristo and
javier (printing out a unicode string) so trying a relatively
verbose but hopefully safe alternative
 
2005-11-02 11:33 davidfraser
 
* convert/dtd2po.py: added a scheme to make sure that if the
original strings didn't get mixed for an entity, the translated
strings won't be mixed either
 
2005-11-02 11:27 davidfraser
 
* convert/po2moz.py: added --clonexpi option, which allows you to
use a different xpi for the structure from the template xpi this
is useful when recreating xpis but still wanting to use the en-US
xpi for the original strings disabled copying from the template -
all files should be unpacked into the input directory by moz2po
anyway, and this ends up confusing things if the template xpi and
the input xpi from moz2po had a different structure
 
2005-11-02 11:20 davidfraser
 
* storage/xpi.py: when cloning an xpi, if it is created in "w"
mode, we should reopen it in "a" mode (or we just recreate a
blank file) added TODO to check language replacement code
 
2005-11-02 09:26 dwaynebailey
 
* tools/poconflicts.py: poconflicts now adds a comment:
 
# (poconflicts) path/to/file.po
 
To each conflicting entry. This so that we can merge the
corrected conflicts back into the original PO files.
 
2005-10-31 17:47 davidfraser
 
* storage/xpi.py: support passing locale and region to the XpiFile
constructor actually pass them when cloning, since we are given
them here
 
2005-10-31 17:25 davidfraser
 
* misc/quote.py: handle unicode in properties files (in utf-8) fix
to the way mozilla actually handles unicode escapes \u or \u, up
to four hexadecimal characters
 
2005-10-31 17:20 davidfraser
 
* convert/dtd2po.py: fix logic for handling empty dtd elements
(empty string, but valid entity name)
 
2005-10-31 12:24 davidfraser
 
* misc/: optrecurse.py, progressbar.py: added support for a new
progress option, --progress=names this just prints out filenames
without any other progress indicator it's a good option when
outputting to a log file rather than a terminal
 
2005-10-31 12:00 davidfraser
 
* storage/xpi.py: another fix to handle locales without regions
also make suer the locale and region match the whole string, not
just the start produce more errors if we cannot determine locale,
don't use uncertain region
 
2005-10-28 17:00 davidfraser
 
* convert/: convert.py, moz2po.py, po2moz.py: added a Replacer
object that you can give a search and replace to and then use its
searchreplaceinput / searchreplacetemplate methods as converter
objects this is basically so we can substitute in variables for
the locale and change it automatically we then use this from
moz2po / po2moz to prevent users having to edit .js, .manifest
and .rdf files also use loops to define the format converters now
that they are so prolific we have a hack on po2moz that updates
the single replacer object with the locale later on as it is only
known later
 
2005-10-28 16:56 davidfraser
 
* storage/xpi.py: handle converting the
bin/chrome/lang-reg.manifest mapping back if the locale has not
been discovered (just find the first thing that seems to match)
this is basically for running xpi standalone to extract the files
 
2005-10-28 16:28 davidfraser
 
* storage/xpi.py: added a special hook to rename
bin/chrome/en-US.manifest (or locale) to lang-reg.manifest (both
ways)
 
2005-10-28 15:04 davidfraser
 
* convert/po2dtd.py: handle merging with .title as well as .label
made list of possible labelsuffixes and accesskeysuffixes to
ensure it is extensible and logical
 
2005-10-28 14:57 davidfraser
 
* convert/po2moz.py: handle locales that are just lang without the
-region
 
2005-10-28 14:55 davidfraser
 
* convert/dtd2po.py: handle merging with .title as well as .label
made list of possible labelsuffixes and accesskeysuffixes to
ensure it is extensible and logical
 
2005-10-28 12:36 davidfraser
 
* storage/xpi.py: handle blank regions (which is now expected to be
more common in ff 1.5 cvs etc) including a fix for an incorrect
variable name...
 
2005-10-28 12:03 davidfraser
 
* storage/dtd.py: handle lines that we don't otherwise parse
(non-entity, non-comment lines) this is neccessary for handling
the %realBrandDTD; lines that happen with parameterized entries
we just pass them straight through. if such a line occurs after
the last entity defined in the file, we uses a null dtdelement to
represent it - we need to exclude this from the index
 
2005-10-28 11:53 davidfraser
 
* storage/dtd.py: handle <!ENTITY % brandDTD SYSTEM
"chrome://branding/locale/brand.dtd"> (external entities in the
XML spec) See http://www.w3.org/TR/REC-xml/#dt-extent Also allow
dtd module to be run as a program that reads in a dtd and outputs
it to stdout (useful for testing)
 
2005-10-28 10:12 davidfraser
 
* convert/: moz2po.py, po2moz.py: handle ini files that occur in
firefox 1.5 xpis
 
2005-10-28 10:01 davidfraser
 
* storage/xpi.py: only cause problems when two or more
file/directory names giving locale are found if they mismatch,
and give some more details
 
2005-10-26 09:56 davidfraser
 
* storage/po.py: handle unicode in both parts of the comment merge
 
2005-10-25 19:57 dwaynebailey
 
* filters/autocorrect.py: Don't try and correct untranslated
messages.
 
2005-10-24 16:52 dwaynebailey
 
* tools/pogrep.py: Allow unicode search strings.
 
2005-10-19 11:28 davidfraser
 
* storage/po.py: convert items to unicode if required for merge
(untested)
 
2005-10-18 18:06 dwaynebailey
 
* filters/checks.py: Handle variables that have a numeric endmarker
eg ('%', 1) I'm not sure if this actually ensures that they still
work correctly but it does solve the problem of generating the
error message for pofilter. It was trying to create a string by
concatanating str + int. Now we elimiante the int.
 
2005-10-18 17:04 davidfraser
 
* CREDITS: Matthias Klose supplied some patches
 
2005-10-18 15:51 davidfraser
 
* convert/convert.py, convert/oo2po.py, convert/po2oo.py,
storage/oo.py: addition of a long_keys option, to identify a
translation across files. [Matthias Klose] add a multifile option
with values "single" (the current behaviour), "toplevel",
"onefile". Some files do contain only a few translations, and it
makes sense to combine them. [Matthias Klose] modified the way
the multifile option was passed in the above patch [David Fraser]
 
2005-10-18 15:26 davidfraser
 
* misc/optparse.py: fixed line-ending problem
 
2005-10-11 10:12 davidfraser
 
* storage/po.py: split at any blank line (so that DOS line endings
are handled properly, gulp)
 
2005-09-28 09:56 dwaynebailey
 
* tools/pydiff.py: Messed up the workin of --contains in the last
patches. This restores this option.
 
2005-09-28 08:57 dwaynebailey
 
* tools/pydiff.py: Added --accelerator option to allow you to
ignore accelerator markers when identifying hunks using the
--*contains options.
 
This needs some refactoring.
 
2005-09-28 08:48 dwaynebailey
 
* tools/pydiff.py: Added -I option to ignore case when using
--*contains options.
 
2005-09-27 12:05 davidfraser
 
* tools/pydiff.py: greatly enhanced version moved things to a
class-based structure allow diffing directories, and recursive
diffs enabled a few GNU diff options that are useful fixed a few
minor bugs tried to make the output similar to GNU diff
 
2005-09-26 18:26 davidfraser
 
* tools/: pydiff, pydiff.py: added pydiff tool
 
2005-09-19 19:46 dwaynebailey
 
* storage/po.py: Add pofilter as a type of review marker. This
means that pofilter comments ie "# (pofilter)" are now considered
as the same as "# (review)"
 
2005-09-10 00:56 dwaynebailey
 
* filters/checks.py: handle single unicode string messages properly
in FilterFailure
 
2005-09-09 13:48 dwaynebailey
 
* filters/: checks.py, pofilter.py: added check for invalid
characters that uses a file to read in the list of valid
characters
 
2005-09-08 16:25 dwaynebailey
 
* convert/csv2po.py: improve the error messages when entry can't be
found
 
2005-09-08 11:25 dwaynebailey
 
* filters/checks.py: have more helpful error messages for
untranslated, notranslatewords and musttranslatewords
 
2005-09-08 11:14 dwaynebailey
 
* filters/pofilter.py: include previous pofilter commented entries
as needing review
 
2005-09-08 10:32 dwaynebailey
 
* filters/pofilter.py: use thepo.isreview so we pick up new #
(review) style comments too added some fancy code to convert
oldstyle #, review messages to new style # (review) also don't
add a # (pofilter) message for review checks # (pofilter)
messages should go in othercomments, not visiblecomments
 
2005-09-08 09:53 dwaynebailey
 
* storage/po.py: added ability to check for marked comments that
pofilter now produces rather than flags these will be of the form
# (commentmarker) detect # (review) as a review marker
 
2005-09-08 09:01 dwaynebailey
 
* filters/checks.py: added helpful error message for escapes error,
make it a SeriousFilterFailure
 
2005-09-08 08:54 dwaynebailey
 
* filters/: checks.py, pofilter.py: added the ability to
distinguish between normal filter failures and serious ones that
should mark a message as being fuzzy (so at the moment only
variable errors will make a message fuzzy) adjusted run_filters
to return lists of filtername, message_or_exception rather than
just a comment changed format of filter comments from #_
filtername: message to # (pofilter) filtername: message to make
them more easily detectable
 
2005-09-08 08:26 dwaynebailey
 
* filters/autocorrect.py: added autocorrects for space, end
punctuation, initial caps
 
2005-09-07 23:07 dwaynebailey
 
* filters/: checks.py, pofilter.py: rearranged the way we pass
options into pocheckfilter, pass the whole options object
rather... added language option for spellchecker added
spellchecking code which can use either enchant (fast, by
default) or jToolkit.spellchecker (slow) make sure we handle
unicode properly in FilterFailure messages raise errors in
filters directly (easier for testing) improve brackets message
using FilterFailure make acronyms ignore variable names
 
2005-09-07 21:11 dwaynebailey
 
* filters/: autocorrect.py, pofilter.py: changed ellipsis
autocorrect to handle it anywhere in the string use the more
correct unquotefrompo / quoteforpo to do autocorrect (we should
use this for checks too later)
 
2005-09-07 20:39 dwaynebailey
 
* filters/: autocorrect.py, pofilter.py: added an autocorrect mode
which has some predefined autocorrects that it will output to the
results to in autocorrect mode, the standard comments etc will
not be added and the entries will only be output if an
autocorrect succeeds so far there is just one autocorrect
defined, for ellipsis...
 
2005-09-07 15:37 dwaynebailey
 
* filters/checks.py: added FilterFailure exception class. This can
be used to produce custom error messages Basically instead of
returning False from the test, you raise a FilterFailure that you
pass a message or list of messages adjusted accelerators and
variables checks to produce intelligent messages using the
FilterFailure class added notranslatewords and musttranslatewords
to the filter for untranslated added Yet Another Variable Style
for OpenOffice ($ATTRIBUTENAME in svx/source/form.po)
 
2005-09-07 13:36 dwaynebailey
 
* filters/: checks.py, pofilter.py: made musttranslate and
notranslate case sensitive as they are often used for product
names etc
 
2005-09-07 13:31 dwaynebailey
 
* convert/csv2po.py, convert/po2csv.py, storage/csvl10n.py: added
support for --columnorder switches in csv2po and po2csv which
allow you to alter the order of columns by default the order is
source,msgid,msgstr but you can change this and skip columns by
using dummy column names
 
2005-09-05 21:38 dwaynebailey
 
* filters/checks.py: Added another OpenOffice style test ("[", "]")
- this appears in the MSI installer. Am worried that this might
cause too many false positives. But lets see. Ideally you
should be able to set the variable styles in the POT header (or
OOo should rationalise their variable styles). (PPS: they use
both ~ and & as accelerators in this file... dumb dumb dumb)
 
2005-09-05 17:37 davidfraser
 
* storage/po.py: make the unicode error clearer by reporting the
line number too...
 
2005-08-31 15:39 dwaynebailey
 
* tools/poconflicts.py: Add --invert (-v) - this swaps the msgid
and msgstr for the conflict comparison this allowing us to
extract destination words that were used to translate different
source words. Most are OK but a few will be usuability issues.
 
2005-08-24 18:40 davidfraser
 
* tools/poconflicts.py: removed old reduction methods added simple
plural conflation
 
2005-08-24 17:12 davidfraser
 
* tools/poconflicts.py: tried to improve the algorithm for grouping
conflicts - now uses the longest word in the msgid (other
algorithm commented out)
 
2005-08-24 14:24 davidfraser
 
* tools/poconflicts.py: fixed help string and added description of
operation handle trailing - in flatmsgid for filename, use
"conflicts.po" if its empty
 
2005-08-24 14:14 davidfraser
 
* tools/: poconflicts, poconflicts.py: added po conflict detection
tool
 
2005-08-24 11:44 davidfraser
 
* filters/pofilter.py: added must translate / no translate
commandline options
 
2005-08-17 15:24 davidfraser
 
* filters/: checks.py, test_checks.py: renamed untranslatablewords
to notranslatewords and added musttranslatewords (the logical
opposite) added test and extended tests slightly
 
2005-08-17 15:06 davidfraser
 
* filters/: checks.py, test_checks.py: realized the logic for the
untranslatable test was the wrong way round...
 
2005-08-17 14:48 davidfraser
 
* filters/checks.py: more sane way to do customization for projects
(update config rather than overwriting it)
 
2005-08-17 12:36 davidfraser
 
* filters/: checks.py, pofilter.py, test_checks.py: separated out
checker configuration into its own object (to allow user config
read from files later...) moved untranslatablewords into checker
configuration ignore untranslated test if no untranslatablewords
adjusted derived classes, test accordingly
 
2005-08-17 12:15 davidfraser
 
* filters/: checks.py, test_checks.py: added "stopwords"
(untranslatable words) - list needs to be made configurable added
first py.test based tests on checks (currently just tests
construction and stopwords)
 
2005-08-03 23:17 dwaynebailey
 
* convert/convert.py, misc/optrecurse.py: All command line options
that can take a value from a predefined list now list the valid
values.
 
2005-07-28 19:40 dwaynebailey
 
* convert/: dtd2po.py, oo2po.py, prop2po.py: Add
X-Accelerator-Marker to the PO header. This is the preliminary
to embeding more of this info in the PO file header and allowing
tools like pofilter and Pootle to use that information to manage
checking and accelerator highlighting.
 
2005-07-02 22:51 davidfraser
 
* convert/: po2ts.py, po2xliff.py: make sure po2xxx.convertfile
works with a single pofile parameter for input for consistency
 
2005-07-01 21:14 davidfraser
 
* __init__.py, __version__.py, convert/__init__.py,
convert/convert.py, convert/csv2po.py, convert/dtd2po.py,
convert/html2po.py, convert/moz2po.py, convert/mozfunny2prop.py,
convert/nb2po.py, convert/oo2po.py, convert/po2csv.py,
convert/po2dtd.py, convert/po2html.py, convert/po2moz.py,
convert/po2nb.py, convert/po2oo.py, convert/po2prop.py,
convert/po2tmx.py, convert/po2ts.py, convert/po2txt.py,
convert/po2xliff.py, convert/poreplace.py, convert/pot2po.py,
convert/prop2mozfunny.py, convert/prop2po.py, convert/sxw2po.py,
convert/ts2po.py, convert/txt2po.py, convert/xliff2po.py,
filters/__init__.py, filters/checks.py, filters/decoration.py,
filters/helpers.py, filters/prefilters.py, misc/__init__.py,
misc/csv.py, misc/dictutils.py, misc/optparse.py,
misc/optrecurse.py, misc/progressbar.py, misc/quote.py,
misc/setup.py, misc/sparse.py, misc/textwrap.py,
misc/wStringIO.py, misc/xmlwrapper.py, misc/zipfileext.py,
storage/__init__.py, storage/csvl10n.py, storage/dtd.py,
storage/html.py, storage/oo.py, storage/po.py,
storage/properties.py, storage/tmx.py, storage/ts.py,
storage/xliff.py, storage/xpi.py, tools/__init__.py,
tools/pocompile.py, tools/pocount.py, tools/podebug.py,
tools/pogrep.py, tools/pomerge.py: made all files python source
encoding marked as utf-8 [Simos Xenitellis] also fixed a
#!/usr/bin/python -> env python
 
2005-06-30 21:14 dwaynebailey
 
* tools/pocount.py: Added totals fro CSV mode. Mainly so that you
can easily use the data in bash scripts instead of having to
calculate it.
 
2005-06-30 21:00 dwaynebailey
 
* convert/po2ts.py: Work with only po class within the conversion
class and move filehandling to outside the class. This means we
can use the po2ts class in Pootle while still allowing the
command line po2ts to work.
 
2005-06-28 21:11 davidfraser
 
* storage/po.py: use dictionary utilities to ensure that any new
items that are not already present will be ordered the same as
header_order
 
2005-06-28 19:55 davidfraser
 
* storage/po.py: changed default headers and added header_order
element
 
2005-06-28 19:39 davidfraser
 
* storage/po.py: improvements to header generation: added
x_generator which can be overridden in a derived class (e.g. for
Pootle) changed all makeheader arguments to be
key.lower().replace("-", "_") for consistency adjust kwargs to
makeheader, updateheader to be titlecase if lowercase deal with
header arguments case-insensitively made parseheader use an
ordered dictionary so they come out in the same order they went
in in updateheader, add a header element if one isn't present
 
2005-06-28 19:29 davidfraser
 
* convert/pot2po.py: renamed all header variables to be aligned
with the real header name parameters to makeheader have changed
like this so it makes it easier
 
2005-06-28 19:28 davidfraser
 
* misc/dictutils.py: added dictutils for case-insensitive and
ordered dictionaries
 
2005-06-14 18:21 davidfraser
 
* convert/prop2mozfunny.py: ignore comments that get inserted by
mozfunny2prop (header describing file type) po2inc also needs to
convert template
 
2005-06-14 18:16 davidfraser
 
* convert/prop2mozfunny.py: templates file needs to be converted to
properties as well
 
2005-06-14 18:08 davidfraser
 
* convert/: moz2po.py, po2moz.py: convert funny mozilla files from
CVS as well
 
2005-06-14 18:07 davidfraser
 
* convert/: mozfunny2prop.py, prop2mozfunny.py: added po conversion
methods as well using prop2po / po2prop and fake file objects
using wStringIO (also rename define to inc in function names,
make a main function)
 
2005-06-14 16:11 davidfraser
 
* convert/: mozfunny2prop.py, prop2mozfunny.py: moved encoding
parameter to function option (not yet commandline)
 
2005-06-14 16:05 davidfraser
 
* convert/: mozfunny2prop.py, prop2mozfunny.py: implemented the
neccessary encoding conversions note that cp1252 is assumed for
.it files - this should be made an option, its defined in
charset.mk
 
2005-06-14 15:46 davidfraser
 
* convert/: mozfunny2prop.py, prop2mozfunny.py: converted from
little scripts to having proper methods etc
 
2005-06-14 15:26 davidfraser
 
* convert/xliff2po.py: the fuzzy flag is set if it was marked fuzzy
in the XLIFF [Fredrik Corneliusson]
 
2005-06-14 15:24 davidfraser
 
* storage/xliff.py: patches from Fredrik Corneliusson: use a
getText method to get text recursively rather than assuming its
at the top level handle there being no target translationnode
 
2005-06-09 20:13 dwaynebailey
 
* storage/po.py: nplural => nplurals to prevent confusion in the
variable names
 
Also convert nplurals to an integer if it is currently a string
 
2005-06-09 20:04 dwaynebailey
 
* storage/po.py: Change header creation strftime format string: %F
does not exist on the windows implementation so convert to
%Y-%m-%d which is equivalent.
 
%z also does not exist but am not sure how to change that. The
problem is that windows uses %Z instead which is the text based
time zone desrtiptor. This would be OK except that localised
Windows (ie Javier's Spanish one) uses non UTF-8 chars to
describe it which of course makes the whole file barf. So either
be drop %z on Windows platforms or we work out how to escape the
text in the correct charset.
 
2005-06-08 14:16 dwaynebailey
 
* filters/TODO: New filter for checking for double caps issues Eg.
SLOw RElease of CAps LOck
 
2005-05-14 16:57 dwaynebailey
 
* convert/po2xliff.py: For now skip plural messages.
 
2005-05-14 16:55 dwaynebailey
 
* convert/TODO: Note plural handling problem in CSV and XLIFF
 
2005-05-14 16:52 dwaynebailey
 
* storage/po.py: Handle the case where there is no Plural-Form
correctly
 
2005-05-07 11:48 davidfraser
 
* storage/po.py: allowed setting an elementclass for a pofile,
which will use that class - default is still poelement also made
copy method use the actual class of the object (this allows
pootlefile to use a derived pootleelement)
 
2005-05-06 11:42 davidfraser
 
* storage/po.py: if msgid is plural, include plural in msgidlen
 
2005-05-06 10:14 davidfraser
 
* storage/po.py: when unquoting from po, if first line is blank
then don't join with line break
 
2005-04-28 10:33 dwaynebailey
 
* convert/po2xliff.py: Move the file parsing out of convertor into
convertpo. This will allow us to use the XLIFF convertor in
Pootle.
 
2005-04-26 14:58 dwaynebailey
 
* storage/po.py: Escape \t correctly - might need to consider
others such as \v, etc but did this on an as needed basis. Only
update the header if there is already an entry by that name
present or iff you specify the add flag.
 
2005-04-21 16:47 davidfraser
 
* storage/xpi.py: adjusted findlangreg to be able to detect locale
/ region on the jar name this is because the latest Firefox
structure expects the jars to contain locale/xxx rather than
locale/en-US/xxx etc reported by Richard Allen
 
2005-04-21 11:32 davidfraser
 
* __version__.py: version 0.8rc3
 
2005-04-21 11:23 davidfraser
 
* tools/: ooo_languageselector.png, ooswitchlang, ooswitchlang.ico:
removed ooswitchlang tool as its obsolete for OOo 2.x and can
always be retrieve from CVS :-)
 
2005-04-20 14:43 davidfraser
 
* CREDITS: removed pootle-specific credits (moved to
Pootle/CREDITS)
 
2005-04-20 12:47 davidfraser
 
* convert/oo2po.py: updated oo2po to use a similar command-line
syntax to po2oo (NOTE: this requires changes to scripts!) require
a targetlanguage if not producing POTs set the source language as
English if not supplied (using existing languages to calculate
1.x/2.x) don't operate without languages any more, improve error
detection and reporting
 
2005-04-20 12:36 davidfraser
 
* convert/convert.py: added verifyoptions hook for global
verifications that you don't want to fail on every file (see next
commit to oo2po)
 
2005-04-20 12:33 davidfraser
 
* storage/oo.py: collect all the different languageids present in
the oofile
 
2005-04-19 23:40 dwaynebailey
 
* filters/checks.py: Added $[blah] variable type
 
2005-04-18 23:36 dwaynebailey
 
* filters/checks.py: OpenOffice has yet another variable style -
($...) of course itm might be a $... within () but it appeard not
to be :(.
 
2005-04-14 11:20 davidfraser
 
* misc/optrecurse.py: added ability for commands to produce man
pages with --manpage option make sure the usetemplates errors
don't produce an error when trying to make an error (if inputext
and templateext are both None)
 
2005-04-14 09:08 davidfraser
 
* storage/po.py: initialize newcharsetline properly if no charset
found in charsetline (thanks pychecker)
 
2005-04-13 17:38 davidfraser
 
* convert/: oo2po.py, po2oo.py: vastly improve the language
handling code rather than assume lines are in the correct order
in po2oo, only add lines for a language if a translation is
present set the language correctly by requiring the language code
(and improving the options setup) now renumberdest is not needed
added a sourcelanguage option as well for people who want to use
French etc for msgid
 
2005-04-05 22:01 davidfraser
 
* CREDITS: added credit to Fredrik Corneliusson for xliff work
 
2005-04-05 22:00 davidfraser
 
* CREDITS: added SVG logo for Pootle from Lucas Veietes
 
2005-04-04 09:41 davidfraser
 
* convert/po2xliff.py: support placeholder (variable) markup, and
speed up xliff element generation [Fredrik Corneliusson]:
> I've changed so that placeholders such as %s gets marked up
with
> ph(placeholder) tags. It also sets the translated attribute and
fuzzy
> state when appropriate.
 
> As I found the xliff2po script to be extremely slow
> (minutes for common po file) I made addtransunit method a
little less
> naive so it's now a matter of seconds for the same po file.
 
2005-04-04 09:39 davidfraser
 
* storage/xliff.py: made prettification of xml an option [Fredrik
Corneliusson]:
> I also had to chang so prettyprint in the storage/xliff.py
getxml
> method is optional as I don't want to get whitespace into the
> translation units.
 
2005-03-29 20:46 dwaynebailey
 
* storage/po.py: Add getheaderplural() to retrieve the plural-forms
header values
 
2005-03-29 19:22 davidfraser
 
* convert/po2oo.py: don't print out an error on language code
switch if line doesn't have any text (Pavel's request)
 
2005-03-22 08:17 dwaynebailey
 
* storage/po.py: If there is no header then don't update any header
items. Don't even try to create a header.
 
2005-03-21 20:12 dwaynebailey
 
* storage/po.py: Added a method to update the Plural-Forms header
 
2005-03-19 12:01 dwaynebailey
 
* convert/po2tmx, convert/po2tmx.py, storage/tmx.py: po2tmx allows
us to convert PO files to TMX (Translation Memory eXchange)
format. This format is designed to allow the sharing of TM data.
 
This implementation is beta alpha quality and has been sitting
neglected on my harddrive. It is probably better that it move to
a new home where someone can take good care of it.
 
The TMX files it builds are probably wrong. But at least if
people can test it then we can begin correcting errors.
 
setup.py now includes a new section for installing beta software.
Thus po2tmx will not be installed by default but requires:
 
installbeta = True
 
Enjoy!
 
2005-03-18 18:51 davidfraser
 
* storage/csvl10n.py: handle plain and unicode strings in cvsl10n
 
2005-03-18 16:19 dwaynebailey
 
* storage/po.py: Remove some debugging code
 
2005-03-18 16:01 dwaynebailey
 
* storage/po.py: POT-Creation-Date now has correct timezone
information. Same will apply to PO-Revision-Date if it is set.
Will probably still have problems if you set creationdate or
revisiondate to a time object.
 
2005-03-18 14:23 davidfraser
 
* storage/po.py: FIXED: copy wasn't copying the constituent
elements (was shallow), so altering the copied element altered
the original
 
2005-03-15 15:29 davidfraser
 
* tools/pocompile.py: add an encoding header so Python doesn't
issue a warning about Martin Loewis with a fancy o
 
2005-03-14 14:47 dwaynebailey
 
* storage/csvl10n.py: Create the dictionary using UTF-8 encoding.
This eliminates crashes on Unicode. This should probably
inteligently determine the output encoding. Either from the PO
header or a command line options. But utf-8 is probably all we
need.
 
2005-03-14 00:39 dwaynebailey
 
* storage/po.py: Update arbitrary PO header items.
 
2005-03-11 17:09 dwaynebailey
 
* tools/: pocompile, pocompile.py: We can now compile PO files into
MO (Machine Object) files that can actually be used on a users
machine. The main reason for this is so that Pootle can have the
option of creating MO files for users to download and install.
 
2005-03-02 07:54 dwaynebailey
 
* filters/TODO: pofilter - sees %s %s as a doubleword
 
2005-03-01 16:22 dwaynebailey
 
* tools/TODO: Some pocount bugs
 
2005-03-01 14:15 dwaynebailey
 
* tools/pocount.py: Use --csv to output counts in Comma Seperated
Value format for import into a spreadsheet.
 
2005-02-28 17:30 davidfraser
 
* convert/po2oo.py: handle unicode strings coming from the PO file
(encode as UTF-8)
 
2005-02-28 16:55 davidfraser
 
* storage/oo.py: handle unicode filenames within oo file
 
2005-02-25 10:28 dwaynebailey
 
* filters/checks.py: Remove accelerators before checking capitals.
 
2005-02-25 09:44 dwaynebailey
 
* convert/TODO: Wish for --no-wrap to prevent lines being broken
when creating the PO file. Mainly to help localisaers who will
use CAT tools which can't segment across line breaks.
 
2005-02-21 10:52 davidfraser
 
* convert/prop2mozfunny.py: fixed up handle of unicode in funny
mozilla files
 
2005-02-18 22:04 davidfraser
 
* storage/po.py: POT files contain CHARSET as a placeholder for the
encoding, we need to ignore it (this could be improved to map
CHARSET to None)
 
2005-02-18 21:48 davidfraser
 
* convert/: mozfunny2prop.py, prop2mozfunny.py: added tools for
handling funny .inc / .it files from firefox CVS (very primitive)
 
2005-02-18 20:56 davidfraser
 
* convert/po2dtd.py, misc/quote.py, storage/dtd.py: fixed up
quoting in dtds (would give problems with both " and ' in the
string) the correct way to do this is to use a &apos; for the '
(if quoting with ') or a &quot; for the " (if quoting with ") see
http://www.w3.org/TR/2004/REC-xml11-20040204/#NT-EntityValue and
#syntax also encode the line if it comes out as unicode in
tolines fixed up general logic for eitherquotestr so it will
escape normally (though that's not whats wanted for dtds)
 
2005-02-17 20:05 davidfraser
 
* convert/: po2dtd.py, po2prop.py: since po module now decodes
strings to unicode we don't need to decode them ; still do if str
incase
 
2005-02-17 19:54 davidfraser
 
* storage/po.py: handle missing encoding when encoding / decoding
(we have to have one on encoding, just ignore on decoding)
 
2005-02-17 19:30 davidfraser
 
* storage/po.py: added code to encode / decode PO files based on
the encoding specified in their header, rather than hard-coding
UTF-8
 
2005-02-10 21:07 dwaynebailey
 
* storage/po.py: Added missing header entries: Report-Msgid-Bugs-To
and Plural-Forms
 
2005-02-04 15:34 davidfraser
 
* storage/ts.py: silly variable naming fix rearrangement make sure
getmessagetranslation only gets one node
 
2005-02-04 15:04 davidfraser
 
* storage/ts.py: still need to catch the helper function for some
reason
 
2005-02-04 14:57 davidfraser
 
* storage/ts.py: rather than having funny helper function names,
set up the helper methods as normal functions added an index on
message source per context node, to speed up searching
 
2005-02-04 14:46 davidfraser
 
* storage/ts.py: added new clever helper for searching elements by
tagname (it takes advantage of the structure of the xml file, you
say what parents to search under) added that as
.searchElementsByTagName on Document and Elements within minidom
moved helper functions out of QtTsParser, they really are
functions use the search function to speed up finding things
 
2005-02-04 14:07 davidfraser
 
* storage/ts.py: added faster helper for getElementsByTagName that
uses iterator added getFirstElementByName that knows how to take
advantage of this in the common case of just getting one child
taught getnodetext to handle None
 
2005-02-04 08:11 davidfraser
 
* convert/ts2po.py: use markfuzzy to do fuzzy marking consistently
also don't mark blank unfinished messages as fuzzy
 
2005-02-04 07:30 davidfraser
 
* convert/ts2po.py, storage/ts.py: renamed getmessageattributes to
getmessagetype, and changed type/msgtype variables to transtype
 
2005-02-04 07:26 davidfraser
 
* storage/ts.py, convert/po2ts.py: added default comment value of
None to addtranslation
 
2005-02-04 07:23 davidfraser
 
* convert/po2ts.py, storage/ts.py: removed TODO for adding
translation types renamed type to transtype and added default
value of None (no type)
 
2005-02-04 07:17 davidfraser
 
* convert/ts2po.py, CREDITS, convert/po2ts.py, storage/ts.py:
[Marek Wieckowski] added support for comments, and types in ts
files - "obsolete" and "unfinished" patch received on
translate-devel, Fri, 4 Feb 2005 05:51:16 +0100 (CET)
 
2005-02-02 13:54 davidfraser
 
* convert/po2xliff.py: handle missing line numbers properly
 
2005-02-02 13:44 davidfraser
 
* convert/po2xliff.py: added messages_%d id to new trans-unit nodes
 
2005-02-02 13:37 davidfraser
 
* convert/po2xliff.py, storage/xliff.py: added PoXliffParser
derived from XliffParser to handle po-guide specific things use
this to put translations in body element made XliffParser derive
from object so it is a new-style class added XliffParser method
for creating filenode so it can be overridden
 
2005-02-02 13:24 davidfraser
 
* convert/po2ts.py, storage/ts.py: _write_data should really be
minidom._write_data, and a comment fix
 
2005-02-02 13:10 davidfraser
 
* storage/xliff.py, convert/po2xliff.py, convert/xliff2po.py: got
po2xliff working in initial form misc changes: fixed up call to
minidom._write_data in xliff added method to add a transunit node
fixed up getnodetext to handle null Text too fixed up
getting/setting of attributes
 
2005-02-02 12:07 davidfraser
 
* storage/xliff.py, convert/po2xliff, convert/po2xliff.py,
convert/xliff2po, convert/xliff2po.py: added initial xliff
support base on ts code
 
2005-01-19 20:29 davidfraser
 
* tools/pogrep.py: handle po entries that have a plural msgid but
not a plural msgstr (this should really be fixed elsewhere)
 
2005-01-19 20:12 davidfraser
 
* storage/po.py: removed erroneous .msgid
 
2005-01-19 20:06 davidfraser
 
* storage/oo.py: raise a clearer error if a line doesn't contain
enough tabs to determine the module
 
2005-01-19 20:01 davidfraser
 
* convert/oo2po.py, convert/po2oo.py, storage/po.py: moved and
refactored po string quoting / unquoting functions from
convert/oo2po,po2oo to storage/po adjusted getunquotedstr to pass
parameters when used on a plural string entry, added TODO to
refactor it we now have quoteforpo and unquotefrompo as fairly
good symettrical quote/unquote functions getunquotedstr calls
should be replaced with calls to unquotefrompo and tested where
practical
 
2005-01-19 12:56 davidfraser
 
* filters/decoration.py: implement more careful check for degrees
sign using unicode, fail gracefull if not utf-8
 
2005-01-19 12:39 davidfraser
 
* filters/: checks.py, pofilter.py: added support for giving a
custom errorhandler to a TranslationChecker rather than raising
an error on any error in the filter
 
2005-01-11 23:28 dwaynebailey
 
* tools/TODO: Two bugs related to obsolete messages have been fixed
 
2005-01-11 00:14 dwaynebailey
 
* storage/po.py: Wrong indent caused only one line of the obsolete
message to be output
 
2005-01-11 00:11 dwaynebailey
 
* tools/pocount.py: Ignore obsolete messages: do not count them as
untranslated.
 
2005-01-11 00:00 dwaynebailey
 
* storage/po.py: Now store obsolete messages seperately from other
comments. Added isobsolete() function.
 
Now fuzzy obsolete messages are not made not fuzzy during a
pomerge.
 
Should probably eventually actually read the msgid and msgstr
contents of the obsolete message for doing machine assisted
translations.
 
2005-01-06 17:00 dwaynebailey
 
* README: Made Python 2.3 the recommended environment.
 
2005-01-06 14:52 dwaynebailey
 
* filters/TODO: Suggested file level checks
 
2005-01-06 14:08 dwaynebailey
 
* filters/checks.py: Added doublewords check. This will find
occurances of "the the" in translations, most of these we assume
are in fact wrong.
 
2005-01-06 02:37 dwaynebailey
 
* tools/pocount.py: Always provide a total if more than one file is
counted whether the input is a file(s) or a directory. We also
now provide a total of the number of files counted.
 
2005-01-05 19:35 dwaynebailey
 
* filters/TODO: Some bugs identified
 
2005-01-05 15:01 dwaynebailey
 
* filters/checks.py: Validated all filters that need a precondition
untranslated check. Added: brackets, filepaths, isfuzzy and
isreview Removed: long, short And any others for which I couldn't
create a test.
 
2005-01-05 14:15 dwaynebailey
 
* filters/checks.py: Add compendiumconflicts as a precondition for
a number of tests. This will prevent many false positives:
errors identified but actually caused because of the compendium
conflict syntax.
 
2005-01-03 10:00 dwaynebailey
 
* tools/TODO: Bug pomerge removes fuzzy markers from obsolete
messages
 
2005-01-03 09:56 dwaynebailey
 
* filters/TODO: More pofilter wishes
 
2005-01-02 14:43 dwaynebailey
 
* filters/checks.py: Add setencecount to untranslated precondition
 
2005-01-01 11:13 dwaynebailey
 
* filters/checks.py: Minor formating fix
 
2005-01-01 11:05 dwaynebailey
 
* filters/: TODO, checks.py: Added startcaps which checks to see
that the starting letter is correctly capitalised. It is more
specific then simplecaps, avoids confusion for the person
checking and picks up a few that simplecaps misses.
 
It does not correctly handle locale info about valid capitals.
 
2004-12-31 17:18 dwaynebailey
 
* README: The toolkit does more but we need to tell people that.
pofilter has more checks and of course we have ts2po and html2po
and pot2po.
 
2004-12-20 12:24 davidfraser
 
* filters/checks.py: if exceptions happen in a filter, show some
information about what happened (and the strings)
 
2004-12-17 23:03 davidfraser
 
* convert/TODO: added ideas from Pavel on IRC
 
2004-12-17 16:20 dwaynebailey
 
* convert/TODO: po2dtd apersand checks don't give you good info as
to wherre exactly the error occurs.
 
2004-12-17 11:43 dwaynebailey
 
* convert/TODO: Added TODO about installing docs in the right place
on Linux
 
2004-12-17 09:19 dwaynebailey
 
* README: Credit Javer as a docs copyright holder. Caveat about
quoted emails
 
2004-12-16 19:04 davidfraser
 
* CREDITS: added some more credits
 
2004-12-16 18:59 davidfraser
 
* convert/: pot2po, pot2po.py: added simple pot2po tool
 
2004-12-16 18:41 davidfraser
 
* storage/po.py: added lots more options to makeheader (to enable
it to make PO headers as well as POT ones) added a parseheader
function
 
2004-12-16 11:52 dwaynebailey
 
* filters/TODO: Spelling test wish
 
2004-12-16 11:49 dwaynebailey
 
* tools/TODO: Added bug: pocount counts obsolete messages as
untranslated
 
2004-12-16 09:44 dwaynebailey
 
* filters/: TODO, checks.py: Added xmltags test that checks that
the tags in msgid == msgstr. This will catch missing tags and
translated tags. If tags cover the full length of the msgid then
we assume it is something like "<Error>" and skip it as you are
unlikely to find a proper XML/HTML tag on its own.
 
2004-12-16 09:39 dwaynebailey
 
* filters/TODO: Gettext conflicts are marked fuzzy so by using
--nofuzzy you can skip them.
 
2004-12-14 23:32 dwaynebailey
 
* filters/pofilter.py: Now correctly ignore reviews with --noreview
Also ensured that the default is to include revies and fuzzies
 
2004-12-14 23:26 dwaynebailey
 
* filters/pofilter.py: Correctly ignore fuzzy messages when using
--nofuzzy
 
2004-12-14 22:15 davidfraser
 
* convert/: dtd2po.py, moz2po.py, prop2po.py: added duplicates
option to moz2po, dtd2po and prop2po
 
2004-12-14 22:09 davidfraser
 
* convert/: convert.py, oo2po.py: added new add_duplicates_option
to ConvertOptionParser so we can share it between different
scripts
 
2004-12-14 21:56 davidfraser
 
* convert/: po2dtd.py, po2moz.py, po2prop.py: use add_fuzzy_option
to simplify life. also added to po2moz (using the underlying
functions it should all work)
 
2004-12-14 21:53 davidfraser
 
* convert/: convert.py, po2oo.py: made add_fuzzy_option on
ConvertOptionParser so we don't duplicate work ...
 
2004-12-14 21:39 dwaynebailey
 
* convert/po2prop.py: And now po2prop can ignore fuzzy entries
also.
 
2004-12-14 21:11 dwaynebailey
 
* convert/po2dtd.py: po2dtd can now also ignore PO messages marked
as fuzzy
 
2004-12-14 18:40 davidfraser
 
* convert/TODO: have fixed double escaping. clarified oo output
order TODO
 
2004-12-14 18:31 davidfraser
 
* convert/oo2po.py: added --duplicates option which specifies
whether to merge duplicates (previous default behaviour),
generate unique msgid_comments when required (or all the time),
or keep them also added option to specify nonrecursive input
 
2004-12-14 18:26 davidfraser
 
* storage/po.py: added ability to specify different 'style's for
handling duplicates this includes adding a unique kde-comment
into the msgid if required (msgid_comment), or all the time
(msgid_comment_all), merging it (the previous behaviour, and the
default - merge), and ignoring them (keep)
 
2004-12-14 17:49 davidfraser
 
* convert/po2oo.py: make sure that includefuzzy still produces
strings if there is no translation in the templatefile made
includefuzzy an attribute of reoo so that it doesn't have to be
passed around everywhere
 
2004-12-14 15:12 davidfraser
 
* convert/po2moz.py: adjusted to new isarchive syntax (which checks
which field its for)
 
2004-12-14 14:13 dwaynebailey
 
* filters/: TODO, checks.py: sentencecount - counts the number of
fullstops to see that they match. Ie a simple sentence counter.
 
2004-12-14 12:38 davidfraser
 
* convert/po2dtd.py: do a decode/encode using UTF-8 when getting
label / accesskey, so that multibyte unicode characters are
handled correctly
 
2004-12-14 12:34 davidfraser
 
* convert/dtd2po.py: changed decoding syntax to be more consistent
with the rest of the code
 
2004-12-14 12:29 davidfraser
 
* convert/: dtd2po.py, po2dtd.py: added a mention that the DTD
files have to be in UTF-8 to the doc strings
 
2004-12-14 12:26 dwaynebailey
 
* filters/TODO: Added some TODO items
 
2004-12-14 12:12 davidfraser
 
* convert/dtd2po.py: Handle non-Ascii unicode accesskeys [Filip
Miletic]
 
2004-12-14 11:51 davidfraser
 
* CREDITS: Added Credits
 
2004-12-13 18:43 davidfraser
 
* convert/po2oo.py: added includefuzzy option that specifies
whether or not to use fuzzy translations. turned off by default
(this is a change)
 
2004-12-13 18:05 davidfraser
 
* convert/po2oo.py: use the includeescape function to only include
escapes for \\n (since these aren't double-escaped in the file)
 
2004-12-13 18:02 davidfraser
 
* misc/quote.py: added the ability to selectively include escapes
by passing an includeescapes function
 
2004-12-13 17:43 davidfraser
 
* convert/: moz2po, moz2po.py, po2moz, po2moz.py: moved all the
actual functionality of the moz2po / po2moz scripts into
moz2po.py / po2moz.py, like all the other civilized scripts...
 
2004-12-13 17:37 davidfraser
 
* convert/oo2po.py: make sure oomultifile is only used on input
 
2004-12-13 17:30 davidfraser
 
* convert/oo2po.py: made sure that \n is not double-escaped, but
all other escapes are so that they will be handled properly in po
files
 
2004-12-13 17:21 davidfraser
 
* convert/oo2po.py: made a quoteforpo function so that we can
change it to improve escaping
 
2004-12-13 17:19 davidfraser
 
* storage/po.py: made parsing the inputfile an exposed (and
therefore repeatable, if you clean things up) function
 
2004-12-13 16:24 dwaynebailey
 
* filters/checks.py: Added filepaths test to check for translated
paths.
 
2004-12-13 16:18 dwaynebailey
 
* filters/checks.py: Added $(blah) style variables for GNOME
projects
 
2004-12-13 11:58 davidfraser
 
* convert/po2oo.py: updated to only use oomultifile for output and
templates. added options to prevent even them from being
interpreted as recursive (useful for testing)
 
2004-12-13 11:29 davidfraser
 
* convert/convert.py, misc/optrecurse.py: fairly big change to
ArchiveConvertOptionParser to allow specifying whether archive
formats are applicable to only input, output or templates...
added option "filepurpose" to isrecursive, isarchive (replacing
mustexist there), openarchive added new method "getarchiveclass"
which has the right logic and can be used to detect if something
is an archive check that a template is marked as recursive as
well as whether its an archive when opening a template file added
optional options "allowrecursiveinput/archive/output" which
default to True but can be set to False if recursive formats need
to be explicitly avoided
 
2004-12-13 09:41 davidfraser
 
* convert/csv2po.py: the string might be unicode, so use whatever
type it is to filter alphanumeric characters...
 
2004-12-04 14:38 dwaynebailey
 
* filters/pofilter.py: --header option adds an optional header to
the out PO file.
 
2004-12-04 14:31 dwaynebailey
 
* tools/: TODO, pomerge.py: pomerge will now not merge header
entries. When we can handle header merging properly we should
enable header merging as an option.
 
2004-12-04 01:04 dwaynebailey
 
* filters/TODO: More TODOs
 
2004-12-03 22:32 dwaynebailey
 
* tools/TODO: We wish for pomigrate in python
 
2004-12-03 17:55 davidfraser
 
* storage/ts.py: added TODOs for parts of ts files not yet handled
(comments, translation types) changed addtranslation to make a
new translationnode to replace the old one ...
 
2004-12-03 17:32 davidfraser
 
* convert/: po2ts, po2ts.py: added po2ts and po2ts.py as reverse of
ts2po and ts2po.py
 
2004-12-03 17:29 davidfraser
 
* convert/: ts2po, ts2po.py: have made po2ts so you don't need to
write it anymore :-) cleaned up leftover code from whatever file
I based this on, that wasn't relevant
 
2004-12-03 17:24 davidfraser
 
* storage/ts.py: enhanced ts storage module to support adding
translations and converting back to xml (in a pretty format)
added support for constructing blank QtTsParser objects changed
variable name
 
2004-12-03 16:11 davidfraser
 
* convert/ts2po, convert/ts2po.py, storage/ts.py: added initial
code for handling Qt Ts files
 
2004-12-03 12:43 dwaynebailey
 
* storage/po.py, tools/TODO, tools/pocount.py: Counts messages
marked for review seperately from the translated, fuzzy,
untranslated totals.
 
2004-12-02 23:41 dwaynebailey
 
* tools/pocount.py: Lonely bracket
 
2004-12-02 22:11 dwaynebailey
 
* tools/: TODO, pocount.py: Include blank msgid's in the count as
this give a "string" count that will match msgfmt --statistics.
This also does not change the word count, they're blank messages
after all!
 
2004-12-02 21:09 davidfraser
 
* tools/pogrep.py: added default options to pogrepfilter
constructor to make it easier to use the class for other stuff
...
 
2004-12-02 20:33 dwaynebailey
 
* storage/po.py: Of course if you want the header to contain an
automatic timestamp then you should delete the old static
POT-Creation-Date line.
 
2004-12-02 18:39 davidfraser
 
* storage/html.py: added code to handle entities and character refs
 
2004-12-02 18:09 davidfraser
 
* convert/TODO: added more TODOs for oo2po / po2oo
 
2004-12-02 17:00 davidfraser
 
* storage/properties.py: added more explicit error message for
problems with unicode in properties files
 
2004-12-02 16:10 dwaynebailey
 
* tools/: TODO, pocount.py: Provide a total for each PO file
counted. So you don't have to get the calculator to add the
translated + untranslated + fuzzy messages.
 
2004-12-02 13:01 davidfraser
 
* storage/po.py, tools/pocount.py: added stuff to po.getunquotedstr
to handle dictinoaries for plural msgstr (in case it gets passed
in by someone not knowing it was a plural) now wordcount in
pocount.py doesn't need to know about it... (this shouldn't be
used for normal translation, it's there just in case)
 
2004-12-02 12:47 davidfraser
 
* __init__.py: the package should be called "the translate toolkit"
from now on...
 
2004-12-02 09:45 dwaynebailey
 
* tools/: TODO, pocount.py: Only provide a Grand Total if more than
one file is counted
 
2004-12-02 09:39 dwaynebailey
 
* tools/: TODO, pocount.py: pocount now correctly counts KDE style
plural messages. A better fix would be for the po class to
understand KDE plurals.
 
2004-12-01 16:59 davidfraser
 
* tools/pocount.py: remember all the word counts for all the
elements' msgid and msgstr and sum them as required
 
2004-12-01 16:51 davidfraser
 
* storage/csvl10n.py: remember the csv file's filename
 
2004-12-01 16:40 dwaynebailey
 
* tools/: TODO, pocount.py: - Count msgid_plural properly by
craeting a seperate wordcount procedure for msgid's that can
count msgid and msgid_plural - Removed some debugging output
 
2004-12-01 15:40 davidfraser
 
* convert/: TODO, csv2po.py: added --charset option to csv2po that
sets what charset the csv files are in made PO files UTF-8
 
2004-12-01 15:18 davidfraser
 
* tools/pocount.py: handle plurals in wordcount ...
 
2004-11-30 14:27 dwaynebailey
 
* tools/TODO: Lots of pocount todo items
 
2004-11-28 16:15 dwaynebailey
 
* convert/TODO, storage/po.py: POT headers now have the generation
date and time. Timezone info seems to be missing however.
 
2004-11-28 15:18 dwaynebailey
 
* convert/: dtd2po.py, po2dtd.py: Now can merge accelerator keys of
type: .accesskey, .accessKey, .akey. Probably should define that
list of three types as some global but not sure how/where to do
that.
 
2004-11-28 09:10 dwaynebailey
 
* filters/decoration.py: - If a number a suffixed with a degree
sign, then this now forms part of the number for comparison.
This allows for '180° != 180' NOTE: Not sure if this is 100%
the correct approach. Should probably use Unicode throughout
to not have to do this kind of unpacking. - Reset carryperiod so
that you don't get number like 123.4.5 when the number actually
was 123.45 (I'm sure it will expose a bug someday :)
 
2004-11-27 22:03 dwaynebailey
 
* tools/pogrep.py: --accelerator allows you to specify the
accelerator key to ignore when matching. This way you will find:
"File, &File. F&ile, etc". Accepted accelerator is one of "_&~"
 
2004-11-27 18:46 davidfraser
 
* filters/decoration.py: handle unicode when checking character
ranges
 
2004-11-21 16:40 dwaynebailey
 
* README: Windows installation instructions
 
2004-11-20 17:04 davidfraser
 
* storage/po.py: added a copy method for copying poelements
 
2004-11-20 16:16 davidfraser
 
* storage/po.py: use regular expressions to check for word
boundaries properly also allow adding / removing type comments
based on present keyword
 
2004-11-20 15:41 davidfraser
 
* filters/pofilter.py, storage/po.py: added methods to set type
comments, in particular markfuzzy, and use them where done
manually before
 
2004-11-18 16:54 davidfraser
 
* convert/oo2po.py: if we don't have extra lines for a element,
automatically make the translation blank
 
2004-11-18 16:44 davidfraser
 
* misc/optrecurse.py: handle KeyboardInterrupts properly (don't
ignore them!) and set success to False on errors
 
2004-11-18 16:38 davidfraser
 
* convert/TODO: added TODO to not use fuzzies in conversion cleaned
up other TODOs
 
2004-11-18 16:35 davidfraser
 
* filters/pofilter.py: Don't process if no valid filters were
specified at all
 
2004-11-18 13:52 davidfraser
 
* storage/po.py: join the comments with a "\n" if there are more
than one... otherwise we get this: "_: Do not translate this.
Only change the numeric values if you need this ""dialogue box to
appear bigger.\n"
 
2004-11-18 13:44 davidfraser
 
* storage/dtd.py: refactored so that we can parse successfully even
if entity name is on a separate line to <!ENTITY did this by
adding a separate state, should cause no problems :-)
 
2004-11-18 13:32 davidfraser
 
* filters/checks.py: ignore numbers or single characters when
checking unchanged
 
2004-11-17 12:13 davidfraser
 
* filters/checks.py: rather than assuming the strings are normal
strs, use type(strn) in case they are unicode
 
2004-11-15 22:37 davidfraser
 
* misc/optrecurse.py: improved error correction and traceback
generation - added an errorlevel switch
 
2004-11-15 18:49 davidfraser
 
* tools/podebug.py: added length limit option and consonant-filter
option added basename format str, versions with/without
extensions, dirname format str
 
2004-11-15 18:32 davidfraser
 
* tools/podebug.py: made simple system to allow format strings for
podebug currently only %s (shrunk filename) and %f (full
filename) are provided
 
2004-11-15 14:39 dwaynebailey
 
* filters/TODO: TODO items: added - skip entries that have
#-#-#-#-# problems complete - empty translations can be extracted
using blank, untranslated - for regex extraction use pogrep - KDE
comments are removed in tests that had problems with the comments
eg: long, short, etc
 
2004-11-15 13:42 dwaynebailey
 
* tools/pogrep: pogrep is now in tools not filters
 
2004-11-14 00:02 davidfraser
 
* storage/po.py: fixed logic that was skipping the first line of
kde comments
 
2004-11-13 18:08 davidfraser
 
* README: fixed invalid URL
 
2004-11-13 18:07 davidfraser
 
* README: fixed spelling errors (aspell :-))
 
2004-11-13 16:19 davidfraser
 
* filters/checks.py: added dictionary to find checker for a given
project code...
 
2004-11-13 13:49 dwaynebailey
 
* README: Major revision of the README for 0.8 release
 
2004-11-12 16:51 davidfraser
 
* ChangeLog: updated to recent ChangeLog
 
2004-11-12 16:51 davidfraser
 
* misc/optrecurse.py: exclude CVS directories by default...
 
2004-11-12 14:00 davidfraser
 
* tools/: pocount.py, pogrep.py: pychecker fixes: sum is only
needed if builtin is not defined logic in pogrep for multiple
msgstrs was wrong (using thepo.msgstr instead of each item)
 
2004-11-12 13:55 davidfraser
 
* convert/README: removed README (we have docs\!)
 
2004-11-12 13:54 davidfraser
 
* filters/: checks.py, decoration.py: TeeChecker should use the
checker to run_filters otherwise its an infinite loop... removed
unneccessary import of sre, unused variable
 
2004-11-12 13:53 davidfraser
 
* convert/: csv2po.py, html2po.py, nb2po.py, oo2po.py, po2html.py,
po2nb.py, po2txt.py, sxw2po.py, txt2po.py: only import the
convert module in the main method throughout some pychecker
fixups: made constructors for conversion classes that need wrap
parameters remove unneccessary imports of os, sre modules
txt2po didn't have a proper main method
 
2004-11-12 13:40 davidfraser
 
* storage/csvl10n.py: pychecker fixup (unused variables)
 
2004-11-12 13:32 davidfraser
 
* misc/: optrecurse.py, quote.py, sparse.py: pychecker changes (bad
variable names, unused variables)
 
2004-11-12 12:43 davidfraser
 
* tools/__init__.py: better doc string
 
2004-11-12 11:30 davidfraser
 
* convert/: convert.py, oo2po.py, po2oo.py: made oo2po, po2oo treat
any input file as a multifile archive (not just .gsi/.sdf/.txt)
implemented this by using None to refer to any file, but not
existing directories so to output to a directory tree, just make
sure the output directory exists
 
2004-11-12 10:03 davidfraser
 
* storage/po.py: added better intelligence to handle kde comments
(they end at the \\n) this could probably use further
improvement...
 
2004-11-12 09:40 dwaynebailey
 
* filters/checks.py: prefilter -> prefilters added removekdecomment
prefilter to brackets test
 
2004-11-12 09:33 davidfraser
 
* filters/prefilters.py: added more intelligence to get kde
comments correctly
 
2004-11-11 16:36 dwaynebailey
 
* tools/TODO: pomerge: - problem merging #: headers - need to be
able to run without templates
 
2004-11-11 15:02 dwaynebailey
 
* tools/__init__.py: Tools should be installed as a module.
 
2004-11-11 14:56 dwaynebailey
 
* filters/checks.py: Added brackets filter Remove KDE comments
before running tests on: long, short, blank and escapes.
 
2004-11-10 16:59 davidfraser
 
* tools/: podebug, podebug.py: added podebug
 
2004-11-10 16:21 davidfraser
 
* README: updated README to talk about Python 2.3
 
2004-11-10 16:10 davidfraser
 
* __version__.py: version 0.8rc2
 
2004-11-10 15:40 davidfraser
 
* filters/pogrep, filters/pogrep.py, tools/pogrep, tools/pogrep.py:
moved pogrep from filters to tools
 
2004-11-10 15:35 davidfraser
 
* filters/: TODO, pofilter, pofilter.py, pogrep, pogrep.py:
rearranged scripts into script/module parts
 
2004-11-10 15:18 davidfraser
 
* tools/: TODO, pocount, pocount.py, pomerge, pomerge.py: split
scripts into script / module parts
 
2004-11-10 10:18 davidfraser
 
* storage/po.py, tools/pocount: pocount: use poelement class
methods rather than handling strings ourselves as that breaks
with plurals calculated length of msgstr correctly when used on
plurals (failed before)
 
2004-11-10 10:01 dwaynebailey
 
* convert/po2csv.py: Incorrectly calling convertcsv
 
2004-11-09 18:19 davidfraser
 
* filters/TODO, tools/TODO: added TODO to rearrange the
filters/tools scripts into script/module parts like I just did to
the convert tools...
 
2004-11-09 18:16 davidfraser
 
* convert/: csv2po, csv2po.py, html2po, html2po.py, nb2po,
nb2po.py, oo2po, oo2po.py, po2csv, po2csv.py, po2csvmod.py,
po2html, po2html.py, po2nb, po2nb.py, po2oo, po2oo.py, po2txt,
po2txt.py, sxw2po, sxw2po.py, txt2po, txt2po.py: massive
reorganization to make sure all code is accessible via module, so
the files not ending in .py are just scripts to call a main
method in a module
 
2004-11-08 17:40 davidfraser
 
* convert/po2oo: started adding support for using simple
unduplicated english GSI as input this duplicates the lines if
neccessary
 
2004-11-04 21:52 davidfraser
 
* filters/pofilter: fixed options.filterclass so it works with new
multiple classes (StandardPOChecker is always included now)
 
2004-11-04 21:45 davidfraser
 
* filters/prefilters.py: added a function to strip out kde comments
 
2004-11-04 16:11 davidfraser
 
* convert/: po2csv, po2csvmod.py: moved all the po2csv code into
po2csvmod.py so that we can call it from pootle
 
2004-11-04 14:58 dwaynebailey
 
* filters/checks.py: Added tests: - kdecomments: detects kde
comments in the msgstr - compendiumconflicts: detects #-#-#-#-#
conflicts in files - acronyms: cehcks that acronyms in the msgid
are also in the msgstr
 
2004-11-04 14:22 davidfraser
 
* filters/: checks.py, pofilter: created new POChecker paradigm for
doing tests on po elements rather than just strings moved tests
for fuzzy, review into this added TeeCheckers which can handle
multiple filters, POTeeChecker which can handle POChecker or
normal Checkers
 
2004-11-03 09:18 davidfraser
 
* filters/pofilter: added code to be able to exclude fuzzy / review
elements from filtering entirely [Dwayne Bailey] this still
probably needs more refinement alongside the filter checks for
fuzzy / review
 
2004-11-03 09:13 davidfraser
 
* filters/checks.py: filteraccelerators when checking unchanged, so
just changing the accelerator doesn't qualify as a real change
[Dwayne Bailey]
 
2004-11-02 11:25 dwaynebailey
 
* filters/checks.py: Mozilla variable checks cahnged "#, None" to
"#, 1" So only check for #1, #2
 
2004-10-28 17:56 davidfraser
 
* storage/dtd.py: improved entity parsing so we can handle entities
split over multiple lines changed the order of the position
checks so that we don't run into the end of the line... took out
FIXME about single quotes (they are used in official firefox
source) raise an error if we get an unexpected quote character
 
2004-10-28 17:40 davidfraser
 
* storage/dtd.py: don't process entities that are inside
comments...
 
2004-10-28 17:32 davidfraser
 
* misc/optrecurse.py: use special options.psyco value None to
indicate no option was passed Only display a psyco warning if it
was set to use explicitly
 
2004-10-28 17:27 davidfraser
 
* convert/po2oo: added a switch to keep the timestamps, which means
you can compare files more easily
 
2004-10-28 15:07 davidfraser
 
* misc/optrecurse.py: fixed check for whether we need to know the
number of files (console was old option) should now go to 100% in
default case (was just using count instead of percent because of
this)
 
2004-10-28 10:26 davidfraser
 
* convert/translatepath.py, filters/pofilter, filters/pogrep,
filters/translatepath.py, tools/pomerge, tools/translatepath.py:
removed all remaining translatepath stuff
 
2004-10-28 10:09 davidfraser
 
* convert/: dtd2po.py, html2po, moz2po, nb2po, oo2po, po2csv,
po2dtd.py, po2html, po2nb, po2oo, po2prop.py, po2txt, prop2po.py,
sxw2po, txt2po: removed translatepath imports ; it doesn't work
in its current form
 
2004-10-28 09:48 davidfraser
 
* convert/TODO: added todo to change the order of csv columns
 
2004-10-28 09:36 davidfraser
 
* convert/csv2po: enable conversion without template
 
2004-10-25 18:51 davidfraser
 
* convert/TODO: some mozilla stuff is done found an error on
firefox dtds
 
2004-10-25 13:13 dwaynebailey
 
* filters/checks.py: Added #1 style variables to the --mozilla
variable checks.
 
2004-10-22 15:54 davidfraser
 
* misc/wStringIO.py: catch error trying to do getvalue on closed
files... (self.buf is gone because we delete it) this can happen
if for example a CatchStringOutput has close() called twice...
 
2004-10-22 15:47 davidfraser
 
* convert/convert.py: don't close files we copy because the
processfile module does that anyway... make processfile check
that files aren't a tty (as the copy file did...) (not sure if
this is neccessary but can't hurt)
 
2004-10-22 14:15 dwaynebailey
 
* tools/pocount: - Laoyout is now more readable with similar items
grouped in columns. - Introduced a translated count so that we
can get better total figures - Entries marked fuzzy and which are
untranslated are no longer double counted. A n entry is fuzzy
if it is marked fuzzy and in not untranslated. This change
also makes it easier to total and evaluate figures.
 
2004-10-21 17:20 davidfraser
 
* convert/po2moz: open the outputarchive in write mode if it
doesn't exist oh, and translatepath doesn't work...
 
2004-10-19 13:46 davidfraser
 
* filters/pofilter: remove -x and change --exclude to
--excludefilter to prevent option with main optrecurse
-x/--exclude option for folders
 
2004-10-18 19:46 davidfraser
 
* convert/csv2po, convert/dtd2po.py, convert/html2po,
convert/moz2po, convert/nb2po, convert/oo2po, convert/po2csv,
convert/po2dtd.py, convert/po2html, convert/po2moz,
convert/po2nb, convert/po2oo, convert/po2prop.py, convert/po2txt,
convert/prop2po.py, convert/sxw2po, convert/translatepath.py,
convert/txt2po, filters/pofilter, filters/pogrep,
filters/translatepath.py, tools/pocount, tools/pomerge,
tools/translatepath.py: added translatepath to all the tools,
which tries to find the right directory and add it to the python
path if translate can't be imported. one of these lives in each
directory with executable scripts in them so they can find it
automatically
 
2004-10-18 19:37 davidfraser
 
* ChangeLog: updated ChangeLog to 0.8rc1
 
2004-10-04 16:39 davidfraser
 
* __version__.py: version 0.8 RC1
 
2004-10-04 16:37 davidfraser
 
* storage/oo.py: refactored oomultifile to work both as input file
and as output file added 'mode' argument ('w' for writing, also
done if file doesn't exist and mode is None) uses
wStringIO.CatchStringOutput to write output file contents...
 
2004-10-04 16:32 davidfraser
 
* convert/: convert.py, po2moz: added support for excluding files
to convert.py (with -x/--exclude switch) added direct support for
output archives to convert.py, moved some code out of po2moz /
refactored (this will be used in po2oo too) close output files in
processfile for ArchiveConvertOptionParser, since they may be
subfiles... also added support for passing kwargs through
openarchive (so far just mode='w' is needed)
 
2004-10-04 16:29 davidfraser
 
* storage/xpi.py, misc/wStringIO.py: moved CatchStringOutput from
xpi to wStringIO
 
2004-10-04 09:21 davidfraser
 
* misc/optrecurse.py: added an --exclude (or -x) option, so that
for example you can ignore CVS directories. Supports pattern
matching e.g. *.bak
 
2004-10-01 16:14 davidfraser
 
* storage/oo.py, convert/oo2po: made it so oo2po po files now
contain the original oo pseudo-filename in the comment at the top
 
2004-10-01 15:41 davidfraser
 
* convert/: oo2po, po2oo: include the resourcetype in the key to
prevent overlapping keys made escaping consistent and workable so
that the round trip is always correct
 
2004-10-01 15:35 davidfraser
 
* misc/quote.py: took out odd method of not using escapes, do it
sensibly
 
2004-10-01 12:12 davidfraser
 
* convert/: oo2po, po2oo: reduce the keys so it only contains the
base filename (the project and directory are in the po file
name)
 
2004-10-01 11:44 davidfraser
 
* storage/oo.py: updated to work with
convert.ArchiveConvertOptionParser made it able to handle input
file name more cross-platform path generation iterator, in
operator, openfile renamed to openinputfile
 
2004-10-01 11:41 davidfraser
 
* convert/: oo2po, po2oo: added .txt as extension for oomultifiles
 
2004-09-30 17:22 davidfraser
 
* convert/oo2po: support gsi and sdf extensions as archives
 
2004-09-30 17:20 davidfraser
 
* convert/convert.py: check if templates are used before trying to
access options.templates, to prevent error...
 
2004-09-30 16:58 davidfraser
 
* convert/oo2po: switched to use convert.ArchiveConvertOptionParser
(since it is the revamped MozCOP that GSICOP was based on)
 
2004-09-30 12:47 davidfraser
 
* convert/oo2po: added a TODO
 
2004-09-30 11:52 davidfraser
 
* convert/: convert.py, moz2po, po2moz: refactored as much as
possible from MozConvertOptionParser classes in moz2po and po2moz
the new class is convert.ArchiveConvertOptionParser, should be
able to use for OO GSI files too... moz2po now just uses the
class directly, po2moz adds one method this required some changes
to the xpi.XpiFile class, basically it uses a few methods and
iterators/in operator so should be simple to implement other
archive classes...
 
2004-09-30 11:36 davidfraser
 
* misc/optrecurse.py: since splitinputext and splittemplateext are
the same in the baseclass, and useful, made splitext that does
that, and call it from them (splitinputext is overridden
sometimes for some reason)
 
2004-09-30 11:30 davidfraser
 
* storage/xpi.py: added __iter__, __contains__, openinputfile,
openoutputfile methods used by convert - that means it doesn't
have to know much about XpiFiles if no region is found, try and
get it automatically from the locale name only add dirmap entries
for valid locale and region took out unused code for renaming
(done in clone now)
 
2004-09-30 09:17 davidfraser
 
* storage/oo.py: modified to produce lots of small files rather
than one per module...
 
2004-09-30 09:07 davidfraser
 
* storage/oo.py: renamed "module" variables to "subfile" in
oomultifile added openfile method that uses wStringIO to create a
pseudo-file for a subfile
 
2004-09-29 17:57 davidfraser
 
* convert/oo2po: added GSIConvertOptionParser, analogous to
XpiConvertOptionParser (and based on it) This allows treating a
GSI file as multiple files, using oo.oomultifile similar support
needed for the reverse process...
 
2004-09-29 17:20 davidfraser
 
* storage/oo.py: added oomultifile class that can be used to treat
smaller sections of a file as individual oofiles
 
2004-09-29 16:32 davidfraser
 
* convert/oo2po: added support for passing language parameters on
command line, TODO for making it work properly :-)
 
2004-09-28 14:12 davidfraser
 
* convert/po2moz: added option to change locale, which restructures
directories etc inside xpi jars using new xpi.clone parameters
this is required for the round-trip xpi -> po -> xpi to work,
which is now complete extended warning when files not found in
structure
 
2004-09-28 14:10 davidfraser
 
* storage/xpi.py: various changes needed to handle directory
structures when changing language names (removed TODOs) split
initdirmap into findlangreg and setlangreg move files directly in
xpi (not in a sub-jar) into a "package" directory added method
restructurejar which moves things from one lang-region to another
modified clone to reconstruct jars using restructurejar keep
locale and region as members
 
2004-09-28 12:21 davidfraser
 
* tools/oosetupmerge: updated to handle languages list better
 
2004-09-28 12:10 davidfraser
 
* storage/xpi.py: only print out the name when listing files...
 
2004-09-28 12:08 davidfraser
 
* storage/html.py: added span as a text-marking tag
 
2004-09-28 12:06 davidfraser
 
* __version__.py: version 0.8 beta 3
 
2004-08-31 17:48 davidfraser
 
* convert/po2prop.py: added a little hook that will allow setting
strings to empty values by setting the msgstr to " " (three
spaces)
 
2004-08-31 17:07 davidfraser
 
* convert/dtd2po.py: fixed a bug where the logic for mixed entities
failed for merging dtds (basically the mixed entity was marked as
already merged when the original version was converted, so the
translation was ignored) this is fixed by using "mixbuckets" to
mark the alreadymerged value differently for orig and translation
 
2004-08-31 15:23 davidfraser
 
* convert/: po2nb, nb2po: added fixes to handle end of lines sanely
only replace one instance of each string in the result when
converting back
 
2004-08-27 13:46 davidfraser
 
* convert/po2html: only do a replace if the translation is
non-empty
 
2004-08-27 13:31 davidfraser
 
* convert/html2po: strip html blocks
 
2004-08-27 13:10 davidfraser
 
* convert/html2po: allow generation of .pot files
 
2004-08-27 13:07 davidfraser
 
* convert/: nb2po, po2nb: updated nb2po to fit with new
storage.html handling of untaggeddata (part of normal blocks)
added usepots option to nb2po nb parts files are always htm, not
html - updated po2nb
 
2004-08-27 13:01 davidfraser
 
* convert/html2po: added option to include untagged data
 
2004-08-27 12:52 davidfraser
 
* convert/po2nb: added po2nb to translate nanoblogger part files
using po files
 
2004-08-27 12:26 davidfraser
 
* storage/html.py: added code to include untagged data in the blogs
if desired added li as a valid marking tag
 
2004-08-27 12:10 davidfraser
 
* convert/nb2po: added code to parse html and split up blocks with
a fair amount of intelligence removed unneccessary import of os
module
 
2004-08-27 11:54 davidfraser
 
* convert/nb2po: added initial nb2po script for handling
nanoblogger files
 
2004-08-27 11:41 davidfraser
 
* convert/html2po, storage/html.py: moved POHTMLParser from
convert/html2po to new storage/html.py module removed
unneccessary import of os module
 
2004-08-27 11:17 davidfraser
 
* convert/: TODO, html2po: added TODO for oo2po removed notes about
po2html not existing...
 
2004-08-23 13:22 davidfraser
 
* tools/ooswitchlang: need to import sys to get the arguments
later...
 
2004-08-18 12:25 davidfraser
 
* tools/oosetupmerge: rather have a \n inserted before the field
name because this gives us the tab indentation we want
 
2004-08-18 12:06 davidfraser
 
* tools/oosetupmerge: added code to localize module text (name,
description)
 
2004-08-18 11:59 davidfraser
 
* tools/oosetupmerge: added code to insert HelpText Text(nn)
entries for each language - so installation Help is now localized
use one suffix variable per index instead of recalculating it
everywhere we can :-) to support inserting fields into sections,
added end of variables to tokennums index added methods to
renamefield, getfieldtokenrange, insertforeignvalue (just puts
index tokenrange in before end of section)
 
2004-08-17 11:46 davidfraser
 
* tools/ooo_languageselector.png: added icon for ooo language
switcher on linux
 
2004-08-17 11:43 davidfraser
 
* tools/oosetupmerge: allowed adding a file to zip without
specifying contents (otherwise file was removed) fixed file size,
date and time for zip changes check posix by looking at name of
setup file, not os.name (we pack on linux anyway)
 
2004-08-17 11:37 davidfraser
 
* tools/ooswitchlang: added expat import to prevent problem in
singlefile version added code to look in directory program is
installed in in case not run from there
 
2004-08-17 09:38 davidfraser
 
* tools/oosetupmerge: added setuplaunchscript, code to create it
for posix installers initialize members in constructor rather
than from mergefiles... moved desktop entries code into method
adddesktopentries copy desktop files before generating
mainsetupfile (this is because we will need to change file
attributes...)
 
2004-08-17 09:21 davidfraser
 
* tools/oosetupmerge: added TODO about HelpText
 
2004-08-17 09:07 davidfraser
 
* tools/oosetupmerge: added code to add desktop / menu items with
icons for kde and gnome (and gnome2) this required entries to
access zip files the desktop entries are hardcoded and the icons
are generated from icons/ooo_languageselector.png under the
current directory
 
2004-08-16 13:35 davidfraser
 
* tools/oosetupmerge: recursively rename a directory's child
directories... this should fix templates not being included
 
2004-08-15 16:54 davidfraser
 
* tools/ooswitchlang: check if there are any valid oo versions if
not, display a message and switch to advanced mode
 
2004-08-15 16:31 davidfraser
 
* tools/ooswitchlang: moved xmlwrapper import to prevent expat
version conflict
 
2004-08-13 19:13 davidfraser
 
* convert/oo2po: added TODOs
 
2004-08-12 11:42 davidfraser
 
* tools/ooswitchlang: improved tooltip for adminchoice
 
2004-08-12 11:38 davidfraser
 
* tools/ooswitchlang: changed adminchoice to be a drop down box.
moved above language selector added function getadminmode to work
out what it means
 
2004-08-12 11:29 davidfraser
 
* tools/ooswitchlang: make sure we return after finding the current
directory, otherwise manual selection happens anyway...
 
2004-08-12 11:24 davidfraser
 
* tools/ooswitchlang: added lots of error handling and intelligence
so user gets reasonable messages if language cannot be found /
set if registered version directory does not exist, ignore it
(with a verbose log message) rather than showing message factored
out finding directory in version names into separate function
findregisteredversion try to look up if manually entered
directory is one of registered versions
 
2004-08-11 18:38 davidfraser
 
* convert/po2html: added simple po2html
 
2004-08-11 11:27 davidfraser
 
* tools/oosetupmerge: added a shortisocode member for matching just
language (e.g. en-US -> en) check hostnames to rename on every
index, not just self. also check shortisocode
 
2004-08-11 10:54 davidfraser
 
* tools/ooswitchlang: Sipedi is actually Sepedi - but have adopted
"Sesotho sa Leboa" - "Northern Sotho" as better term
 
2004-08-10 15:23 davidfraser
 
* tools/ooswitchlang.ico: add oo switchlang icon
 
2004-08-10 15:12 davidfraser
 
* misc/xmlwrapper.py: import expat to prevent conflicts with wx
 
2004-08-10 15:05 davidfraser
 
* tools/ooswitchlang: changed error dialog titles
 
2004-08-10 15:04 davidfraser
 
* tools/ooswitchlang: added more info about needing to restart,
changed title
 
2004-08-10 14:56 davidfraser
 
* tools/ooswitchlang: Added lots of tooltips
 
2004-08-10 14:40 davidfraser
 
* tools/ooswitchlang: changed language names to be in that
language. added TODO to handle languages better changed cmdline
to quote the binary name (otherwise on Windows it fails if in
Program Files)
 
2004-08-10 14:26 davidfraser
 
* tools/oosetupmerge: added code to create shortcuts for windows
start menu added link to switch lang program
 
2004-08-10 12:00 davidfraser
 
* tools/oosetupmerge: copy all the license, readme,
thirdpartlicense etc files into the dest directory with -nn in
their names (even do this for the main setup file as otherwise
people will wonder what it is...)
 
2004-08-10 11:42 davidfraser
 
* tools/oosetupmerge: added function islocalizefile, which now
detects not only resource files but also README and LICENSE files
 
2004-08-10 09:15 davidfraser
 
* convert/po2dtd.py: added note on \n characters
 
2004-08-10 09:12 davidfraser
 
* convert/po2oo: putting in extra \ns was coming out in the oo
files, this is leftover stuff from mozilla, don't add any...
 
2004-08-06 14:21 davidfraser
 
* tools/ooswitchlang: added docstrings, comments
 
2004-08-06 14:18 davidfraser
 
* tools/ooswitchlang: made forcing the default tried to improve
labels...
 
2004-08-06 14:08 davidfraser
 
* tools/ooswitchlang: added AutoSize method so we don't have to set
the size manually also it works when switching modes... note we
use SetClientSize otherwise it is too small on Windows...
 
2004-08-06 13:49 davidfraser
 
* tools/ooswitchlang: construct dirsizer in arrangeoptioncontrols
each time (otherwise segfaults. Clearing a BoxSizer destroys it)
Switch the advanced button label depending on self.advancedmode
 
2004-08-06 13:38 davidfraser
 
* tools/ooswitchlang: added button to switch between simple and
advanced modes, made it work took optionssizer construction out
of arrangeoptioncontrols moved initial arrangeoptioncontrols call
to later in constructor
 
2004-08-06 13:25 davidfraser
 
* tools/ooswitchlang: rearranged creation and arranging of option
controls into functions... makes it much easier to read, and
will be able to switch modes hopefully...
 
2004-08-06 13:19 davidfraser
 
* tools/ooswitchlang: started adding code to do simple / advanced
modes for the GUI... added docstring and commandline option
parsing added option for starting in advanced mode
 
2004-08-05 19:18 davidfraser
 
* tools/oosetupmerge: needs to be quoted empty string :-)
 
2004-08-05 18:42 davidfraser
 
* tools/ooswitchlang: forget the xmlwrapper stuff :-) added
TODOs...
 
2004-08-05 18:38 davidfraser
 
* tools/oosetupmerge: some files don't have a PackedName (they are
usually just being deleted so it doesn't matter, just leave
it...)
 
2004-08-05 17:35 davidfraser
 
* convert/po2txt: added basic text wrapping
 
2004-08-05 17:24 davidfraser
 
* storage/properties.py: don't decode unicode in comments
 
2004-08-05 17:19 davidfraser
 
* misc/xmlwrapper.py: make life simpler by using
ElementTree.XMLTreeBuilder (the XMLTreeBuilder module is just a
backwards-compatibility wrapper)
 
2004-08-05 17:10 davidfraser
 
* misc/quote.py: show the digits causing the problem...
 
2004-08-05 17:05 davidfraser
 
* convert/po2txt, storage/po.py: made including escapes optional in
po.getunquotedstr don't include escapes for text files...
 
2004-08-05 16:41 davidfraser
 
* convert/po2oo: added requirement for languagecode (otherwise we
produce bad target files...)
 
2004-08-05 16:35 davidfraser
 
* convert/: po2txt, txt2po: created simple po2txt
 
2004-08-05 12:33 davidfraser
 
* tools/ooswitchlang: try import xmlwrapper from the current
directory if import fails...
 
2004-08-05 12:11 davidfraser
 
* tools/oosetupmerge: add -j option to zip so it doesn't include
the pathname added option --switchlang rather than including
ooswitchlang.exe if it is there
 
2004-08-05 11:33 davidfraser
 
* tools/oosetupmerge: added offset param to makepackedname in case
more than one is needed removed direntry parameter for
addmanualfile as it can be deduced from baseentry zip generates
.zip files so rename them...
 
2004-08-05 11:22 davidfraser
 
* tools/oosetupmerge: added self.manualfiles so any files added
manually are automatically zipped into the right destination
(currently using cmdline) added call to addfiletomodule so files
added manually are also listed in the modulename to be installed
added function makepackedname for when we need a new packedname
added default value option to getfieldvalue, rather than getting
errors added call to add ooswitchlang.exe to setup if it exists
 
2004-08-05 10:56 davidfraser
 
* tools/oosetupmerge: use isocodes for directory names rather than
using HostName (which could be full lang name) this means all the
f* files have now got shorter names
 
2004-08-05 10:49 davidfraser
 
* tools/oosetupmerge: refactored addfiletomodule to use a dummy
setup file rather than searching for commas... this means we
don't have to leave out some files because we couldn't find the
commas also we don't require the index (which will make it easier
to add manual files)
 
2004-08-05 10:13 davidfraser
 
* tools/oosetupmerge: factored out addfiletomodule from
addforeignfile rename aftersection parameter of addmanualfile to
baseentry
 
2004-08-05 09:59 davidfraser
 
* tools/oosetupmerge: added addmanualfile method (adds a new
section describing a file off disk) - to be used for adding gui
switchlang executable split off parsing code into base class
SetupParser this allows us to create a little SetupParser to
describe manual additions corrected dir arguments (one-off error
from sys.argv->optparser change)
 
2004-08-05 09:09 davidfraser
 
* tools/ooswitchlang: changed setlanguage to take admin and force
as parameters setlanguage now displays errors and offers to force
only quit if setlanguage successful
 
2004-08-05 08:59 davidfraser
 
* tools/ooswitchlang: Added Tswana Enlarged window
 
2004-08-05 08:50 davidfraser
 
* tools/oosetupmerge: improved doc string use optparse for option
parsing added version info
 
2004-08-05 08:33 davidfraser
 
* tools/oosetupmerge: use directory names rather than setup files
as arguments copy other needed files (non-f*, non-setup.in[sf])
 
2004-08-04 12:08 davidfraser
 
* tools/ooswitchlang: added browse button for selecting install dir
tried to improve sizing...
 
2004-08-04 11:39 davidfraser
 
* tools/ooswitchlang: added instructions for building exe...
 
2004-08-04 10:22 davidfraser
 
* tools/ooswitchlang: add box for install directory include
"(other)" for manually chosen directory...
 
2004-08-04 10:21 davidfraser
 
* tools/oosetupmerge: try import on sparse and import directly if
not in translate.misc - to allow standalone oosetupmerge also add
basic commandline help...
 
2004-08-02 22:02 dwaynebailey
 
* tools/TODO: Ideas for: - podiff - glossary creator
 
2004-08-02 22:01 dwaynebailey
 
* misc/: optrecurse.py, progressbar.py: Improved naming of progress
bar types
 
2004-08-02 21:57 dwaynebailey
 
* convert/: convert.py, html2po, moz2po, txt2po: Improved usage
messages
 
2004-08-02 21:34 dwaynebailey
 
* convert/oo2po: Improved purpose message
 
2004-07-30 14:09 davidfraser
 
* tools/ooswitchlang: fix up errors on windows - file:///x:/ ends
up with an initial \\x:\\ in the path os.path.samefile not
available on windows, just use equality
 
2004-07-30 13:21 davidfraser
 
* tools/ooswitchlang: added code to handle multiple versions
installed, use .sversionrc or sversion.ini to find versions use
current directory or parent directory as well
 
2004-07-29 13:44 davidfraser
 
* tools/ooswitchlang: call setofficelang directly (simpler) added
ability to force it added size for window
 
2004-07-29 13:38 davidfraser
 
* tools/ooswitchlang: added begin/end busy cursors so people know
we're trying to set the language...
 
2004-07-29 13:30 davidfraser
 
* tools/ooswitchlang: added check box to select whether to set the
admin language or not update the current language when the admin
check box is changed redid the sizing so that it works well for
more than one option
 
2004-07-29 13:16 davidfraser
 
* tools/ooswitchlang: simplified wx sizing
 
2004-07-29 12:51 davidfraser
 
* tools/ooswitchlang: added code to call setofficelang with
available options and deal with the return code this is better
than changing xml files ourselves... added function to get/set
admin language
 
2004-07-29 12:36 davidfraser
 
* tools/ooswitchlang: added a higher level to manage user / admin
settings (will use setofficelang.bin as well...)
 
2004-07-29 12:28 davidfraser
 
* tools/ooswitchlang: added tool for switching oo installation
language (in progress)
 
2004-07-28 15:26 davidfraser
 
* storage/xpi.py: combine iterjarcontents into initdirmap (so later
we can intelligently handle the jar names...)
 
2004-07-28 12:08 davidfraser
 
* misc/xmlwrapper.py: added makefixtagproc which can be used to set
specific names for namespaces when rewriting file (by replacing
ElementTree.fixtag) also added some excludetags capability to
ignore certain plaintext/children...
 
2004-07-22 13:03 davidfraser
 
* convert/sxw2po: added special code to exclude change tracking
stuff from the sxw file
 
2004-07-22 12:43 davidfraser
 
* convert/sxw2po: added sxw2po
 
2004-07-22 12:38 davidfraser
 
* convert/: html2po, txt2po: fixed UTF8 -> UTF-8 (official name
that msguniq likes)
 
2004-07-22 12:37 davidfraser
 
* misc/xmlwrapper.py: added xml wrapper
 
2004-07-16 22:11 davidfraser
 
* tools/oosetupmerge: exclude non-alpha isocodes from
ooSetupLocales
 
2004-07-16 15:27 davidfraser
 
* tools/oosetupmerge: added keymunging so en-US gets changed to
en_US also removed extra _ before suffix
 
2004-07-16 14:28 davidfraser
 
* tools/oosetupmerge: disable updating the Languages field as
support for language names in the setup selection list is
currently limited
 
2004-07-16 13:29 davidfraser
 
* tools/oosetupmerge: set the list of installed languages manually
(rather than using default template system that doesn't work)
 
2004-07-16 13:08 davidfraser
 
* tools/oosetupmerge: added code to merge config items ... this
fixes for example New->Text Document always being in the same
language
 
2004-07-16 12:46 davidfraser
 
* tools/: oosetup, oosetupmerge: renamed oosetup to oosetupmerge
 
2004-07-16 12:38 davidfraser
 
* tools/oosetup: minor change that will make changing the
packedname easier...
 
2004-07-14 17:48 davidfraser
 
* storage/xpi.py: converted commonprefix code to make a more
intelligent map based on locale directories... locale/nn-NN gets
mapped to lang-reg locale/NN gets mapped to reg also changed
directory creation so we don't create unneccessary directories
like this added a showprefix option which currently lists the
maps determined (for debugging)
 
2004-07-09 16:34 dwaynebailey
 
* filters/TODO: Adding HTML and email checker todo item
 
2004-07-09 15:51 davidfraser
 
* storage/dtd.py: removed <!ENTITY xxx > definitions that have been
commented out (will only work with single line definitions...)
 
2004-07-09 15:50 davidfraser
 
* misc/quote.py: make stripcomment handle half-comments more
intelligently (if comment is split over lines) in
extractwithoutquotes, be careful if laststartinextracted is still
None... this produced a memory grabbing frenzy from psyco (as
will ''[:None])
 
2004-07-09 15:13 dwaynebailey
 
* filters/TODO: Wihslist XML/HTML checks
 
2004-07-09 14:30 davidfraser
 
* filters/decoration.py: factored out isvalidaccelerator...
 
2004-07-09 14:26 davidfraser
 
* filters/pofilter: made listfilters work even though input is not
given (had to use a callback to do this...)
 
2004-07-09 12:09 davidfraser
 
* misc/optrecurse.py: improved psyco importing logic, added
excluded function encodings.search_function
 
2004-07-09 11:54 davidfraser
 
* convert/po2moz: added fix for non-recursive templates (single
file usage)
 
2004-07-08 17:03 davidfraser
 
* storage/xpi.py: added compression to XPI files by default...
 
2004-07-08 16:10 davidfraser
 
* convert/convert.py, filters/pofilter, filters/pogrep: added
usepsyco option to run methods where neccessary...
 
2004-07-08 16:07 davidfraser
 
* misc/optrecurse.py: added options to use psyco for speedup.
print a warning message if its asked for but not available can be
set to none/full/profile
 
2004-07-08 15:36 davidfraser
 
* convert/po2moz: added message about writing xpi file as it can
take a while more intelligence about single file / stdout output
 
2004-07-08 15:31 davidfraser
 
* convert/convert.py: don't close copied files if the output is to
a tty
 
2004-07-08 15:20 davidfraser
 
* misc/zipfileext.py: removed unneccessary flush from writeendrec
 
2004-07-08 14:47 davidfraser
 
* misc/wStringIO.py: only update the length after writing if we've
written over the end of the file
 
2004-07-08 13:01 davidfraser
 
* misc/optrecurse.py: added requireemnt to use - for stdin input
instead of leaving it out this lets us give a more helpful error
message if no options given at start...
 
2004-07-07 18:10 davidfraser
 
* convert/dtd2po.py: added TODO to remind us about losing
comments...
 
2004-07-07 18:05 davidfraser
 
* convert/dtd2po.py: modified to exclude blank elements...
 
2004-07-07 17:40 davidfraser
 
* tools/detectencoding: changed default output to utf-8
 
2004-07-07 17:39 davidfraser
 
* convert/oo2po: changed to utf-8 for output. this actually
reflects what we were doing anyway...
 
2004-07-07 17:28 davidfraser
 
* convert/: html2po, prop2po.py, txt2po: removed unneccessary pot
cruft
 
2004-07-07 17:20 davidfraser
 
* convert/: dtd2po.py, html2po, prop2po.py, txt2po: make pot file
headers say charset=utf8 (and make sure encoding is 8bit too)
otherwise gettext tools etc will complain about non-ASCII
characters
 
2004-07-07 17:08 davidfraser
 
* storage/properties.py: escape control characters in comments...
 
2004-07-07 17:07 davidfraser
 
* misc/quote.py: separated out propertyescapes (renamed from
escapes) and controlchars dicts from mozillapropertiesdecode
added an escapecontrols method
 
2004-07-07 15:17 davidfraser
 
* convert/po2prop.py: handle the new escaping produced by prop2po -
we want \n to come through normally, but not \quotes or \\u...
 
2004-07-07 15:09 davidfraser
 
* convert/prop2po.py: changed method of escaping strings for po
files
 
2004-07-07 14:51 davidfraser
 
* misc/quote.py: mozilla properties stufF: don't convert control
characters to full representation (po converter can do that where
it wants) added controlchars dict to make looking up controlchars
easier (currently they all map to themselves but this could be
changed)
 
2004-07-07 12:51 davidfraser
 
* misc/sparse.py: added suport for having a different closing quote
to starting quote character
 
2004-07-07 12:38 davidfraser
 
* misc/quote.py: keep all the control characters escaped
 
2004-07-07 12:29 davidfraser
 
* storage/properties.py: strip eols from comments and put a
standard \n on
 
2004-07-05 17:07 davidfraser
 
* tools/oosetup: added dialing code as an attribute added resource
files handling...
 
2004-07-05 16:30 davidfraser
 
* tools/oosetup: set languagename and isocode as attributes...
work out which directories should be renamed based on HostName,
not gid
 
2004-07-05 16:04 davidfraser
 
* tools/oosetup: found the cause for missing files, trouble
locating packedsection: was using straight copy for sections,
so the tokennums child dictionary was having values overwritten.
fixed by using deepcopy. removed unneccessary error handling...
simplified printout to only print changed file names
 
2004-07-05 14:57 davidfraser
 
* tools/oosetup: added directory entry copying (otherwise files
didn't have the corresponding directory section, giving script
errors)
 
2004-07-05 13:43 davidfraser
 
* tools/oosetup: refactored adding a foreign file into a method
some pychecker cleanups...
 
2004-07-05 13:37 davidfraser
 
* tools/oosetup: added code to modify the lists of files in Modules
to add new files... changed printout to make it less verbose for
copying files...
 
2004-07-02 22:53 davidfraser
 
* tools/oosetup: added code to copy files to a destination
directory, renaming as neccessary some problems with finding the
PackedName need to be fixed
 
2004-07-02 22:10 davidfraser
 
* tools/oosetup: added files from other indexes into main file,
rename all relevant files changed token finding to handle token
changes improved tokenrange work took out demo of foreign stuff
as its being used now
 
2004-07-02 19:25 davidfraser
 
* tools/oosetup: refactored parsing of section into separate
function remember tokennums relative to start (renamed from
type) remember end tokennum relative to start modified
getsource to allow start and end token numbers added method
insertforeignsection to allow copying sections from another index
modified getsource to add in inserted sections (using
foreignindex.getsource) added code to remember which files belong
in which directory added a simple demo of insertforeignsection
for testing
 
2004-07-02 18:26 davidfraser
 
* tools/oosetup: redid parsing to handle newline, nesting, ; etc
correctly added initial code to merge setup files, do renaming of
directories
 
2004-07-02 16:50 davidfraser
 
* tools/oosetup: added tool for dealing with openoffice
setup.ins/inf scripts
 
2004-07-01 20:42 dwaynebailey
 
* tools/TODO: Add TODO items
 
2004-07-01 17:31 davidfraser
 
* convert/txt2po: improved logic so blank lines don't end up at
start of text
 
2004-07-01 12:49 davidfraser
 
* convert/txt2po: made txt2po do blocks instead of lines
 
2004-06-30 22:44 davidfraser
 
* misc/optrecurse.py: don't try and remove stdout!
 
2004-06-30 22:35 davidfraser
 
* filters/checks.py: added missing comma (made endwhitespace and
startpunc not have precondition)
 
2004-06-30 22:25 davidfraser
 
* filters/checks.py: added ${ } variable matcher for openoffice
 
2004-06-30 14:50 davidfraser
 
* filters/checks.py: should call funcmatch, not funcsmatch, when
passing a single function
 
2004-06-30 14:45 davidfraser
 
* filters/prefilters.py: changed to use new expanded tokenize
function so parser.source gets set correctly
 
2004-06-30 14:34 davidfraser
 
* misc/sparse.py: added option to give tokenizers to tokenize (so
self.source gets set)
 
2004-06-29 21:13 davidfraser
 
* filters/prefilters.py: fixed old-style findtokenpos call
 
2004-06-29 16:32 davidfraser
 
* filters/TODO: need to use unicode strings otherwise we can split
up multibyte characters in checks...
 
2004-06-29 16:18 dwaynebailey
 
* tools/pocount: Untranslated words was incorrectly counting the
msgstr instead of the msgid
 
2004-06-29 16:16 dwaynebailey
 
* tools/TODO: Need to be able to merge fuzzy status back to mack
strings fuzzy or to unset fuzzy status
 
2004-06-29 15:29 dwaynebailey
 
* convert/TODO: Adding to TODO need for csv2po to have a charset
option to set po header charset.
 
2004-06-29 14:29 davidfraser
 
* convert/html2po: initial html2po
 
2004-06-29 13:54 davidfraser
 
* convert/txt2po: added txt2po tool
 
2004-06-29 11:37 davidfraser
 
* filters/TODO: accelerators are done
 
2004-06-29 11:16 davidfraser
 
* filters/checks.py: renamed self.accelerators to self.accelmarkers
to prevent it from hiding the accelerators check method
 
2004-06-25 17:40 davidfraser
 
* storage/csvl10n.py: limited quotechars to " (no ' in files from
translators) added intelligence to patch together partial quoting
(probably not neccessary)
 
2004-06-25 17:37 davidfraser
 
* convert/csv2po, filters/prefilters.py: updated to new sparse API
 
2004-06-25 17:36 davidfraser
 
* misc/sparse.py: updated to a new object-based API all functions
available inside new StringParser object requires changes to any
code using this!
 
2004-06-24 15:42 davidfraser
 
* storage/csvl10n.py: added SimpleDictReader which unlike the csv
module doesn't have problems with newlines
 
2004-06-23 14:17 davidfraser
 
* misc/csv.py: updated to handle keyword arguments
 
2004-06-16 19:05 dwaynebailey
 
* filters/TODO: Check for accelerators
 
2004-06-09 18:45 davidfraser
 
* ChangeLog: changed to standard cvs2cl ChangeLog so I don't have
to edit it...
 
2004-06-09 18:14 davidfraser
 
* __version__.py: version 0.8 beta 2
 
2004-06-09 18:13 davidfraser
 
* filters/pofilter, storage/po.py: added a switch to getunquotedstr
for linebreak inclusion, turn it off for pofilter (still unclear
as to long-term strategy:-) )
 
2004-06-09 17:55 davidfraser
 
* convert/po2dtd.py, misc/quote.py: remove all leftover doencode
stuff
 
2004-06-09 17:49 davidfraser
 
* misc/optrecurse.py: added more sensible error handling for
missing output directories - try create the directory, report an
error if it fails
 
2004-06-09 17:38 davidfraser
 
* convert/TODO: encodings are now utf8 which is better...
properties encodings have been converted as well
 
2004-06-09 17:36 davidfraser
 
* convert/moz2po: include non-jar files in extraction for moz2po
... otherwise we miss install.js
 
2004-06-09 17:02 davidfraser
 
* filters/checks.py: added long, split whitespace into start/end
 
2004-06-09 16:55 davidfraser
 
* convert/convert.py: get optparse from the optrecurse namespace
(also others can access it here)
 
2004-06-09 16:42 davidfraser
 
* misc/quote.py: added implementation for \N{name} unicode escaping
for completion
 
2004-06-09 16:17 davidfraser
 
* misc/quote.py: only keep \t and \n when decoding mozilla
properties files
 
2004-06-09 15:04 davidfraser
 
* misc/quote.py: rewrote mozillapropertiesdecode based on the C
unicode-escape source this lets us change some of the behaviour
(e.g. how we handle control characters)
 
2004-06-09 11:06 davidfraser
 
* filters/checks.py: added doublespacing and puncspacing checks...
 
2004-06-09 11:01 davidfraser
 
* filters/helpers.py: use operator.and_ instead of int.__and__ to
and a whole lot of expressions together
 
2004-06-09 10:41 davidfraser
 
* filters/decoration.py: don't tread periods that don't have
following digits as part of the number added TODO for
locale-specific delimiters (2,5 for Afrikaans)
 
2004-06-09 10:31 davidfraser
 
* misc/optrecurse.py: show progress regardless of success
 
2004-06-08 17:17 davidfraser
 
* filters/TODO: preconditions are there now...
 
2004-06-08 17:03 davidfraser
 
* filters/checks.py: added ability to have preconditions - don't do
most checks if untraslated...
 
2004-06-08 16:44 davidfraser
 
* filters/: checks.py, pofilter: moved all the arguments,
construction of list of filters into pocheckfilter constructor
general refactoring to try do as much as possible once only
 
2004-06-08 16:13 davidfraser
 
* tools/pomerge: .msg.I15348
 
2004-06-08 16:08 davidfraser
 
* convert/: csv2po, dtd2po.py, moz2po, oo2po, po2csv, po2dtd.py,
po2moz, po2oo, po2prop.py, poreplace.py, prop2po.py: modified all
the scripts to work with new convert parameters based on
translate.misc.optrecurse
 
2004-06-08 16:07 davidfraser
 
* filters/: pofilter, pogrep: redid btis of pofilter and pogrep to
work with new translate.misc.optrecurse (filtercmd is gone... bye
bye)
 
2004-06-08 16:01 davidfraser
 
* tools/detectencoding: minor fixups for when no matches are
found...
 
2004-06-08 15:56 davidfraser
 
* misc/optrecurse.py, convert/convert.py, filters/filtercmd.py:
refactored common code out of convert/convert.py and
filter/filtercmd.py into misc/optrecurse.py this now handles
everything cleanly. filter/filtercmd is no longer neccessary, has
been removed some specialisation and parameters have also
changed, and will affect other files... recursiveoptions /
convertparameters have been renamed to self.passthrough all the
convert parameter/method names have changed to process there is
a new simpler run method which parses the args and passes them to
recursiveprocess
 
2004-05-28 15:48 davidfraser
 
* tools/pomerge: added mergeblanks option refactored option
checking into str2bool removed unneccessary default options
 
2004-05-28 15:42 davidfraser
 
* tools/pomerge: added option to control merging comments
 
2004-05-28 15:10 dwaynebailey
 
* tools/pocount: Changed wording on output slightly to make it
clear that fuzzies wordcount is for the original message
 
2004-05-28 15:00 davidfraser
 
* tools/pocount: redid counting to count everything on elements
rather than counting first and summarizing later makes it a bit
slower but better... also added code to count fuzzy strings /
words
 
2004-05-25 18:37 davidfraser
 
* storage/properties.py: use new quote function to decode
 
2004-05-25 17:31 davidfraser
 
* misc/quote.py: added a mozillapropertiesdecode function which
does unicode-escape but doesn't transform \\n
 
2004-05-25 16:43 davidfraser
 
* storage/po.py: added option whether to merge comments or not in
merge make sure that a blank string with a msgid_comment works
properly
 
2004-05-25 16:41 davidfraser
 
* convert/dtd2po.py: only convert elements with valid entities...
 
2004-05-25 15:38 davidfraser
 
* tools/pomerge: added docstring to help
 
2004-05-25 15:31 davidfraser
 
* convert/dtd2po.py: added comment if field looks like a
height/width/size field, to help translators changed blank
comment to not have \n at end...
 
2004-05-25 15:07 davidfraser
 
* convert/convert.py: if there is an error in conversion, give a
warning with the names of the files before raising it made
warning always start on newline by adding \n at beginning
 
2004-05-25 12:10 davidfraser
 
* convert/: convert.py, csv2po, dtd2po.py, moz2po, oo2po, po2csv,
po2dtd.py, po2moz, po2oo, po2prop.py, prop2po.py: added
descriptions for command line help using doc strings
 
2004-05-25 11:42 davidfraser
 
* README: added a link to the docs page
 
2004-05-25 11:15 davidfraser
 
* convert/: po2dtd.py, po2moz, po2prop.py: removed all checking
code as this is now done in the filters area, not when converting
 
2004-05-21 19:15 davidfraser
 
* ChangeLog: added changelog for 0.8b1
 
2004-05-21 19:00 davidfraser
 
* convert/po2prop.py: .msg.wC8765
 
2004-05-21 18:58 davidfraser
 
* __version__.py: version 0.8 beta 1
 
2004-05-21 18:49 davidfraser
 
* misc/quote.py: removed escapeunicode and unescapeunicode
 
2004-05-21 18:49 davidfraser
 
* convert/: po2prop.py, prop2po.py: removed
escapeunicode/unescapeunicode changed lineending encoding in
po2prop handle multiple lines in prop2po
 
2004-05-21 18:19 davidfraser
 
* convert/: dtd2po.py, po2dtd.py, po2moz, po2prop.py, prop2po.py:
added option to po2dtd and po2moz to not run entity and size
checks fixed filename display for checks changed all leftover
ConvertOptionParserExt to ConvertOptionParser
 
2004-05-21 18:01 davidfraser
 
* convert/: dtd2po.py, prop2po.py: set charset, encoding in po
output if not a pot file
 
2004-05-21 17:59 davidfraser
 
* storage/po.py: added a utf8encode method, encode all unicode
strings as utf8
 
2004-05-21 17:53 davidfraser
 
* convert/po2prop.py: do proper mozilla-properties encoding on
po2prop output (for \unnnn strings) fix reference to old
converter class...
 
2004-05-21 17:51 davidfraser
 
* storage/properties.py: un-escape unicode-escaped \unnnn strings
on input, re-escape them on output
 
2004-05-21 17:50 davidfraser
 
* misc/quote.py: added function to encode a string for a mozilla
(java-style) properties file (we can decode with "unicode-escape"
encoding, but encoding with this gives \xnn instead of \unnnn)
 
2004-05-21 11:56 davidfraser
 
* misc/wStringIO.py: fixed basestring (python2.3 only) -> (str,
unicode) (works on python2.2)
 
2004-05-21 11:48 davidfraser
 
* storage/dtd.py: fixed creation of blank entities for blank lines
at end of file set entity to None initially, detect this with
isnull added comments to dtdelement class
 
2004-05-21 11:24 davidfraser
 
* convert/convert.py: refactored po/pot selection algorithm added a
helper function "potifyformat" to deal with both .po and .xxx.po
(for mozilla) instead of using self.inputformats,
self.outputoptions, added functions filterinputformats and
filteroutputoptions these use options.pot to rename formats as
required the results are stored in options.inputformats,
options.outputoptions which are then used to determine names
instead of self.inputformats, self.outputoptions also changed
getformathelp so it doesn't actually modify the format
dictionaries...
 
2004-05-20 20:22 dwaynebailey
 
* convert/dtd2po.py: For msgid's that are blank a correct KDE style
translator comment must end with a literal \n followed by \n ir
\\n\n
 
2004-05-19 13:37 davidfraser
 
* convert/po2oo: made languagecode a convertparameter so it gets
passed through...
 
2004-05-14 16:27 davidfraser
 
* filters/checks.py: removed unneccessary sparse import
 
2004-05-11 17:56 davidfraser
 
* storage/xpi.py: changed to use wStringIO wrapper for cStringIO
 
2004-05-11 17:52 davidfraser
 
* misc/wStringIO.py: added wrapper for cStringIO so we can speed up
StringIO operations
 
2004-05-11 17:35 davidfraser
 
* misc/zipfileext.py: don't need to write the endrec after a delete
neccessarily...
 
2004-05-11 16:47 davidfraser
 
* storage/xpi.py: use zipfileext enhancements to overwrite files
inside zip files (removed TODO) use fix to StringIO to make sure
truncate works for jar files stored in a StringIO... only
rewrite jar files if they've been changed... but catch their new
value if they have test included jar files when testing the zip
 
2004-05-11 16:41 davidfraser
 
* misc/zipfileext.py: added zipfileext which contains code to
delete files in zipfiles, replace them, etc
 
2004-05-11 11:59 davidfraser
 
* storage/xpi.py: added spacing between functions
 
2004-05-10 18:57 davidfraser
 
* convert/po2moz: if you don't close the outputxpi you never get
the output... this now actually produces an xpi with
translations the paths still need to be fixed up though...
 
2004-05-10 18:50 davidfraser
 
* convert/: convert.py, po2moz: tried to add more intelligence to
close files and not use temp files in po2moz (but use StringIO
rather than stdout for misplaced files)
 
2004-05-10 18:38 davidfraser
 
* convert/: Makefile, TODO, convert.py, moz2po, po2moz: added
ability to write xpi files from po2moz (not complete) major
changes to po2moz to support this use recurseconversion to read
in the files rather than recurseinputfiles added xpi file
creation... renamed checksubdir in convert to checkoutputsubdir,
pass options instead of options.output made gettemplatename
handle inputname=None (for stdin) etc handle IndexErrors when
trying to map paths to xpi file added test for po2moz writing
.xpi changed TODO - can now handle non-dtd/properties files
 
2004-05-10 17:44 davidfraser
 
* convert/: Makefile, convert.py, moz2po, po2moz: added ability to
handle wildcards in convert for extensions ("*" matches anything)
added ability to po2moz, moz2po to handle non-dtd, non-properties
files by copying them added ability to po2moz to handle xpi files
for templates - po2moz now has a MozConvertOptionParser like
moz2po does, but it does some different stuff renamed methods
recursefiles to recurseinputfiles, etc in convert made convert
methods return lists instead of yielding generators added
copyinput, copytemplate methods to convert that can be used to
copy files
 
2004-05-10 17:34 davidfraser
 
* convert/po2prop.py: changed xreadlines to readlines so it can
work on StringIO from xpi
 
2004-05-10 16:31 davidfraser
 
* convert/moz2po: moved inputxpi, templatexpi generation to
recursefiles started updating to name files dtd.po, properties.po
instaed of plain .po
 
2004-05-10 16:28 davidfraser
 
* convert/convert.py: made splitinputext, splittemplateext methods
to split the extension and replace the .
 
2004-05-10 16:19 davidfraser
 
* storage/po.py: added an overwrite parameter to merge that allows
overwriting existing msgstr...
 
2004-05-10 16:18 davidfraser
 
* tools/pomerge: overwrite msgstr in target regardless...
 
2004-05-10 15:50 dwaynebailey
 
* filters/: checks.py, pofilter: Add --kde to handle KDE specific
accelerators and variables
 
2004-05-10 15:49 dwaynebailey
 
* convert/TODO: Add .properties UTF<->escaped unicode to wish list
 
2004-05-10 15:20 davidfraser
 
* convert/: moz2po, convert.py: removed unneccessary imports of
optparse from moz2po also added warning method to convert so
import sys in moz2po is unneccessary
 
2004-05-07 17:15 davidfraser
 
* convert/TODO: added some more TODOs
 
2004-05-07 16:54 davidfraser
 
* convert/Makefile: added missing test from moz2po suite
 
2004-05-07 16:54 davidfraser
 
* tools/pomerge: converted podiff and pomerge to use new output
syntax (and handle any combinatino of po, pot)
 
2004-05-07 16:52 davidfraser
 
* convert/: csv2po, dtd2po.py, oo2po, po2csv, po2dtd.py, po2moz,
po2oo, po2prop.py, poreplace.py, prop2po.py: updated all
conversion scripts to use new formats syntax
 
2004-05-07 16:50 davidfraser
 
* convert/moz2po: converted moz2po to work with new format system
(see convert.py)
 
2004-05-07 16:49 davidfraser
 
* convert/convert.py: overhauled the handling of input and output
formats in convert this allows more sanity and flexibility
basically formats expects a dictionary with keys either as
inputformats or (inputformat, templateformat) tuples and values
as tuples of (outputformat, convertmethod) this obliviates the
need of ConvertOptionParseExt
 
2004-05-07 15:57 davidfraser
 
* tools/pocount: added pocount tool
 
2004-05-07 15:18 davidfraser
 
* filters/pofilter: don't skip over fuzzy elements...
 
2004-05-07 15:06 davidfraser
 
* filters/pofilter: added includefuzzy option to runpofilter (left
out when adding option)
 
2004-05-07 14:57 davidfraser
 
* filters/pofilter: added code to include fuzzy elements
 
2004-05-07 14:51 davidfraser
 
* storage/xpi.py: added code to prevent generating an error if a
directory is present that doesn't match commonprefix (currently
happens in moz1.0/langengb.xpi)
 
2004-05-07 14:45 davidfraser
 
* __version__.py: version 0.8 prerelease time
 
2004-05-07 14:42 davidfraser
 
* convert/convert.py, filters/filtercmd.py, misc/progressbar.py:
removed curses progress option throughout (it never worked)
 
2004-05-07 14:36 davidfraser
 
* convert/: dtd2po.py, moz2po, prop2po.py: added support for
blanking msgstr when -P|--pot option is given
 
2004-05-04 17:57 davidfraser
 
* convert/: moz2po, po2moz: took out unneccessary imports
 
2004-05-04 17:53 davidfraser
 
* convert/convert.py: added code to prevent usage of older versions
of optparse that can be installed alongside python 2.2
 
2004-05-04 17:12 davidfraser
 
* storage/xpi.py: added clone method for xpi, and TODO to work out
how to write without appending
 
2004-05-04 16:38 davidfraser
 
* storage/xpi.py: converted to only use StringIO as cStringIO Input
streams are unwriteable added CatchPotentialOutput class which is
an InputStream that can become an OutputStream always add files
to potentialsave, only actually add them if not already there
open jarfiles in the same mode as the xpi (mostly to allow append
to function) open jarfiles as CatchPotentialOutput streams when
planning to use them for input
 
2004-05-04 15:26 davidfraser
 
* storage/xpi.py: make sure commonprefix doesn't swallow up a whole
file changed default extractdir to prevent errors...
 
2004-05-04 15:14 davidfraser
 
* storage/xpi.py: added funky code to prevent funky error (if close
is called from __del__ it can't see the class or anything except
for self) all explained nicely in comments
 
2004-05-04 14:03 davidfraser
 
* storage/xpi.py: create directories if required in extraction
 
2004-05-04 13:46 davidfraser
 
* storage/po.py: allow display of a blank po entry if it has
msgidcomments...
 
2004-05-04 13:43 davidfraser
 
* convert/dtd2po.py: add a comment to explain an original being
blank (this prevents it from being an invalid po file)
 
2004-05-04 13:08 davidfraser
 
* convert/convert.py: fixed missing case for stdin input
 
2004-05-04 12:56 davidfraser
 
* convert/prop2po.py: fixed ... was trying to extend list with a
string so came out wierd...
 
2004-05-04 11:00 davidfraser
 
* storage/xpi.py: added TODOs to redo file mapping
 
2004-05-04 09:50 davidfraser
 
* convert/convert.py: rearranged setpotoption logic, forget about
input/outputformats
 
2004-04-30 18:22 davidfraser
 
* storage/xpi.py: added doc strings for new classes
 
2004-04-30 18:15 davidfraser
 
* storage/xpi.py: added some initial work at outputting xpis (all
about catching close events for inner zip files) some conversion
to newstyle classes
 
2004-04-30 17:18 davidfraser
 
* convert/moz2po: check that fileoption is a string before we check
if it looks like an xpi filename (to avoid doing this to lists)
 
2004-04-30 17:15 davidfraser
 
* convert/convert.py: added code to handle multiple input files as
a list (and find a common directory for them)
 
2004-04-30 16:52 davidfraser
 
* convert/moz2po: removed TODO about importing translations, as can
be done using templates
 
2004-04-30 16:33 davidfraser
 
* convert/convert.py: improved usage string by rearranging order,
adding parameters for optionality (only affects usage string)
required giving inputformats and outputformats to setpotoption as
not set on self yet
 
2004-04-30 16:24 davidfraser
 
* convert/: Makefile, convert.py: added code to handle input and
output parameters without needing -i/-o (decided it was better in
runconversion than recurseconversion, so put it there and changed
args)
 
2004-04-30 16:05 davidfraser
 
* tools/pomerge: use new simpler parser.runconversion() to run the
operation
 
2004-04-30 16:00 davidfraser
 
* convert/: convert.py, csv2po, dtd2po.py, moz2po, oo2po, po2csv,
po2dtd.py, po2moz, po2oo, po2prop.py, poreplace.py, prop2po.py:
updated runconversion to handle the options and argument parsing
and error handling moved recursive checking logic into
recurseconversion added args to recurseconversion options (can
maybe use for input/output params) removed extraneous import from
poreplace.py
 
2004-04-30 15:38 davidfraser
 
* convert/: TODO, oo2po: oo2po: used new convertparameters
attribute to pass the pot option through to convertoo TODO: took
out TODO for recursion
 
2004-04-30 15:27 davidfraser
 
* tools/pomerge: removed recursion option, since it is now detected
automatically
 
2004-04-30 15:27 davidfraser
 
* convert/: Makefile, convert.py, csv2po, dtd2po.py, moz2po, oo2po,
po2csv, po2dtd.py, po2moz, po2oo, po2prop.py, poreplace.py,
prop2po.py: totally removed recursive options since all this is
now done automatically...
 
2004-04-30 15:15 davidfraser
 
* convert/: convert.py, moz2po: simplified handling of recursion on
output and templates (set option.recursivexxx and check in
getfullxxxpath rearrange xpi handling on moz2po so runconversion
doesn't have to be overridden.
 
2004-04-30 14:51 davidfraser
 
* convert/: convert.py, moz2po: tried to improve intelligence of
recursion detection (recurse iff the input is a directory) allow
specifying input and output files, going through same method as
if recursing a directory replaced inputisxpi and templateisxpi in
moz2po with isxpi
 
2004-04-29 17:31 davidfraser
 
* convert/Makefile: changed all dirs to ?= so they can be
overridden
 
2004-04-29 17:24 davidfraser
 
* convert/convert.py, storage/xpi.py: replaced os.path.sep,
os.path.extsep with os.sep, os.extsep for python2.2 compat
 
2004-04-29 17:19 davidfraser
 
* convert/convert.py, filters/filtercmd.py: changed basestring to
(str, unicode) for python2.2 compatibility
 
2004-04-29 17:17 davidfraser
 
* convert/moz2po: added __future__ for python 2.2 compatibility
 
2004-04-29 17:13 davidfraser
 
* filters/filtercmd.py, storage/xpi.py, convert/convert.py: added
from __future__ import generators to files using yield, for
python 2.2 compatibility
 
2004-04-24 12:50 davidfraser
 
* ChangeLog: added changelog for 0.7.1
 
2004-04-24 11:34 davidfraser
 
* ChangeLog: Added ChangeLog for 0.7
 
2004-04-24 10:44 davidfraser
 
* __version__.py: version 0.7.1
 
2004-04-24 10:44 davidfraser
 
* convert/Makefile: removed .py from files that have been renamed
 
2004-04-23 23:04 davidfraser
 
* storage/xpi.py: added crucial missing link in ospathexists...
 
2004-04-23 22:57 davidfraser
 
* storage/po.py: in merge, merge comments rather than adding them
to avoid duplicates tried to improve fuzziness algorithm in merge
 
2004-04-23 22:55 davidfraser
 
* storage/xpi.py: added options to treat xpi.py like an unzip
program...
 
2004-04-23 22:54 davidfraser
 
* tools/pomerge: used po merge method instead of doing it
ourselves...
 
2004-04-23 22:52 davidfraser
 
* ChangeLog: added ChangeLog from 2004-03-31
 
2004-04-23 22:50 davidfraser
 
* __version__.py: version 0.7
 
2004-04-23 22:49 davidfraser
 
* convert/: csv2po, csv2po.py, oo2po, oo2po.py, po2csv, po2csv.py,
po2oo, po2oo.py: renamed oo2po, po2oo, csv2po, po2csv from .py
files to scripts without .py extension
 
2004-04-23 16:57 davidfraser
 
* tools/pomerge: added support for using .pot files as templates
took out obsolete runconversion argument
 
2004-04-23 16:38 davidfraser
 
* convert/Makefile: only clean after all tests (csvtests need stuff
from openofficetests)
 
2004-04-23 16:28 davidfraser
 
* convert/convert.py: added method to pass certain command-line
options through to convertmethod as parameters
 
2004-04-23 15:26 davidfraser
 
* convert/Makefile: made test-csv2po use standard oo templates
rather than af (which were .po not .pot)
 
2004-04-23 15:24 davidfraser
 
* convert/: convert.py, csv2po.py, dtd2po.py, moz2po, oo2po.py,
po2csv.py, po2dtd.py, po2moz, po2oo.py, po2prop.py, poreplace.py,
prop2po.py: removed convertmethod option from runconversion
(since this was a special case for single input and output, and
we can determine it from the filenames or guess) added
removeduplicates call to oo2po
 
2004-04-22 12:50 davidfraser
 
* convert/TODO: added TODO to handle originals in xpis
 
2004-04-20 11:51 davidfraser
 
* convert/moz2po: added switches to only include localization files
from xpi - thus avoiding unneccessary commonprefix
 
2004-04-20 11:48 davidfraser
 
* storage/xpi.py: added method islocfile, argument includenonloc
code to allow only browsing localizable files (and only counting
them for commonprefix) added methods jarfileexists, ospathexists
 
2004-04-20 11:36 davidfraser
 
* convert/moz2po: only check if template is a file if it is filled
in (could be None)
 
2004-04-18 22:46 davidfraser
 
* convert/oo2po.py: added kludge to get --pot into blankmsgstr
(real fix is to pass options like we do in filters)
 
2004-04-18 22:38 davidfraser
 
* convert/po2oo.py: return True to show output is successful
 
2004-04-16 18:25 davidfraser
 
* convert/TODO: have done unpacking xpi added TODO to remove need
for -R switch
 
2004-04-16 16:23 davidfraser
 
* tools/detectencoding: updated to be able to handle multiple words
having the same fuzzyword (in which case they are ignored) use a
dictionary as dictword to handle this also output script in order
of count decreasing, and show count
 
2004-04-16 15:43 davidfraser
 
* tools/detectencoding: factored out updatecharmap, writescript
 
2004-04-16 15:32 davidfraser
 
* tools/detectencoding: added option to generate a script that will
do the changes found by fuzzymatch...
 
2004-04-16 15:31 davidfraser
 
* convert/poreplace.py: added poreplace script as basis for tools
to replace stuff inside po files
 
2004-04-16 15:25 davidfraser
 
* convert/convert.py: added check for self.usetemplates...
 
2004-04-16 15:13 davidfraser
 
* convert/convert.py: replaced calls to get functions with calls to
open functions added TODO
 
2004-04-16 14:58 davidfraser
 
* tools/detectencoding: tell the user if they haven't requested any
action...
 
2004-04-16 14:55 davidfraser
 
* tools/detectencoding: don't store options that we can just use
straight from self.options moved filename init from __init__ to
recursefiles only print filename if verbose added lots of
docstrings changed names of functions (especially handle...) to
make it clearer
 
2004-04-16 14:47 davidfraser
 
* tools/detectencoding: added option for ignorecase (so we don't do
lower unless ignorecase is true)
 
2004-04-16 14:43 davidfraser
 
* tools/detectencoding: added code to fuzzymatch to count
correspondence of chars, print out results
 
2004-04-16 14:29 davidfraser
 
* tools/detectencoding: fixed mistake in countmaps... factored out
findwords from testwordstats fixed decodedwords being undecoded
in fuzzymatch simplified printout of fuzzymatch (only one
encoding)
 
2004-04-16 14:22 davidfraser
 
* tools/detectencoding: split fuzzymatch off from testwordstats,
made it a different test fixed some bugs (decodedwords was
actually translationwords!) made fuzzymatch use only one encoding
added docstring for testcharstats
 
2004-04-16 14:07 davidfraser
 
* tools/detectencoding: factored out makecountmap method add
docstring for fuzzy
 
2004-04-16 14:03 davidfraser
 
* tools/detectencoding: renamed getcountmap to updatecountmap
 
2004-04-16 13:34 davidfraser
 
* tools/detectencoding: improved fuzzy matching (number of chars of
non-std chars doesn't have to match) added unique and verbose
options
 
2004-04-16 13:20 davidfraser
 
* tools/detectencoding: moved listencodings, options into detector
class changed testencodings to testcharstats added testwordstats,
also handles fuzzy word matching added options to select tests
added limitencodings option
 
2004-04-15 18:07 davidfraser
 
* convert/convert.py: tried to replace old
getinput/output/templatefile methods with
openinput/output/templatefile (not tested!)
 
2004-04-15 18:02 davidfraser
 
* convert/: Makefile, moz2po: added initial support for xpi
templates still need to support different filename structure
moved initialization of options.inputxpi
 
2004-04-15 17:40 davidfraser
 
* convert/: Makefile, moz2po: removed -x switch from moz2po -
automatically detect xpi file / dir
 
2004-04-15 17:34 davidfraser
 
* storage/xpi.py: added actual xpi filename into name of
inputstream
 
2004-04-15 17:29 davidfraser
 
* convert/: convert.py, moz2po: added code to convert to handle
temporary output files using StringIO now moz2po.convertfile is
not neccessary...
 
2004-04-15 17:14 davidfraser
 
* convert/: moz2po, convert.py: changed recursefiles to just yield
list of inputpaths instead of output, templates, ext etc moved
generation of output names, template names, etc to
recurseconversion added methods openinputfile, openoutputfile,
opentemplatefile to open the files... changed getconvertmethod
to take inputpath, outputpath instead of extensions improved
logic of gettemplatename (detect if not using templates here, not
outside) made moz2po simpler by overriding openinputfile also
don't need to checksubdir for every subdir in moz2po, just let
convert handle it
 
2004-04-15 16:46 davidfraser
 
* storage/xpi.py: added clever trickery so streams can have names
like normal files (so for example a converted po file will
contain the 'name' of the .dtd file from inside the xpi)
 
2004-04-15 16:22 davidfraser
 
* convert/Makefile: added test for moz2po from xpi
 
2004-04-15 16:20 davidfraser
 
* convert/: convert.py, moz2po: added methods
getfullinput/output/templatepath so they can be overridden in
derived classes (and overrode getinputpath in moz2po for xpi
files) this makes recurseconversion much simpler, so it doesn't
need to be overridden in moz2po improved directory creation
scheme (create a directory if we're going to create a file that
needs it)
 
2004-04-15 10:13 davidfraser
 
* storage/xpi.py: fixed bug with giving reduce an initial value -
limits the result thus commonprefix wasn't working...
 
2004-04-15 09:32 davidfraser
 
* convert/moz2po: made non-xpi recursion return (otherwise it does
the standard thing, then tries the xpi thing too)
 
2004-04-15 09:15 davidfraser
 
* convert/Makefile: added help to Makefile
 
2004-04-10 09:47 davidfraser
 
* convert/moz2po: fixed wrong reference to base class added sys
import for warning output
 
2004-04-10 09:18 davidfraser
 
* storage/xpi.py: gave initial value to reduce to prevent error on
empty list in commonprefix
 
2004-04-08 15:36 davidfraser
 
* convert/moz2po: added initial code to handle reading files
straight out of an xpi
 
2004-04-08 15:32 davidfraser
 
* convert/convert.py: initprogressbar needs to return allfiles as
sometimes it converts it from a generator to a list...
 
2004-04-08 15:04 davidfraser
 
* storage/xpi.py: added openinputstream method for getting a
file-like input stream from a file (inside the xpi or an inner
jar) added includedirs parameter to iterextractnames
 
2004-04-08 14:32 davidfraser
 
* storage/xpi.py: added functions jartoospath and ostojarpath that
handle finding files inside jars
 
2004-04-08 13:56 davidfraser
 
* convert/convert.py: refactored recurseconversion - was too
complex and difficult to override added methods initprogressbar
and convertfile
 
2004-04-08 11:12 davidfraser
 
* storage/xpi.py: modified _commonprefix to handle strings as well
as lists use it to simplify jarprefixes (strip leading
languagename-)
 
2004-04-08 11:04 davidfraser
 
* storage/xpi.py: a lot of refactoring extracted _commonprefix
method added a XpiFile constructor that reads out the important
information cache jarfiles in self.jarfiles so they aren't
extracted repeatedly added stripcommonprefix, findjarprefixes
methods added ziptoospath, ostozippath methods this all
simplifies iterextractnames a lot
 
2004-04-08 10:12 davidfraser
 
* storage/xpi.py: added xpi module
 
2004-04-06 13:53 davidfraser
 
* tools/detectencoding: added tool to detect encoding of files
(currently po files)
 
2004-04-03 18:11 davidfraser
 
* storage/po.py: fixed wrong variable names
 
2004-03-31 09:13 davidfraser
 
* filters/: checks.py, decoration.py: added checks for numbers
 
2004-03-31 09:00 davidfraser
 
* filters/checks.py: separated quoting into singlequoting and
doublequoting removed unneccessary calls to
filterwordswithpunctuation prefilter
 
2004-03-31 08:56 davidfraser
 
* filters/prefilters.py: added code to detect any apostrophe in the
middle of a word as not being punctuation
 
2004-03-31 08:42 davidfraser
 
* convert/po2csv.py: added ' to list of values to be escaped at
start of string (spreadsheet cell)...
 
2004-03-31 08:29 davidfraser
 
* ChangeLog: added proper changelog for 0.6 (try keep this up to
date :-))
 
2004-03-30 18:20 davidfraser
 
* filters/prefilters.py: added TODO to fix up punctuation check
 
2004-03-30 18:19 davidfraser
 
* ChangeLog: witty change log
 
2004-03-30 18:15 davidfraser
 
* __version__.py: version 0.6
 
2004-03-30 18:11 davidfraser
 
* filters/prefilters.py: added more common words with
punctuation...
 
2004-03-30 18:10 davidfraser
 
* filters/pofilter: updated pofilter to handle plurals in po
 
2004-03-30 18:07 davidfraser
 
* filters/filtercmd.py: show progress whether successful or not
(not usually just means a blank file, we are still
progressing...)
 
2004-03-30 18:04 davidfraser
 
* tools/pomerge: added po merge tool
 
2004-03-30 16:22 davidfraser
 
* storage/po.py: renamed hasplurals to hasplural improved creation
of index (always create entry in msgidindex, makes sourceindex
simpler)
 
2004-03-30 15:45 davidfraser
 
* convert/csv2po.py: added code to handle duplicate source strings
so they don't fool us...
 
2004-03-30 14:55 davidfraser
 
* filters/pogrep: added grep tool for po files
 
2004-03-30 14:55 davidfraser
 
* convert/csv2po.py: added handling for plural forms
 
2004-03-30 14:45 davidfraser
 
* convert/po2csv.py: added handling for msgid_plural refactored so
convertstring is used generally
 
2004-03-30 14:28 davidfraser
 
* storage/po.py: refactored stuff so we don't calculate lengths all
over the place. This also handles plurals in msgstr
 
2004-03-30 14:10 davidfraser
 
* storage/po.py: added ability to handle msgid_plural and msgstr[n]
refactored each part's construction into getmsgpartstr
 
2004-03-30 12:22 davidfraser
 
* filters/checks.py: gave filters shorter names to make them easier
on the command line
 
2004-03-30 12:00 davidfraser
 
* convert/convert.py: added code to handle outputing to the input
or template file without overwriting them (use temp file)
 
2004-03-30 11:30 davidfraser
 
* filters/: checks.py, decoration.py: rearranged checkss -added
whitespace (and associated decoration functions) and separated
startandend
 
2004-03-30 11:28 davidfraser
 
* filters/pofilter: refactored the getfilterdocs approach
 
2004-03-30 11:21 davidfraser
 
* filters/pofilter: updated to show filter documentation as well
when listing filters
 
2004-03-30 10:46 davidfraser
 
* storage/csvl10n.py: don't need to join lines with a linebreak
since they already have one...
 
2004-03-30 10:39 davidfraser
 
* convert/csv2po.py: removed doencode (what was it there for?)
 
2004-03-30 10:29 davidfraser
 
* convert/csv2po.py: moved header testing out of template-merging
code to make it apply to all conversions
 
2004-03-30 10:17 davidfraser
 
* filters/: checks.py, pofilter: added gnome checking option
 
2004-03-30 10:16 davidfraser
 
* convert/convert.py: made templates pot files if output is po
(needs cleanup)
 
2004-03-30 10:14 davidfraser
 
* convert/csv2po.py: merged csv2po and repo into one class so we
can sort out related issues together...
 
2004-03-29 21:59 davidfraser
 
* filters/pofilter: addoption to list all filters instead of
actually running them
 
2004-03-29 16:28 davidfraser
 
* storage/po.py: added option to check if msgstr is blank
 
2004-03-23 14:03 davidfraser
 
* convert/convert.py: added ability to use templates in
non-recursive case...
 
2004-03-13 20:57 dwaynebailey
 
* filters/TODO: Updated TODO items
 
2004-03-12 18:20 davidfraser
 
* filters/TODO: added TODO file...
 
2004-03-12 18:20 davidfraser
 
* __version__.py: version 0.5
 
2004-03-12 18:15 davidfraser
 
* filters/pofilter: .msg.d10442
 
2004-03-12 17:49 davidfraser
 
* filters/filtercmd.py: added ability to pass options through to
filter command by specifying option keywords...
 
2004-03-12 17:49 davidfraser
 
* filters/pofilter: added ability to specify filterobject used new
ability to pass options into filter command to allow
openoffice/mozilla checker, handle includereview etc
 
2004-03-12 17:32 davidfraser
 
* convert/convert.py: added TODO about refactoring to share common
code with filters.filtercmd limited progress options to available
choices
 
2004-03-12 17:32 davidfraser
 
* filters/pofilter: modified to use new run_filters method of
checks added TODO about handling options fixed filter. to
filtercmd. renamed input to inputarg to avoid pychecker warning
 
2004-03-12 17:30 davidfraser
 
* filters/filtercmd.py: made progress options limited to the
availablae choices
 
2004-03-12 17:27 davidfraser
 
* filters/checks.py: .msg.bm9152
 
2004-03-12 17:11 davidfraser
 
* filters/pofilter: renamed filter to filtercmd removed unused
options...
 
2004-03-12 17:09 davidfraser
 
* filters/: filter.py, filtercmd.py: renamed filter to filtercmd
since filter is a builtin function
 
2004-03-12 17:01 davidfraser
 
* filters/pofilter: added pofilter tool which curently uses checks
to filter po files
 
2004-03-12 16:58 davidfraser
 
* filters/filter.py: added filter as base class for filter tools
 
2004-03-12 16:55 davidfraser
 
* convert/: moz2po, po2moz: removed unneccessary imports...
 
2004-03-12 16:51 davidfraser
 
* storage/po.py: forgot to remove po. when moving makeheader into
po
 
2004-03-12 16:44 davidfraser
 
* convert/csv2po.py: added a TODO to merge the two classes defined
here also added a redundant return to avoid a pychecker error...
 
2004-03-12 16:36 davidfraser
 
* convert/dtd2po.py: moved po header creation into storage.po (all
the other cvs comments say convert/dtdpo.py because I messed up
the command line)
 
2004-03-12 16:35 davidfraser
 
* convert/oo2po.py, convert/prop2po.py, storage/po.py:
convert/dtd2po.py
 
2004-03-12 16:34 davidfraser
 
* convert/po2csv.py: removed unused modules
 
2004-03-12 16:24 davidfraser
 
* convert/csv2po.py: moved the counts about matching strings so
they don't get called added in a TODO to display them in verbose
mode
 
2004-03-12 16:17 davidfraser
 
* filters/.cvsignore: added .cvsignore for filters
 
2004-03-12 16:14 davidfraser
 
* misc/sparse.py: .msg.cR7134
 
2004-03-12 16:12 davidfraser
 
* misc/quote.py: changed from cp1250 to iso-8859-1 and added FIXME
to avoid things like doencode...
 
2004-03-12 16:08 davidfraser
 
* convert/po2csv.py: handle blank po elements (don't produce a
blank csv line)
 
2004-03-12 16:00 davidfraser
 
* convert/Makefile: fixed csv2po to use appropriate templates...
 
2004-03-12 15:57 davidfraser
 
* convert/: convert.py, csv2po.py, oo2po.py, po2csv.py, po2oo.py:
updated to make convertmethods work... only show filename if
successful... improved handling of header in csv2po
 
2004-03-12 15:45 davidfraser
 
* convert/csv2po.py: fixed to use standard Convert class, make
templates like input imported sparse option converted extract. to
quote. (from old code)
 
2004-03-12 15:38 davidfraser
 
* convert/csv2po.py: changed csv2po from defaultrecursion to
optionalrecursion
 
2004-03-12 15:36 davidfraser
 
* convert/Makefile: allow the progress option to be set by an
environment variable
 
2004-03-12 15:34 davidfraser
 
* convert/oo2po.py: indicate if outputpo is empty (so it can be
removed by convertor)
 
2004-03-12 15:31 davidfraser
 
* convert/csv2po.py: added in the repo class (previously csv2po2)
that allows conversion using a .po template converted to use
convert.ConvertOptionParser methods...
 
2004-03-12 15:15 davidfraser
 
* convert/po2csv.py: converted totally to
convert.ConvertOptionParser system
 
2004-03-12 15:12 davidfraser
 
* convert/Makefile: added better system of categorization now you
can test-mozilla, test-openoffice, test-csv, or clean- each of
them also added csv tests...
 
2004-03-12 15:10 davidfraser
 
* convert/convert.py: updated formathelp to handle format
dictionaries...
 
2004-03-12 15:01 davidfraser
 
* convert/: oo2po.py, po2dtd.py, po2prop.py: removed unneccessary
imports...
 
2004-03-12 14:30 davidfraser
 
* convert/: oo2po.py, po2oo.py: converted to use new
ConvertOptionParser runconversion system
 
2004-03-12 14:25 davidfraser
 
* convert/: dtd2po.py, moz2po, prop2po.py: moved convertdtd to
dtd2po and convertprop to prop2po (updated existing methods)
converted main methods in dtd2po and prop2po to use convert
 
2004-03-12 14:17 davidfraser
 
* convert/: moz2po, dtd2po.py, po2dtd.py, po2moz, po2prop.py,
prop2po.py: updated Mozilla command lines to use new
ConvertOptionParserExt (this gives the .dtd.po instead of simple
.po handling capabilities) changed old --pot options to new
usepots took out silly comments
 
2004-03-12 14:12 davidfraser
 
* convert/convert.py: split off the code that combines extensions
(e.g. .dtd.pot) into a subclass, do a simpler thing in
ConvertOptionParser improved template format intelligence (allow
user to override whether template is like input or output)
 
2004-03-12 13:20 davidfraser
 
* convert/convert.py: improved the logic for detecting
input/outpformats to be based on dict/list rather than
single/multiple (this is to help po2dtd.py and po2prop.py) also
added a TODO to improve it further...
 
2004-03-12 13:10 davidfraser
 
* convert/: po2dtd.py, po2moz, po2prop.py: moved convertdtd to
po2dtd and convertprop to po2prop (updated existing methods)
converted main methods in po2dtd and po2prop to use convert
 
2004-03-12 12:32 davidfraser
 
* convert/Makefile: added makefile that runs tests...
 
2004-03-12 12:30 davidfraser
 
* convert/convert.py: added a none option for progresstype
 
2004-03-12 12:28 davidfraser
 
* convert/po2oo.py: fixed reference to optparse (the rest of this
needs to be updated though...)
 
2004-03-12 11:34 davidfraser
 
* misc/progressbar.py: added an invisible progress bar...
 
2004-03-12 11:10 davidfraser
 
* filters/prefilters.py: removed unused variable (what was it for?)
 
2004-03-12 08:16 davidfraser
 
* convert/convert.py: strip off the . before the inputext (like we
do with the outputext)
 
2004-03-11 07:22 davidfraser
 
* misc/: quote.py, setup.py: renaming variables for pychecker
updated _cvs version in setup
 
2004-03-11 06:32 davidfraser
 
* storage/: po.py, properties.py: renamed/removed variables to
remove pychecker warnings...
 
2004-03-11 06:29 davidfraser
 
* convert/convert.py: fixed errors picked up py pychecker (and
Caio!)
 
2004-03-10 18:56 davidfraser
 
* filters/: checks.py, prefilters.py: refactored so all the helper
functions are in TranslationChecker (and automatically
ignored...) also made accelerators and varmatch parameters so
they don't have to be defined in prefilters... moved the
definitions for OpenOffice and Mozilla into classes in checks
removed unneeded stuff from prefilter
 
2004-03-10 18:38 davidfraser
 
* filters/helpers.py: added default argument to reduce calls so if
list is empty, no error is produced...
 
2004-03-10 18:03 davidfraser
 
* filters/: checks.py, prefilters.py: moved all the checks in
checks into a class adjusted the wrapping of prefilters to work
in a more readable fashion... fixed unneccessary parameter in
prefilters
 
2004-03-10 16:36 davidfraser
 
* filters/: __init__.py, checks.py, decoration.py, helpers.py,
prefilters.py: added initial versions of filtering code...
 
2004-03-08 18:50 davidfraser
 
* convert/convert.py: adapted to support using .pot files instead
of .po files adapted to handle multiple input formats, one output
format fixed prunesubdirs...
 
2004-03-02 17:16 davidfraser
 
* convert/po2csv.py: temporarily added import optparse to handle
errors added header columns to csv
 
2004-03-02 16:57 davidfraser
 
* convert/po2moz: converted to use convert module for recursion,
option handling made convert functions return 1 so that they are
registered as successful... took out unneccessary code,
rearranged rest...
 
2004-03-02 13:52 davidfraser
 
* convert/convert.py: added support for verbose progress output...
 
2004-03-02 13:52 davidfraser
 
* misc/progressbar.py: added Simple, Verbose progress bars...
added verbosemessage option
 
2004-03-02 13:43 davidfraser
 
* convert/convert.py: refactored recursion. added support for
progress indicators added support for multiple output formats
instead of input formats
 
2004-03-02 12:44 davidfraser
 
* misc/progressbar.py: added progress bar classes...
 
2004-03-02 11:49 davidfraser
 
* convert/convert.py: reverted patch to only use single
outputformat (po2moz needs multiple)... still need to make it
work out extension in that case... changed name from
options.recursion to options.recursive
 
2004-03-01 18:47 dwaynebailey
 
* .cvsignore, convert/.cvsignore, misc/.cvsignore,
storage/.cvsignore: Add .cvsignore files everywhere
 
2004-02-27 17:33 davidfraser
 
* storage/po.py: escape escapes in getunquotedstr
 
2004-02-27 17:09 davidfraser
 
* convert/: convert.py, moz2po: moved recursion and handling of
options into convert module (fixed mistaken earlier using of
self. for options.) changed from supporting multiple
outputformats to only supporting one...
 
2004-02-27 16:51 davidfraser
 
* convert/convert.py: refactored convert to be more intelligent and
modular... started adding functions to actually run the
conversion...
 
2004-02-27 16:07 davidfraser
 
* convert/: convert.py, dtd2po.py, moz2po, oo2po.py, po2csv.py,
po2moz, po2oo.py, po2prop.py, prop2po.py: converted all tools to
use new convert.ConvertOptionsParser also changed from new type
to standard class, added default parameter to constructor
 
2004-02-27 15:23 davidfraser
 
* convert/: convert.py, moz2po: added a new convert module to
incorporate common elements of convert tools - option
construction and parsing (done) - will also have recursion logic,
etc...
 
2004-02-27 14:26 davidfraser
 
* convert/csv2po.py, storage/csvl10n.py: made storage.csvl10n
handle construction from inputfile startedc converting csv2po to
standard options
 
2004-02-27 14:21 davidfraser
 
* convert/: csv2po.py, oo2po.py, po2csv.py: added csv2po from old
version
 
2004-02-27 13:06 davidfraser
 
* convert/po2csv.py: converted to new command-line options system
 
2004-02-27 13:01 davidfraser
 
* convert/po2csv.py: added po2csv from old version...
 
2004-02-24 19:12 davidfraser
 
* misc/setup.py: made the csv setup script usable by other setup
scripts
 
2004-02-24 17:34 davidfraser
 
* convert/: dtd2po.py, moz2po, oo2po.py, po2dtd.py, po2moz,
po2oo.py, po2prop.py, prop2po.py: added --version options
 
2004-02-24 17:26 davidfraser
 
* __version__.py: added version file
 
2004-02-24 14:16 davidfraser
 
* convert/oo2po.py: changed variable names that shadow builtin
variables
 
2004-02-24 14:15 davidfraser
 
* convert/oo2po.py: made inputformat and outputformat local
variables/parameters rather than globals
 
2004-02-24 14:11 davidfraser
 
* storage/dtd.py: added comments...
 
2004-02-24 14:10 davidfraser
 
* convert/: TODO, moz2po, prop2po.py: added full template support
for properties files in moz2po fixed wrong variable name in
prop2po improved comments...
 
2004-02-24 14:07 davidfraser
 
* storage/properties.py: added a propfile.makeindex method cleaned
up comments
 
2004-02-24 14:05 davidfraser
 
* convert/prop2po.py: added mergefiles method, use it to convert
template + inputfile...
 
2004-02-24 13:42 davidfraser
 
* convert/dtd2po.py: added both original and translated dtd
filename into header when merging files... improved comments to
reflect template usage
 
2004-02-24 13:31 davidfraser
 
* convert/: moz2po, prop2po.py: started adding support for
templates to prop2po started rearranging moz2po based on new
system (storage.properties etc)
 
2004-02-24 13:30 davidfraser
 
* storage/po.py: improved logic of pofile.isblank() so that if it
has extra blank elements it still is blank
 
2004-02-24 13:15 davidfraser
 
* convert/TODO: done the translate.storage.properties class
 
2004-02-24 13:13 davidfraser
 
* storage/po.py: rearranged handling of blank msgid... to not
include sourcecomments etc also altered merging to not merge
blank msgids
 
2004-02-24 13:03 davidfraser
 
* convert/prop2po.py: improved handling of comments (generic now
instead of just header comments)... prevents blank propelements
from being discarded...
 
2004-02-24 12:16 davidfraser
 
* storage/properties.py: added code to handle blank properties
elements (i.e. just comments followed by a blank line)
 
2004-02-24 12:13 davidfraser
 
* convert/prop2po.py: did better handling of headers (merge
comments in at the start) stripped msgids...
 
2004-02-24 11:18 davidfraser
 
* convert/dtd2po.py, storage/dtd.py: added code to pick up the
input file name and put it in the header...
 
2004-02-24 11:16 davidfraser
 
* convert/prop2po.py: converted to use poelements when generating
the po file that way we don't have to regenerate it...
 
2004-02-24 10:59 davidfraser
 
* convert/TODO: added need to convert existing properties files to
translated .po
 
2004-02-24 10:51 davidfraser
 
* convert/prop2po.py: converted to use new storage.properties
module added TODOs for rest of conversion...
 
2004-02-24 10:41 davidfraser
 
* storage/properties.py: added storage.properties module for
handling properties files...
 
2004-02-24 10:40 davidfraser
 
* storage/po.py: improved comments, took out unneccessary TODOs
 
2004-02-20 17:30 davidfraser
 
* convert/dtd2po.py: added template capabilities to command line...
 
2004-02-20 17:23 davidfraser
 
* convert/moz2po: added the ability to use template directories
(produce a .po that represents a translation)
 
2004-02-20 17:21 davidfraser
 
* convert/dtd2po.py: added code to merge two dtd files (original
and translated) removed leftover code
 
2004-02-20 17:08 davidfraser
 
* convert/dtd2po.py: refactored convertfile into findmixedentities,
convertdtdelement, convertfile made findmixedentities construct a
dictionary rather than a list, indicate success with the values
this is a much cleaner approach ... the refactoring should help
with merging dtd files of translations into the originals to
produce .po files
 
2004-02-20 16:32 davidfraser
 
* convert/dtd2po.py: refactored creating the po header...
 
2004-02-20 16:17 dwaynebailey
 
* convert/moz2po: made properties files conversions always succeed
(previously they weren't returning anything)
 
2004-02-20 14:47 davidfraser
 
* storage/po.py: added code to handle empty lines added
pofile.isempty to check if a file contains no definitions (at
most a header)...
 
2004-02-20 14:44 davidfraser
 
* convert/: TODO, moz2po: removed empty directories and .pot files
added -P|--pot to usage
 
2004-02-20 14:41 davidfraser
 
* convert/TODO: added TODO to not create empty directories...
 
2004-02-20 12:19 davidfraser
 
* convert/: TODO, prop2po.py: handled duplicates in prop2po with a
kludge because it is already a kludge added TODOs to indicate
that...
 
2004-02-20 11:59 davidfraser
 
* convert/dtd2po.py: added code to remove duplicates...
 
2004-02-20 11:53 davidfraser
 
* convert/moz2po: made a switch, --pot or -P which produces .pot
extensions
 
2004-02-20 11:42 davidfraser
 
* convert/oo2po.py: made it produce .pot files if -P is given
 
2004-02-20 11:32 davidfraser
 
* __init__.py, convert/__init__.py, convert/dtd2po.py,
convert/moz2po, convert/oo2po.py, convert/po2dtd.py,
convert/po2moz, convert/po2oo.py, convert/po2prop.py,
convert/prop2po.py, misc/__init__.py, misc/quote.py,
misc/setup.py, storage/__init__.py, storage/csvl10n.py,
storage/dtd.py, storage/oo.py, storage/po.py: changed all
#!/usr/bin/python2.2 headers to #!/usr/bin/env python
 
2004-02-17 15:50 davidfraser
 
* convert/TODO: sorted out extension handling...
 
2004-02-17 15:36 davidfraser
 
* convert/po2oo.py: adjusted po2oo.py to cater for plain .po files,
not .oo.po files
 
2004-02-17 15:21 davidfraser
 
* storage/dtd.py: rearranged code to prevent entities inside
comments from being seen... (delete the comment part once we've
parsed it...)
 
2004-02-17 12:35 davidfraser
 
* convert/oo2po.py, convert/po2oo.py, storage/oo.py: added methods
to normalize unexpected characters in OO keys
 
2004-02-13 13:23 davidfraser
 
* storage/po.py: added note on todict function...
 
2004-02-10 15:23 davidfraser
 
* convert/: oo2po.py, po2oo.py: improved method of converting
OpenOffice key tuples into po location strings this prevents
errors with gettext tools like msguniq also added some TODOs
about future improvements that are required...
 
2004-02-06 12:33 davidfraser
 
* misc/quote.py: added ability to escape escapes when escaping
quotes (otherwise you can't unescape them back...)
 
2004-02-06 12:32 davidfraser
 
* convert/: dtd2po.py, prop2po.py: po headers should be fuzzy, for
templates the charset should not be set also escapes need to be
escaped when converting .properties files to .po files
 
2004-01-28 13:07 davidfraser
 
* convert/TODO: need to handle duplicates in moz2pot and oo2pot
(merge #: id/source)
 
2004-01-26 12:27 davidfraser
 
* convert/po2oo.py: added code to renumber the language code
 
2004-01-26 09:20 davidfraser
 
* convert/: oo2po.py, po2oo.py: added openoffice <-> gettext
converters
 
2004-01-26 09:13 davidfraser
 
* convert/TODO: added TODO about extensions done openoffice
conversion (about to add...)
 
2004-01-26 09:12 davidfraser
 
* convert/dtd2po.py: corrected doc string
 
2004-01-20 17:50 davidfraser
 
* convert/: TODO, moz2po: added TODO file
 
2004-01-20 17:18 davidfraser
 
* convert/po2prop.py: fixed escaping (needs to know escape
character even though it isn't included in the new string)
changed to show proper optparse error if no template file
given...
 
2004-01-20 14:39 davidfraser
 
* convert/dtd2po.py: took out obsolete docstring
 
2004-01-20 14:37 davidfraser
 
* convert/moz2po: added moz2po script to convert mozilla trees to
po files
 
2004-01-20 14:37 davidfraser
 
* convert/po2moz: fixed silly doc string
 
2004-01-20 14:25 davidfraser
 
* storage/: dtd.py, oo.py, po.py: fixed warnings from pychecker -
builtin variable names, unused variables, etc
 
2004-01-20 14:20 davidfraser
 
* convert/po2moz: added po2moz script to convert a whole tree from
.po to mozilla-style (including .dtd and .properties files
 
2004-01-20 14:10 davidfraser
 
* convert/: dtd2po.py, po2dtd.py, po2prop.py, prop2po.py: fixed
error - templatefile instead of self.templatefile fixed help
strings for outputfile fixed warnings from pychecker - builtins
used as variables
 
2004-01-20 12:28 davidfraser
 
* convert/po2dtd.py: added recursive option to process directory
trees...
 
2004-01-16 11:56 davidfraser
 
* storage/po.py: remember the filename that this pofile object
comes from...
 
2003-12-23 15:19 davidfraser
 
* COPYING, ChangeLog, README, __init__.py, convert/README,
convert/__init__.py, convert/dtd2po.py, convert/po2dtd.py,
convert/po2prop.py, convert/prop2po.py, misc/csv.py,
storage/__init__.py, storage/csvl10n.py, storage/dtd.py,
storage/oo.py, storage/po.py, misc/README, misc/__init__.py,
misc/_csv.c, misc/optparse.py, misc/quote.py, misc/setup.py,
misc/textwrap.py: Initial revision
 
2003-12-23 15:19 davidfraser
 
* COPYING, ChangeLog, README, __init__.py, convert/README,
convert/__init__.py, convert/dtd2po.py, convert/po2dtd.py,
convert/po2prop.py, convert/prop2po.py, misc/csv.py,
storage/__init__.py, storage/csvl10n.py, storage/dtd.py,
storage/oo.py, storage/po.py, misc/README, misc/__init__.py,
misc/_csv.c, misc/optparse.py, misc/quote.py, misc/setup.py,
misc/textwrap.py: imported a restructured, cleaner, nicer version
of the l10ntools.mozdev.org scripts