~ubuntu-branches/ubuntu/lucid/newt/lucid

« back to all changes in this revision

Viewing changes to debian/patches/05_whiptail_i18n.patch

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2005-03-22 12:44:37 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050322124437-nuhl0pqjcijjno9z
Tags: 0.51.6-20ubuntu3
Add Xhosa translation (thanks, Adi Attar).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -ruN newt-0.51.6-old/config.h.in newt-0.51.6/config.h.in
 
2
--- newt-0.51.6-old/config.h.in 2002-06-11 13:15:33.000000000 +0000
 
3
+++ newt-0.51.6/config.h.in     2004-02-17 10:16:39.000000000 +0000
 
4
@@ -9,3 +9,6 @@
 
5
 /* Define to 1 if GPM support is enabled */
 
6
 #undef USE_GPM
 
7
 
 
8
+#define PACKAGE "newt"
 
9
+#define ENABLE_NLS 1
 
10
+
 
11
diff -ruN newt-0.51.6-old/dialogboxes.c newt-0.51.6/dialogboxes.c
 
12
--- newt-0.51.6-old/dialogboxes.c       2003-01-03 20:54:45.000000000 +0000
 
13
+++ newt-0.51.6/dialogboxes.c   2004-02-17 10:23:42.000000000 +0000
 
14
@@ -1,11 +1,13 @@
 
15
 /* simple dialog boxes, used by both whiptail and tcl dialog bindings */
 
16
 
 
17
+#include "config.h"
 
18
 #include <fcntl.h>
 
19
 #include <stdio.h>
 
20
 #include <string.h>
 
21
 #include <stdlib.h>
 
22
 #include <unistd.h>
 
23
 
 
24
+#include "nls.h"
 
25
 #include "dialogboxes.h"
 
26
 #include "newt.h"
 
27
 #include "newt_pr.h"
 
28
@@ -19,14 +21,18 @@
 
29
 static void addButtons(int height, int width, newtComponent form, 
 
30
                       newtComponent * okay, newtComponent * cancel, 
 
31
                       int flags) {
 
32
+       // FIXME: DO SOMETHING ABOUT THE HARD-CODED CONSTANTS
 
33
     if (flags & FLAG_NOCANCEL) {
 
34
-       *okay = makeButton((width - 8) / 2, height - buttonHeight - 1, "Ok");
 
35
-       *cancel = NULL;
 
36
+          *okay = makeButton((width - 8) / 2, height - buttonHeight - 1,
 
37
+                             dgettext(PACKAGE, "Ok"));
 
38
+           *cancel = NULL;
 
39
        newtFormAddComponent(form, *okay);
 
40
     } else {
 
41
-       *okay = makeButton((width - 18) / 3, height - buttonHeight - 1, "Ok");
 
42
+       *okay = makeButton((width - 18) / 3, height - buttonHeight - 1, 
 
43
+                          dgettext(PACKAGE,"Ok"));
 
44
        *cancel = makeButton(((width - 18) / 3) * 2 + 9, 
 
45
-                               height - buttonHeight - 1, "Cancel");
 
46
+                               height - buttonHeight - 1, 
 
47
+                               dgettext(PACKAGE,"Cancel"));
 
48
        newtFormAddComponents(form, *okay, *cancel, NULL);
 
49
     }
 
50
 }
 
51
@@ -381,13 +387,16 @@
 
52
     case MSGBOX_INFO:
 
53
        break;
 
54
     case MSGBOX_MSG:
 
55
-       yes = makeButton((width - 8) / 2, height - 1 - buttonHeight, "Ok");
 
56
+       // FIXME Do something about the hard-coded constants
 
57
+       yes = makeButton((width - 8) / 2, height - 1 - buttonHeight, 
 
58
+                        dgettext(PACKAGE,"Ok"));
 
59
        newtFormAddComponent(form, yes);
 
60
        break;
 
61
     default:
 
62
-       yes = makeButton((width - 16) / 3, height - 1 - buttonHeight, "Yes");
 
63
+       yes = makeButton((width - 16) / 3, height - 1 - buttonHeight, 
 
64
+                        dgettext(PACKAGE,"Yes"));
 
65
        no = makeButton(((width - 16) / 3) * 2 + 9, height - 1 - buttonHeight, 
 
66
-                       "No");
 
67
+                       dgettext(PACKAGE,"No"));
 
68
        newtFormAddComponents(form, yes, no, NULL);
 
69
 
 
70
        if (flags & FLAG_DEFAULT_NO)
 
71
diff -ruN newt-0.51.6-old/Makefile.in newt-0.51.6/Makefile.in
 
72
--- newt-0.51.6-old/Makefile.in 2003-01-04 19:15:25.000000000 +0000
 
73
+++ newt-0.51.6/Makefile.in     2004-02-22 13:00:43.000000000 +0000
 
74
@@ -49,7 +49,10 @@
 
75
 TARGET=depend $(PROGS)
 
76
 endif
 
77
 
 
78
-all:   $(TARGET) _snackmodule.so
 
79
+all:   $(TARGET) _snackmodule.so po/po-stamp
 
80
+
 
81
+po/po-stamp:
 
82
+       $(MAKE) -C po po-stamp
 
83
 
 
84
 test:  $(TESTOBJS) $(LIBNEWT)
 
85
        gcc -g -o test $(TESTOBJS) $(LIBNEWT) $(LIBS) -static
 
86
diff -ruN newt-0.51.6-old/mkinstalldirs newt-0.51.6/mkinstalldirs
 
87
--- newt-0.51.6-old/mkinstalldirs       1970-01-01 00:00:00.000000000 +0000
 
88
+++ newt-0.51.6/mkinstalldirs   2004-02-17 10:31:04.000000000 +0000
 
89
@@ -0,0 +1,111 @@
 
90
+#! /bin/sh
 
91
+# mkinstalldirs --- make directory hierarchy
 
92
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
 
93
+# Created: 1993-05-16
 
94
+# Public domain
 
95
+
 
96
+errstatus=0
 
97
+dirmode=""
 
98
+
 
99
+usage="\
 
100
+Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
 
101
+
 
102
+# process command line arguments
 
103
+while test $# -gt 0 ; do
 
104
+  case $1 in
 
105
+    -h | --help | --h*)         # -h for help
 
106
+      echo "$usage" 1>&2
 
107
+      exit 0
 
108
+      ;;
 
109
+    -m)                         # -m PERM arg
 
110
+      shift
 
111
+      test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
 
112
+      dirmode=$1
 
113
+      shift
 
114
+      ;;
 
115
+    --)                         # stop option processing
 
116
+      shift
 
117
+      break
 
118
+      ;;
 
119
+    -*)                         # unknown option
 
120
+      echo "$usage" 1>&2
 
121
+      exit 1
 
122
+      ;;
 
123
+    *)                          # first non-opt arg
 
124
+      break
 
125
+      ;;
 
126
+  esac
 
127
+done
 
128
+
 
129
+for file
 
130
+do
 
131
+  if test -d "$file"; then
 
132
+    shift
 
133
+  else
 
134
+    break
 
135
+  fi
 
136
+done
 
137
+
 
138
+case $# in
 
139
+  0) exit 0 ;;
 
140
+esac
 
141
+
 
142
+case $dirmode in
 
143
+  '')
 
144
+    if mkdir -p -- . 2>/dev/null; then
 
145
+      echo "mkdir -p -- $*"
 
146
+      exec mkdir -p -- "$@"
 
147
+    fi
 
148
+    ;;
 
149
+  *)
 
150
+    if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
 
151
+      echo "mkdir -m $dirmode -p -- $*"
 
152
+      exec mkdir -m "$dirmode" -p -- "$@"
 
153
+    fi
 
154
+    ;;
 
155
+esac
 
156
+
 
157
+for file
 
158
+do
 
159
+  set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
 
160
+  shift
 
161
+
 
162
+  pathcomp=
 
163
+  for d
 
164
+  do
 
165
+    pathcomp="$pathcomp$d"
 
166
+    case $pathcomp in
 
167
+      -*) pathcomp=./$pathcomp ;;
 
168
+    esac
 
169
+
 
170
+    if test ! -d "$pathcomp"; then
 
171
+      echo "mkdir $pathcomp"
 
172
+
 
173
+      mkdir "$pathcomp" || lasterr=$?
 
174
+
 
175
+      if test ! -d "$pathcomp"; then
 
176
+       errstatus=$lasterr
 
177
+      else
 
178
+       if test ! -z "$dirmode"; then
 
179
+         echo "chmod $dirmode $pathcomp"
 
180
+         lasterr=""
 
181
+         chmod "$dirmode" "$pathcomp" || lasterr=$?
 
182
+
 
183
+         if test ! -z "$lasterr"; then
 
184
+           errstatus=$lasterr
 
185
+         fi
 
186
+       fi
 
187
+      fi
 
188
+    fi
 
189
+
 
190
+    pathcomp="$pathcomp/"
 
191
+  done
 
192
+done
 
193
+
 
194
+exit $errstatus
 
195
+
 
196
+# Local Variables:
 
197
+# mode: shell-script
 
198
+# sh-indentation: 2
 
199
+# End:
 
200
+# mkinstalldirs ends here
 
201
diff -ruN newt-0.51.6-old/nls.h newt-0.51.6/nls.h
 
202
--- newt-0.51.6-old/nls.h       1970-01-01 00:00:00.000000000 +0000
 
203
+++ newt-0.51.6/nls.h   2004-02-17 10:17:02.000000000 +0000
 
204
@@ -0,0 +1,16 @@
 
205
+
 
206
+
 
207
+#ifndef LOCALEDIR
 
208
+#define LOCALEDIR "/usr/share/locale"
 
209
+#endif
 
210
+
 
211
+# include <locale.h>
 
212
+
 
213
+# include <libintl.h>
 
214
+# define _(Text) gettext (Text)
 
215
+# ifdef gettext_noop
 
216
+#  define N_(String) gettext_noop (String)
 
217
+# else
 
218
+#  define N_(String) (String)
 
219
+# endif 
 
220
+
 
221
diff -ruN newt-0.51.6-old/po/boldquot.sed newt-0.51.6/po/boldquot.sed
 
222
--- newt-0.51.6-old/po/boldquot.sed     1970-01-01 00:00:00.000000000 +0000
 
223
+++ newt-0.51.6/po/boldquot.sed 2004-02-17 10:00:25.000000000 +0000
 
224
@@ -0,0 +1,10 @@
 
225
+s/"\([^"]*\)"/“\1”/g
 
226
+s/`\([^`']*\)'/‘\1’/g
 
227
+s/ '\([^`']*\)' / ‘\1’ /g
 
228
+s/ '\([^`']*\)'$/ ‘\1’/g
 
229
+s/^'\([^`']*\)' /‘\1’ /g
 
230
+s/“”/""/g
 
231
+s/“/“/g
 
232
+s/”/”/g
 
233
+s/‘/‘/g
 
234
+s/’/’/g
 
235
diff -ruN newt-0.51.6-old/po/ca.po newt-0.51.6/po/ca.po
 
236
--- newt-0.51.6-old/po/ca.po    1970-01-01 00:00:00.000000000 +0000
 
237
+++ newt-0.51.6/po/ca.po        2004-02-17 10:00:25.000000000 +0000
 
238
@@ -0,0 +1,33 @@
 
239
+# Catalan translations for newt
 
240
+# Copyright (C) 2003 Free Software Foundation
 
241
+# This file is distributed under the same license as the newt package.
 
242
+# Alastair McKinstry <mckinstry@debian.org>, 2003
 
243
+msgid ""
 
244
+msgstr ""
 
245
+"Project-Id-Version: newt 0.51.4\n"
 
246
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
247
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
248
+"PO-Revision-Date: 2003-07-13 13:25+0100\n"
 
249
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
250
+"Language-Team: Catalan <ca@li.org>\n"
 
251
+"MIME-Version: 1.0\n"
 
252
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
253
+"Content-Transfer-Encoding: 8bit\n"
 
254
+
 
255
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
256
+msgid "Ok"
 
257
+msgstr "D'accord"
 
258
+
 
259
+#: dialogboxes.c:35
 
260
+msgid "Cancel"
 
261
+msgstr "Cancelar"
 
262
+
 
263
+#: dialogboxes.c:422
 
264
+msgid "Yes"
 
265
+msgstr "Sí"
 
266
+
 
267
+#: dialogboxes.c:424
 
268
+msgid "No"
 
269
+msgstr "No"
 
270
+
 
271
+
 
272
diff -ruN newt-0.51.6-old/po/ChangeLog newt-0.51.6/po/ChangeLog
 
273
--- newt-0.51.6-old/po/ChangeLog        1970-01-01 00:00:00.000000000 +0000
 
274
+++ newt-0.51.6/po/ChangeLog    2004-02-17 10:14:13.000000000 +0000
 
275
@@ -0,0 +1,56 @@
 
276
+2004-02-11 Alastair McKinstry <mckinstry@debian.org>
 
277
+
 
278
+       * zh_CN.po: Simplified Chinese translation from Carlos Z.F. Liu.
 
279
+
 
280
+2004-02-06 Alastair McKinstry <mckinstry@debian.org>
 
281
+
 
282
+       * cs.po: Czech translation from Miroslav Kure.
 
283
+       * nl.po: Dutch translation from Bart Cornelis.
 
284
+       * sl.po: Slovenian translation from Jure Cuhalev.
 
285
+       * lt.po: Lithuanian translation from Kęstutis Biliūnas.
 
286
+       * es.po: Improved Spanish translation from Carlos Valdivia Yagüe.
 
287
+       * da.po: Danish translation from Claus Hindsgaul.
 
288
+
 
289
+2004-01-10 Alastair McKinstry <mckinstry@debian.org>
 
290
+
 
291
+       * fi.po: Finnish translation from Tommi Vainikainen.
 
292
+       * it.po: Italian translation from  Giuseppe Sacco, 
 
293
+       * sl.po: Slovenian translation from  Jure Cuhalev.
 
294
+       * hu.po: New Hungarian translation from  VEROK Istvan.
 
295
+       * ru.po: New Russian translation from Nikolai Prokoschenko.
 
296
+       * sv.po: Fix spelling mistake. Thanks to André Dahlqvist.
 
297
+       * el.po: New Greek translation from Konstantinos Margaritis.
 
298
+       * pl.po: New Polish translation from Bartosz Fenski aka fEnIo.
 
299
+
 
300
+2003-08-12 Alastair McKinstry <mckinstry@debian.org>
 
301
+
 
302
+       * pt_BR.po: New Brazilian Portugese translation from Andre Luis Lopes.
 
303
+
 
304
+2003-07-19 Alastair McKinstry <mckinstry@debian.org>
 
305
+
 
306
+       * ja.po: New Japanese translation from Tomohito Kubota.
 
307
+       * fr.po: New French translation from Christian Perrier.
 
308
+
 
309
+2003-07-13 Alastair McKinstry <mckinstry@computer.org>
 
310
+
 
311
+       * po: i18n for whiptail
 
312
+       * ga.po: New file
 
313
+       * de.po: New file
 
314
+       * sv.po: New file.
 
315
+       * nn.po: New file.
 
316
+
 
317
+2003-09-15  gettextize  <bug-gnu-gettext@gnu.org>
 
318
+
 
319
+       * Makefile.in.in: New file, from gettext-0.12.1.
 
320
+
 
321
+2003-07-13  gettextize  <bug-gnu-gettext@gnu.org>
 
322
+
 
323
+       * Makefile.in.in: New file, from gettext-0.12.1.
 
324
+       * boldquot.sed: New file, from gettext-0.12.1.
 
325
+       * en@boldquot.header: New file, from gettext-0.12.1.
 
326
+       * en@quot.header: New file, from gettext-0.12.1.
 
327
+       * insert-header.sin: New file, from gettext-0.12.1.
 
328
+       * quot.sed: New file, from gettext-0.12.1.
 
329
+       * remove-potcdate.sin: New file, from gettext-0.12.1.
 
330
+       * Rules-quot: New file, from gettext-0.12.1.
 
331
+
 
332
diff -ruN newt-0.51.6-old/po/cs.po newt-0.51.6/po/cs.po
 
333
--- newt-0.51.6-old/po/cs.po    1970-01-01 00:00:00.000000000 +0000
 
334
+++ newt-0.51.6/po/cs.po        2004-02-17 10:00:25.000000000 +0000
 
335
@@ -0,0 +1,32 @@
 
336
+# Czech translations for newt
 
337
+# Copyright (C) 2003 Free Software Foundation
 
338
+# This file is distributed under the same license as the newt package.
 
339
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
340
+#
 
341
+msgid ""
 
342
+msgstr ""
 
343
+"Project-Id-Version: newt 0.51.4\n"
 
344
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
345
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
346
+"PO-Revision-Date: 2004-01-10 19:16+0100\n"
 
347
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
 
348
+"Language-Team: Czech\n"
 
349
+"MIME-Version: 1.0\n"
 
350
+"Content-Type: text/plain; charset=UTF-8\n"
 
351
+"Content-Transfer-Encoding: 8bit\n"
 
352
+
 
353
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
354
+msgid "Ok"
 
355
+msgstr "Ok"
 
356
+
 
357
+#: dialogboxes.c:35
 
358
+msgid "Cancel"
 
359
+msgstr "Zrušit"
 
360
+
 
361
+#: dialogboxes.c:422
 
362
+msgid "Yes"
 
363
+msgstr "Ano"
 
364
+
 
365
+#: dialogboxes.c:424
 
366
+msgid "No"
 
367
+msgstr "Ne"
 
368
diff -ruN newt-0.51.6-old/po/da.po newt-0.51.6/po/da.po
 
369
--- newt-0.51.6-old/po/da.po    1970-01-01 00:00:00.000000000 +0000
 
370
+++ newt-0.51.6/po/da.po        2004-02-17 10:00:25.000000000 +0000
 
371
@@ -0,0 +1,33 @@
 
372
+# translation of da.po to Danish
 
373
+# translation of newt to Danish
 
374
+# Copyright (C) 2003 Free Software Foundation
 
375
+# This file is distributed under the same license as the newt package.
 
376
+# Claus Hindsgaul <claus_h@image.dk>, 2004.
 
377
+msgid ""
 
378
+msgstr ""
 
379
+"Project-Id-Version: da\n"
 
380
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
381
+"PO-Revision-Date: 2004-01-12 16:54+0100\n"
 
382
+"Last-Translator: Claus Hindsgaul <claus_h@image.dk>\n"
 
383
+"Language-Team: Danish <dansk@klid.dk>\n"
 
384
+"MIME-Version: 1.0\n"
 
385
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
386
+"Content-Transfer-Encoding: 8bit\n"
 
387
+"X-Generator: KBabel 1.0.2\n"
 
388
+
 
389
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
390
+msgid "Ok"
 
391
+msgstr "O.k."
 
392
+
 
393
+#: dialogboxes.c:35
 
394
+msgid "Cancel"
 
395
+msgstr "Afbryd"
 
396
+
 
397
+#: dialogboxes.c:422
 
398
+msgid "Yes"
 
399
+msgstr "Ja"
 
400
+
 
401
+#: dialogboxes.c:424
 
402
+msgid "No"
 
403
+msgstr "Nej"
 
404
+
 
405
diff -ruN newt-0.51.6-old/po/de.po newt-0.51.6/po/de.po
 
406
--- newt-0.51.6-old/po/de.po    1970-01-01 00:00:00.000000000 +0000
 
407
+++ newt-0.51.6/po/de.po        2004-02-17 10:00:25.000000000 +0000
 
408
@@ -0,0 +1,32 @@
 
409
+# German translations for newt
 
410
+# Copyright (C) 2003 Free Software Foundation
 
411
+# This file is distributed under the same license as the newt package.
 
412
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
413
+#
 
414
+msgid ""
 
415
+msgstr ""
 
416
+"Project-Id-Version: newt 0.51.4\n"
 
417
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
418
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
419
+"PO-Revision-Date: 2003-07-13 13:25+0100\n"
 
420
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
421
+"Language-Team: German <de@li.org>\n"
 
422
+"MIME-Version: 1.0\n"
 
423
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
424
+"Content-Transfer-Encoding: 8bit\n"
 
425
+
 
426
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
427
+msgid "Ok"
 
428
+msgstr "Ok"
 
429
+
 
430
+#: dialogboxes.c:35
 
431
+msgid "Cancel"
 
432
+msgstr "Abbrechen"
 
433
+
 
434
+#: dialogboxes.c:422
 
435
+msgid "Yes"
 
436
+msgstr "Ja"
 
437
+
 
438
+#: dialogboxes.c:424
 
439
+msgid "No"
 
440
+msgstr "Nein"
 
441
diff -ruN newt-0.51.6-old/po/el.po newt-0.51.6/po/el.po
 
442
--- newt-0.51.6-old/po/el.po    1970-01-01 00:00:00.000000000 +0000
 
443
+++ newt-0.51.6/po/el.po        2004-03-01 13:15:43.000000000 +0000
 
444
@@ -0,0 +1,37 @@
 
445
+# translation of el.po to Greek
 
446
+# translation of newt.po to Greek
 
447
+# This file is distributed under the same license as the PACKAGE package.
 
448
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
 
449
+# Konstantinos Margaritis <markos@debian.org>, 2004.
 
450
+#
 
451
+msgid ""
 
452
+msgstr ""
 
453
+"Project-Id-Version: el\n"
 
454
+"Report-Msgid-Bugs-To: \n"
 
455
+"POT-Creation-Date: 2004-01-09 12:09+0200\n"
 
456
+"PO-Revision-Date: 2004-01-09 12:10EEST\n"
 
457
+"Last-Translator: Konstantinos Margaritis <markos@debian.org>\n"
 
458
+"Language-Team: Greek <debian-l10n-greek@lists.debian.org>\n"
 
459
+"MIME-Version: 1.0\n"
 
460
+"Content-Type: text/plain; charset=UTF-8\n"
 
461
+"Content-Transfer-Encoding: 8bit\n"
 
462
+"X-Generator: KBabel 1.0.2\n"
 
463
+
 
464
+#. FIXME: Ugh. DO SOMETHING ABOUT THESE HARD-CODED CONSTANTS
 
465
+#. THEY WILL BREAK WITH TRANSLATION
 
466
+#: dialogboxes.c:45 dialogboxes.c:50 dialogboxes.c:460
 
467
+msgid "Ok"
 
468
+msgstr "Eντάξει"
 
469
+
 
470
+#: dialogboxes.c:53
 
471
+msgid "Cancel"
 
472
+msgstr "Ακύρωση"
 
473
+
 
474
+#: dialogboxes.c:464
 
475
+msgid "Yes"
 
476
+msgstr "Ναι"
 
477
+
 
478
+#: dialogboxes.c:467
 
479
+msgid "No"
 
480
+msgstr "Όχι"
 
481
+
 
482
diff -ruN newt-0.51.6-old/po/en@boldquot.header newt-0.51.6/po/en@boldquot.header
 
483
--- newt-0.51.6-old/po/en@boldquot.header       1970-01-01 00:00:00.000000000 +0000
 
484
+++ newt-0.51.6/po/en@boldquot.header   2004-02-17 10:00:25.000000000 +0000
 
485
@@ -0,0 +1,25 @@
 
486
+# All this catalog "translates" are quotation characters.
 
487
+# The msgids must be ASCII and therefore cannot contain real quotation
 
488
+# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
 
489
+# and double quote (0x22). These substitutes look strange; see
 
490
+# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
 
491
+#
 
492
+# This catalog translates grave accent (0x60) and apostrophe (0x27) to
 
493
+# left single quotation mark (U+2018) and right single quotation mark (U+2019).
 
494
+# It also translates pairs of apostrophe (0x27) to
 
495
+# left single quotation mark (U+2018) and right single quotation mark (U+2019)
 
496
+# and pairs of quotation mark (0x22) to
 
497
+# left double quotation mark (U+201C) and right double quotation mark (U+201D).
 
498
+#
 
499
+# When output to an UTF-8 terminal, the quotation characters appear perfectly.
 
500
+# When output to an ISO-8859-1 terminal, the single quotation marks are
 
501
+# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
 
502
+# grave/acute accent (by libiconv), and the double quotation marks are
 
503
+# transliterated to 0x22.
 
504
+# When output to an ASCII terminal, the single quotation marks are
 
505
+# transliterated to apostrophes, and the double quotation marks are
 
506
+# transliterated to 0x22.
 
507
+#
 
508
+# This catalog furthermore displays the text between the quotation marks in
 
509
+# bold face, assuming the VT100/XTerm escape sequences.
 
510
+#
 
511
diff -ruN newt-0.51.6-old/po/en@quot.header newt-0.51.6/po/en@quot.header
 
512
--- newt-0.51.6-old/po/en@quot.header   1970-01-01 00:00:00.000000000 +0000
 
513
+++ newt-0.51.6/po/en@quot.header       2004-02-17 10:00:25.000000000 +0000
 
514
@@ -0,0 +1,22 @@
 
515
+# All this catalog "translates" are quotation characters.
 
516
+# The msgids must be ASCII and therefore cannot contain real quotation
 
517
+# characters, only substitutes like grave accent (0x60), apostrophe (0x27)
 
518
+# and double quote (0x22). These substitutes look strange; see
 
519
+# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
 
520
+#
 
521
+# This catalog translates grave accent (0x60) and apostrophe (0x27) to
 
522
+# left single quotation mark (U+2018) and right single quotation mark (U+2019).
 
523
+# It also translates pairs of apostrophe (0x27) to
 
524
+# left single quotation mark (U+2018) and right single quotation mark (U+2019)
 
525
+# and pairs of quotation mark (0x22) to
 
526
+# left double quotation mark (U+201C) and right double quotation mark (U+201D).
 
527
+#
 
528
+# When output to an UTF-8 terminal, the quotation characters appear perfectly.
 
529
+# When output to an ISO-8859-1 terminal, the single quotation marks are
 
530
+# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to
 
531
+# grave/acute accent (by libiconv), and the double quotation marks are
 
532
+# transliterated to 0x22.
 
533
+# When output to an ASCII terminal, the single quotation marks are
 
534
+# transliterated to apostrophes, and the double quotation marks are
 
535
+# transliterated to 0x22.
 
536
+#
 
537
diff -ruN newt-0.51.6-old/po/es.po newt-0.51.6/po/es.po
 
538
--- newt-0.51.6-old/po/es.po    1970-01-01 00:00:00.000000000 +0000
 
539
+++ newt-0.51.6/po/es.po        2004-02-17 10:00:25.000000000 +0000
 
540
@@ -0,0 +1,33 @@
 
541
+# Spanish translations for newt
 
542
+# Copyright (C) 2003 Free Software Foundation
 
543
+# This file is distributed under the same license as the newt package.
 
544
+# Alastair McKinstry <mckinstry@debian.org>, 2003
 
545
+msgid ""
 
546
+msgstr ""
 
547
+"Project-Id-Version: newt 0.51.4\n"
 
548
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
549
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
550
+"PO-Revision-Date: 2003-07-13 13:25+0100\n"
 
551
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
552
+"Language-Team: Spanish <es@li.org>\n"
 
553
+"MIME-Version: 1.0\n"
 
554
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
555
+"Content-Transfer-Encoding: 8bit\n"
 
556
+
 
557
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
558
+msgid "Ok"
 
559
+msgstr "Aceptar"
 
560
+
 
561
+#: dialogboxes.c:35
 
562
+msgid "Cancel"
 
563
+msgstr "Cancelar"
 
564
+
 
565
+#: dialogboxes.c:422
 
566
+msgid "Yes"
 
567
+msgstr "S�"
 
568
+
 
569
+#: dialogboxes.c:424
 
570
+msgid "No"
 
571
+msgstr "No"
 
572
+
 
573
+
 
574
diff -ruN newt-0.51.6-old/po/fi.po newt-0.51.6/po/fi.po
 
575
--- newt-0.51.6-old/po/fi.po    1970-01-01 00:00:00.000000000 +0000
 
576
+++ newt-0.51.6/po/fi.po        2004-02-17 10:00:25.000000000 +0000
 
577
@@ -0,0 +1,33 @@
 
578
+# Copyright (C) 2004 Redhat.
 
579
+# This file is distributed under the same license as the newt package.
 
580
+# Tommi Vainikainen, 2004.
 
581
+#
 
582
+msgid ""
 
583
+msgstr ""
 
584
+"Project-Id-Version: newt 0.51.4\n"
 
585
+"Report-Msgid-Bugs-To: \n"
 
586
+"POT-Creation-Date: 2004-01-09 22:32+0200\n"
 
587
+"PO-Revision-Date: 2004-01-09 22:34+0200\n"
 
588
+"Last-Translator: Tommi Vainikainen <thv+debian@iki.fi>\n"
 
589
+"Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n"
 
590
+"MIME-Version: 1.0\n"
 
591
+"Content-Type: text/plain; charset=UTF-8\n"
 
592
+"Content-Transfer-Encoding: 8bit\n"
 
593
+
 
594
+#. FIXME: Ugh. DO SOMETHING ABOUT THESE HARD-CODED CONSTANTS
 
595
+#. THEY WILL BREAK WITH TRANSLATION
 
596
+#: dialogboxes.c:45 dialogboxes.c:50 dialogboxes.c:460
 
597
+msgid "Ok"
 
598
+msgstr "OK"
 
599
+
 
600
+#: dialogboxes.c:53
 
601
+msgid "Cancel"
 
602
+msgstr "Peru"
 
603
+
 
604
+#: dialogboxes.c:464
 
605
+msgid "Yes"
 
606
+msgstr "Kyllä"
 
607
+
 
608
+#: dialogboxes.c:467
 
609
+msgid "No"
 
610
+msgstr "Ei"
 
611
diff -ruN newt-0.51.6-old/po/fr.po newt-0.51.6/po/fr.po
 
612
--- newt-0.51.6-old/po/fr.po    1970-01-01 00:00:00.000000000 +0000
 
613
+++ newt-0.51.6/po/fr.po        2004-02-17 10:00:25.000000000 +0000
 
614
@@ -0,0 +1,32 @@
 
615
+# French  translations for newt
 
616
+# Copyright (C) 2003 Free Software Foundation
 
617
+# This file is distributed under the same license as the newt package.
 
618
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
619
+#
 
620
+msgid ""
 
621
+msgstr ""
 
622
+"Project-Id-Version: newt 0.51.4\n"
 
623
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
624
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
625
+"PO-Revision-Date: 2003-07-19 11:25+0100\n"
 
626
+"Last-Translator: Christian Perrier\n"
 
627
+"Language-Team: Debian French <debian-l10n-french@lists.debian.org>\n"
 
628
+"MIME-Version: 1.0\n"
 
629
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
630
+"Content-Transfer-Encoding: 8bit\n"
 
631
+
 
632
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
633
+msgid "Ok"
 
634
+msgstr "Ok"
 
635
+
 
636
+#: dialogboxes.c:35
 
637
+msgid "Cancel"
 
638
+msgstr "Annuler"
 
639
+
 
640
+#: dialogboxes.c:422
 
641
+msgid "Yes"
 
642
+msgstr "Oui"
 
643
+
 
644
+#: dialogboxes.c:424
 
645
+msgid "No"
 
646
+msgstr "Non"
 
647
diff -ruN newt-0.51.6-old/po/ga.po newt-0.51.6/po/ga.po
 
648
--- newt-0.51.6-old/po/ga.po    1970-01-01 00:00:00.000000000 +0000
 
649
+++ newt-0.51.6/po/ga.po        2004-02-17 10:00:25.000000000 +0000
 
650
@@ -0,0 +1,32 @@
 
651
+# Irish translations for newt
 
652
+# Copyright (C) 2003,2004 Free Software Foundation
 
653
+# This file is distributed under the same license as the newt package.
 
654
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
655
+#
 
656
+msgid ""
 
657
+msgstr ""
 
658
+"Project-Id-Version: newt 0.51.4\n"
 
659
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
660
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
661
+"PO-Revision-Date: 2004-01-10 13:25+0100\n"
 
662
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
663
+"Language-Team: Irish <ga@li.org>\n"
 
664
+"MIME-Version: 1.0\n"
 
665
+"Content-Type: text/plain; charset=UTF-8\n"
 
666
+"Content-Transfer-Encoding: 8bit\n"
 
667
+
 
668
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
669
+msgid "Ok"
 
670
+msgstr "Ceart go Leor"
 
671
+
 
672
+#: dialogboxes.c:35
 
673
+msgid "Cancel"
 
674
+msgstr "Ceallaigh"
 
675
+
 
676
+#: dialogboxes.c:422
 
677
+msgid "Yes"
 
678
+msgstr "Tá"
 
679
+
 
680
+#: dialogboxes.c:424
 
681
+msgid "No"
 
682
+msgstr "Níl"
 
683
diff -ruN newt-0.51.6-old/po/hu.po newt-0.51.6/po/hu.po
 
684
--- newt-0.51.6-old/po/hu.po    1970-01-01 00:00:00.000000000 +0000
 
685
+++ newt-0.51.6/po/hu.po        2004-02-17 10:00:25.000000000 +0000
 
686
@@ -0,0 +1,36 @@
 
687
+# Hungarian translation of newt.
 
688
+# Copyright (C) 2003 THE RedHat.
 
689
+# This file is distributed under the same license as the newt package.
 
690
+# VERÓK István <vi@fsf.hu>, 2003.
 
691
+# Translators, please read /usr/share/doc/po-debconf/README-trans
 
692
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
 
693
+# 
 
694
+# 
 
695
+msgid ""
 
696
+msgstr ""
 
697
+"Project-Id-Version: newt 0.51.4\n"
 
698
+"Report-Msgid-Bugs-To: \n"
 
699
+"POT-Creation-Date: 2004-01-09 11:34-0700\n"
 
700
+"PO-Revision-Date: 2004-01-09 20:35+0100\n"
 
701
+"Last-Translator: VERÓK István <vi@fsf.hu>\n"
 
702
+"Language-Team: Hungarian\n"
 
703
+"MIME-Version: 1.0\n"
 
704
+"Content-Type: text/plain; charset=UTF-8\n"
 
705
+"Content-Transfer-Encoding: 8bit"
 
706
+
 
707
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
708
+msgid "Ok"
 
709
+msgstr "Ok"
 
710
+
 
711
+#: dialogboxes.c:35
 
712
+msgid "Cancel"
 
713
+msgstr "Mégsem"
 
714
+
 
715
+#: dialogboxes.c:422
 
716
+msgid "Yes"
 
717
+msgstr "Igen"
 
718
+
 
719
+#: dialogboxes.c:424
 
720
+msgid "No"
 
721
+msgstr "Nem"
 
722
+
 
723
diff -ruN newt-0.51.6-old/po/insert-header.sin newt-0.51.6/po/insert-header.sin
 
724
--- newt-0.51.6-old/po/insert-header.sin        1970-01-01 00:00:00.000000000 +0000
 
725
+++ newt-0.51.6/po/insert-header.sin    2004-02-17 10:00:25.000000000 +0000
 
726
@@ -0,0 +1,23 @@
 
727
+# Sed script that inserts the file called HEADER before the header entry.
 
728
+#
 
729
+# At each occurrence of a line starting with "msgid ", we execute the following
 
730
+# commands. At the first occurrence, insert the file. At the following
 
731
+# occurrences, do nothing. The distinction between the first and the following
 
732
+# occurrences is achieved by looking at the hold space.
 
733
+/^msgid /{
 
734
+x
 
735
+# Test if the hold space is empty.
 
736
+s/m/m/
 
737
+ta
 
738
+# Yes it was empty. First occurrence. Read the file.
 
739
+r HEADER
 
740
+# Output the file's contents by reading the next line. But don't lose the
 
741
+# current line while doing this.
 
742
+g
 
743
+N
 
744
+bb
 
745
+:a
 
746
+# The hold space was nonempty. Following occurrences. Do nothing.
 
747
+x
 
748
+:b
 
749
+}
 
750
diff -ruN newt-0.51.6-old/po/it.po newt-0.51.6/po/it.po
 
751
--- newt-0.51.6-old/po/it.po    1970-01-01 00:00:00.000000000 +0000
 
752
+++ newt-0.51.6/po/it.po        2004-02-17 10:00:25.000000000 +0000
 
753
@@ -0,0 +1,34 @@
 
754
+# Italian translations for newt
 
755
+# Copyright (C) 2003 Free Software Foundation
 
756
+# This file is distributed under the same license as the newt package.
 
757
+# Giuseppe Sacco <eppesuig@debian.org>, 2004.
 
758
+#
 
759
+msgid ""
 
760
+msgstr ""
 
761
+"Project-Id-Version: newt 0.51.4\n"
 
762
+"Report-Msgid-Bugs-To: \n"
 
763
+"POT-Creation-Date: 2004-01-09 09:45+0000\n"
 
764
+"PO-Revision-Date: 2003-07-19 11:25+0100\n"
 
765
+"Last-Translator: Giuseppe Sacco <eppesuig@debian.org>\n"
 
766
+"Language-Team: Debian Italian <debian-l10n-italian@lists.debian.org>\n"
 
767
+"MIME-Version: 1.0\n"
 
768
+"Content-Type: text/plain; charset=ISO-8859-1\n"
 
769
+"Content-Transfer-Encoding: 8bit\n"
 
770
+
 
771
+#. FIXME: Ugh. DO SOMETHING ABOUT THESE HARD-CODED CONSTANTS
 
772
+#. THEY WILL BREAK WITH TRANSLATION
 
773
+#: dialogboxes.c:45 dialogboxes.c:50 dialogboxes.c:460
 
774
+msgid "Ok"
 
775
+msgstr "Ok"
 
776
+
 
777
+#: dialogboxes.c:53
 
778
+msgid "Cancel"
 
779
+msgstr "Annulla"
 
780
+
 
781
+#: dialogboxes.c:464
 
782
+msgid "Yes"
 
783
+msgstr "S�"
 
784
+
 
785
+#: dialogboxes.c:467
 
786
+msgid "No"
 
787
+msgstr "No"
 
788
diff -ruN newt-0.51.6-old/po/ja.po newt-0.51.6/po/ja.po
 
789
--- newt-0.51.6-old/po/ja.po    1970-01-01 00:00:00.000000000 +0000
 
790
+++ newt-0.51.6/po/ja.po        2004-02-17 10:00:25.000000000 +0000
 
791
@@ -0,0 +1,32 @@
 
792
+# Japanese translations for newt
 
793
+# Copyright (C) 2003,2004 Free Software Foundation
 
794
+# This file is distributed under the same license as the newt package.
 
795
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
796
+#
 
797
+msgid ""
 
798
+msgstr ""
 
799
+"Project-Id-Version: newt 0.51.4\n"
 
800
+"Report-Msgid-Bugs-To: kubota@debian.org\n"
 
801
+"POT-Creation-Date: 2003-07-19 08:02+0900\n"
 
802
+"PO-Revision-Date: 2003-07-19 08:02+0900\n"
 
803
+"Last-Translator: Tomohiro KUBOTA <kubota@debian.org>\n"
 
804
+"Language-Team: Japanese <debian-doc@debian.or.jp>\n"
 
805
+"MIME-Version: 1.0\n"
 
806
+"Content-Type: text/plain; charset=EUC-JP\n"
 
807
+"Content-Transfer-Encoding: 8bit\n"
 
808
+
 
809
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
810
+msgid "Ok"
 
811
+msgstr "λ��"
 
812
+
 
813
+#: dialogboxes.c:35
 
814
+msgid "Cancel"
 
815
+msgstr "���"
 
816
+
 
817
+#: dialogboxes.c:422
 
818
+msgid "Yes"
 
819
+msgstr "�Ϥ�"
 
820
+
 
821
+#: dialogboxes.c:424
 
822
+msgid "No"
 
823
+msgstr "������"
 
824
diff -ruN newt-0.51.6-old/po/lt.po newt-0.51.6/po/lt.po
 
825
--- newt-0.51.6-old/po/lt.po    1970-01-01 00:00:00.000000000 +0000
 
826
+++ newt-0.51.6/po/lt.po        2004-02-17 10:00:25.000000000 +0000
 
827
@@ -0,0 +1,34 @@
 
828
+# Lithuanian translations for newt
 
829
+# Copyright (C) 2003 Free Software Foundation
 
830
+# This file is distributed under the same license as the newt package.
 
831
+# Kęstutis Biliūnas <kebil@kaunas.init.lt>, 2004.
 
832
+# 
 
833
+# 
 
834
+msgid ""
 
835
+msgstr ""
 
836
+"Project-Id-Version: newt 0.51.4\n"
 
837
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
838
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
839
+"PO-Revision-Date: 2004-01-13 22:07+0200\n"
 
840
+"Last-Translator: Kęstutis Biliūnas <kebil@kaunas.init.lt>\n"
 
841
+"Language-Team: Lithuanian <komp_lt@konferencijos.lt>\n"
 
842
+"MIME-Version: 1.0\n"
 
843
+"Content-Type: text/plain; charset=UTF-8\n"
 
844
+"Content-Transfer-Encoding: 8bit"
 
845
+
 
846
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
847
+msgid "Ok"
 
848
+msgstr "Gerai"
 
849
+
 
850
+#: dialogboxes.c:35
 
851
+msgid "Cancel"
 
852
+msgstr "Atšaukti"
 
853
+
 
854
+#: dialogboxes.c:422
 
855
+msgid "Yes"
 
856
+msgstr "Taip"
 
857
+
 
858
+#: dialogboxes.c:424
 
859
+msgid "No"
 
860
+msgstr "Ne"
 
861
+
 
862
diff -ruN newt-0.51.6-old/po/Makefile newt-0.51.6/po/Makefile
 
863
--- newt-0.51.6-old/po/Makefile 1970-01-01 00:00:00.000000000 +0000
 
864
+++ newt-0.51.6/po/Makefile     2004-02-17 10:00:25.000000000 +0000
 
865
@@ -0,0 +1,146 @@
 
866
+PACKAGE = newt
 
867
+VERSION = 0.51.4
 
868
+
 
869
+# include ../make_include
 
870
+
 
871
+#
 
872
+# po2tbl.sed is not taken from /usr/share/gettext/intl
 
873
+# Often it is not present.
 
874
+# A RedHat 5.2 installation only has po2tbl.sed.in.
 
875
+#
 
876
+PO2TBL = ./po2tbl.sed
 
877
+INTL = /usr/share/gettext/intl
 
878
+# FOREIGN=--foreign-user
 
879
+FOREIGN=
 
880
+SHELL = /bin/sh
 
881
+
 
882
+prefix = ${DESTDIR}
 
883
+datadir = $(prefix)/share
 
884
+localedir = $(datadir)/locale
 
885
+gnulocaledir = $(prefix)/share/locale
 
886
+gettextsrcdir = $(prefix)/share/gettext/po
 
887
+
 
888
+INSTALL = /usr/bin/install -c
 
889
+INSTALL_DATA = ${INSTALL} -m 644
 
890
+
 
891
+# Not giving an explicit path improves the chances of finding these
 
892
+GENCAT = gencat
 
893
+MSGFMT = msgfmt
 
894
+XGETTEXT = xgettext
 
895
+MSGMERGE = msgmerge
 
896
+
 
897
+# ..      for <config.h> (if HAVE_CONFIG_H is set)
 
898
+# $(INTL) for "libgettext.h"
 
899
+INCLUDES = -I.. -I$(INTL)
 
900
+
 
901
+COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
 
902
+
 
903
+# Enter here all .po files
 
904
+POFILES =  ca.po de.po el.po es.po fi.po fr.po ga.po hu.po it.po ja.po nb.po nn.po pl.po pt_BR.po ru.po sl.po sv.po 
 
905
+# the same but with .gmo
 
906
+GMOFILES =  ca.gmo de.gmo el.gmo es.gmo fi.gmo fr.gmo ga.gmo hu.gmo it.gmo ja.gmo nb.gmo nn.gmo pl.gmo pt_BR.gmo ru.gmo sl.gmo sv.gmo 
 
907
+
 
908
+CATALOGS = $(GMOFILES)
 
909
+CATOBJEXT = .gmo
 
910
+INSTOBJEXT = .mo
 
911
+
 
912
+.SUFFIXES:
 
913
+.SUFFIXES: .c .o .po .gmo .mo .msg .cat
 
914
+
 
915
+.c.o:
 
916
+       $(COMPILE) $<
 
917
+
 
918
+.po.mo:
 
919
+       $(MSGFMT) -o $@ $<
 
920
+
 
921
+.po.gmo:
 
922
+       $(MSGFMT) -o $@ $<
 
923
+
 
924
+.po.cat:
 
925
+       sed -f $(PO2TBL) < $< > $*.msg \
 
926
+         && rm -f $@ && $(GENCAT) $@ $*.msg
 
927
+
 
928
+po-stamp:  $(CATALOGS)
 
929
+       touch po-stamp
 
930
+
 
931
+all: $(CATALOGS) po-stamp
 
932
+
 
933
+newt.pot:
 
934
+       $(XGETTEXT) --default-domain=$(PACKAGE) --directory=.. \
 
935
+         --add-comments --keyword=_ --keyword=N_ \
 
936
+         --files-from=POTFILES.in
 
937
+       mv newt.po newt.pot
 
938
+
 
939
+cat-id-tbl.c: stamp-cat-id
 
940
+stamp-cat-id: $(PACKAGE).pot
 
941
+       rm -f cat-id-tbl.tmp
 
942
+       sed -f $(PO2TBL) $(PACKAGE).pot \
 
943
+               | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp
 
944
+       if cmp -s cat-id-tbl.tmp cat-id-tbl.c; then \
 
945
+         rm cat-id-tbl.tmp; \
 
946
+       else \
 
947
+         echo cat-id-tbl.c changed; \
 
948
+         rm -f cat-id-tbl.c; \
 
949
+         mv cat-id-tbl.tmp cat-id-tbl.c; \
 
950
+       fi
 
951
+       rm -f stamp-cat-id && echo timestamp > stamp-cat-id
 
952
+
 
953
+install: install-data-$(HAVE_XGETTEXT)
 
954
+install-data-no: all
 
955
+install-data-yes: all
 
956
+       ../mkinstalldirs $(datadir);
 
957
+       @catalogs='$(CATALOGS)'; \
 
958
+       for cat in $$catalogs; do \
 
959
+         case "$$cat" in \
 
960
+           *.gmo) destdir=$(gnulocaledir);; \
 
961
+           *)     destdir=$(localedir);; \
 
962
+         esac; \
 
963
+         lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
 
964
+         dir=$$destdir/$$lang/LC_MESSAGES; \
 
965
+         ../mkinstalldirs $$dir; \
 
966
+         $(INSTALL_DATA) $$cat $$dir/newt$(INSTOBJEXT); \
 
967
+         echo "installing $$cat as $$dir/newt$(INSTOBJEXT)"; \
 
968
+         if test -r $$cat.m; then \
 
969
+           $(INSTALL_DATA) $$cat.m $$dir/newt$(INSTOBJEXT).m; \
 
970
+           echo "installing $$cat.m as $$dir/newt$(INSTOBJEXT).m"; \
 
971
+         fi; \
 
972
+       done
 
973
+
 
974
+uninstall:
 
975
+       catalogs='$(CATALOGS)'; \
 
976
+       for cat in $$catalogs; do \
 
977
+         lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
 
978
+         rm -f $(localedir)/$$lang/LC_MESSAGES/newt$(INSTOBJEXT); \
 
979
+         rm -f $(localedir)/$$lang/LC_MESSAGES/newt$(INSTOBJEXT).m; \
 
980
+         rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/newt$(INSTOBJEXT); \
 
981
+         rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/newt$(INSTOBJEXT).m; \
 
982
+       done
 
983
+       rm -f $(gettextsrcdir)/po-Makefile.in.in
 
984
+
 
985
+cat-id-tbl.o: $(INTL)/libgettext.h
 
986
+
 
987
+clean:
 
988
+       rm -f core core.* *~ *.o newt.pot cat-id-tbl.tmp *.gmo po-stamp
 
989
+
 
990
+distclean: clean
 
991
+       rm -f POTFILES *.gmo *.mo *.msg *.cat *.cat.m
 
992
+
 
993
+update-po: 
 
994
+       $(MAKE) newt.pot
 
995
+       catalogs='$(CATALOGS)'; \
 
996
+       for cat in $$catalogs; do \
 
997
+         lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
 
998
+         mv $$lang.po $$lang.old.po; \
 
999
+         echo "$$lang:"; \
 
1000
+         if $(MSGMERGE) $$lang.old.po newt.pot -o $$lang.po; then \
 
1001
+           rm -f $$lang.old.po; \
 
1002
+         else \
 
1003
+           echo "msgmerge for $$cat failed!"; \
 
1004
+           rm -f $$lang.po; \
 
1005
+           mv $$lang.old.po $$lang.po; \
 
1006
+         fi; \
 
1007
+       done
 
1008
+
 
1009
+POTFILES: 
 
1010
+       ./update-potfiles
 
1011
+
 
1012
diff -ruN newt-0.51.6-old/po/Makefile.in newt-0.51.6/po/Makefile.in
 
1013
--- newt-0.51.6-old/po/Makefile.in      1970-01-01 00:00:00.000000000 +0000
 
1014
+++ newt-0.51.6/po/Makefile.in  2004-02-17 10:00:25.000000000 +0000
 
1015
@@ -0,0 +1,353 @@
 
1016
+# Generated automatically from Makefile.in.in by configure.
 
1017
+# Makefile for PO directory in any package using GNU gettext.
 
1018
+# Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
 
1019
+#
 
1020
+# This file can be copied and used freely without restrictions.  It can
 
1021
+# be used in projects which are not available under the GNU General Public
 
1022
+# License but which still want to provide support for the GNU gettext
 
1023
+# functionality.
 
1024
+# Please note that the actual code of GNU gettext is covered by the GNU
 
1025
+# General Public License and is *not* in the public domain.
 
1026
+
 
1027
+PACKAGE = newt
 
1028
+VERSION = 0.51.4
 
1029
+
 
1030
+SHELL = /bin/sh
 
1031
+@SET_MAKE@
 
1032
+
 
1033
+srcdir = .
 
1034
+top_srcdir = ..
 
1035
+
 
1036
+prefix = /usr/local
 
1037
+exec_prefix = ${prefix}
 
1038
+datadir = ${prefix}/share
 
1039
+localedir = $(datadir)/locale
 
1040
+gettextsrcdir = $(datadir)/gettext/po
 
1041
+
 
1042
+INSTALL = /usr/bin/install -c
 
1043
+INSTALL_DATA = ${INSTALL} -m 644
 
1044
+MKINSTALLDIRS = @MKINSTALLDIRS@
 
1045
+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
 
1046
+
 
1047
+GMSGFMT = @GMSGFMT@
 
1048
+MSGFMT = @MSGFMT@
 
1049
+XGETTEXT = @XGETTEXT@
 
1050
+MSGMERGE = msgmerge
 
1051
+MSGMERGE_UPDATE = @MSGMERGE@ --update
 
1052
+MSGINIT = msginit
 
1053
+MSGCONV = msgconv
 
1054
+MSGFILTER = msgfilter
 
1055
+
 
1056
+POFILES = @POFILES@
 
1057
+GMOFILES = @GMOFILES@
 
1058
+UPDATEPOFILES = @UPDATEPOFILES@
 
1059
+DUMMYPOFILES = @DUMMYPOFILES@
 
1060
+DISTFILES.common = Makefile.in.in remove-potcdate.sin \
 
1061
+$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
 
1062
+DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \
 
1063
+$(POFILES) $(GMOFILES) \
 
1064
+$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
 
1065
+
 
1066
+POTFILES = \
 
1067
+
 
1068
+CATALOGS = @CATALOGS@
 
1069
+
 
1070
+# Makevars gets inserted here. (Don't remove this line!)
 
1071
+
 
1072
+.SUFFIXES:
 
1073
+.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update
 
1074
+
 
1075
+.po.mo:
 
1076
+       @echo "$(MSGFMT) -c -o $@ $<"; \
 
1077
+       $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
 
1078
+
 
1079
+.po.gmo:
 
1080
+       @lang=`echo $* | sed -e 's,.*/,,'`; \
 
1081
+       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
1082
+       echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
 
1083
+       cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
 
1084
+
 
1085
+.sin.sed:
 
1086
+       sed -e '/^#/d' $< > t-$@
 
1087
+       mv t-$@ $@
 
1088
+
 
1089
+
 
1090
+all: all-@USE_NLS@
 
1091
+
 
1092
+all-yes: stamp-po
 
1093
+all-no:
 
1094
+
 
1095
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
 
1096
+# been loosely updated. Its purpose is that when a developer or translator
 
1097
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
 
1098
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
 
1099
+# invocations of "make" will do nothing. This timestamp would not be necessary
 
1100
+# if updating the $(CATALOGS) would always touch them; however, the rule for
 
1101
+# $(POFILES) has been designed to not touch files that don't need to be
 
1102
+# changed.
 
1103
+stamp-po: $(srcdir)/$(DOMAIN).pot
 
1104
+       test -z "$(CATALOGS)" || $(MAKE) $(CATALOGS)
 
1105
+       @echo "touch stamp-po"
 
1106
+       @echo timestamp > stamp-poT
 
1107
+       @mv stamp-poT stamp-po
 
1108
+
 
1109
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
 
1110
+# otherwise packages like GCC can not be built if only parts of the source
 
1111
+# have been downloaded.
 
1112
+
 
1113
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
 
1114
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
 
1115
+$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
 
1116
+       $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
 
1117
+         --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
 
1118
+         --files-from=$(srcdir)/POTFILES.in \
 
1119
+         --copyright-holder='$(COPYRIGHT_HOLDER)' \
 
1120
+         --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
 
1121
+       test ! -f $(DOMAIN).po || { \
 
1122
+         if test -f $(srcdir)/$(DOMAIN).pot; then \
 
1123
+           sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
 
1124
+           sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
 
1125
+           if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
 
1126
+             rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
 
1127
+           else \
 
1128
+             rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
 
1129
+             mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
 
1130
+           fi; \
 
1131
+         else \
 
1132
+           mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
 
1133
+         fi; \
 
1134
+       }
 
1135
+
 
1136
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
 
1137
+# every "make" invocation, only create it when it is missing.
 
1138
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
 
1139
+$(srcdir)/$(DOMAIN).pot:
 
1140
+       $(MAKE) $(DOMAIN).pot-update
 
1141
+
 
1142
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
 
1143
+# Note that a PO file is not touched if it doesn't need to be changed.
 
1144
+$(POFILES): $(srcdir)/$(DOMAIN).pot
 
1145
+       @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
 
1146
+       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
1147
+       echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
 
1148
+       cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
 
1149
+
 
1150
+
 
1151
+install: install-exec install-data
 
1152
+install-exec:
 
1153
+install-data: install-data-@USE_NLS@
 
1154
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1155
+         $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
 
1156
+         for file in $(DISTFILES.common) Makevars.template; do \
 
1157
+           $(INSTALL_DATA) $(srcdir)/$$file \
 
1158
+                           $(DESTDIR)$(gettextsrcdir)/$$file; \
 
1159
+         done; \
 
1160
+         for file in Makevars; do \
 
1161
+           rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
 
1162
+         done; \
 
1163
+       else \
 
1164
+         : ; \
 
1165
+       fi
 
1166
+install-data-no: all
 
1167
+install-data-yes: all
 
1168
+       $(mkinstalldirs) $(DESTDIR)$(datadir)
 
1169
+       @catalogs='$(CATALOGS)'; \
 
1170
+       for cat in $$catalogs; do \
 
1171
+         cat=`basename $$cat`; \
 
1172
+         lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
1173
+         dir=$(localedir)/$$lang/LC_MESSAGES; \
 
1174
+         $(mkinstalldirs) $(DESTDIR)$$dir; \
 
1175
+         if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
 
1176
+         $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
 
1177
+         echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
 
1178
+         for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 
1179
+           if test -n "$$lc"; then \
 
1180
+             if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
 
1181
+               link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
 
1182
+               mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1183
+               mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1184
+               (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
 
1185
+                for file in *; do \
 
1186
+                  if test -f $$file; then \
 
1187
+                    ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
 
1188
+                  fi; \
 
1189
+                done); \
 
1190
+               rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1191
+             else \
 
1192
+               if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
 
1193
+                 :; \
 
1194
+               else \
 
1195
+                 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1196
+                 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1197
+               fi; \
 
1198
+             fi; \
 
1199
+             rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
1200
+             ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
 
1201
+             ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
 
1202
+             cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
1203
+             echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
 
1204
+           fi; \
 
1205
+         done; \
 
1206
+       done
 
1207
+
 
1208
+install-strip: install
 
1209
+
 
1210
+installdirs: installdirs-exec installdirs-data
 
1211
+installdirs-exec:
 
1212
+installdirs-data: installdirs-data-@USE_NLS@
 
1213
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1214
+         $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
 
1215
+       else \
 
1216
+         : ; \
 
1217
+       fi
 
1218
+installdirs-data-no:
 
1219
+installdirs-data-yes:
 
1220
+       $(mkinstalldirs) $(DESTDIR)$(datadir)
 
1221
+       @catalogs='$(CATALOGS)'; \
 
1222
+       for cat in $$catalogs; do \
 
1223
+         cat=`basename $$cat`; \
 
1224
+         lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
1225
+         dir=$(localedir)/$$lang/LC_MESSAGES; \
 
1226
+         $(mkinstalldirs) $(DESTDIR)$$dir; \
 
1227
+         for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 
1228
+           if test -n "$$lc"; then \
 
1229
+             if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
 
1230
+               link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
 
1231
+               mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1232
+               mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1233
+               (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
 
1234
+                for file in *; do \
 
1235
+                  if test -f $$file; then \
 
1236
+                    ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
 
1237
+                  fi; \
 
1238
+                done); \
 
1239
+               rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1240
+             else \
 
1241
+               if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
 
1242
+                 :; \
 
1243
+               else \
 
1244
+                 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1245
+                 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1246
+               fi; \
 
1247
+             fi; \
 
1248
+           fi; \
 
1249
+         done; \
 
1250
+       done
 
1251
+
 
1252
+# Define this as empty until I found a useful application.
 
1253
+installcheck:
 
1254
+
 
1255
+uninstall: uninstall-exec uninstall-data
 
1256
+uninstall-exec:
 
1257
+uninstall-data: uninstall-data-@USE_NLS@
 
1258
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1259
+         for file in $(DISTFILES.common) Makevars.template; do \
 
1260
+           rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
 
1261
+         done; \
 
1262
+       else \
 
1263
+         : ; \
 
1264
+       fi
 
1265
+uninstall-data-no:
 
1266
+uninstall-data-yes:
 
1267
+       catalogs='$(CATALOGS)'; \
 
1268
+       for cat in $$catalogs; do \
 
1269
+         cat=`basename $$cat`; \
 
1270
+         lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
1271
+         for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
 
1272
+           rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
1273
+         done; \
 
1274
+       done
 
1275
+
 
1276
+check: all
 
1277
+
 
1278
+info dvi ps pdf html tags TAGS ctags CTAGS ID:
 
1279
+
 
1280
+mostlyclean:
 
1281
+       rm -f remove-potcdate.sed
 
1282
+       rm -f stamp-poT
 
1283
+       rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
 
1284
+       rm -fr *.o
 
1285
+
 
1286
+clean: mostlyclean
 
1287
+
 
1288
+distclean: clean
 
1289
+       rm -f Makefile Makefile.in POTFILES *.mo
 
1290
+
 
1291
+maintainer-clean: distclean
 
1292
+       @echo "This command is intended for maintainers to use;"
 
1293
+       @echo "it deletes files that may require special tools to rebuild."
 
1294
+       rm -f stamp-po $(GMOFILES)
 
1295
+
 
1296
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
1297
+dist distdir:
 
1298
+       $(MAKE) update-po
 
1299
+       @$(MAKE) dist2
 
1300
+# This is a separate target because 'update-po' must be executed before.
 
1301
+dist2: $(DISTFILES)
 
1302
+       dists="$(DISTFILES)"; \
 
1303
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1304
+         dists="$$dists Makevars.template"; \
 
1305
+       fi; \
 
1306
+       if test -f $(srcdir)/ChangeLog; then \
 
1307
+         dists="$$dists ChangeLog"; \
 
1308
+       fi; \
 
1309
+       for i in 0 1 2 3 4 5 6 7 8 9; do \
 
1310
+         if test -f $(srcdir)/ChangeLog.$$i; then \
 
1311
+           dists="$$dists ChangeLog.$$i"; \
 
1312
+         fi; \
 
1313
+       done; \
 
1314
+       if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
 
1315
+       for file in $$dists; do \
 
1316
+         if test -f $$file; then \
 
1317
+           cp -p $$file $(distdir); \
 
1318
+         else \
 
1319
+           cp -p $(srcdir)/$$file $(distdir); \
 
1320
+         fi; \
 
1321
+       done
 
1322
+
 
1323
+update-po: Makefile
 
1324
+       $(MAKE) $(DOMAIN).pot-update
 
1325
+       test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
 
1326
+       $(MAKE) update-gmo
 
1327
+
 
1328
+# General rule for updating PO files.
 
1329
+
 
1330
+.nop.po-update:
 
1331
+       @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
 
1332
+       if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
 
1333
+       tmpdir=`pwd`; \
 
1334
+       echo "$$lang:"; \
 
1335
+       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
1336
+       echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
 
1337
+       cd $(srcdir); \
 
1338
+       if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
 
1339
+         if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
 
1340
+           rm -f $$tmpdir/$$lang.new.po; \
 
1341
+         else \
 
1342
+           if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
 
1343
+             :; \
 
1344
+           else \
 
1345
+             echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
 
1346
+             exit 1; \
 
1347
+           fi; \
 
1348
+         fi; \
 
1349
+       else \
 
1350
+         echo "msgmerge for $$lang.po failed!" 1>&2; \
 
1351
+         rm -f $$tmpdir/$$lang.new.po; \
 
1352
+       fi
 
1353
+
 
1354
+$(DUMMYPOFILES):
 
1355
+
 
1356
+update-gmo: Makefile $(GMOFILES)
 
1357
+       @:
 
1358
+
 
1359
+Makefile: Makefile.in.in $(top_builddir)/config.status @POMAKEFILEDEPS@
 
1360
+       cd $(top_builddir) \
 
1361
+         && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
 
1362
+              $(SHELL) ./config.status
 
1363
+
 
1364
+force:
 
1365
+
 
1366
+# Tell versions [3.59,3.63) of GNU make not to export all variables.
 
1367
+# Otherwise a system limit (for SysV at least) may be exceeded.
 
1368
+.NOEXPORT:
 
1369
diff -ruN newt-0.51.6-old/po/Makefile.in.in newt-0.51.6/po/Makefile.in.in
 
1370
--- newt-0.51.6-old/po/Makefile.in.in   1970-01-01 00:00:00.000000000 +0000
 
1371
+++ newt-0.51.6/po/Makefile.in.in       2004-02-17 10:00:25.000000000 +0000
 
1372
@@ -0,0 +1,353 @@
 
1373
+# Makefile for PO directory in any package using GNU gettext.
 
1374
+# Copyright (C) 1995-1997, 2000-2003 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
 
1375
+#
 
1376
+# This file can be copied and used freely without restrictions.  It can
 
1377
+# be used in projects which are not available under the GNU General Public
 
1378
+# License but which still want to provide support for the GNU gettext
 
1379
+# functionality.
 
1380
+# Please note that the actual code of GNU gettext is covered by the GNU
 
1381
+# General Public License and is *not* in the public domain.
 
1382
+
 
1383
+PACKAGE = @PACKAGE@
 
1384
+VERSION = @VERSION@
 
1385
+
 
1386
+SHELL = /bin/sh
 
1387
+@SET_MAKE@
 
1388
+
 
1389
+srcdir = @srcdir@
 
1390
+top_srcdir = @top_srcdir@
 
1391
+VPATH = @srcdir@
 
1392
+
 
1393
+prefix = @prefix@
 
1394
+exec_prefix = @exec_prefix@
 
1395
+datadir = @datadir@
 
1396
+localedir = $(datadir)/locale
 
1397
+gettextsrcdir = $(datadir)/gettext/po
 
1398
+
 
1399
+INSTALL = @INSTALL@
 
1400
+INSTALL_DATA = @INSTALL_DATA@
 
1401
+MKINSTALLDIRS = @MKINSTALLDIRS@
 
1402
+mkinstalldirs = $(SHELL) $(MKINSTALLDIRS)
 
1403
+
 
1404
+GMSGFMT = @GMSGFMT@
 
1405
+MSGFMT = @MSGFMT@
 
1406
+XGETTEXT = @XGETTEXT@
 
1407
+MSGMERGE = msgmerge
 
1408
+MSGMERGE_UPDATE = @MSGMERGE@ --update
 
1409
+MSGINIT = msginit
 
1410
+MSGCONV = msgconv
 
1411
+MSGFILTER = msgfilter
 
1412
+
 
1413
+POFILES = @POFILES@
 
1414
+GMOFILES = @GMOFILES@
 
1415
+UPDATEPOFILES = @UPDATEPOFILES@
 
1416
+DUMMYPOFILES = @DUMMYPOFILES@
 
1417
+DISTFILES.common = Makefile.in.in remove-potcdate.sin \
 
1418
+$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
 
1419
+DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \
 
1420
+$(POFILES) $(GMOFILES) \
 
1421
+$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
 
1422
+
 
1423
+POTFILES = \
 
1424
+
 
1425
+CATALOGS = @CATALOGS@
 
1426
+
 
1427
+# Makevars gets inserted here. (Don't remove this line!)
 
1428
+
 
1429
+.SUFFIXES:
 
1430
+.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update
 
1431
+
 
1432
+.po.mo:
 
1433
+       @echo "$(MSGFMT) -c -o $@ $<"; \
 
1434
+       $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
 
1435
+
 
1436
+.po.gmo:
 
1437
+       @lang=`echo $* | sed -e 's,.*/,,'`; \
 
1438
+       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
1439
+       echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
 
1440
+       cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
 
1441
+
 
1442
+.sin.sed:
 
1443
+       sed -e '/^#/d' $< > t-$@
 
1444
+       mv t-$@ $@
 
1445
+
 
1446
+
 
1447
+all: all-@USE_NLS@
 
1448
+
 
1449
+all-yes: stamp-po
 
1450
+all-no:
 
1451
+
 
1452
+# stamp-po is a timestamp denoting the last time at which the CATALOGS have
 
1453
+# been loosely updated. Its purpose is that when a developer or translator
 
1454
+# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS,
 
1455
+# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent
 
1456
+# invocations of "make" will do nothing. This timestamp would not be necessary
 
1457
+# if updating the $(CATALOGS) would always touch them; however, the rule for
 
1458
+# $(POFILES) has been designed to not touch files that don't need to be
 
1459
+# changed.
 
1460
+stamp-po: $(srcdir)/$(DOMAIN).pot
 
1461
+       test -z "$(CATALOGS)" || $(MAKE) $(CATALOGS)
 
1462
+       @echo "touch stamp-po"
 
1463
+       @echo timestamp > stamp-poT
 
1464
+       @mv stamp-poT stamp-po
 
1465
+
 
1466
+# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
 
1467
+# otherwise packages like GCC can not be built if only parts of the source
 
1468
+# have been downloaded.
 
1469
+
 
1470
+# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
 
1471
+# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
 
1472
+$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
 
1473
+       $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
 
1474
+         --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
 
1475
+         --files-from=$(srcdir)/POTFILES.in \
 
1476
+         --copyright-holder='$(COPYRIGHT_HOLDER)' \
 
1477
+         --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)'
 
1478
+       test ! -f $(DOMAIN).po || { \
 
1479
+         if test -f $(srcdir)/$(DOMAIN).pot; then \
 
1480
+           sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
 
1481
+           sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
 
1482
+           if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
 
1483
+             rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
 
1484
+           else \
 
1485
+             rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
 
1486
+             mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
 
1487
+           fi; \
 
1488
+         else \
 
1489
+           mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
 
1490
+         fi; \
 
1491
+       }
 
1492
+
 
1493
+# This rule has no dependencies: we don't need to update $(DOMAIN).pot at
 
1494
+# every "make" invocation, only create it when it is missing.
 
1495
+# Only "make $(DOMAIN).pot-update" or "make dist" will force an update.
 
1496
+$(srcdir)/$(DOMAIN).pot:
 
1497
+       $(MAKE) $(DOMAIN).pot-update
 
1498
+
 
1499
+# This target rebuilds a PO file if $(DOMAIN).pot has changed.
 
1500
+# Note that a PO file is not touched if it doesn't need to be changed.
 
1501
+$(POFILES): $(srcdir)/$(DOMAIN).pot
 
1502
+       @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
 
1503
+       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
1504
+       echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
 
1505
+       cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
 
1506
+
 
1507
+
 
1508
+install: install-exec install-data
 
1509
+install-exec:
 
1510
+install-data: install-data-@USE_NLS@
 
1511
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1512
+         $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
 
1513
+         for file in $(DISTFILES.common) Makevars.template; do \
 
1514
+           $(INSTALL_DATA) $(srcdir)/$$file \
 
1515
+                           $(DESTDIR)$(gettextsrcdir)/$$file; \
 
1516
+         done; \
 
1517
+         for file in Makevars; do \
 
1518
+           rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
 
1519
+         done; \
 
1520
+       else \
 
1521
+         : ; \
 
1522
+       fi
 
1523
+install-data-no: all
 
1524
+install-data-yes: all
 
1525
+       $(mkinstalldirs) $(DESTDIR)$(datadir)
 
1526
+       @catalogs='$(CATALOGS)'; \
 
1527
+       for cat in $$catalogs; do \
 
1528
+         cat=`basename $$cat`; \
 
1529
+         lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
1530
+         dir=$(localedir)/$$lang/LC_MESSAGES; \
 
1531
+         $(mkinstalldirs) $(DESTDIR)$$dir; \
 
1532
+         if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
 
1533
+         $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
 
1534
+         echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
 
1535
+         for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 
1536
+           if test -n "$$lc"; then \
 
1537
+             if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
 
1538
+               link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
 
1539
+               mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1540
+               mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1541
+               (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
 
1542
+                for file in *; do \
 
1543
+                  if test -f $$file; then \
 
1544
+                    ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
 
1545
+                  fi; \
 
1546
+                done); \
 
1547
+               rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1548
+             else \
 
1549
+               if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
 
1550
+                 :; \
 
1551
+               else \
 
1552
+                 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1553
+                 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1554
+               fi; \
 
1555
+             fi; \
 
1556
+             rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
1557
+             ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
 
1558
+             ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
 
1559
+             cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
1560
+             echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
 
1561
+           fi; \
 
1562
+         done; \
 
1563
+       done
 
1564
+
 
1565
+install-strip: install
 
1566
+
 
1567
+installdirs: installdirs-exec installdirs-data
 
1568
+installdirs-exec:
 
1569
+installdirs-data: installdirs-data-@USE_NLS@
 
1570
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1571
+         $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
 
1572
+       else \
 
1573
+         : ; \
 
1574
+       fi
 
1575
+installdirs-data-no:
 
1576
+installdirs-data-yes:
 
1577
+       $(mkinstalldirs) $(DESTDIR)$(datadir)
 
1578
+       @catalogs='$(CATALOGS)'; \
 
1579
+       for cat in $$catalogs; do \
 
1580
+         cat=`basename $$cat`; \
 
1581
+         lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
1582
+         dir=$(localedir)/$$lang/LC_MESSAGES; \
 
1583
+         $(mkinstalldirs) $(DESTDIR)$$dir; \
 
1584
+         for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
 
1585
+           if test -n "$$lc"; then \
 
1586
+             if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
 
1587
+               link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
 
1588
+               mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1589
+               mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1590
+               (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
 
1591
+                for file in *; do \
 
1592
+                  if test -f $$file; then \
 
1593
+                    ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
 
1594
+                  fi; \
 
1595
+                done); \
 
1596
+               rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
 
1597
+             else \
 
1598
+               if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
 
1599
+                 :; \
 
1600
+               else \
 
1601
+                 rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1602
+                 mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
 
1603
+               fi; \
 
1604
+             fi; \
 
1605
+           fi; \
 
1606
+         done; \
 
1607
+       done
 
1608
+
 
1609
+# Define this as empty until I found a useful application.
 
1610
+installcheck:
 
1611
+
 
1612
+uninstall: uninstall-exec uninstall-data
 
1613
+uninstall-exec:
 
1614
+uninstall-data: uninstall-data-@USE_NLS@
 
1615
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1616
+         for file in $(DISTFILES.common) Makevars.template; do \
 
1617
+           rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
 
1618
+         done; \
 
1619
+       else \
 
1620
+         : ; \
 
1621
+       fi
 
1622
+uninstall-data-no:
 
1623
+uninstall-data-yes:
 
1624
+       catalogs='$(CATALOGS)'; \
 
1625
+       for cat in $$catalogs; do \
 
1626
+         cat=`basename $$cat`; \
 
1627
+         lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
 
1628
+         for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
 
1629
+           rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
 
1630
+         done; \
 
1631
+       done
 
1632
+
 
1633
+check: all
 
1634
+
 
1635
+info dvi ps pdf html tags TAGS ctags CTAGS ID:
 
1636
+
 
1637
+mostlyclean:
 
1638
+       rm -f remove-potcdate.sed
 
1639
+       rm -f stamp-poT
 
1640
+       rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
 
1641
+       rm -fr *.o
 
1642
+
 
1643
+clean: mostlyclean
 
1644
+
 
1645
+distclean: clean
 
1646
+       rm -f Makefile Makefile.in POTFILES *.mo
 
1647
+
 
1648
+maintainer-clean: distclean
 
1649
+       @echo "This command is intended for maintainers to use;"
 
1650
+       @echo "it deletes files that may require special tools to rebuild."
 
1651
+       rm -f stamp-po $(GMOFILES)
 
1652
+
 
1653
+distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
 
1654
+dist distdir:
 
1655
+       $(MAKE) update-po
 
1656
+       @$(MAKE) dist2
 
1657
+# This is a separate target because 'update-po' must be executed before.
 
1658
+dist2: $(DISTFILES)
 
1659
+       dists="$(DISTFILES)"; \
 
1660
+       if test "$(PACKAGE)" = "gettext-tools"; then \
 
1661
+         dists="$$dists Makevars.template"; \
 
1662
+       fi; \
 
1663
+       if test -f $(srcdir)/ChangeLog; then \
 
1664
+         dists="$$dists ChangeLog"; \
 
1665
+       fi; \
 
1666
+       for i in 0 1 2 3 4 5 6 7 8 9; do \
 
1667
+         if test -f $(srcdir)/ChangeLog.$$i; then \
 
1668
+           dists="$$dists ChangeLog.$$i"; \
 
1669
+         fi; \
 
1670
+       done; \
 
1671
+       if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
 
1672
+       for file in $$dists; do \
 
1673
+         if test -f $$file; then \
 
1674
+           cp -p $$file $(distdir); \
 
1675
+         else \
 
1676
+           cp -p $(srcdir)/$$file $(distdir); \
 
1677
+         fi; \
 
1678
+       done
 
1679
+
 
1680
+update-po: Makefile
 
1681
+       $(MAKE) $(DOMAIN).pot-update
 
1682
+       test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES)
 
1683
+       $(MAKE) update-gmo
 
1684
+
 
1685
+# General rule for updating PO files.
 
1686
+
 
1687
+.nop.po-update:
 
1688
+       @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
 
1689
+       if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \
 
1690
+       tmpdir=`pwd`; \
 
1691
+       echo "$$lang:"; \
 
1692
+       test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
 
1693
+       echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
 
1694
+       cd $(srcdir); \
 
1695
+       if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
 
1696
+         if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
 
1697
+           rm -f $$tmpdir/$$lang.new.po; \
 
1698
+         else \
 
1699
+           if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
 
1700
+             :; \
 
1701
+           else \
 
1702
+             echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
 
1703
+             exit 1; \
 
1704
+           fi; \
 
1705
+         fi; \
 
1706
+       else \
 
1707
+         echo "msgmerge for $$lang.po failed!" 1>&2; \
 
1708
+         rm -f $$tmpdir/$$lang.new.po; \
 
1709
+       fi
 
1710
+
 
1711
+$(DUMMYPOFILES):
 
1712
+
 
1713
+update-gmo: Makefile $(GMOFILES)
 
1714
+       @:
 
1715
+
 
1716
+Makefile: Makefile.in.in $(top_builddir)/config.status @POMAKEFILEDEPS@
 
1717
+       cd $(top_builddir) \
 
1718
+         && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
 
1719
+              $(SHELL) ./config.status
 
1720
+
 
1721
+force:
 
1722
+
 
1723
+# Tell versions [3.59,3.63) of GNU make not to export all variables.
 
1724
+# Otherwise a system limit (for SysV at least) may be exceeded.
 
1725
+.NOEXPORT:
 
1726
diff -ruN newt-0.51.6-old/po/Makevars newt-0.51.6/po/Makevars
 
1727
--- newt-0.51.6-old/po/Makevars 1970-01-01 00:00:00.000000000 +0000
 
1728
+++ newt-0.51.6/po/Makevars     2004-02-17 10:00:25.000000000 +0000
 
1729
@@ -0,0 +1,41 @@
 
1730
+# Makefile variables for PO directory in any package using GNU gettext.
 
1731
+
 
1732
+# Usually the message domain is the same as the package name.
 
1733
+DOMAIN = $(PACKAGE)
 
1734
+
 
1735
+# These two variables depend on the location of this directory.
 
1736
+subdir = po
 
1737
+top_builddir = ..
 
1738
+
 
1739
+# These options get passed to xgettext.
 
1740
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
 
1741
+
 
1742
+# This is the copyright holder that gets inserted into the header of the
 
1743
+# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
 
1744
+# package.  (Note that the msgstr strings, extracted from the package's
 
1745
+# sources, belong to the copyright holder of the package.)  Translators are
 
1746
+# expected to transfer the copyright for their translations to this person
 
1747
+# or entity, or to disclaim their copyright.  The empty string stands for
 
1748
+# the public domain; in this case the translators are expected to disclaim
 
1749
+# their copyright.
 
1750
+COPYRIGHT_HOLDER = Free Software Foundation, Inc.
 
1751
+
 
1752
+# This is the email address or URL to which the translators shall report
 
1753
+# bugs in the untranslated strings:
 
1754
+# - Strings which are not entire sentences, see the maintainer guidelines
 
1755
+#   in the GNU gettext documentation, section 'Preparing Strings'.
 
1756
+# - Strings which use unclear terms or require additional context to be
 
1757
+#   understood.
 
1758
+# - Strings which make invalid assumptions about notation of date, time or
 
1759
+#   money.
 
1760
+# - Pluralisation problems.
 
1761
+# - Incorrect English spelling.
 
1762
+# - Incorrect formatting.
 
1763
+# It can be your email address, or a mailing list address where translators
 
1764
+# can write to without being subscribed, or the URL of a web page through
 
1765
+# which the translators can contact you.
 
1766
+MSGID_BUGS_ADDRESS = mckinstry@debian.org
 
1767
+
 
1768
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
 
1769
+# message catalogs shall be used.  It is usually empty.
 
1770
+EXTRA_LOCALE_CATEGORIES =
 
1771
diff -ruN newt-0.51.6-old/po/Makevars.template newt-0.51.6/po/Makevars.template
 
1772
--- newt-0.51.6-old/po/Makevars.template        1970-01-01 00:00:00.000000000 +0000
 
1773
+++ newt-0.51.6/po/Makevars.template    2004-02-17 10:00:25.000000000 +0000
 
1774
@@ -0,0 +1,41 @@
 
1775
+# Makefile variables for PO directory in any package using GNU gettext.
 
1776
+
 
1777
+# Usually the message domain is the same as the package name.
 
1778
+DOMAIN = newt
 
1779
+
 
1780
+# These two variables depend on the location of this directory.
 
1781
+subdir = po
 
1782
+top_builddir = ..
 
1783
+
 
1784
+# These options get passed to xgettext.
 
1785
+XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
 
1786
+
 
1787
+# This is the copyright holder that gets inserted into the header of the
 
1788
+# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding
 
1789
+# package.  (Note that the msgstr strings, extracted from the package's
 
1790
+# sources, belong to the copyright holder of the package.)  Translators are
 
1791
+# expected to transfer the copyright for their translations to this person
 
1792
+# or entity, or to disclaim their copyright.  The empty string stands for
 
1793
+# the public domain; in this case the translators are expected to disclaim
 
1794
+# their copyright.
 
1795
+COPYRIGHT_HOLDER = Free Software Foundation, Inc.
 
1796
+
 
1797
+# This is the email address or URL to which the translators shall report
 
1798
+# bugs in the untranslated strings:
 
1799
+# - Strings which are not entire sentences, see the maintainer guidelines
 
1800
+#   in the GNU gettext documentation, section 'Preparing Strings'.
 
1801
+# - Strings which use unclear terms or require additional context to be
 
1802
+#   understood.
 
1803
+# - Strings which make invalid assumptions about notation of date, time or
 
1804
+#   money.
 
1805
+# - Pluralisation problems.
 
1806
+# - Incorrect English spelling.
 
1807
+# - Incorrect formatting.
 
1808
+# It can be your email address, or a mailing list address where translators
 
1809
+# can write to without being subscribed, or the URL of a web page through
 
1810
+# which the translators can contact you.
 
1811
+MSGID_BUGS_ADDRESS = Alastair McKinstry <mckinstry@computer.org>
 
1812
+
 
1813
+# This is the list of locale categories, beyond LC_MESSAGES, for which the
 
1814
+# message catalogs shall be used.  It is usually empty.
 
1815
+EXTRA_LOCALE_CATEGORIES =
 
1816
diff -ruN newt-0.51.6-old/po/nb.po newt-0.51.6/po/nb.po
 
1817
--- newt-0.51.6-old/po/nb.po    1970-01-01 00:00:00.000000000 +0000
 
1818
+++ newt-0.51.6/po/nb.po        2004-02-17 10:00:25.000000000 +0000
 
1819
@@ -0,0 +1,32 @@
 
1820
+# Norwegian translations for newt
 
1821
+# Copyright (C) 2003 Free Software Foundation
 
1822
+# This file is distributed under the same license as the newt package.
 
1823
+# Alastair McKinstry <mckinstry@debian.org>, 2003
 
1824
+msgid ""
 
1825
+msgstr ""
 
1826
+"Project-Id-Version: newt 0.51.4\n"
 
1827
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
1828
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
1829
+"PO-Revision-Date: 2003-07-13 13:25+0100\n"
 
1830
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
1831
+"Language-Team: Norwegian <nb@li.org>\n"
 
1832
+"MIME-Version: 1.0\n"
 
1833
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
1834
+"Content-Transfer-Encoding: 8bit\n"
 
1835
+
 
1836
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
1837
+msgid "Ok"
 
1838
+msgstr "Ok"
 
1839
+
 
1840
+#: dialogboxes.c:35
 
1841
+msgid "Cancel"
 
1842
+msgstr "Avbryt"
 
1843
+
 
1844
+#: dialogboxes.c:422
 
1845
+msgid "Yes"
 
1846
+msgstr "Ja"
 
1847
+
 
1848
+#: dialogboxes.c:424
 
1849
+msgid "No"
 
1850
+msgstr "Nei"
 
1851
+
 
1852
diff -ruN newt-0.51.6-old/po/nl.po newt-0.51.6/po/nl.po
 
1853
--- newt-0.51.6-old/po/nl.po    1970-01-01 00:00:00.000000000 +0000
 
1854
+++ newt-0.51.6/po/nl.po        2004-02-17 10:00:25.000000000 +0000
 
1855
@@ -0,0 +1,33 @@
 
1856
+# SOME DESCRIPTIVE TITLE.
 
1857
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 
1858
+# This file is distributed under the same license as the PACKAGE package.
 
1859
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
 
1860
+#
 
1861
+msgid ""
 
1862
+msgstr ""
 
1863
+"Project-Id-Version: newt\n"
 
1864
+"POT-Creation-Date: 2004-01-09 11:47+0100\n"
 
1865
+"PO-Revision-Date: 2004-01-09 11:49+0100\n"
 
1866
+"Last-Translator: Bart Cornelis <cobaco@linux.be>\n"
 
1867
+"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n"
 
1868
+"MIME-Version: 1.0\n"
 
1869
+"Content-Type: text/plain; charset=iso-8859-15\n"
 
1870
+"Content-Transfer-Encoding: 8bit\n"
 
1871
+
 
1872
+#. FIXME: Ugh. DO SOMETHING ABOUT THESE HARD-CODED CONSTANTS
 
1873
+#. THEY WILL BREAK WITH TRANSLATION
 
1874
+#: dialogboxes.c:45 dialogboxes.c:50 dialogboxes.c:460
 
1875
+msgid "Ok"
 
1876
+msgstr "Ok"
 
1877
+
 
1878
+#: dialogboxes.c:53
 
1879
+msgid "Cancel"
 
1880
+msgstr "Annuleren"
 
1881
+
 
1882
+#: dialogboxes.c:464
 
1883
+msgid "Yes"
 
1884
+msgstr "Ja"
 
1885
+
 
1886
+#: dialogboxes.c:467
 
1887
+msgid "No"
 
1888
+msgstr "Nee"
 
1889
diff -ruN newt-0.51.6-old/po/nn.po newt-0.51.6/po/nn.po
 
1890
--- newt-0.51.6-old/po/nn.po    1970-01-01 00:00:00.000000000 +0000
 
1891
+++ newt-0.51.6/po/nn.po        2004-02-17 10:00:25.000000000 +0000
 
1892
@@ -0,0 +1,32 @@
 
1893
+# Norwegian translations for newt
 
1894
+# Copyright (C) 2003 Free Software Foundation
 
1895
+# This file is distributed under the same license as the newt package.
 
1896
+# Alastair McKinstry <mckinstry@debian.org>, 2003
 
1897
+msgid ""
 
1898
+msgstr ""
 
1899
+"Project-Id-Version: newt 0.51.4\n"
 
1900
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
1901
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
1902
+"PO-Revision-Date: 2003-07-13 13:25+0100\n"
 
1903
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
1904
+"Language-Team: Irish <nn@li.org>\n"
 
1905
+"MIME-Version: 1.0\n"
 
1906
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
1907
+"Content-Transfer-Encoding: 8bit\n"
 
1908
+
 
1909
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
1910
+msgid "Ok"
 
1911
+msgstr "Ok"
 
1912
+
 
1913
+#: dialogboxes.c:35
 
1914
+msgid "Cancel"
 
1915
+msgstr "Avbryt"
 
1916
+
 
1917
+#: dialogboxes.c:422
 
1918
+msgid "Yes"
 
1919
+msgstr "Ja"
 
1920
+
 
1921
+#: dialogboxes.c:424
 
1922
+msgid "No"
 
1923
+msgstr "Nei"
 
1924
+
 
1925
diff -ruN newt-0.51.6-old/po/pl.po newt-0.51.6/po/pl.po
 
1926
--- newt-0.51.6-old/po/pl.po    1970-01-01 00:00:00.000000000 +0000
 
1927
+++ newt-0.51.6/po/pl.po        2004-02-17 10:00:25.000000000 +0000
 
1928
@@ -0,0 +1,33 @@
 
1929
+# Polish translations for newt
 
1930
+# Copyright (C) 2003 Free Software Foundation
 
1931
+# This file is distributed under the same license as the newt package.
 
1932
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
1933
+#
 
1934
+msgid ""
 
1935
+msgstr ""
 
1936
+"Project-Id-Version: newt 0.51.4\n"
 
1937
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
1938
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
1939
+"PO-Revision-Date: 2004-01-09 10:40+0100\n"
 
1940
+"Last-Translator: Bartosz Fenski <fenio@o2.pl>\n"
 
1941
+"Language-Team: Polish <pddp@debian.linux.org.pl>\n"
 
1942
+"MIME-Version: 1.0\n"
 
1943
+"Content-Type: text/plain; charset=ISO-8859-2\n"
 
1944
+"Content-Transfer-Encoding: 8bit\n"
 
1945
+
 
1946
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
1947
+msgid "Ok"
 
1948
+msgstr "Ok"
 
1949
+
 
1950
+#: dialogboxes.c:35
 
1951
+msgid "Cancel"
 
1952
+msgstr "Anuluj"
 
1953
+
 
1954
+#: dialogboxes.c:422
 
1955
+msgid "Yes"
 
1956
+msgstr "Tak"
 
1957
+
 
1958
+#: dialogboxes.c:424
 
1959
+msgid "No"
 
1960
+msgstr "Nie"
 
1961
+
 
1962
diff -ruN newt-0.51.6-old/po/po2tbl.sed newt-0.51.6/po/po2tbl.sed
 
1963
--- newt-0.51.6-old/po/po2tbl.sed       1970-01-01 00:00:00.000000000 +0000
 
1964
+++ newt-0.51.6/po/po2tbl.sed   2004-02-17 10:00:25.000000000 +0000
 
1965
@@ -0,0 +1,102 @@
 
1966
+# po2tbl.sed - Convert Uniforum style .po file to lookup table for catgets
 
1967
+# Copyright (C) 1995 Free Software Foundation, Inc.
 
1968
+# Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
 
1969
+#
 
1970
+# This program is free software; you can redistribute it and/or modify
 
1971
+# it under the terms of the GNU General Public License as published by
 
1972
+# the Free Software Foundation; either version 2, or (at your option)
 
1973
+# any later version.
 
1974
+#
 
1975
+# This program is distributed in the hope that it will be useful,
 
1976
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
1977
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
1978
+# GNU General Public License for more details.
 
1979
+#
 
1980
+# You should have received a copy of the GNU General Public License
 
1981
+# along with this program; if not, write to the Free Software
 
1982
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
1983
+#
 
1984
+1 {
 
1985
+  i\
 
1986
+/* Automatically generated by po2tbl.sed from @PACKAGE NAME@.pot.  */\
 
1987
+\
 
1988
+#if HAVE_CONFIG_H\
 
1989
+# include <config.h>\
 
1990
+#endif\
 
1991
+\
 
1992
+#include "libgettext.h"\
 
1993
+\
 
1994
+const struct _msg_ent _msg_tbl[] = {
 
1995
+  h
 
1996
+  s/.*/0/
 
1997
+  x
 
1998
+}
 
1999
+#
 
2000
+# Write msgid entries in C array form.
 
2001
+#
 
2002
+/^msgid/ {
 
2003
+  s/msgid[     ]*\(".*"\)/  {\1/
 
2004
+  tb
 
2005
+# Append the next line
 
2006
+  :b
 
2007
+  N
 
2008
+# Look whether second part is continuation line.
 
2009
+  s/\(.*\)"\(\n\)"\(.*"\)/\1\2\3/
 
2010
+# Yes, then branch.
 
2011
+  ta
 
2012
+# Because we assume that the input file correctly formed the line
 
2013
+# just read cannot be again be a msgid line.  So it's safe to ignore
 
2014
+# it.
 
2015
+  s/\(.*\)\n.*/\1/
 
2016
+  bc
 
2017
+# We found a continuation line.  But before printing insert '\'.
 
2018
+  :a
 
2019
+  s/\(.*\)\(\n.*\)/\1\\\2/
 
2020
+  P
 
2021
+# We cannot use D here.
 
2022
+  s/.*\n\(.*\)/\1/
 
2023
+# Some buggy seds do not clear the `successful substitution since last ``t'''
 
2024
+# flag on `N', so we do a `t' here to clear it.
 
2025
+  tb
 
2026
+# Not reached
 
2027
+  :c
 
2028
+  x
 
2029
+# The following nice solution is by
 
2030
+# Bruno <Haible@ma2s2.mathematik.uni-karlsruhe.de>
 
2031
+  td
 
2032
+# Increment a decimal number in pattern space.
 
2033
+# First hide trailing `9' digits.
 
2034
+  :d
 
2035
+  s/9\(_*\)$/_\1/
 
2036
+  td
 
2037
+# Assure at least one digit is available.
 
2038
+  s/^\(_*\)$/0\1/
 
2039
+# Increment the last digit.
 
2040
+  s/8\(_*\)$/9\1/
 
2041
+  s/7\(_*\)$/8\1/
 
2042
+  s/6\(_*\)$/7\1/
 
2043
+  s/5\(_*\)$/6\1/
 
2044
+  s/4\(_*\)$/5\1/
 
2045
+  s/3\(_*\)$/4\1/
 
2046
+  s/2\(_*\)$/3\1/
 
2047
+  s/1\(_*\)$/2\1/
 
2048
+  s/0\(_*\)$/1\1/
 
2049
+# Convert the hidden `9' digits to `0's.
 
2050
+  s/_/0/g
 
2051
+  x
 
2052
+  G
 
2053
+  s/\(.*\)\n\([0-9]*\)/\1, \2},/
 
2054
+  s/\(.*\)"$/\1/
 
2055
+  p
 
2056
+}
 
2057
+#
 
2058
+# Last line.
 
2059
+#
 
2060
+$ {
 
2061
+  i\
 
2062
+};\
 
2063
+
 
2064
+  g
 
2065
+  s/0*\(.*\)/int _msg_tbl_length = \1;/p
 
2066
+}
 
2067
+d
 
2068
diff -ruN newt-0.51.6-old/po/POTFILES.in newt-0.51.6/po/POTFILES.in
 
2069
--- newt-0.51.6-old/po/POTFILES.in      1970-01-01 00:00:00.000000000 +0000
 
2070
+++ newt-0.51.6/po/POTFILES.in  2004-02-17 10:00:25.000000000 +0000
 
2071
@@ -0,0 +1 @@
 
2072
+dialogboxes.c
 
2073
diff -ruN newt-0.51.6-old/po/pt_BR.po newt-0.51.6/po/pt_BR.po
 
2074
--- newt-0.51.6-old/po/pt_BR.po 1970-01-01 00:00:00.000000000 +0000
 
2075
+++ newt-0.51.6/po/pt_BR.po     2004-02-17 10:00:25.000000000 +0000
 
2076
@@ -0,0 +1,32 @@
 
2077
+# Brazilian Portuguese translations for newt
 
2078
+# Copyright (C) 2003 Free Software Foundation
 
2079
+# This file is distributed under the same license as the newt package.
 
2080
+# Andr� Lu�s Lopes <andrelop@debian.org>, 2003.
 
2081
+#
 
2082
+msgid ""
 
2083
+msgstr ""
 
2084
+"Project-Id-Version: newt 0.51.4\n"
 
2085
+"Report-Msgid-Bugs-To: andrelop@debian.org\n"
 
2086
+"POT-Creation-Date: 2003-07-13 15:28-0300\n"
 
2087
+"PO-Revision-Date: 2003-07-13 15:37-0300\n"
 
2088
+"Last-Translator: Andr� Lu�s Lopes <andrelop@debian.org>\n"
 
2089
+"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debin.org>\n"
 
2090
+"MIME-Version: 1.0\n"
 
2091
+"Content-Type: text/plain; charset=ISO-8859-1\n"
 
2092
+"Content-Transfer-Encoding: 8bit\n"
 
2093
+
 
2094
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
2095
+msgid "Ok"
 
2096
+msgstr "Ok"
 
2097
+
 
2098
+#: dialogboxes.c:35
 
2099
+msgid "Cancel"
 
2100
+msgstr "Cancelar"
 
2101
+
 
2102
+#: dialogboxes.c:422
 
2103
+msgid "Yes"
 
2104
+msgstr "Sim"
 
2105
+
 
2106
+#: dialogboxes.c:424
 
2107
+msgid "No"
 
2108
+msgstr "N�o"
 
2109
diff -ruN newt-0.51.6-old/po/quot.sed newt-0.51.6/po/quot.sed
 
2110
--- newt-0.51.6-old/po/quot.sed 1970-01-01 00:00:00.000000000 +0000
 
2111
+++ newt-0.51.6/po/quot.sed     2004-02-17 10:00:25.000000000 +0000
 
2112
@@ -0,0 +1,6 @@
 
2113
+s/"\([^"]*\)"/“\1”/g
 
2114
+s/`\([^`']*\)'/‘\1’/g
 
2115
+s/ '\([^`']*\)' / ‘\1’ /g
 
2116
+s/ '\([^`']*\)'$/ ‘\1’/g
 
2117
+s/^'\([^`']*\)' /‘\1’ /g
 
2118
+s/“”/""/g
 
2119
diff -ruN newt-0.51.6-old/po/remove-potcdate.sin newt-0.51.6/po/remove-potcdate.sin
 
2120
--- newt-0.51.6-old/po/remove-potcdate.sin      1970-01-01 00:00:00.000000000 +0000
 
2121
+++ newt-0.51.6/po/remove-potcdate.sin  2004-02-17 10:00:25.000000000 +0000
 
2122
@@ -0,0 +1,19 @@
 
2123
+# Sed script that remove the POT-Creation-Date line in the header entry
 
2124
+# from a POT file.
 
2125
+#
 
2126
+# The distinction between the first and the following occurrences of the
 
2127
+# pattern is achieved by looking at the hold space.
 
2128
+/^"POT-Creation-Date: .*"$/{
 
2129
+x
 
2130
+# Test if the hold space is empty.
 
2131
+s/P/P/
 
2132
+ta
 
2133
+# Yes it was empty. First occurrence. Remove the line.
 
2134
+g
 
2135
+d
 
2136
+bb
 
2137
+:a
 
2138
+# The hold space was nonempty. Following occurrences. Do nothing.
 
2139
+x
 
2140
+:b
 
2141
+}
 
2142
diff -ruN newt-0.51.6-old/po/Rules-quot newt-0.51.6/po/Rules-quot
 
2143
--- newt-0.51.6-old/po/Rules-quot       1970-01-01 00:00:00.000000000 +0000
 
2144
+++ newt-0.51.6/po/Rules-quot   2004-02-17 10:00:25.000000000 +0000
 
2145
@@ -0,0 +1,42 @@
 
2146
+# Special Makefile rules for English message catalogs with quotation marks.
 
2147
+
 
2148
+DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot
 
2149
+
 
2150
+.SUFFIXES: .insert-header .po-update-en
 
2151
+
 
2152
+en@quot.po-update: en@quot.po-update-en
 
2153
+en@boldquot.po-update: en@boldquot.po-update-en
 
2154
+
 
2155
+.insert-header.po-update-en:
 
2156
+       @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
 
2157
+       if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
 
2158
+       tmpdir=`pwd`; \
 
2159
+       echo "$$lang:"; \
 
2160
+       ll=`echo $$lang | sed -e 's/@.*//'`; \
 
2161
+       LC_ALL=C; export LC_ALL; \
 
2162
+       cd $(srcdir); \
 
2163
+       if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
 
2164
+         if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
 
2165
+           rm -f $$tmpdir/$$lang.new.po; \
 
2166
+         else \
 
2167
+           if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
 
2168
+             :; \
 
2169
+           else \
 
2170
+             echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
 
2171
+             exit 1; \
 
2172
+           fi; \
 
2173
+         fi; \
 
2174
+       else \
 
2175
+         echo "creation of $$lang.po failed!" 1>&2; \
 
2176
+         rm -f $$tmpdir/$$lang.new.po; \
 
2177
+       fi
 
2178
+
 
2179
+en@quot.insert-header: insert-header.sin
 
2180
+       sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header
 
2181
+
 
2182
+en@boldquot.insert-header: insert-header.sin
 
2183
+       sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header
 
2184
+
 
2185
+mostlyclean: mostlyclean-quot
 
2186
+mostlyclean-quot:
 
2187
+       rm -f *.insert-header
 
2188
diff -ruN newt-0.51.6-old/po/ru.po newt-0.51.6/po/ru.po
 
2189
--- newt-0.51.6-old/po/ru.po    1970-01-01 00:00:00.000000000 +0000
 
2190
+++ newt-0.51.6/po/ru.po        2004-02-17 10:00:25.000000000 +0000
 
2191
@@ -0,0 +1,36 @@
 
2192
+# translation of ru.po to Russian
 
2193
+# This file is distributed under the same license as the PACKAGE package.
 
2194
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
 
2195
+# Nikolai Prokoschenko <nikolai@prokoschenko.de>, 2004.
 
2196
+#
 
2197
+msgid ""
 
2198
+msgstr ""
 
2199
+"Project-Id-Version: ru\n"
 
2200
+"Report-Msgid-Bugs-To: \n"
 
2201
+"POT-Creation-Date: 2004-01-09 15:14+0100\n"
 
2202
+"PO-Revision-Date: 2004-01-09 15:16+0100\n"
 
2203
+"Last-Translator: Nikolai Prokoschenko <nikolai@prokoschenko.de>\n"
 
2204
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
 
2205
+"MIME-Version: 1.0\n"
 
2206
+"Content-Type: text/plain; charset=UTF-8\n"
 
2207
+"Content-Transfer-Encoding: 8bit\n"
 
2208
+"X-Generator: KBabel 1.0.2\n"
 
2209
+
 
2210
+#. FIXME: Ugh. DO SOMETHING ABOUT THESE HARD-CODED CONSTANTS
 
2211
+#. THEY WILL BREAK WITH TRANSLATION
 
2212
+#: dialogboxes.c:45 dialogboxes.c:50 dialogboxes.c:460
 
2213
+msgid "Ok"
 
2214
+msgstr "Ok"
 
2215
+
 
2216
+#: dialogboxes.c:53
 
2217
+msgid "Cancel"
 
2218
+msgstr "Отмена"
 
2219
+
 
2220
+#: dialogboxes.c:464
 
2221
+msgid "Yes"
 
2222
+msgstr "Да"
 
2223
+
 
2224
+#: dialogboxes.c:467
 
2225
+msgid "No"
 
2226
+msgstr "Нет"
 
2227
+
 
2228
diff -ruN newt-0.51.6-old/po/sl.po newt-0.51.6/po/sl.po
 
2229
--- newt-0.51.6-old/po/sl.po    1970-01-01 00:00:00.000000000 +0000
 
2230
+++ newt-0.51.6/po/sl.po        2004-02-17 10:00:25.000000000 +0000
 
2231
@@ -0,0 +1,34 @@
 
2232
+# Slovenian translations for newt
 
2233
+# Copyright (C) 2003,2004 Free Software Foundation
 
2234
+# This file is distributed under the same license as the newt package.
 
2235
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
2236
+#
 
2237
+msgid ""
 
2238
+msgstr ""
 
2239
+"Project-Id-Version: newt 0.51.4\n"
 
2240
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
2241
+"PO-Revision-Date: 2004-01-09 12:37+0100\n"
 
2242
+"Last-Translator: Jure Čuhalev <gandalf@owca.info>\n"
 
2243
+"Language-Team: Slovenian <sl@li.org>\n"
 
2244
+"MIME-Version: 1.0\n"
 
2245
+"Content-Type: text/plain; charset=utf-8\n"
 
2246
+"Content-Transfer-Encoding: 8bit\n"
 
2247
+
 
2248
+#: dialogboxes.c:27
 
2249
+#: dialogboxes.c:32
 
2250
+#: dialogboxes.c:418
 
2251
+msgid "Ok"
 
2252
+msgstr "Vredu"
 
2253
+
 
2254
+#: dialogboxes.c:35
 
2255
+msgid "Cancel"
 
2256
+msgstr "Prekliči"
 
2257
+
 
2258
+#: dialogboxes.c:422
 
2259
+msgid "Yes"
 
2260
+msgstr "Da"
 
2261
+
 
2262
+#: dialogboxes.c:424
 
2263
+msgid "No"
 
2264
+msgstr "Ne"
 
2265
+
 
2266
diff -ruN newt-0.51.6-old/po/sv.po newt-0.51.6/po/sv.po
 
2267
--- newt-0.51.6-old/po/sv.po    1970-01-01 00:00:00.000000000 +0000
 
2268
+++ newt-0.51.6/po/sv.po        2004-02-17 10:00:25.000000000 +0000
 
2269
@@ -0,0 +1,32 @@
 
2270
+# Swedish translations for newt
 
2271
+# Copyright (C) 2003 Free Software Foundation
 
2272
+# This file is distributed under the same license as the newt package.
 
2273
+# Alastair McKinstry <mckinstry@debian.org>, 2003
 
2274
+msgid ""
 
2275
+msgstr ""
 
2276
+"Project-Id-Version: newt 0.51.4\n"
 
2277
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
2278
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
2279
+"PO-Revision-Date: 2003-07-13 13:25+0100\n"
 
2280
+"Last-Translator: Alastair McKinstry <mckinstry@debian.org>\n"
 
2281
+"Language-Team: Swedish <sv@li.org>\n"
 
2282
+"MIME-Version: 1.0\n"
 
2283
+"Content-Type: text/plain; charset=ISO-8859-15\n"
 
2284
+"Content-Transfer-Encoding: 8bit\n"
 
2285
+
 
2286
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
2287
+msgid "Ok"
 
2288
+msgstr "Ok"
 
2289
+
 
2290
+#: dialogboxes.c:35
 
2291
+msgid "Cancel"
 
2292
+msgstr "Avbryt"
 
2293
+
 
2294
+#: dialogboxes.c:422
 
2295
+msgid "Yes"
 
2296
+msgstr "Ja"
 
2297
+
 
2298
+#: dialogboxes.c:424
 
2299
+msgid "No"
 
2300
+msgstr "Nej"
 
2301
+
 
2302
diff -ruN newt-0.51.6-old/po/uk.po newt-0.51.6/po/uk.po
 
2303
--- newt-0.51.6-old/po/uk.po    1970-01-01 00:00:00.000000000 +0000
 
2304
+++ newt-0.51.6/po/uk.po        2004-03-01 13:15:56.000000000 +0000
 
2305
@@ -0,0 +1,36 @@
 
2306
+# translation of uk.po to Ukrainian
 
2307
+# This file is distributed under the same license as the PACKAGE package.
 
2308
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
 
2309
+# Eugeniy Meshcheryakov <eugen@univ.kiev.ua>, 2004.
 
2310
+#
 
2311
+msgid ""
 
2312
+msgstr ""
 
2313
+"Project-Id-Version: uk\n"
 
2314
+"Report-Msgid-Bugs-To: \n"
 
2315
+"POT-Creation-Date: 2004-02-12 19:35+0200\n"
 
2316
+"PO-Revision-Date: 2004-02-12 19:38+0200\n"
 
2317
+"Last-Translator: Eugeniy Meshcheryakov <eugen@univ.kiev.ua>\n"
 
2318
+"Language-Team: Ukrainian\n"
 
2319
+"MIME-Version: 1.0\n"
 
2320
+"Content-Type: text/plain; charset=UTF-8\n"
 
2321
+"Content-Transfer-Encoding: 8bit\n"
 
2322
+"X-Generator: KBabel 1.0.2\n"
 
2323
+
 
2324
+#. FIXME: Ugh. DO SOMETHING ABOUT THESE HARD-CODED CONSTANTS
 
2325
+#. THEY WILL BREAK WITH TRANSLATION
 
2326
+#: dialogboxes.c:45 dialogboxes.c:50 dialogboxes.c:460
 
2327
+msgid "Ok"
 
2328
+msgstr "Гаразд"
 
2329
+
 
2330
+#: dialogboxes.c:53
 
2331
+msgid "Cancel"
 
2332
+msgstr "Скасувати"
 
2333
+
 
2334
+#: dialogboxes.c:464
 
2335
+msgid "Yes"
 
2336
+msgstr "Так"
 
2337
+
 
2338
+#: dialogboxes.c:467
 
2339
+msgid "No"
 
2340
+msgstr "Ні"
 
2341
+
 
2342
diff -ruN newt-0.51.6-old/po/update-potfiles newt-0.51.6/po/update-potfiles
 
2343
--- newt-0.51.6-old/po/update-potfiles  1970-01-01 00:00:00.000000000 +0000
 
2344
+++ newt-0.51.6/po/update-potfiles      2004-02-17 10:00:25.000000000 +0000
 
2345
@@ -0,0 +1,18 @@
 
2346
+#!/bin/sh
 
2347
+#
 
2348
+#
 
2349
+
 
2350
+> POTFILES
 
2351
+> .null
 
2352
+> POTFILES.in
 
2353
+
 
2354
+for x in ../*.c; do
 
2355
+echo "$x \\" >> POTFILES
 
2356
+done
 
2357
+echo .null   >> POTFILES
 
2358
+
 
2359
+cd ..
 
2360
+for x in *.c; do
 
2361
+echo "$x" >> po/POTFILES.in
 
2362
+done
 
2363
+cd po
 
2364
diff -ruN newt-0.51.6-old/po/zh_CN.po newt-0.51.6/po/zh_CN.po
 
2365
--- newt-0.51.6-old/po/zh_CN.po 1970-01-01 00:00:00.000000000 +0000
 
2366
+++ newt-0.51.6/po/zh_CN.po     2004-02-17 10:00:25.000000000 +0000
 
2367
@@ -0,0 +1,32 @@
 
2368
+# Simplified Chinese translations for newt
 
2369
+# Copyright (C) 2003 Free Software Foundation
 
2370
+# This file is distributed under the same license as the newt package.
 
2371
+# Alastair McKinstry <mckinstry@debian.org>, 2003.
 
2372
+#
 
2373
+msgid ""
 
2374
+msgstr ""
 
2375
+"Project-Id-Version: newt 0.51.4\n"
 
2376
+"Report-Msgid-Bugs-To: mckinstry@debian.org\n"
 
2377
+"POT-Creation-Date: 2003-07-13 13:25+0100\n"
 
2378
+"PO-Revision-Date: 2004-02-11 18:01+1300\n"
 
2379
+"Last-Translator: Carlos Z.F. Liu <carlos_liu@yahoo.com>\n"
 
2380
+"Language-Team: Debian Chinese [GB] <debian-chinese-gb@lists.debian.org>\n"
 
2381
+"MIME-Version: 1.0\n"
 
2382
+"Content-Type: text/plain; charset=UTF-8\n"
 
2383
+"Content-Transfer-Encoding: 8bit\n"
 
2384
+
 
2385
+#: dialogboxes.c:27 dialogboxes.c:32 dialogboxes.c:418
 
2386
+msgid "Ok"
 
2387
+msgstr "确定"
 
2388
+
 
2389
+#: dialogboxes.c:35
 
2390
+msgid "Cancel"
 
2391
+msgstr "取消"
 
2392
+
 
2393
+#: dialogboxes.c:422
 
2394
+msgid "Yes"
 
2395
+msgstr "是"
 
2396
+
 
2397
+#: dialogboxes.c:424
 
2398
+msgid "No"
 
2399
+msgstr "否"
 
2400
diff -ruN newt-0.51.6-old/snackmodule.c newt-0.51.6/snackmodule.c
 
2401
--- newt-0.51.6-old/snackmodule.c       2003-02-05 07:11:35.000000000 +0000
 
2402
+++ newt-0.51.6/snackmodule.c   2004-02-17 10:26:37.000000000 +0000
 
2403
@@ -12,6 +12,7 @@
 
2404
 #include <unistd.h>
 
2405
 
 
2406
 #include "Python.h"
 
2407
+#include "nls.h"
 
2408
 #include "newt.h"
 
2409
 #include "newt_pr.h"
 
2410
 
 
2411
@@ -1219,6 +1220,10 @@
 
2412
 void init_snack(void) {
 
2413
     PyObject * d, * m;
 
2414
 
 
2415
+    setlocale (LC_ALL, "");
 
2416
+    bindtextdomain (PACKAGE, LOCALEDIR);
 
2417
+    textdomain (PACKAGE);
 
2418
+
 
2419
     m = Py_InitModule("_snack", snackModuleMethods);
 
2420
     d = PyModule_GetDict(m);
 
2421
 
 
2422
diff -ruN newt-0.51.6-old/whiptail.c newt-0.51.6/whiptail.c
 
2423
--- newt-0.51.6-old/whiptail.c  2003-01-03 20:54:45.000000000 +0000
 
2424
+++ newt-0.51.6/whiptail.c      2004-02-17 10:29:11.000000000 +0000
 
2425
@@ -1,12 +1,15 @@
 
2426
 /* a reasonable dialog */
 
2427
 
 
2428
+#include "config.h"
 
2429
 #include <fcntl.h>
 
2430
 #include <popt.h>
 
2431
 #include <stdio.h>
 
2432
 #include <string.h>
 
2433
 #include <stdlib.h>
 
2434
 #include <unistd.h>
 
2435
+#include <wchar.h>
 
2436
 
 
2437
+#include "nls.h"
 
2438
 #include "dialogboxes.h"
 
2439
 #include "newt.h"
 
2440
 
 
2441
@@ -73,7 +76,11 @@
 
2442
            { "yesno", '\0', 0, 0, OPT_YESNO },
 
2443
            { 0, 0, 0, 0, 0 } 
 
2444
     };
 
2445
-    
 
2446
+   
 
2447
+    setlocale (LC_ALL, "");
 
2448
+    bindtextdomain (PACKAGE, LOCALEDIR);
 
2449
+    textdomain (PACKAGE);
 
2450
+
 
2451
     optCon = poptGetContext("whiptail", argc, argv, optionsTable, 0);
 
2452
 
 
2453
     while ((arg = poptGetNextOpt(optCon)) > 0) {
 
2454
diff -ruN newt-0.51.6-old/whiptcl.c newt-0.51.6/whiptcl.c
 
2455
--- newt-0.51.6-old/whiptcl.c   2000-02-16 11:34:40.000000000 +0000
 
2456
+++ newt-0.51.6/whiptcl.c       2004-02-17 10:29:58.000000000 +0000
 
2457
@@ -1,6 +1,8 @@
 
2458
+#include "config.h"
 
2459
 #include <string.h>
 
2460
 #include <stdlib.h>
 
2461
 
 
2462
+#include "nls.h"
 
2463
 #include "dialogboxes.h"
 
2464
 #include "newt.h"
 
2465
 #include "popt.h"
 
2466
@@ -86,7 +88,11 @@
 
2467
            { "yesno", '\0', 0, 0, OPT_YESNO },
 
2468
            { 0, 0, 0, 0, 0 } 
 
2469
     };
 
2470
-    
 
2471
+   
 
2472
+    setlocale (LC_ALL, "");
 
2473
+    bindtextdomain (PACKAGE, LOCALEDIR);
 
2474
+    textdomain (PACKAGE);
 
2475
+
 
2476
     optCon = poptGetContext("whiptcl", argc, argv, optionsTable, 0);
 
2477
 
 
2478
     while ((arg = poptGetNextOpt(optCon)) > 0) {