diff options
-rw-r--r-- | .cvsignore | 1 | ||||
-rw-r--r-- | ABOUT-NLS | 716 | ||||
-rw-r--r-- | m4/Makefile.am | 50 | ||||
-rw-r--r-- | m4/Makefile.am.in | 3 | ||||
-rw-r--r-- | po/.cvsignore | 1 | ||||
-rw-r--r-- | po/Makefile.in.in | 384 | ||||
-rwxr-xr-x | tools/setup | 4 |
7 files changed, 1106 insertions, 53 deletions
@@ -8,7 +8,6 @@ command.cfg | |||
8 | Cache.pm | 8 | Cache.pm |
9 | build-* | 9 | build-* |
10 | intl | 10 | intl |
11 | ABOUT-NLS | ||
12 | aclocal.m4 | 11 | aclocal.m4 |
13 | autom4te*.cache | 12 | autom4te*.cache |
14 | install-sh | 13 | install-sh |
diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..8ffb467 --- /dev/null +++ b/ABOUT-NLS | |||
@@ -0,0 +1,716 @@ | |||
1 | Notes on the Free Translation Project | ||
2 | ************************************* | ||
3 | |||
4 | Free software is going international! The Free Translation Project is | ||
5 | a way to get maintainers of free software, translators, and users all | ||
6 | together, so that will gradually become able to speak many languages. | ||
7 | A few packages already provide translations for their messages. | ||
8 | |||
9 | If you found this `ABOUT-NLS' file inside a distribution, you may | ||
10 | assume that the distributed package does use GNU `gettext' internally, | ||
11 | itself available at your nearest GNU archive site. But you do _not_ | ||
12 | need to install GNU `gettext' prior to configuring, installing or using | ||
13 | this package with messages translated. | ||
14 | |||
15 | Installers will find here some useful hints. These notes also | ||
16 | explain how users should proceed for getting the programs to use the | ||
17 | available translations. They tell how people wanting to contribute and | ||
18 | work at translations should contact the appropriate team. | ||
19 | |||
20 | When reporting bugs in the `intl/' directory or bugs which may be | ||
21 | related to internationalization, you should tell about the version of | ||
22 | `gettext' which is used. The information can be found in the | ||
23 | `intl/VERSION' file, in internationalized packages. | ||
24 | |||
25 | Quick configuration advice | ||
26 | ========================== | ||
27 | |||
28 | If you want to exploit the full power of internationalization, you | ||
29 | should configure it using | ||
30 | |||
31 | ./configure --with-included-gettext | ||
32 | |||
33 | to force usage of internationalizing routines provided within this | ||
34 | package, despite the existence of internationalizing capabilities in the | ||
35 | operating system where this package is being installed. So far, only | ||
36 | the `gettext' implementation in the GNU C library version 2 provides as | ||
37 | many features (such as locale alias, message inheritance, automatic | ||
38 | charset conversion or plural form handling) as the implementation here. | ||
39 | It is also not possible to offer this additional functionality on top | ||
40 | of a `catgets' implementation. Future versions of GNU `gettext' will | ||
41 | very likely convey even more functionality. So it might be a good idea | ||
42 | to change to GNU `gettext' as soon as possible. | ||
43 | |||
44 | So you need _not_ provide this option if you are using GNU libc 2 or | ||
45 | you have installed a recent copy of the GNU gettext package with the | ||
46 | included `libintl'. | ||
47 | |||
48 | INSTALL Matters | ||
49 | =============== | ||
50 | |||
51 | Some packages are "localizable" when properly installed; the programs | ||
52 | they contain can be made to speak your own native language. Most such | ||
53 | packages use GNU `gettext'. Other packages have their own ways to | ||
54 | internationalization, predating GNU `gettext'. | ||
55 | |||
56 | By default, this package will be installed to allow translation of | ||
57 | messages. It will automatically detect whether the system already | ||
58 | provides the GNU `gettext' functions. If not, the GNU `gettext' own | ||
59 | library will be used. This library is wholly contained within this | ||
60 | package, usually in the `intl/' subdirectory, so prior installation of | ||
61 | the GNU `gettext' package is _not_ required. Installers may use | ||
62 | special options at configuration time for changing the default | ||
63 | behaviour. The commands: | ||
64 | |||
65 | ./configure --with-included-gettext | ||
66 | ./configure --disable-nls | ||
67 | |||
68 | will respectively bypass any pre-existing `gettext' to use the | ||
69 | internationalizing routines provided within this package, or else, | ||
70 | _totally_ disable translation of messages. | ||
71 | |||
72 | When you already have GNU `gettext' installed on your system and run | ||
73 | configure without an option for your new package, `configure' will | ||
74 | probably detect the previously built and installed `libintl.a' file and | ||
75 | will decide to use this. This might be not what is desirable. You | ||
76 | should use the more recent version of the GNU `gettext' library. I.e. | ||
77 | if the file `intl/VERSION' shows that the library which comes with this | ||
78 | package is more recent, you should use | ||
79 | |||
80 | ./configure --with-included-gettext | ||
81 | |||
82 | to prevent auto-detection. | ||
83 | |||
84 | The configuration process will not test for the `catgets' function | ||
85 | and therefore it will not be used. The reason is that even an | ||
86 | emulation of `gettext' on top of `catgets' could not provide all the | ||
87 | extensions of the GNU `gettext' library. | ||
88 | |||
89 | Internationalized packages have usually many `po/LL.po' files, where | ||
90 | LL gives an ISO 639 two-letter code identifying the language. Unless | ||
91 | translations have been forbidden at `configure' time by using the | ||
92 | `--disable-nls' switch, all available translations are installed | ||
93 | together with the package. However, the environment variable `LINGUAS' | ||
94 | may be set, prior to configuration, to limit the installed set. | ||
95 | `LINGUAS' should then contain a space separated list of two-letter | ||
96 | codes, stating which languages are allowed. | ||
97 | |||
98 | Using This Package | ||
99 | ================== | ||
100 | |||
101 | As a user, if your language has been installed for this package, you | ||
102 | only have to set the `LANG' environment variable to the appropriate | ||
103 | `LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, | ||
104 | and `CC' is an ISO 3166 two-letter country code. For example, let's | ||
105 | suppose that you speak German and live in Germany. At the shell | ||
106 | prompt, merely execute `setenv LANG de_DE' (in `csh'), | ||
107 | `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). | ||
108 | This can be done from your `.login' or `.profile' file, once and for | ||
109 | all. | ||
110 | |||
111 | You might think that the country code specification is redundant. | ||
112 | But in fact, some languages have dialects in different countries. For | ||
113 | example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The | ||
114 | country code serves to distinguish the dialects. | ||
115 | |||
116 | The locale naming convention of `LL_CC', with `LL' denoting the | ||
117 | language and `CC' denoting the country, is the one use on systems based | ||
118 | on GNU libc. On other systems, some variations of this scheme are | ||
119 | used, such as `LL' or `LL_CC.ENCODING'. You can get the list of | ||
120 | locales supported by your system for your country by running the command | ||
121 | `locale -a | grep '^LL''. | ||
122 | |||
123 | Not all programs have translations for all languages. By default, an | ||
124 | English message is shown in place of a nonexistent translation. If you | ||
125 | understand other languages, you can set up a priority list of languages. | ||
126 | This is done through a different environment variable, called | ||
127 | `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' | ||
128 | for the purpose of message handling, but you still need to have `LANG' | ||
129 | set to the primary language; this is required by other parts of the | ||
130 | system libraries. For example, some Swedish users who would rather | ||
131 | read translations in German than English for when Swedish is not | ||
132 | available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. | ||
133 | |||
134 | In the `LANGUAGE' environment variable, but not in the `LANG' | ||
135 | environment variable, `LL_CC' combinations can be abbreviated as `LL' | ||
136 | to denote the language's main dialect. For example, `de' is equivalent | ||
137 | to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' | ||
138 | (Portuguese as spoken in Portugal) in this context. | ||
139 | |||
140 | Translating Teams | ||
141 | ================= | ||
142 | |||
143 | For the Free Translation Project to be a success, we need interested | ||
144 | people who like their own language and write it well, and who are also | ||
145 | able to synergize with other translators speaking the same language. | ||
146 | Each translation team has its own mailing list. The up-to-date list of | ||
147 | teams can be found at the Free Translation Project's homepage, | ||
148 | `http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" | ||
149 | area. | ||
150 | |||
151 | If you'd like to volunteer to _work_ at translating messages, you | ||
152 | should become a member of the translating team for your own language. | ||
153 | The subscribing address is _not_ the same as the list itself, it has | ||
154 | `-request' appended. For example, speakers of Swedish can send a | ||
155 | message to `sv-request@li.org', having this message body: | ||
156 | |||
157 | subscribe | ||
158 | |||
159 | Keep in mind that team members are expected to participate | ||
160 | _actively_ in translations, or at solving translational difficulties, | ||
161 | rather than merely lurking around. If your team does not exist yet and | ||
162 | you want to start one, or if you are unsure about what to do or how to | ||
163 | get started, please write to `translation@iro.umontreal.ca' to reach the | ||
164 | coordinator for all translator teams. | ||
165 | |||
166 | The English team is special. It works at improving and uniformizing | ||
167 | the terminology in use. Proven linguistic skill are praised more than | ||
168 | programming skill, here. | ||
169 | |||
170 | Available Packages | ||
171 | ================== | ||
172 | |||
173 | Languages are not equally supported in all packages. The following | ||
174 | matrix shows the current state of internationalization, as of December | ||
175 | 2003. The matrix shows, in regard of each package, for which languages | ||
176 | PO files have been submitted to translation coordination, with a | ||
177 | translation percentage of at least 50%. | ||
178 | |||
179 | Ready PO files am az be bg ca cs da de el en en_GB eo es | ||
180 | +-------------------------------------------+ | ||
181 | a2ps | [] [] [] [] | | ||
182 | aegis | () | | ||
183 | ant-phone | () | | ||
184 | anubis | | | ||
185 | ap-utils | | | ||
186 | bash | [] [] [] [] | | ||
187 | batchelor | | | ||
188 | bfd | [] [] | | ||
189 | binutils | [] [] | | ||
190 | bison | [] [] [] | | ||
191 | bluez-pin | [] [] | | ||
192 | clisp | | | ||
193 | clisp | [] [] [] | | ||
194 | coreutils | [] [] [] [] | | ||
195 | cpio | [] [] [] | | ||
196 | darkstat | [] () [] | | ||
197 | diffutils | [] [] [] [] [] [] [] | | ||
198 | e2fsprogs | [] [] | | ||
199 | enscript | [] [] [] [] | | ||
200 | error | [] [] [] [] [] | | ||
201 | fetchmail | [] () [] [] [] [] | | ||
202 | fileutils | [] [] [] | | ||
203 | findutils | [] [] [] [] [] [] [] | | ||
204 | flex | [] [] [] [] | | ||
205 | fslint | | | ||
206 | gas | [] | | ||
207 | gawk | [] [] [] [] | | ||
208 | gbiff | [] | | ||
209 | gcal | [] | | ||
210 | gcc | [] [] | | ||
211 | gettext | [] [] [] [] [] | | ||
212 | gettext-examples | [] [] [] | | ||
213 | gettext-runtime | [] [] [] [] [] | | ||
214 | gettext-tools | [] [] [] | | ||
215 | gimp-print | [] [] [] [] [] | | ||
216 | gliv | | | ||
217 | glunarclock | [] [] | | ||
218 | gnubiff | [] | | ||
219 | gnucash | [] () [] [] | | ||
220 | gnucash-glossary | [] () [] | | ||
221 | gnupg | [] () [] [] [] [] | | ||
222 | gpe-aerial | [] | | ||
223 | gpe-beam | [] [] | | ||
224 | gpe-calendar | [] [] | | ||
225 | gpe-clock | [] [] | | ||
226 | gpe-conf | [] [] | | ||
227 | gpe-contacts | [] [] | | ||
228 | gpe-edit | [] | | ||
229 | gpe-go | [] | | ||
230 | gpe-login | [] [] | | ||
231 | gpe-ownerinfo | [] [] | | ||
232 | gpe-sketchbook | [] [] | | ||
233 | gpe-su | [] [] | | ||
234 | gpe-taskmanager | [] [] | | ||
235 | gpe-timesheet | [] | | ||
236 | gpe-today | [] [] | | ||
237 | gpe-todo | [] [] | | ||
238 | gphoto2 | [] [] [] [] | | ||
239 | gprof | [] [] [] | | ||
240 | gpsdrive | () () () | | ||
241 | gramadoir | [] | | ||
242 | grep | [] [] [] [] [] [] | | ||
243 | gretl | [] | | ||
244 | gtick | () | | ||
245 | hello | [] [] [] [] [] [] | | ||
246 | id-utils | [] [] | | ||
247 | indent | [] [] [] [] | | ||
248 | jpilot | [] [] [] | | ||
249 | jtag | | | ||
250 | jwhois | [] | | ||
251 | kbd | [] [] [] [] [] | | ||
252 | latrine | () | | ||
253 | ld | [] [] | | ||
254 | libc | [] [] [] [] [] [] | | ||
255 | libgpewidget | [] [] | | ||
256 | libiconv | [] [] [] [] [] | | ||
257 | lifelines | [] () | | ||
258 | lilypond | [] | | ||
259 | lingoteach | | | ||
260 | lingoteach_lessons | () () | | ||
261 | lynx | [] [] [] [] | | ||
262 | m4 | [] [] [] [] | | ||
263 | mailutils | [] [] | | ||
264 | make | [] [] [] | | ||
265 | man-db | [] () [] [] () | | ||
266 | minicom | [] [] [] | | ||
267 | mysecretdiary | [] [] [] | | ||
268 | nano | [] () [] [] [] | | ||
269 | nano_1_0 | [] () [] [] [] | | ||
270 | opcodes | [] | | ||
271 | parted | [] [] [] [] [] | | ||
272 | ptx | [] [] [] [] [] | | ||
273 | python | | | ||
274 | radius | [] | | ||
275 | recode | [] [] [] [] [] [] [] | | ||
276 | rpm | [] [] | | ||
277 | screem | | | ||
278 | scrollkeeper | [] [] [] [] [] [] | | ||
279 | sed | [] [] [] [] [] | | ||
280 | sh-utils | [] [] [] | | ||
281 | shared-mime-info | | | ||
282 | sharutils | [] [] [] [] [] [] | | ||
283 | silky | () | | ||
284 | skencil | [] () [] | | ||
285 | sketch | [] () [] | | ||
286 | soundtracker | [] [] [] | | ||
287 | sp | [] | | ||
288 | tar | [] [] [] [] | | ||
289 | texinfo | [] [] [] | | ||
290 | textutils | [] [] [] [] | | ||
291 | tin | () () | | ||
292 | tuxpaint | [] [] [] [] [] [] [] | | ||
293 | util-linux | [] [] [] [] [] | | ||
294 | vorbis-tools | [] [] [] [] | | ||
295 | wastesedge | () | | ||
296 | wdiff | [] [] [] [] | | ||
297 | wget | [] [] [] [] [] [] | | ||
298 | xchat | [] [] [] [] | | ||
299 | xfree86_xkb_xml | [] | | ||
300 | xpad | [] | | ||
301 | +-------------------------------------------+ | ||
302 | am az be bg ca cs da de el en en_GB eo es | ||
303 | 0 0 8 3 37 38 56 73 15 1 5 12 64 | ||
304 | |||
305 | et fa fi fr ga gl he hr hu id is it ja | ||
306 | +----------------------------------------+ | ||
307 | a2ps | [] [] [] () | | ||
308 | aegis | | | ||
309 | ant-phone | | | ||
310 | anubis | [] | | ||
311 | ap-utils | [] | | ||
312 | bash | [] [] | | ||
313 | batchelor | [] | | ||
314 | bfd | [] | | ||
315 | binutils | [] [] | | ||
316 | bison | [] [] [] [] | | ||
317 | bluez-pin | [] [] [] [] [] | | ||
318 | clisp | | | ||
319 | clisp | [] | | ||
320 | coreutils | [] [] [] [] [] [] | | ||
321 | cpio | [] [] [] | | ||
322 | darkstat | () [] [] [] | | ||
323 | diffutils | [] [] [] [] [] [] [] | | ||
324 | e2fsprogs | | | ||
325 | enscript | [] [] | | ||
326 | error | [] [] [] [] | | ||
327 | fetchmail | [] | | ||
328 | fileutils | [] [] [] [] [] [] | | ||
329 | findutils | [] [] [] [] [] [] [] [] [] [] | | ||
330 | flex | [] [] | | ||
331 | fslint | | | ||
332 | gas | [] | | ||
333 | gawk | [] [] [] | | ||
334 | gbiff | | | ||
335 | gcal | [] | | ||
336 | gcc | [] | | ||
337 | gettext | [] [] | | ||
338 | gettext-examples | [] [] | | ||
339 | gettext-runtime | [] [] [] [] | | ||
340 | gettext-tools | [] [] | | ||
341 | gimp-print | [] [] | | ||
342 | gliv | () | | ||
343 | glunarclock | [] [] [] [] | | ||
344 | gnubiff | | | ||
345 | gnucash | () [] | | ||
346 | gnucash-glossary | [] | | ||
347 | gnupg | [] [] [] [] [] [] [] | | ||
348 | gpe-aerial | [] | | ||
349 | gpe-beam | [] | | ||
350 | gpe-calendar | [] [] [] | | ||
351 | gpe-clock | [] | | ||
352 | gpe-conf | [] | | ||
353 | gpe-contacts | [] [] | | ||
354 | gpe-edit | [] [] | | ||
355 | gpe-go | [] | | ||
356 | gpe-login | [] [] | | ||
357 | gpe-ownerinfo | [] [] [] | | ||
358 | gpe-sketchbook | [] | | ||
359 | gpe-su | [] | | ||
360 | gpe-taskmanager | [] | | ||
361 | gpe-timesheet | [] [] [] | | ||
362 | gpe-today | [] [] | | ||
363 | gpe-todo | [] [] | | ||
364 | gphoto2 | [] [] [] | | ||
365 | gprof | [] [] | | ||
366 | gpsdrive | () [] () () | | ||
367 | gramadoir | [] | | ||
368 | grep | [] [] [] [] [] [] [] [] [] [] [] | | ||
369 | gretl | [] | | ||
370 | gtick | [] [] | | ||
371 | hello | [] [] [] [] [] [] [] [] [] [] [] [] | | ||
372 | id-utils | [] [] [] [] | | ||
373 | indent | [] [] [] [] [] [] [] [] [] | | ||
374 | jpilot | [] () | | ||
375 | jtag | | | ||
376 | jwhois | [] [] [] [] | | ||
377 | kbd | [] | | ||
378 | latrine | | | ||
379 | ld | [] | | ||
380 | libc | [] [] [] [] [] | | ||
381 | libgpewidget | [] [] [] [] | | ||
382 | libiconv | [] [] [] [] [] [] [] [] [] | | ||
383 | lifelines | () | | ||
384 | lilypond | [] | | ||
385 | lingoteach | [] [] | | ||
386 | lingoteach_lessons | | | ||
387 | lynx | [] [] [] [] | | ||
388 | m4 | [] [] [] [] | | ||
389 | mailutils | | | ||
390 | make | [] [] [] [] [] | | ||
391 | man-db | () () | | ||
392 | minicom | [] [] [] [] | | ||
393 | mysecretdiary | [] [] | | ||
394 | nano | [] [] [] [] | | ||
395 | nano_1_0 | [] [] [] [] | | ||
396 | opcodes | [] | | ||
397 | parted | [] [] [] | | ||
398 | ptx | [] [] [] [] [] [] [] | | ||
399 | python | | | ||
400 | radius | [] | | ||
401 | recode | [] [] [] [] [] [] | | ||
402 | rpm | | | ||
403 | screem | | | ||
404 | scrollkeeper | [] | | ||
405 | sed | [] [] [] [] [] [] [] [] [] | | ||
406 | sh-utils | [] [] [] [] [] [] [] | | ||
407 | shared-mime-info | [] | | ||
408 | sharutils | [] [] [] [] [] | | ||
409 | silky | [] () | | ||
410 | skencil | [] | | ||
411 | sketch | [] | | ||
412 | soundtracker | [] [] [] [] | | ||
413 | sp | [] () | | ||
414 | tar | [] [] [] [] [] [] [] [] [] | | ||
415 | texinfo | [] [] [] [] | | ||
416 | textutils | [] [] [] [] [] | | ||
417 | tin | [] () | | ||
418 | tuxpaint | [] [] [] [] [] [] [] [] | | ||
419 | util-linux | [] [] [] [] () [] | | ||
420 | vorbis-tools | [] | | ||
421 | wastesedge | () | | ||
422 | wdiff | [] [] [] [] [] [] | | ||
423 | wget | [] [] [] [] [] [] [] | | ||
424 | xchat | [] [] [] | | ||
425 | xfree86_xkb_xml | | | ||
426 | xpad | [] | | ||
427 | +----------------------------------------+ | ||
428 | et fa fi fr ga gl he hr hu id is it ja | ||
429 | 21 1 25 86 24 24 8 10 38 31 1 23 32 | ||
430 | |||
431 | ko lg lt lv ms nb nl nn no pl pt pt_BR ro | ||
432 | +-------------------------------------------+ | ||
433 | a2ps | () [] [] () () [] [] | | ||
434 | aegis | () () | | ||
435 | ant-phone | [] [] | | ||
436 | anubis | [] [] [] [] [] | | ||
437 | ap-utils | [] () [] | | ||
438 | bash | [] [] | | ||
439 | batchelor | [] | | ||
440 | bfd | [] | | ||
441 | binutils | | | ||
442 | bison | [] [] [] [] | | ||
443 | bluez-pin | [] [] [] | | ||
444 | clisp | | | ||
445 | clisp | [] | | ||
446 | coreutils | [] | | ||
447 | cpio | [] [] [] [] [] | | ||
448 | darkstat | [] [] [] [] | | ||
449 | diffutils | [] [] [] [] | | ||
450 | e2fsprogs | [] | | ||
451 | enscript | [] [] [] | | ||
452 | error | [] [] [] | | ||
453 | fetchmail | [] [] () | | ||
454 | fileutils | [] [] | | ||
455 | findutils | [] [] [] [] [] | | ||
456 | flex | [] [] [] [] | | ||
457 | fslint | [] [] | | ||
458 | gas | | | ||
459 | gawk | [] [] [] | | ||
460 | gbiff | [] [] | | ||
461 | gcal | | | ||
462 | gcc | | | ||
463 | gettext | [] [] [] | | ||
464 | gettext-examples | [] [] | | ||
465 | gettext-runtime | [] [] [] | | ||
466 | gettext-tools | [] [] [] | | ||
467 | gimp-print | [] | | ||
468 | gliv | [] [] [] | | ||
469 | glunarclock | [] [] [] | | ||
470 | gnubiff | | | ||
471 | gnucash | [] [] () | | ||
472 | gnucash-glossary | [] [] | | ||
473 | gnupg | [] | | ||
474 | gpe-aerial | [] [] [] | | ||
475 | gpe-beam | [] [] [] | | ||
476 | gpe-calendar | [] [] [] | | ||
477 | gpe-clock | [] [] [] | | ||
478 | gpe-conf | [] [] [] | | ||
479 | gpe-contacts | [] [] [] | | ||
480 | gpe-edit | [] [] [] | | ||
481 | gpe-go | [] [] | | ||
482 | gpe-login | [] [] [] | | ||
483 | gpe-ownerinfo | [] [] [] | | ||
484 | gpe-sketchbook | [] [] [] | | ||
485 | gpe-su | [] [] [] | | ||
486 | gpe-taskmanager | [] [] [] | | ||
487 | gpe-timesheet | [] [] [] | | ||
488 | gpe-today | [] [] [] | | ||
489 | gpe-todo | [] [] [] | | ||
490 | gphoto2 | [] | | ||
491 | gprof | [] [] | | ||
492 | gpsdrive | () () () [] | | ||
493 | gramadoir | [] | | ||
494 | grep | [] [] [] [] | | ||
495 | gretl | | | ||
496 | gtick | [] [] | | ||
497 | hello | [] [] [] [] [] [] [] [] [] [] | | ||
498 | id-utils | [] [] [] | | ||
499 | indent | [] [] [] | | ||
500 | jpilot | () () | | ||
501 | jtag | | | ||
502 | jwhois | [] [] [] [] | | ||
503 | kbd | [] [] [] | | ||
504 | latrine | [] | | ||
505 | ld | | | ||
506 | libc | [] [] [] [] [] | | ||
507 | libgpewidget | [] [] [] | | ||
508 | libiconv | [] [] [] [] | | ||
509 | lifelines | | | ||
510 | lilypond | | | ||
511 | lingoteach | | | ||
512 | lingoteach_lessons | | | ||
513 | lynx | [] [] | | ||
514 | m4 | [] [] [] [] | | ||
515 | mailutils | [] [] | | ||
516 | make | [] [] [] [] | | ||
517 | man-db | [] | | ||
518 | minicom | [] [] [] | | ||
519 | mysecretdiary | [] [] [] | | ||
520 | nano | [] [] [] [] | | ||
521 | nano_1_0 | [] [] [] [] [] | | ||
522 | opcodes | [] [] | | ||
523 | parted | [] [] [] [] | | ||
524 | ptx | [] [] [] [] [] [] [] | | ||
525 | python | | | ||
526 | radius | [] | | ||
527 | recode | [] [] [] | | ||
528 | rpm | [] [] | | ||
529 | screem | | | ||
530 | scrollkeeper | [] [] [] [] | | ||
531 | sed | [] [] [] | | ||
532 | sh-utils | [] | | ||
533 | shared-mime-info | [] | | ||
534 | sharutils | [] | | ||
535 | silky | | | ||
536 | skencil | [] [] | | ||
537 | sketch | [] [] | | ||
538 | soundtracker | | | ||
539 | sp | | | ||
540 | tar | [] [] [] [] [] [] | | ||
541 | texinfo | [] [] [] | | ||
542 | textutils | [] [] | | ||
543 | tin | | | ||
544 | tuxpaint | [] [] [] [] [] [] [] [] [] | | ||
545 | util-linux | [] [] | | ||
546 | vorbis-tools | [] [] | | ||
547 | wastesedge | | | ||
548 | wdiff | [] [] [] [] | | ||
549 | wget | [] [] | | ||
550 | xchat | [] [] | | ||
551 | xfree86_xkb_xml | [] | | ||
552 | xpad | [] [] | | ||
553 | +-------------------------------------------+ | ||
554 | ko lg lt lv ms nb nl nn no pl pt pt_BR ro | ||
555 | 12 0 1 2 12 10 60 4 4 38 25 35 76 | ||
556 | |||
557 | ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW | ||
558 | +-------------------------------------------+ | ||
559 | a2ps | [] [] [] [] [] | 16 | ||
560 | aegis | () | 0 | ||
561 | ant-phone | | 2 | ||
562 | anubis | [] [] [] | 9 | ||
563 | ap-utils | () | 3 | ||
564 | bash | [] | 9 | ||
565 | batchelor | | 2 | ||
566 | bfd | [] [] | 6 | ||
567 | binutils | [] [] [] | 7 | ||
568 | bison | [] [] [] | 14 | ||
569 | bluez-pin | [] [] [] | 13 | ||
570 | clisp | | 0 | ||
571 | clisp | | 5 | ||
572 | coreutils | [] [] [] [] [] | 16 | ||
573 | cpio | [] [] [] | 14 | ||
574 | darkstat | [] [] [] () () | 12 | ||
575 | diffutils | [] [] [] [] | 22 | ||
576 | e2fsprogs | [] [] | 5 | ||
577 | enscript | [] [] [] | 12 | ||
578 | error | [] [] [] | 15 | ||
579 | fetchmail | [] [] [] | 11 | ||
580 | fileutils | [] [] [] [] [] [] | 17 | ||
581 | findutils | [] [] [] [] [] [] [] | 29 | ||
582 | flex | [] [] [] | 13 | ||
583 | fslint | | 2 | ||
584 | gas | [] | 3 | ||
585 | gawk | [] [] | 12 | ||
586 | gbiff | | 3 | ||
587 | gcal | [] [] | 4 | ||
588 | gcc | [] | 4 | ||
589 | gettext | [] [] [] [] [] [] | 16 | ||
590 | gettext-examples | [] [] [] [] | 11 | ||
591 | gettext-runtime | [] [] [] [] [] [] [] [] [] | 21 | ||
592 | gettext-tools | [] [] [] [] [] [] | 14 | ||
593 | gimp-print | [] [] | 10 | ||
594 | gliv | | 3 | ||
595 | glunarclock | [] [] [] [] | 13 | ||
596 | gnubiff | | 1 | ||
597 | gnucash | [] [] [] | 9 | ||
598 | gnucash-glossary | [] [] [] | 8 | ||
599 | gnupg | [] [] [] [] | 17 | ||
600 | gpe-aerial | [] [] | 7 | ||
601 | gpe-beam | [] [] | 8 | ||
602 | gpe-calendar | [] [] [] [] [] | 13 | ||
603 | gpe-clock | [] [] [] [] | 10 | ||
604 | gpe-conf | [] [] [] | 9 | ||
605 | gpe-contacts | [] [] [] [] | 11 | ||
606 | gpe-edit | [] [] [] [] [] [] | 12 | ||
607 | gpe-go | [] | 5 | ||
608 | gpe-login | [] [] [] [] [] [] | 13 | ||
609 | gpe-ownerinfo | [] [] [] [] [] | 13 | ||
610 | gpe-sketchbook | [] [] [] | 9 | ||
611 | gpe-su | [] [] [] [] | 10 | ||
612 | gpe-taskmanager | [] [] [] [] | 10 | ||
613 | gpe-timesheet | [] [] [] [] [] | 12 | ||
614 | gpe-today | [] [] [] [] [] [] | 13 | ||
615 | gpe-todo | [] [] [] [] [] | 12 | ||
616 | gphoto2 | [] [] [] | 11 | ||
617 | gprof | [] [] | 9 | ||
618 | gpsdrive | [] [] | 4 | ||
619 | gramadoir | | 3 | ||
620 | grep | [] [] [] [] [] | 26 | ||
621 | gretl | | 2 | ||
622 | gtick | [] | 5 | ||
623 | hello | [] [] [] [] [] | 33 | ||
624 | id-utils | [] [] [] | 12 | ||
625 | indent | [] [] [] [] [] | 21 | ||
626 | jpilot | [] [] [] [] [] | 9 | ||
627 | jtag | [] | 1 | ||
628 | jwhois | () () [] [] | 11 | ||
629 | kbd | [] [] | 11 | ||
630 | latrine | | 1 | ||
631 | ld | [] [] | 5 | ||
632 | libc | [] [] [] [] | 20 | ||
633 | libgpewidget | [] [] [] [] | 13 | ||
634 | libiconv | [] [] [] [] [] [] [] [] [] | 27 | ||
635 | lifelines | [] | 2 | ||
636 | lilypond | [] | 3 | ||
637 | lingoteach | | 2 | ||
638 | lingoteach_lessons | () | 0 | ||
639 | lynx | [] [] [] [] | 14 | ||
640 | m4 | [] [] [] | 15 | ||
641 | mailutils | [] | 5 | ||
642 | make | [] [] [] [] | 16 | ||
643 | man-db | [] | 5 | ||
644 | minicom | [] | 11 | ||
645 | mysecretdiary | [] [] | 10 | ||
646 | nano | [] [] [] [] [] | 17 | ||
647 | nano_1_0 | [] [] [] [] | 17 | ||
648 | opcodes | [] [] | 6 | ||
649 | parted | [] [] [] | 15 | ||
650 | ptx | [] [] [] | 22 | ||
651 | python | | 0 | ||
652 | radius | [] | 4 | ||
653 | recode | [] [] [] [] | 20 | ||
654 | rpm | [] [] [] | 7 | ||
655 | screem | [] [] | 2 | ||
656 | scrollkeeper | [] [] [] [] | 15 | ||
657 | sed | [] [] [] [] [] [] | 23 | ||
658 | sh-utils | [] [] [] | 14 | ||
659 | shared-mime-info | [] [] | 4 | ||
660 | sharutils | [] [] [] [] [] | 17 | ||
661 | silky | () | 2 | ||
662 | skencil | [] | 6 | ||
663 | sketch | [] | 6 | ||
664 | soundtracker | [] [] | 9 | ||
665 | sp | [] | 3 | ||
666 | tar | [] [] [] [] [] | 24 | ||
667 | texinfo | [] [] [] [] | 14 | ||
668 | textutils | [] [] [] [] [] | 16 | ||
669 | tin | | 1 | ||
670 | tuxpaint | [] [] [] [] [] | 29 | ||
671 | util-linux | [] [] [] | 15 | ||
672 | vorbis-tools | [] | 8 | ||
673 | wastesedge | | 0 | ||
674 | wdiff | [] [] [] [] | 18 | ||
675 | wget | [] [] [] [] [] [] [] [] | 23 | ||
676 | xchat | [] [] [] [] [] | 14 | ||
677 | xfree86_xkb_xml | [] [] [] [] [] [] | 8 | ||
678 | xpad | | 4 | ||
679 | +-------------------------------------------+ | ||
680 | 51 teams ru sk sl sr sv ta tr uk vi wa zh_CN zh_TW | ||
681 | 120 domains 59 42 16 25 81 0 56 12 1 10 21 22 1260 | ||
682 | |||
683 | Some counters in the preceding matrix are higher than the number of | ||
684 | visible blocks let us expect. This is because a few extra PO files are | ||
685 | used for implementing regional variants of languages, or language | ||
686 | dialects. | ||
687 | |||
688 | For a PO file in the matrix above to be effective, the package to | ||
689 | which it applies should also have been internationalized and | ||
690 | distributed as such by its maintainer. There might be an observable | ||
691 | lag between the mere existence a PO file and its wide availability in a | ||
692 | distribution. | ||
693 | |||
694 | If December 2003 seems to be old, you may fetch a more recent copy | ||
695 | of this `ABOUT-NLS' file on most GNU archive sites. The most | ||
696 | up-to-date matrix with full percentage details can be found at | ||
697 | `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. | ||
698 | |||
699 | Using `gettext' in new packages | ||
700 | =============================== | ||
701 | |||
702 | If you are writing a freely available program and want to | ||
703 | internationalize it you are welcome to use GNU `gettext' in your | ||
704 | package. Of course you have to respect the GNU Library General Public | ||
705 | License which covers the use of the GNU `gettext' library. This means | ||
706 | in particular that even non-free programs can use `libintl' as a shared | ||
707 | library, whereas only free software can use `libintl' as a static | ||
708 | library or use modified versions of `libintl'. | ||
709 | |||
710 | Once the sources are changed appropriately and the setup can handle | ||
711 | the use of `gettext' the only thing missing are the translations. The | ||
712 | Free Translation Project is also available for packages which are not | ||
713 | developed inside the GNU project. Therefore the information given above | ||
714 | applies also for every other Free Software Project. Contact | ||
715 | `translation@iro.umontreal.ca' to make the `.pot' files available to | ||
716 | the translation teams. | ||
diff --git a/m4/Makefile.am b/m4/Makefile.am deleted file mode 100644 index 404c043..0000000 --- a/m4/Makefile.am +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | ## Process this file with automake to produce Makefile.in. | ||
2 | EXTRA_DIST = | ||
3 | EXTRA_DIST += Makefile.am.in | ||
4 | EXTRA_DIST += afs.m4 | ||
5 | EXTRA_DIST += codeset.m4 | ||
6 | EXTRA_DIST += error.m4 | ||
7 | EXTRA_DIST += exitfail.m4 | ||
8 | EXTRA_DIST += extensions.m4 | ||
9 | EXTRA_DIST += fstypename.m4 | ||
10 | EXTRA_DIST += fsusage.m4 | ||
11 | EXTRA_DIST += getopt.m4 | ||
12 | EXTRA_DIST += gettext.m4 | ||
13 | EXTRA_DIST += glibc21.m4 | ||
14 | EXTRA_DIST += iconv.m4 | ||
15 | EXTRA_DIST += intdiv0.m4 | ||
16 | EXTRA_DIST += inttypes-pri.m4 | ||
17 | EXTRA_DIST += inttypes.m4 | ||
18 | EXTRA_DIST += inttypes_h.m4 | ||
19 | EXTRA_DIST += isc-posix.m4 | ||
20 | EXTRA_DIST += lcmessage.m4 | ||
21 | EXTRA_DIST += lib-ld.m4 | ||
22 | EXTRA_DIST += lib-link.m4 | ||
23 | EXTRA_DIST += lib-prefix.m4 | ||
24 | EXTRA_DIST += ls-mntd-fs.m4 | ||
25 | EXTRA_DIST += malloc.m4 | ||
26 | EXTRA_DIST += mountlist.m4 | ||
27 | EXTRA_DIST += np_coreutils.m4 | ||
28 | EXTRA_DIST += onceonly.m4 | ||
29 | EXTRA_DIST += progtest.m4 | ||
30 | EXTRA_DIST += realloc.m4 | ||
31 | EXTRA_DIST += stdbool.m4 | ||
32 | EXTRA_DIST += stdint_h.m4 | ||
33 | EXTRA_DIST += uintmax_t.m4 | ||
34 | EXTRA_DIST += ulonglong.m4 | ||
35 | EXTRA_DIST += unlocked-io.m4 | ||
36 | EXTRA_DIST += xalloc.m4 | ||
37 | |||
38 | Makefile.am: Makefile.am.in | ||
39 | rm -f $@ $@t | ||
40 | (echo "## Process this file with automake to produce Makefile.in."; \ | ||
41 | echo EXTRA_DIST =; \ | ||
42 | echo "EXTRA_DIST += Makefile.am.in"; \ | ||
43 | ls -1 *.m4 | sed 's/^/EXTRA_DIST += /'; echo ) \ | ||
44 | >> $@t | ||
45 | sed -n '/^Makefile\.am:/,$$p' $@.in >> $@t | ||
46 | chmod a-w $@t | ||
47 | mv $@t $@ | ||
48 | |||
49 | print_coreutil_files: | ||
50 | @echo $(EXTRA_DIST) | ||
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in index f5e1931..fb60ada 100644 --- a/m4/Makefile.am.in +++ b/m4/Makefile.am.in | |||
@@ -10,3 +10,6 @@ Makefile.am: Makefile.am.in | |||
10 | sed -n '/^Makefile\.am:/,$$p' $@.in >> $@t | 10 | sed -n '/^Makefile\.am:/,$$p' $@.in >> $@t |
11 | chmod a-w $@t | 11 | chmod a-w $@t |
12 | mv $@t $@ | 12 | mv $@t $@ |
13 | |||
14 | print_coreutil_files: | ||
15 | @echo $(EXTRA_DIST) | ||
diff --git a/po/.cvsignore b/po/.cvsignore index e925c3a..7e7b867 100644 --- a/po/.cvsignore +++ b/po/.cvsignore | |||
@@ -1,6 +1,5 @@ | |||
1 | Makefile | 1 | Makefile |
2 | Makefile.in | 2 | Makefile.in |
3 | Makefile.in.in | ||
4 | Rules-quot | 3 | Rules-quot |
5 | boldquot.sed | 4 | boldquot.sed |
6 | de.gmo | 5 | de.gmo |
diff --git a/po/Makefile.in.in b/po/Makefile.in.in new file mode 100644 index 0000000..12b73cf --- /dev/null +++ b/po/Makefile.in.in | |||
@@ -0,0 +1,384 @@ | |||
1 | # Makefile for PO directory in any package using GNU gettext. | ||
2 | # Copyright (C) 1995-1997, 2000-2005 by Ulrich Drepper <drepper@gnu.ai.mit.edu> | ||
3 | # | ||
4 | # This file can be copied and used freely without restrictions. It can | ||
5 | # be used in projects which are not available under the GNU General Public | ||
6 | # License but which still want to provide support for the GNU gettext | ||
7 | # functionality. | ||
8 | # Please note that the actual code of GNU gettext is covered by the GNU | ||
9 | # General Public License and is *not* in the public domain. | ||
10 | # | ||
11 | # Origin: gettext-0.15 | ||
12 | |||
13 | PACKAGE = @PACKAGE@ | ||
14 | VERSION = @VERSION@ | ||
15 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
16 | |||
17 | SHELL = /bin/sh | ||
18 | @SET_MAKE@ | ||
19 | |||
20 | srcdir = @srcdir@ | ||
21 | top_srcdir = @top_srcdir@ | ||
22 | VPATH = @srcdir@ | ||
23 | |||
24 | prefix = @prefix@ | ||
25 | exec_prefix = @exec_prefix@ | ||
26 | datarootdir = @datarootdir@ | ||
27 | datadir = @datadir@ | ||
28 | localedir = $(datadir)/locale | ||
29 | gettextsrcdir = $(datadir)/gettext/po | ||
30 | |||
31 | INSTALL = @INSTALL@ | ||
32 | INSTALL_DATA = @INSTALL_DATA@ | ||
33 | MKINSTALLDIRS = @MKINSTALLDIRS@ | ||
34 | mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) | ||
35 | |||
36 | GMSGFMT = @GMSGFMT@ | ||
37 | MSGFMT = @MSGFMT@ | ||
38 | XGETTEXT = @XGETTEXT@ | ||
39 | MSGMERGE = msgmerge | ||
40 | MSGMERGE_UPDATE = @MSGMERGE@ --update | ||
41 | MSGINIT = msginit | ||
42 | MSGCONV = msgconv | ||
43 | MSGFILTER = msgfilter | ||
44 | |||
45 | POFILES = @POFILES@ | ||
46 | GMOFILES = @GMOFILES@ | ||
47 | UPDATEPOFILES = @UPDATEPOFILES@ | ||
48 | DUMMYPOFILES = @DUMMYPOFILES@ | ||
49 | DISTFILES.common = Makefile.in.in remove-potcdate.sin \ | ||
50 | $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) | ||
51 | DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ | ||
52 | $(POFILES) $(GMOFILES) \ | ||
53 | $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) | ||
54 | |||
55 | POTFILES = \ | ||
56 | |||
57 | CATALOGS = @CATALOGS@ | ||
58 | |||
59 | # Makevars gets inserted here. (Don't remove this line!) | ||
60 | |||
61 | .SUFFIXES: | ||
62 | .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update | ||
63 | |||
64 | .po.mo: | ||
65 | @echo "$(MSGFMT) -c -o $@ $<"; \ | ||
66 | $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ | ||
67 | |||
68 | .po.gmo: | ||
69 | @lang=`echo $* | sed -e 's,.*/,,'`; \ | ||
70 | test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ | ||
71 | echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ | ||
72 | cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo | ||
73 | |||
74 | .sin.sed: | ||
75 | sed -e '/^#/d' $< > t-$@ | ||
76 | mv t-$@ $@ | ||
77 | |||
78 | |||
79 | all: all-@USE_NLS@ | ||
80 | |||
81 | all-yes: stamp-po | ||
82 | all-no: | ||
83 | |||
84 | # $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no | ||
85 | # internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because | ||
86 | # we don't want to bother translators with empty POT files). We assume that | ||
87 | # LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. | ||
88 | # In this case, stamp-po is a nop (i.e. a phony target). | ||
89 | |||
90 | # stamp-po is a timestamp denoting the last time at which the CATALOGS have | ||
91 | # been loosely updated. Its purpose is that when a developer or translator | ||
92 | # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, | ||
93 | # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent | ||
94 | # invocations of "make" will do nothing. This timestamp would not be necessary | ||
95 | # if updating the $(CATALOGS) would always touch them; however, the rule for | ||
96 | # $(POFILES) has been designed to not touch files that don't need to be | ||
97 | # changed. | ||
98 | stamp-po: $(srcdir)/$(DOMAIN).pot | ||
99 | test ! -f $(srcdir)/$(DOMAIN).pot || \ | ||
100 | test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) | ||
101 | @test ! -f $(srcdir)/$(DOMAIN).pot || { \ | ||
102 | echo "touch stamp-po" && \ | ||
103 | echo timestamp > stamp-poT && \ | ||
104 | mv stamp-poT stamp-po; \ | ||
105 | } | ||
106 | |||
107 | # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', | ||
108 | # otherwise packages like GCC can not be built if only parts of the source | ||
109 | # have been downloaded. | ||
110 | |||
111 | # This target rebuilds $(DOMAIN).pot; it is an expensive operation. | ||
112 | # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. | ||
113 | $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed | ||
114 | if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ | ||
115 | msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ | ||
116 | else \ | ||
117 | msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ | ||
118 | fi; \ | ||
119 | $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ | ||
120 | --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ | ||
121 | --files-from=$(srcdir)/POTFILES.in \ | ||
122 | --copyright-holder='$(COPYRIGHT_HOLDER)' \ | ||
123 | --msgid-bugs-address="$$msgid_bugs_address" | ||
124 | test ! -f $(DOMAIN).po || { \ | ||
125 | if test -f $(srcdir)/$(DOMAIN).pot; then \ | ||
126 | sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ | ||
127 | sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ | ||
128 | if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ | ||
129 | rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ | ||
130 | else \ | ||
131 | rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ | ||
132 | mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ | ||
133 | fi; \ | ||
134 | else \ | ||
135 | mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ | ||
136 | fi; \ | ||
137 | } | ||
138 | |||
139 | # This rule has no dependencies: we don't need to update $(DOMAIN).pot at | ||
140 | # every "make" invocation, only create it when it is missing. | ||
141 | # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. | ||
142 | $(srcdir)/$(DOMAIN).pot: | ||
143 | $(MAKE) $(DOMAIN).pot-update | ||
144 | |||
145 | # This target rebuilds a PO file if $(DOMAIN).pot has changed. | ||
146 | # Note that a PO file is not touched if it doesn't need to be changed. | ||
147 | $(POFILES): $(srcdir)/$(DOMAIN).pot | ||
148 | @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ | ||
149 | if test -f "$(srcdir)/$${lang}.po"; then \ | ||
150 | test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ | ||
151 | echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ | ||
152 | cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ | ||
153 | else \ | ||
154 | $(MAKE) $${lang}.po-create; \ | ||
155 | fi | ||
156 | |||
157 | |||
158 | install: install-exec install-data | ||
159 | install-exec: | ||
160 | install-data: install-data-@USE_NLS@ | ||
161 | if test "$(PACKAGE)" = "gettext-tools"; then \ | ||
162 | $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ | ||
163 | for file in $(DISTFILES.common) Makevars.template; do \ | ||
164 | $(INSTALL_DATA) $(srcdir)/$$file \ | ||
165 | $(DESTDIR)$(gettextsrcdir)/$$file; \ | ||
166 | done; \ | ||
167 | for file in Makevars; do \ | ||
168 | rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ | ||
169 | done; \ | ||
170 | else \ | ||
171 | : ; \ | ||
172 | fi | ||
173 | install-data-no: all | ||
174 | install-data-yes: all | ||
175 | $(mkinstalldirs) $(DESTDIR)$(datadir) | ||
176 | @catalogs='$(CATALOGS)'; \ | ||
177 | for cat in $$catalogs; do \ | ||
178 | cat=`basename $$cat`; \ | ||
179 | lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ | ||
180 | dir=$(localedir)/$$lang/LC_MESSAGES; \ | ||
181 | $(mkinstalldirs) $(DESTDIR)$$dir; \ | ||
182 | if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ | ||
183 | $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ | ||
184 | echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ | ||
185 | for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ | ||
186 | if test -n "$$lc"; then \ | ||
187 | if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ | ||
188 | link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ | ||
189 | mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | ||
190 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | ||
191 | (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ | ||
192 | for file in *; do \ | ||
193 | if test -f $$file; then \ | ||
194 | ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ | ||
195 | fi; \ | ||
196 | done); \ | ||
197 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | ||
198 | else \ | ||
199 | if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ | ||
200 | :; \ | ||
201 | else \ | ||
202 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ | ||
203 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | ||
204 | fi; \ | ||
205 | fi; \ | ||
206 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ | ||
207 | ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ | ||
208 | ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ | ||
209 | cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ | ||
210 | echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ | ||
211 | fi; \ | ||
212 | done; \ | ||
213 | done | ||
214 | |||
215 | install-strip: install | ||
216 | |||
217 | installdirs: installdirs-exec installdirs-data | ||
218 | installdirs-exec: | ||
219 | installdirs-data: installdirs-data-@USE_NLS@ | ||
220 | if test "$(PACKAGE)" = "gettext-tools"; then \ | ||
221 | $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ | ||
222 | else \ | ||
223 | : ; \ | ||
224 | fi | ||
225 | installdirs-data-no: | ||
226 | installdirs-data-yes: | ||
227 | $(mkinstalldirs) $(DESTDIR)$(datadir) | ||
228 | @catalogs='$(CATALOGS)'; \ | ||
229 | for cat in $$catalogs; do \ | ||
230 | cat=`basename $$cat`; \ | ||
231 | lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ | ||
232 | dir=$(localedir)/$$lang/LC_MESSAGES; \ | ||
233 | $(mkinstalldirs) $(DESTDIR)$$dir; \ | ||
234 | for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ | ||
235 | if test -n "$$lc"; then \ | ||
236 | if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ | ||
237 | link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ | ||
238 | mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | ||
239 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | ||
240 | (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ | ||
241 | for file in *; do \ | ||
242 | if test -f $$file; then \ | ||
243 | ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ | ||
244 | fi; \ | ||
245 | done); \ | ||
246 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ | ||
247 | else \ | ||
248 | if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ | ||
249 | :; \ | ||
250 | else \ | ||
251 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ | ||
252 | mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ | ||
253 | fi; \ | ||
254 | fi; \ | ||
255 | fi; \ | ||
256 | done; \ | ||
257 | done | ||
258 | |||
259 | # Define this as empty until I found a useful application. | ||
260 | installcheck: | ||
261 | |||
262 | uninstall: uninstall-exec uninstall-data | ||
263 | uninstall-exec: | ||
264 | uninstall-data: uninstall-data-@USE_NLS@ | ||
265 | if test "$(PACKAGE)" = "gettext-tools"; then \ | ||
266 | for file in $(DISTFILES.common) Makevars.template; do \ | ||
267 | rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ | ||
268 | done; \ | ||
269 | else \ | ||
270 | : ; \ | ||
271 | fi | ||
272 | uninstall-data-no: | ||
273 | uninstall-data-yes: | ||
274 | catalogs='$(CATALOGS)'; \ | ||
275 | for cat in $$catalogs; do \ | ||
276 | cat=`basename $$cat`; \ | ||
277 | lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ | ||
278 | for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ | ||
279 | rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ | ||
280 | done; \ | ||
281 | done | ||
282 | |||
283 | check: all | ||
284 | |||
285 | info dvi ps pdf html tags TAGS ctags CTAGS ID: | ||
286 | |||
287 | mostlyclean: | ||
288 | rm -f remove-potcdate.sed | ||
289 | rm -f stamp-poT | ||
290 | rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po | ||
291 | rm -fr *.o | ||
292 | |||
293 | clean: mostlyclean | ||
294 | |||
295 | distclean: clean | ||
296 | rm -f Makefile Makefile.in POTFILES *.mo | ||
297 | |||
298 | maintainer-clean: distclean | ||
299 | @echo "This command is intended for maintainers to use;" | ||
300 | @echo "it deletes files that may require special tools to rebuild." | ||
301 | rm -f stamp-po $(GMOFILES) | ||
302 | |||
303 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | ||
304 | dist distdir: | ||
305 | $(MAKE) update-po | ||
306 | @$(MAKE) dist2 | ||
307 | # This is a separate target because 'update-po' must be executed before. | ||
308 | dist2: stamp-po $(DISTFILES) | ||
309 | dists="$(DISTFILES)"; \ | ||
310 | if test "$(PACKAGE)" = "gettext-tools"; then \ | ||
311 | dists="$$dists Makevars.template"; \ | ||
312 | fi; \ | ||
313 | if test -f $(srcdir)/$(DOMAIN).pot; then \ | ||
314 | dists="$$dists $(DOMAIN).pot stamp-po"; \ | ||
315 | fi; \ | ||
316 | if test -f $(srcdir)/ChangeLog; then \ | ||
317 | dists="$$dists ChangeLog"; \ | ||
318 | fi; \ | ||
319 | for i in 0 1 2 3 4 5 6 7 8 9; do \ | ||
320 | if test -f $(srcdir)/ChangeLog.$$i; then \ | ||
321 | dists="$$dists ChangeLog.$$i"; \ | ||
322 | fi; \ | ||
323 | done; \ | ||
324 | if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ | ||
325 | for file in $$dists; do \ | ||
326 | if test -f $$file; then \ | ||
327 | cp -p $$file $(distdir) || exit 1; \ | ||
328 | else \ | ||
329 | cp -p $(srcdir)/$$file $(distdir) || exit 1; \ | ||
330 | fi; \ | ||
331 | done | ||
332 | |||
333 | update-po: Makefile | ||
334 | $(MAKE) $(DOMAIN).pot-update | ||
335 | test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) | ||
336 | $(MAKE) update-gmo | ||
337 | |||
338 | # General rule for creating PO files. | ||
339 | |||
340 | .nop.po-create: | ||
341 | @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ | ||
342 | echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ | ||
343 | exit 1 | ||
344 | |||
345 | # General rule for updating PO files. | ||
346 | |||
347 | .nop.po-update: | ||
348 | @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ | ||
349 | if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ | ||
350 | tmpdir=`pwd`; \ | ||
351 | echo "$$lang:"; \ | ||
352 | test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ | ||
353 | echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ | ||
354 | cd $(srcdir); \ | ||
355 | if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ | ||
356 | if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ | ||
357 | rm -f $$tmpdir/$$lang.new.po; \ | ||
358 | else \ | ||
359 | if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ | ||
360 | :; \ | ||
361 | else \ | ||
362 | echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ | ||
363 | exit 1; \ | ||
364 | fi; \ | ||
365 | fi; \ | ||
366 | else \ | ||
367 | echo "msgmerge for $$lang.po failed!" 1>&2; \ | ||
368 | rm -f $$tmpdir/$$lang.new.po; \ | ||
369 | fi | ||
370 | |||
371 | $(DUMMYPOFILES): | ||
372 | |||
373 | update-gmo: Makefile $(GMOFILES) | ||
374 | @: | ||
375 | |||
376 | Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ | ||
377 | cd $(top_builddir) \ | ||
378 | && $(SHELL) ./config.status $(subdir)/$@.in | ||
379 | |||
380 | force: | ||
381 | |||
382 | # Tell versions [3.59,3.63) of GNU make not to export all variables. | ||
383 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
384 | .NOEXPORT: | ||
diff --git a/tools/setup b/tools/setup index 63a165a..501ae20 100755 --- a/tools/setup +++ b/tools/setup | |||
@@ -18,6 +18,8 @@ else | |||
18 | echo Found GNU Make at $MAKE ... good. | 18 | echo Found GNU Make at $MAKE ... good. |
19 | fi | 19 | fi |
20 | 20 | ||
21 | ( cd m4 && $MAKE -f Makefile.am Makefile.am.in ) | ||
22 | |||
21 | # This bit is to fix SF's compile server as libtool not installed by default | 23 | # This bit is to fix SF's compile server as libtool not installed by default |
22 | extra="" | 24 | extra="" |
23 | if test -d $HOME/share/aclocal ; then | 25 | if test -d $HOME/share/aclocal ; then |
@@ -27,7 +29,7 @@ fi | |||
27 | # I think gettext no longer necessary, as all necessary files imported from coreutils | 29 | # I think gettext no longer necessary, as all necessary files imported from coreutils |
28 | #autopoint --force | 30 | #autopoint --force |
29 | aclocal -I m4 $extra | 31 | aclocal -I m4 $extra |
30 | #libtoolize --force --copy | 32 | libtoolize --force --copy |
31 | autoheader | 33 | autoheader |
32 | automake --add-missing --force-missing --copy | 34 | automake --add-missing --force-missing --copy |
33 | autoconf | 35 | autoconf |