-rw-r--r-- | .cvsignore | 4 | ||||
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | README-alpha | 25 | ||||
-rw-r--r-- | bootstrap.conf | 62 | ||||
-rw-r--r-- | build-aux/.cvsignore | 11 | ||||
-rwxr-xr-x | build-aux/bootstrap | 683 | ||||
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | lib/.cvsignore | 82 | ||||
-rw-r--r-- | po/.cvsignore | 8 | ||||
-rw-r--r-- | po/Makevars | 16 | ||||
-rw-r--r-- | po/da.po | 193 | ||||
-rw-r--r-- | po/pl.po | 150 | ||||
-rw-r--r-- | po/uk.po | 143 | ||||
-rw-r--r-- | src/main.c | 12 |
14 files changed, 962 insertions, 444 deletions
@@ -1,14 +1,14 @@ | |||
1 | *.tar.bz2 | ||
2 | *.tar.gz | ||
1 | ABOUT-NLS | 3 | ABOUT-NLS |
2 | INSTALL | 4 | INSTALL |
3 | Makefile | 5 | Makefile |
4 | Makefile.in | 6 | Makefile.in |
5 | aclocal.m4 | 7 | aclocal.m4 |
6 | autom4te.cache | 8 | autom4te.cache |
7 | *.tar.bz2 | ||
8 | *.tar.gz | ||
9 | config | 9 | config |
10 | config.h | 10 | config.h |
11 | config.h.in | 11 | config.h.in |
12 | config.log | 12 | config.log |
13 | config.status | 13 | config.status |
14 | configure | 14 | configure |
@@ -1,6 +1,14 @@ | |||
1 | 2007-05-18 Sergey Poznyakoff <gray@gnu.org.ua> | ||
2 | |||
3 | * bootstrap.conf: New file | ||
4 | * build-aux/bootstrap: Replaced from the gnulib CVS | ||
5 | * configure.ac: Update | ||
6 | * po/Makevars: Remove automatically generated file | ||
7 | * src/main.c: Remove #include <strndup.h> | ||
8 | |||
1 | 2006-09-11 Sergey Poznyakoff <gray@gnu.org.ua> | 9 | 2006-09-11 Sergey Poznyakoff <gray@gnu.org.ua> |
2 | 10 | ||
3 | * src/main.c (doc): Reformat argp docstring in accordance with the | 11 | * src/main.c (doc): Reformat argp docstring in accordance with the |
4 | new argp guidelines. Remove unneeded translators comment. | 12 | new argp guidelines. Remove unneeded translators comment. |
5 | (main): Set program_name. | 13 | (main): Set program_name. |
6 | 14 | ||
diff --git a/README-alpha b/README-alpha index 68806c1..6548cf6 100644 --- a/README-alpha +++ b/README-alpha | |||
@@ -35,22 +35,27 @@ contact the mailing list. | |||
35 | The CVS repository is also available via HTTP from | 35 | The CVS repository is also available via HTTP from |
36 | 36 | ||
37 | http://savannah.gnu.org/cgi-bin/viewcvs/cflow/cflow/ | 37 | http://savannah.gnu.org/cgi-bin/viewcvs/cflow/cflow/ |
38 | 38 | ||
39 | * Building | 39 | * Building |
40 | 40 | ||
41 | In order to build this you will first need to have right versions of | 41 | If you have taken the sources from CVS you will need the following |
42 | autotools. At the time of this writing these are: | 42 | packages to build cflow. I don't make any extra effort to accommodate |
43 | 43 | older versions of these packages, so please make sure that you have the | |
44 | Package Version (>=) | 44 | latest stable version. |
45 | ======== ============ | 45 | |
46 | automake 1.8.5 | 46 | - Automake <http://www.gnu.org/software/automake/> |
47 | autoconf 2.59 | 47 | - Autoconf <http://www.gnu.org/software/autoconf/> |
48 | 48 | - Gettext <http://www.gnu.org/software/gettext/> | |
49 | To prepare the package for building run build-aux/bootstrap. For | 49 | - Gnulib <http://www.gnu.org/software/gnulib/> |
50 | example: | 50 | - M4 <http://www.gnu.org/software/m4/> |
51 | - Texinfo <http://www.gnu.org/software/texinfo> | ||
52 | - Wget <http://www.gnu.org/software/wget/> | ||
53 | |||
54 | To prepare the package for building run `build-aux/bootstrap' utility. | ||
55 | For example: | ||
51 | 56 | ||
52 | $ cd cflow | 57 | $ cd cflow |
53 | $ build-aux/bootstrap | 58 | $ build-aux/bootstrap |
54 | 59 | ||
55 | If you have already checked out gnulib sources, use --gnulib-srcdir | 60 | If you have already checked out gnulib sources, use --gnulib-srcdir |
56 | to specify their location, this will spare you time and bandwidth: | 61 | to specify their location, this will spare you time and bandwidth: |
diff --git a/bootstrap.conf b/bootstrap.conf new file mode 100644 index 0000000..9e200ac --- a/dev/null +++ b/bootstrap.conf | |||
@@ -0,0 +1,62 @@ | |||
1 | # Bootstrap configuration. | ||
2 | # Copyright (C) 2006 Free Software Foundation, Inc. | ||
3 | # | ||
4 | # This program is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 2, or (at your option) | ||
7 | # any later version. | ||
8 | # | ||
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with this program; if not, write to the Free Software | ||
16 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
17 | # 02110-1301, USA. | ||
18 | |||
19 | # We don't need these modules, even though gnulib-tool mistakenly | ||
20 | # includes them because of gettext dependencies. | ||
21 | avoided_gnulib_modules=' | ||
22 | --avoid=lock | ||
23 | ' | ||
24 | |||
25 | # gnulib modules used by this package. | ||
26 | gnulib_modules="$avoided_gnulib_modules | ||
27 | `grep '^[^#]' build-aux/gnulib.modules` | ||
28 | " | ||
29 | # Additional xgettext options to use. Use "\\\newline" to break lines. | ||
30 | XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ | ||
31 | --flag=_:1:pass-c-format\\\ | ||
32 | --flag=N_:1:pass-c-format\\\ | ||
33 | --flag=error:3:c-format --flag=error_at_line:5:c-format\\\ | ||
34 | --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\ | ||
35 | --flag=argp_error:2:c-format\\\ | ||
36 | --flag=__argp_error:2:c-format\\\ | ||
37 | --flag=argp_failure:4:c-format\\\ | ||
38 | --flag=__argp_failure:4:c-format\\\ | ||
39 | --flag=argp_fmtstream_printf:2:c-format\\\ | ||
40 | --flag=__argp_fmtstream_printf:2:c-format\\\ | ||
41 | ' | ||
42 | |||
43 | # Gettext supplies these files, but we don't need them since | ||
44 | # we don't have an intl subdirectory. | ||
45 | excluded_files=' | ||
46 | m4/glibc2.m4 | ||
47 | m4/intdiv0.m4 | ||
48 | m4/lcmessage.m4 | ||
49 | m4/lock.m4 | ||
50 | m4/printf-posix.m4 | ||
51 | m4/size_max.m4 | ||
52 | m4/uintmax_t.m4 | ||
53 | m4/ulonglong.m4 | ||
54 | m4/visibility.m4 | ||
55 | m4/xsize.m4 | ||
56 | ' | ||
57 | |||
58 | # Read local configuration file | ||
59 | if [ -r .bootstrap ]; then | ||
60 | echo "$0: Reading configuration file .bootstrap" | ||
61 | eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*" | ||
62 | fi | ||
diff --git a/build-aux/.cvsignore b/build-aux/.cvsignore index c23a7d2..8d1fd5b 100644 --- a/build-aux/.cvsignore +++ b/build-aux/.cvsignore | |||
@@ -1,9 +1,10 @@ | |||
1 | config.guess | ||
2 | config.rpath | ||
3 | config.sub | ||
1 | depcomp | 4 | depcomp |
2 | install-sh | 5 | install-sh |
3 | missing | 6 | link-warning.h |
4 | config.rpath | ||
5 | mdate-sh | 7 | mdate-sh |
6 | texinfo.tex | 8 | missing |
7 | config.guess | ||
8 | config.sub | ||
9 | mkinstalldirs | 9 | mkinstalldirs |
10 | texinfo.tex | ||
diff --git a/build-aux/bootstrap b/build-aux/bootstrap index d025457..c028967 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap | |||
@@ -1,9 +1,11 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | 2 | ||
3 | # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | # Bootstrap this package from checked-out sources. |
4 | |||
5 | # Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | ||
4 | 6 | ||
5 | # This program is free software; you can redistribute it and/or modify | 7 | # This program is free software; you can redistribute it and/or modify |
6 | # it under the terms of the GNU General Public License as published by | 8 | # it under the terms of the GNU General Public License as published by |
7 | # the Free Software Foundation; either version 2, or (at your option) | 9 | # the Free Software Foundation; either version 2, or (at your option) |
8 | # any later version. | 10 | # any later version. |
9 | 11 | ||
@@ -11,272 +13,541 @@ | |||
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | # GNU General Public License for more details. | 15 | # GNU General Public License for more details. |
14 | 16 | ||
15 | # You should have received a copy of the GNU General Public License | 17 | # You should have received a copy of the GNU General Public License |
16 | # along with this program; if not, write to the Free Software | 18 | # along with this program; if not, write to the Free Software |
17 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 19 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 | # 02111-1307, USA. | 20 | # 02110-1301, USA. |
19 | 21 | ||
20 | # Written by Paul Eggert and Sergey Poznyakoff. | 22 | # Written by Paul Eggert. |
21 | 23 | ||
22 | # URL of our text domain page in Translation Project | 24 | nl=' |
23 | TP_URL="http://www.iro.umontreal.ca/translation/maint/cflow/" | 25 | ' |
24 | 26 | ||
25 | # Ensure file names are sorted consistently across platforms; | 27 | # Ensure file names are sorted consistently across platforms. |
26 | # e.g., m4/ulonglong_gl.m4 should follow m4/ulonglong.m4. | 28 | # Also, ensure diagnostics are in English, e.g., "wget --help" below. |
27 | LC_ALL=C | 29 | LC_ALL=C |
28 | export LC_ALL | 30 | export LC_ALL |
29 | 31 | ||
30 | usage() { | 32 | # Temporary directory names. |
31 | cat <<EOF | 33 | bt='._bootmp' |
32 | usage: $0 [--gnulib-srcdir=DIR][--cvs-auth=AUTH-METHOD][--cvs-user=USERNAME][--no-po] | 34 | bt_regex=`echo "$bt"| sed 's/\./[.]/g'` |
33 | Options are: | 35 | bt2=${bt}2 |
34 | --gnulib-srcdir=DIRNAME Specify the local directory where gnulib | ||
35 | sources reside. Use this if you already | ||
36 | have gnulib sources on your machine, and | ||
37 | do not want to waste your bandwidth dowloading | ||
38 | them again. | ||
39 | --cvs-auth=METHOD Set the CVS access method used for downloading | ||
40 | gnulib files. METHOD is one of the keywords | ||
41 | accepted by cvs -d option (see info cvs | ||
42 | repository). | ||
43 | --cvs-user=USERNAME Set the CVS username to be used when accessing | ||
44 | the gnulib repository. | ||
45 | |||
46 | The following two options are reserved for future use: | ||
47 | |||
48 | --no-po Do not download po files. | ||
49 | --update-po[=LANG] Update po file(s) and exit. | ||
50 | |||
51 | If the file \`.bootstrap' exists in the current working directory, its | ||
52 | contents is read, comments and empty lines removed, shell variables expanded | ||
53 | and the result is prepended to the command line options. | ||
54 | |||
55 | Running without arguments will suffice in most cases. It is equivalent | ||
56 | to | ||
57 | |||
58 | ./bootstrap --cvs-auth=ext --cvs-user=anoncvs | ||
59 | |||
60 | EOF | ||
61 | } | ||
62 | 36 | ||
63 | update_po() { | 37 | usage() { |
64 | if [ $# = 1 ]; then | 38 | echo >&2 "\ |
65 | case $1 in | 39 | Usage: $0 [OPTION]... |
66 | *.po) POFILE=$1;; | 40 | Bootstrap this package from the checked-out sources. |
67 | *) POFILE=${1}.po;; | 41 | |
68 | esac | 42 | Options: |
69 | echo "$0: getting translation for $1..." | 43 | --gnulib-srcdir=DIRNAME Specify the local directory where gnulib |
70 | (cd po; | 44 | sources reside. Use this if you already |
71 | wget -r --cache=off -O $POFILE $TP_URL/$POFILE || exit | 45 | have gnulib sources on your machine, and |
72 | LANG=`expr $POFILE : '\(.*\)\.po'` | 46 | do not want to waste your bandwidth downloading |
73 | if ! grep -q $LANG LINGUAS; then | 47 | them again. |
74 | mv LINGUAS LINGUAS.$$ | 48 | --copy Copy files instead of creating symbolic links. |
75 | (echo $LANG; cat LINGUAS.$$) | sort > LINGUAS | 49 | --force Attempt to bootstrap even if the sources seem |
76 | fi) | 50 | not to have been checked out. |
77 | else | 51 | --skip-po Do not download po files. |
78 | echo "$0: getting translations into po..." | 52 | --cvs-user=USERNAME Set the username to use when checking out |
79 | (cd po && | 53 | sources from the gnulib repository. |
80 | rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'` && | 54 | |
81 | wget -nv -nd -r -l 1 -A .po -C off $TP_URL && | 55 | If the file .bootstrap.conf exists in the current working directory, its |
82 | rm -f index.html index.html.[0-9]* | 56 | contents are read as shell variables to configure the bootstrap. |
83 | ls *.po | sed 's/\.po$//' >LINGUAS | 57 | |
84 | ) || exit | 58 | Running without arguments will suffice in most cases. |
85 | fi | 59 | " |
86 | } | 60 | } |
87 | 61 | ||
88 | # Read configuration file | 62 | # Configuration. |
89 | if [ -r .bootstrap ]; then | 63 | |
90 | echo "$0: Reading configuration file .bootstrap" | 64 | # List of gnulib modules needed. |
91 | eval set -- "`sed 's/#.*$//;/^$/d' .bootstrap | tr '\n' ' '` $*" | 65 | gnulib_modules= |
92 | fi | 66 | |
67 | # Any gnulib files needed that are not in modules. | ||
68 | gnulib_files= | ||
69 | |||
70 | # Translation Project URL, for the registry of all projects | ||
71 | # and for the translation-team master directory. | ||
72 | TP_URL='http://www.iro.umontreal.ca/translation/registry.cgi?domain=' | ||
73 | TP_PO_URL='http://www.iro.umontreal.ca/translation/teams/PO/' | ||
74 | |||
75 | extract_package_name=' | ||
76 | /^AC_INIT(/{ | ||
77 | /.*,.*,.*,/{ | ||
78 | s/// | ||
79 | s/[][]//g | ||
80 | p | ||
81 | q | ||
82 | } | ||
83 | s/AC_INIT(\[*// | ||
84 | s/]*,.*// | ||
85 | s/^GNU // | ||
86 | y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ | ||
87 | s/[^A-Za-z0-9_]/-/g | ||
88 | p | ||
89 | } | ||
90 | ' | ||
91 | package=`sed -n "$extract_package_name" configure.ac` || exit | ||
92 | gnulib_name=lib$package | ||
93 | |||
94 | build_aux=build-aux | ||
95 | # Extra files from gnulib, which override files from other sources. | ||
96 | gnulib_extra_files=" | ||
97 | $build_aux/install-sh | ||
98 | $build_aux/missing | ||
99 | $build_aux/mdate-sh | ||
100 | $build_aux/texinfo.tex | ||
101 | $build_aux/depcomp | ||
102 | $build_aux/config.guess | ||
103 | $build_aux/config.sub | ||
104 | doc/INSTALL | ||
105 | " | ||
106 | # Additional gnulib-tool options to use. Use "\newline" to break lines. | ||
107 | gnulib_tool_option_extras= | ||
108 | |||
109 | # Other locale categories that need message catalogs. | ||
110 | EXTRA_LOCALE_CATEGORIES= | ||
111 | |||
112 | # Additional xgettext options to use. Use "\\\newline" to break lines. | ||
113 | XGETTEXT_OPTIONS='\\\ | ||
114 | --flag=_:1:pass-c-format\\\ | ||
115 | --flag=N_:1:pass-c-format\\\ | ||
116 | --flag=error:3:c-format --flag=error_at_line:5:c-format\\\ | ||
117 | ' | ||
118 | |||
119 | # Files we don't want to import. | ||
120 | excluded_files= | ||
121 | |||
122 | # File that should exist in the top directory of a checked out hierarchy, | ||
123 | # but not in a distribution tarball. | ||
124 | checkout_only_file=README-hacking | ||
125 | |||
126 | # Whether to use copies instead of symlinks. | ||
127 | copy=false | ||
128 | |||
129 | # Override the default configuration, if necessary. | ||
130 | test -r bootstrap.conf && . ./bootstrap.conf | ||
131 | |||
132 | # Translate configuration into internal form. | ||
93 | 133 | ||
94 | # Parse options. | 134 | # Parse options. |
95 | 135 | ||
96 | DOWNLOAD_PO=no | ||
97 | for option | 136 | for option |
98 | do | 137 | do |
99 | case $option in | 138 | case $option in |
100 | --help) | 139 | --help) |
101 | usage | 140 | usage |
102 | exit;; | 141 | exit;; |
103 | --gnulib-srcdir=*) | 142 | --gnulib-srcdir=*) |
104 | GNULIB_SRCDIR=`expr "$option" : '--gnulib-srcdir=\(.*\)'`;; | 143 | GNULIB_SRCDIR=`expr "$option" : '--gnulib-srcdir=\(.*\)'`;; |
105 | --cvs-auth=*) | ||
106 | CVS_AUTH=`expr "$option" : '--cvs-auth=\(.*\)'`;; | ||
107 | --cvs-user=*) | 144 | --cvs-user=*) |
108 | CVS_USER=`expr "$option" : '--cvs-user=\(.*\)'`;; | 145 | CVS_USER=`expr "$option" : '--cvs-user=\(.*\)'`;; |
109 | --no-po) | 146 | --skip-po) |
110 | DOWNLOAD_PO=no;; | 147 | SKIP_PO=t;; |
111 | --update-po=*) | 148 | --force) |
112 | DOWNLOAD_PO=`expr "$option" : '--update-po=\(.*\)'`;; | 149 | checkout_only_file=;; |
113 | --update-po) | 150 | --copy) |
114 | DOWNLOAD_PO=only;; | 151 | copy=true;; |
115 | *) | 152 | *) |
116 | echo >&2 "$0: $option: unknown option" | 153 | echo >&2 "$0: $option: unknown option" |
117 | exit 1;; | 154 | exit 1;; |
118 | esac | 155 | esac |
119 | done | 156 | done |
120 | 157 | ||
121 | case $DOWNLOAD_PO in | 158 | if test -n "$checkout_only_file" && test ! -r "$checkout_only_file"; then |
122 | only)update_po | 159 | echo "$0: Bootstrapping from a non-checked-out distribution is risky." >&2 |
123 | exit 0 | 160 | exit 1 |
124 | ;; | 161 | fi |
125 | no|yes) ;; | 162 | |
126 | *)update_po $DOWNLOAD_PO | 163 | # If $STR is not already on a line by itself in $FILE, insert it, |
127 | exit 0 | 164 | # sorting the new contents of the file and replacing $FILE with the result. |
165 | insert_sorted_if_absent() { | ||
166 | file=$1 | ||
167 | str=$2 | ||
168 | echo "$str" | sort -u - $file | cmp -s - $file \ | ||
169 | || echo "$str" | sort -u - $file -o $file \ | ||
170 | || exit 1 | ||
171 | } | ||
172 | |||
173 | # Die if there is no AC_CONFIG_AUX_DIR($build_aux) line in configure.ac. | ||
174 | found_aux_dir=no | ||
175 | grep '^[ ]*AC_CONFIG_AUX_DIR(\['"$build_aux"'\])' configure.ac \ | ||
176 | >/dev/null && found_aux_dir=yes | ||
177 | grep '^[ ]*AC_CONFIG_AUX_DIR('"$build_aux"')' configure.ac \ | ||
178 | >/dev/null && found_aux_dir=yes | ||
179 | if test $found_aux_dir = no; then | ||
180 | echo "$0: expected line not found in configure.ac. Add the following:" >&2 | ||
181 | echo " AC_CONFIG_AUX_DIR([$build_aux])" >&2. | ||
182 | fi | ||
183 | |||
184 | # If $build_aux doesn't exist, create it now, otherwise some bits | ||
185 | # below will malfunction. If creating it, also mark it as ignored. | ||
186 | if test ! -d $build_aux; then | ||
187 | mkdir $build_aux | ||
188 | for ig in .cvsignore .gitignore; do | ||
189 | test -f $ig && insert_sorted_if_absent $ig $build_aux | ||
190 | done | ||
191 | fi | ||
192 | |||
193 | echo "$0: Bootstrapping from checked-out $package sources..." | ||
194 | |||
195 | cleanup_gnulib() { | ||
196 | status=$? | ||
197 | rm -fr gnulib | ||
198 | exit $status | ||
199 | } | ||
200 | |||
201 | # Get gnulib files. | ||
202 | |||
203 | case ${GNULIB_SRCDIR--} in | ||
204 | -) | ||
205 | if [ ! -d gnulib ]; then | ||
206 | echo "$0: getting gnulib files..." | ||
207 | |||
208 | case ${CVS_AUTH-pserver} in | ||
209 | pserver) | ||
210 | CVS_PREFIX=':pserver:anonymous@';; | ||
211 | ssh) | ||
212 | CVS_PREFIX="$CVS_USER${CVS_USER+@}";; | ||
213 | *) | ||
214 | echo "$0: $CVS_AUTH: Unknown CVS access method" >&2 | ||
215 | exit 1;; | ||
216 | esac | ||
217 | |||
218 | case $CVS_RSH in | ||
219 | '') CVS_RSH=ssh; export CVS_RSH;; | ||
220 | esac | ||
221 | |||
222 | trap cleanup_gnulib 1 2 13 15 | ||
223 | |||
224 | cvs -z3 -q -d ${CVS_PREFIX}cvs.savannah.gnu.org:/cvsroot/gnulib co gnulib || | ||
225 | cleanup_gnulib | ||
226 | |||
227 | trap - 1 2 13 15 | ||
228 | fi | ||
229 | GNULIB_SRCDIR=gnulib | ||
128 | esac | 230 | esac |
129 | 231 | ||
130 | echo "$0: Bootstrapping CVS cflow..." | 232 | gnulib_tool=$GNULIB_SRCDIR/gnulib-tool |
233 | <$gnulib_tool || exit | ||
234 | |||
235 | # Get translations. | ||
236 | |||
237 | get_translations() { | ||
238 | subdir=$1 | ||
239 | domain=$2 | ||
240 | |||
241 | case $WGET_COMMAND in | ||
242 | '') | ||
243 | echo "$0: wget not available; skipping translations";; | ||
244 | ?*) | ||
245 | echo "$0: getting translations into $subdir for $domain..." && | ||
246 | |||
247 | (cd $subdir && rm -f dummy `ls | sed -n '/\.gmo$/p; /\.po/p'`) && | ||
248 | $WGET_COMMAND -O "$subdir/$domain.html" "$TP_URL$domain" && | ||
249 | |||
250 | sed -n 's|.*"http://[^"]*/translation/teams/PO/\([^/"]*\)/'"$domain"'-\([^/"]*\)\.[^."]*\.po".*|\1.\2|p' <"$subdir/$domain.html" | | ||
251 | sort -k 1,1 -k 2,2n -k2,2 -k3,3n -k3,3 -k4,4n -k4,4 -k5,5n -k5.5 | | ||
252 | awk -F. ' | ||
253 | { if (lang && $1 != lang) print lang, ver } | ||
254 | { lang = $1; ver = substr($0, index($0, ".") + 1) } | ||
255 | END { if (lang) print lang, ver } | ||
256 | ' | awk -v domain="$domain" -v subdir="$subdir" ' | ||
257 | { | ||
258 | lang = $1 | ||
259 | ver = $2 | ||
260 | urlfmt = "" | ||
261 | printf "{ $WGET_COMMAND -O %s/%s.po '\'"$TP_PO_URL"'/%s/%s-%s.%s.po'\'' &&\n", subdir, lang, lang, domain, ver, lang | ||
262 | printf " msgfmt -c -o /dev/null %s/%s.po || {\n", subdir, lang | ||
263 | printf " echo >&2 '\'"$0"': omitting translation for %s'\''\n", lang | ||
264 | printf " rm -f %s/%s.po; }; } &&\n", subdir, lang | ||
265 | } | ||
266 | END { print ":" } | ||
267 | ' | WGET_COMMAND="$WGET_COMMAND" sh;; | ||
268 | esac && | ||
269 | ls "$subdir"/*.po 2>/dev/null | | ||
270 | sed 's|.*/||; s|\.po$||' >"$subdir/LINGUAS" && | ||
271 | rm -f "$subdir/$domain.html" | ||
272 | } | ||
131 | 273 | ||
132 | build_cvs_prefix() { | 274 | case $SKIP_PO in |
133 | CVS_PREFIX=:${1}: | 275 | '') |
134 | if [ "${2}" != - ]; then | 276 | case `wget --help` in |
135 | CVS_PREFIX=${CVS_PREFIX}${2}@ | 277 | *'--no-cache'*) |
278 | WGET_COMMAND='wget -nv --no-cache';; | ||
279 | *'--cache=on/off'*) | ||
280 | WGET_COMMAND='wget -nv --cache=off';; | ||
281 | *'--non-verbose'*) | ||
282 | WGET_COMMAND='wget -nv';; | ||
283 | *) | ||
284 | WGET_COMMAND='';; | ||
285 | esac | ||
286 | |||
287 | if test -d po; then | ||
288 | get_translations po $package || exit | ||
136 | fi | 289 | fi |
137 | if [ "$1" = "ext" ]; then | 290 | |
138 | if [ -z "${CVS_RSH}" ]; then | 291 | if test -d runtime-po; then |
139 | CVS_RSH=ssh | 292 | get_translations runtime-po $package-runtime || exit |
140 | export CVS_RSH | 293 | fi;; |
294 | esac | ||
295 | |||
296 | symlink_to_gnulib() | ||
297 | { | ||
298 | src=$GNULIB_SRCDIR/$1 | ||
299 | dst=${2-$1} | ||
300 | |||
301 | test -f "$src" && { | ||
302 | if $copy; then | ||
303 | { | ||
304 | test ! -h "$dst" || { | ||
305 | echo "$0: rm -f $dst" && | ||
306 | rm -f "$dst" | ||
307 | } | ||
308 | } && | ||
309 | test -f "$dst" && | ||
310 | cmp -s "$src" "$dst" || { | ||
311 | echo "$0: cp -fp $src $dst" && | ||
312 | cp -fp "$src" "$dst" | ||
313 | } | ||
314 | else | ||
315 | test -h "$dst" && | ||
316 | src_ls=`ls -diL "$src" 2>/dev/null` && set $src_ls && src_i=$1 && | ||
317 | dst_ls=`ls -diL "$dst" 2>/dev/null` && set $dst_ls && dst_i=$1 && | ||
318 | test "$src_i" = "$dst_i" || { | ||
319 | dot_dots= | ||
320 | case $src in | ||
321 | /*) ;; | ||
322 | *) | ||
323 | case /$dst/ in | ||
324 | *//* | */../* | */./* | /*/*/*/*/*/) | ||
325 | echo >&2 "$0: invalid symlink calculation: $src -> $dst" | ||
326 | exit 1;; | ||
327 | /*/*/*/*/)dot_dots=../../../;; | ||
328 | /*/*/*/)dot_dots=../../;; | ||
329 | /*/*/)dot_dots=../;; | ||
330 | esac;; | ||
331 | esac | ||
332 | |||
333 | echo "$0: ln -fs $dot_dots$src $dst" && | ||
334 | ln -fs "$dot_dots$src" "$dst" | ||
335 | } | ||
141 | fi | 336 | fi |
142 | fi | 337 | } |
143 | } | 338 | } |
144 | 339 | ||
145 | # checkout package | 340 | cp_mark_as_generated() |
146 | checkout() { | 341 | { |
147 | if [ ! -d $1 ]; then | 342 | cp_src=$1 |
148 | echo "$0: getting $1 files..." | 343 | cp_dst=$2 |
149 | 344 | ||
150 | trap exit 1 2 13 15 | 345 | if cmp -s "$cp_src" "$GNULIB_SRCDIR/$cp_dst"; then |
151 | trap 'rm -fr $1; exit 1' 0 | 346 | symlink_to_gnulib "$cp_dst" |
152 | 347 | else | |
153 | case "${CVS_AUTH--}" in | 348 | case $cp_dst in |
154 | -) build_cvs_prefix ext anoncvs | 349 | *.[ch]) c1='/* '; c2=' */';; |
155 | ;; | 350 | *.texi) c1='@c '; c2= ;; |
156 | pserver) build_cvs_prefix $CVS_AUTH ${CVS_USER:-anoncvs} | 351 | *.m4|*/Make*|Make*) c1='# ' ; c2= ;; |
157 | ;; | 352 | *) c1= ; c2= ;; |
158 | gserver|server) | ||
159 | build_cvs_prefix $CVS_AUTH ${CVS_USER--} | ||
160 | ;; | ||
161 | ext) build_cvs_prefix $CVS_AUTH ${CVS_USER--} | ||
162 | ;; | ||
163 | *) echo "$0: Unknown CVS access method" >&2 | ||
164 | exit 1;; | ||
165 | esac | 353 | esac |
166 | if [ "${CVS_AUTH--}" = "pserver" ]; then | ||
167 | cvs -d ${CVS_PREFIX}subversions.gnu.org:/cvsroot/$1 login || exit | ||
168 | fi | ||
169 | cvs -q -d ${CVS_PREFIX}subversions.gnu.org:/cvsroot/$1 co $1 || exit | ||
170 | 354 | ||
171 | trap 0 | 355 | if test -z "$c1"; then |
356 | cmp -s "$cp_src" "$cp_dst" || { | ||
357 | echo "$0: cp -f $cp_src $cp_dst" && | ||
358 | rm -f "$cp_dst" && | ||
359 | sed "s!$bt_regex/!!g" "$cp_src" > "$cp_dst" | ||
360 | } | ||
361 | else | ||
362 | # Copy the file first to get proper permissions if it | ||
363 | # doesn't already exist. Then overwrite the copy. | ||
364 | cp "$cp_src" "$cp_dst-t" && | ||
365 | ( | ||
366 | echo "$c1-*- buffer-read-only: t -*- vi: set ro:$c2" && | ||
367 | echo "${c1}DO NOT EDIT! GENERATED AUTOMATICALLY!$c2" && | ||
368 | sed "s!$bt_regex/!!g" "$cp_src" | ||
369 | ) > $cp_dst-t && | ||
370 | if cmp -s "$cp_dst-t" "$cp_dst"; then | ||
371 | rm -f "$cp_dst-t" | ||
372 | else | ||
373 | echo "$0: cp $cp_src $cp_dst # with edits" && | ||
374 | mv -f "$cp_dst-t" "$cp_dst" | ||
375 | fi | ||
376 | fi | ||
172 | fi | 377 | fi |
173 | } | 378 | } |
174 | 379 | ||
175 | # Prepare temporary module list | 380 | version_controlled_file() { |
176 | cat /dev/null > modlist.tmp | 381 | dir=$1 |
177 | trap 'rm -f modlist.tmp' 0 1 2 13 15 | 382 | file=$2 |
178 | 383 | found=no | |
179 | get_modules() { | 384 | if test -d CVS; then |
180 | sed '/^[ ]*#/d;/^[ ]*$/d' $* >> modlist.tmp | 385 | grep -F "/$file/" $dir/CVS/Entries 2>/dev/null | |
386 | grep '^/[^/]*/[0-9]' > /dev/null && found=yes | ||
387 | elif test -d .git; then | ||
388 | git-rm -n "$dir/$file" > /dev/null 2>&1 && found=yes | ||
389 | else | ||
390 | echo "$0: no version control for $dir/$file?" >&2 | ||
391 | fi | ||
392 | test $found = yes | ||
181 | } | 393 | } |
182 | 394 | ||
183 | # copy_files srcdir dstdir | 395 | slurp() { |
184 | copy_files() { | 396 | for dir in . `(cd $1 && find * -type d -print)`; do |
185 | for file in `cat $1/DISTFILES` | 397 | copied= |
186 | do | 398 | sep= |
187 | case $file in | 399 | for file in `ls $1/$dir`; do |
188 | "#*") continue;; | 400 | test -d $1/$dir/$file && continue |
189 | esac | 401 | for excluded_file in $excluded_files; do |
190 | echo "$0: Copying file $1/$file" | 402 | test "$dir/$file" = "$excluded_file" && continue 2 |
191 | cp -p $1/$file $2/`expr $file : '.*/\(.*\)'` | 403 | done |
404 | if test $file = Makefile.am; then | ||
405 | copied=$copied${sep}gnulib.mk; sep=$nl | ||
406 | remove_intl='/^[^#].*\/intl/s/^/#/;'"s!$bt_regex/!!g" | ||
407 | sed "$remove_intl" $1/$dir/$file | cmp -s - $dir/gnulib.mk || { | ||
408 | echo "$0: Copying $1/$dir/$file to $dir/gnulib.mk ..." && | ||
409 | rm -f $dir/gnulib.mk && | ||
410 | sed "$remove_intl" $1/$dir/$file >$dir/gnulib.mk | ||
411 | } | ||
412 | elif { test "${2+set}" = set && test -r $2/$dir/$file; } || | ||
413 | version_controlled_file $dir $file; then | ||
414 | echo "$0: $dir/$file overrides $1/$dir/$file" | ||
415 | else | ||
416 | copied=$copied$sep$file; sep=$nl | ||
417 | if test $file = gettext.m4; then | ||
418 | echo "$0: patching m4/gettext.m4 to remove need for intl/* ..." | ||
419 | rm -f $dir/$file | ||
420 | sed ' | ||
421 | /^AC_DEFUN(\[AM_INTL_SUBDIR],/,/^]/c\ | ||
422 | AC_DEFUN([AM_INTL_SUBDIR], [ | ||
423 | /^AC_DEFUN(\[gt_INTL_SUBDIR_CORE],/,/^]/c\ | ||
424 | AC_DEFUN([gt_INTL_SUBDIR_CORE], []) | ||
425 | $a\ | ||
426 | AC_DEFUN([gl_LOCK_EARLY], []) | ||
427 | ' $1/$dir/$file >$dir/$file | ||
428 | else | ||
429 | cp_mark_as_generated $1/$dir/$file $dir/$file | ||
430 | fi | ||
431 | fi || exit | ||
432 | done | ||
433 | |||
434 | for dot_ig in .cvsignore .gitignore; do | ||
435 | ig=$dir/$dot_ig | ||
436 | if test -n "$copied" && test -f $ig; then | ||
437 | insert_sorted_if_absent $ig "$copied" | ||
438 | # If an ignored file name ends with _.h, then also add | ||
439 | # the name with just ".h". Many gnulib headers are generated, | ||
440 | # e.g., stdint_.h -> stdint.h, dirent_.h ->..., etc. | ||
441 | f=`echo "$copied"|sed 's/_\.h$/.h/'` | ||
442 | insert_sorted_if_absent $ig "$f" | ||
443 | fi | ||
444 | done | ||
192 | done | 445 | done |
193 | } | 446 | } |
194 | 447 | ||
195 | # Get gnulib files. | ||
196 | 448 | ||
197 | case ${GNULIB_SRCDIR--} in | 449 | # Create boot temporary directories to import from gnulib and gettext. |
198 | -) checkout gnulib | 450 | rm -fr $bt $bt2 && |
199 | GNULIB_SRCDIR=gnulib | 451 | mkdir $bt $bt2 || exit |
200 | esac | 452 | |
453 | # Import from gnulib. | ||
454 | |||
455 | gnulib_tool_options="\ | ||
456 | --import\ | ||
457 | --no-changelog\ | ||
458 | --aux-dir $bt/$build_aux\ | ||
459 | --doc-base $bt/doc\ | ||
460 | --lib $gnulib_name\ | ||
461 | --m4-base $bt/m4/\ | ||
462 | --source-base $bt/lib/\ | ||
463 | --tests-base $bt/tests\ | ||
464 | --local-dir gl\ | ||
465 | $gnulib_tool_option_extras\ | ||
466 | " | ||
467 | echo "$0: $gnulib_tool $gnulib_tool_options --import ..." | ||
468 | $gnulib_tool $gnulib_tool_options --import $gnulib_modules && | ||
469 | slurp $bt || exit | ||
470 | |||
471 | for file in $gnulib_files; do | ||
472 | symlink_to_gnulib $file || exit | ||
473 | done | ||
201 | 474 | ||
202 | <$GNULIB_SRCDIR/gnulib-tool || exit | ||
203 | 475 | ||
204 | get_modules build-aux/gnulib.modules | 476 | # Import from gettext. |
477 | with_gettext=yes | ||
478 | grep '^[ ]*AM_GNU_GETTEXT_VERSION(' configure.ac >/dev/null || \ | ||
479 | with_gettext=no | ||
205 | 480 | ||
206 | gnulib_modules=`sort -u modlist.tmp` | 481 | if test $with_gettext = yes; then |
207 | previous_gnulib_modules= | 482 | echo "$0: (cd $bt2; autopoint) ..." |
208 | while [ "$gnulib_modules" != "$previous_gnulib_modules" ]; do | 483 | cp configure.ac $bt2 && |
209 | previous_gnulib_modules=$gnulib_modules | 484 | (cd $bt2 && autopoint && rm configure.ac) && |
210 | gnulib_modules=` | 485 | slurp $bt2 $bt || exit |
211 | (echo "$gnulib_modules" | ||
212 | for gnulib_module in $gnulib_modules; do | ||
213 | $GNULIB_SRCDIR/gnulib-tool --extract-dependencies $gnulib_module | ||
214 | done) | sort -u | ||
215 | ` | ||
216 | done | ||
217 | 486 | ||
218 | gnulib_files=` | 487 | rm -fr $bt $bt2 || exit |
219 | (for gnulib_module in $gnulib_modules; do | 488 | fi |
220 | $GNULIB_SRCDIR/gnulib-tool --extract-filelist $gnulib_module | ||
221 | done) | sort -u | ||
222 | ` | ||
223 | 489 | ||
224 | gnulib_dirs=`echo "$gnulib_files" | sed 's,/[^/]*$,,' | sort -u` | ||
225 | mkdir -p $gnulib_dirs || exit | ||
226 | 490 | ||
227 | for file in build-aux/*.m4; do | 491 | # Reconfigure, getting other files. |
228 | dest=m4/`basename $file` | ||
229 | 492 | ||
230 | rm -f $dest && | 493 | for command in \ |
231 | echo "$0: Copying file $file" && | 494 | libtool \ |
232 | cp -p $file $dest || exit | 495 | 'aclocal --force -I m4' \ |
496 | 'autoconf --force' \ | ||
497 | 'autoheader --force' \ | ||
498 | 'automake --add-missing --copy --force-missing'; | ||
499 | do | ||
500 | if test "$command" = libtool; then | ||
501 | grep '^[ ]*AM_PROG_LIBTOOL\>' configure.ac >/dev/null || | ||
502 | continue | ||
503 | command='libtoolize -c -f' | ||
504 | fi | ||
505 | echo "$0: $command ..." | ||
506 | $command || exit | ||
233 | done | 507 | done |
234 | 508 | ||
235 | for gnulib_file in $gnulib_files; do | 509 | |
236 | case $gnulib_file in | 510 | # Get some extra files from gnulib, overriding existing files. |
237 | config/*) dest=`echo $gnulib_file | sed 's,config/,build-aux/,'`;; | 511 | |
238 | # These will be overwritten by autopoint, which still uses | 512 | for file in $gnulib_extra_files; do |
239 | # old jm_.* macro names, so we have to keep both copies. | 513 | case $file in |
240 | m4/gettext.m4 | m4/glibc21.m4 | m4/inttypes_h.m4 | m4/lib-ld.m4 | \ | 514 | */INSTALL) dst=INSTALL;; |
241 | m4/lib-prefix.m4 | m4/po.m4 | m4/stdint_h.m4 | m4/uintmax_t.m4 | \ | 515 | *) dst=$file;; |
242 | m4/ulonglong.m4 | m4/longlong.m4) | ||
243 | dest=`expr $gnulib_file : '\(.*\).m4'`_gl.m4;; | ||
244 | *) dest=$gnulib_file;; | ||
245 | esac | 516 | esac |
246 | rm -f $dest && | 517 | symlink_to_gnulib $file $dst || exit |
247 | echo "$0: Copying file $GNULIB_SRCDIR/$gnulib_file" && | ||
248 | cp -p $GNULIB_SRCDIR/$gnulib_file $dest || exit | ||
249 | done | 518 | done |
250 | 519 | ||
251 | echo "$0: Creating m4/gnulib.m4" | 520 | if test $with_gettext = yes; then |
252 | (echo "# This file is generated automatically. Please, do not edit." | 521 | # Create gettext configuration. |
253 | echo "#" | 522 | echo "$0: Creating po/Makevars from po/Makevars.template ..." |
254 | echo "AC_DEFUN([cflow_GNULIB],[" | 523 | rm -f po/Makevars |
255 | for gnulib_module in $gnulib_modules; do | 524 | sed ' |
256 | echo "# $gnulib_module" | 525 | /^EXTRA_LOCALE_CATEGORIES *=/s/=.*/= '"$EXTRA_LOCALE_CATEGORIES"'/ |
257 | $GNULIB_SRCDIR/gnulib-tool --extract-autoconf-snippet $gnulib_module | 526 | /^MSGID_BUGS_ADDRESS *=/s/=.*/= bug-'"$package"'@gnu.org/ |
258 | done | sed '/AM_GNU_GETTEXT/d' | 527 | /^XGETTEXT_OPTIONS *=/{ |
259 | echo "])") > ./m4/gnulib.m4 | 528 | s/$/ \\/ |
260 | 529 | a\ | |
261 | echo "$0: Creating lib/Makefile.am" | 530 | '"$XGETTEXT_OPTIONS"' $${end_of_xgettext_options+} |
262 | (echo "# -*- buffer-read-only: t -*- vi: set ro:" | 531 | } |
263 | echo "# This file is generated automatically from lib/Makefile.tmpl. Do not edit!" | 532 | ' po/Makevars.template >po/Makevars |
264 | cat lib/Makefile.tmpl | 533 | |
265 | 534 | if test -d runtime-po; then | |
266 | for gnulib_module in $gnulib_modules; do | 535 | # Similarly for runtime-po/Makevars, but not quite the same. |
267 | echo "# $gnulib_module" | 536 | rm -f runtime-po/Makevars |
268 | $GNULIB_SRCDIR/gnulib-tool --extract-automake-snippet $gnulib_module | 537 | sed ' |
269 | done | sed 's/lib_SOURCES/libcflow_a_SOURCES/g' ) > lib/Makefile.am | 538 | /^DOMAIN *=.*/s/=.*/= '"$package"'-runtime/ |
270 | 539 | /^subdir *=.*/s/=.*/= runtime-po/ | |
271 | # Get translations. | 540 | /^MSGID_BUGS_ADDRESS *=/s/=.*/= bug-'"$package"'@gnu.org/ |
272 | if test "$DOWNLOAD_PO" = "yes"; then | 541 | /^XGETTEXT_OPTIONS *=/{ |
273 | update_po | 542 | s/$/ \\/ |
543 | a\ | ||
544 | '"$XGETTEXT_OPTIONS_RUNTIME"' $${end_of_xgettext_options+} | ||
545 | } | ||
546 | ' <po/Makevars.template >runtime-po/Makevars | ||
547 | |||
548 | # Copy identical files from po to runtime-po. | ||
549 | (cd po && cp -p Makefile.in.in *-quot *.header *.sed *.sin ../runtime-po) | ||
550 | fi | ||
274 | fi | 551 | fi |
275 | 552 | ||
276 | # Reconfigure, getting other files. | ||
277 | |||
278 | echo "$0: autoreconf --verbose --install --force ..." | ||
279 | autoreconf --verbose --install --force || exit 1 | ||
280 | |||
281 | |||
282 | echo "$0: done. Now you can run './configure'." | 553 | echo "$0: done. Now you can run './configure'." |
diff --git a/configure.ac b/configure.ac index 2326343..765f65c 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -21,13 +21,13 @@ | |||
21 | AC_PREREQ(2.59) | 21 | AC_PREREQ(2.59) |
22 | AC_INIT([GNU cflow], [1.1], [bug-cflow@gnu.org]) | 22 | AC_INIT([GNU cflow], [1.1], [bug-cflow@gnu.org]) |
23 | AC_CONFIG_SRCDIR([src/cflow.h]) | 23 | AC_CONFIG_SRCDIR([src/cflow.h]) |
24 | AC_CONFIG_AUX_DIR([build-aux]) | 24 | AC_CONFIG_AUX_DIR([build-aux]) |
25 | AM_INIT_AUTOMAKE | 25 | AM_INIT_AUTOMAKE |
26 | AC_CONFIG_HEADER([config.h]) | 26 | AC_CONFIG_HEADER([config.h]) |
27 | gl_USE_SYSTEM_EXTENSIONS | 27 | gl_EARLY |
28 | 28 | ||
29 | # Checks for programs. | 29 | # Checks for programs. |
30 | AC_PROG_CC | 30 | AC_PROG_CC |
31 | AC_PROG_LEX | 31 | AC_PROG_LEX |
32 | AC_PROG_RANLIB | 32 | AC_PROG_RANLIB |
33 | 33 | ||
@@ -36,13 +36,13 @@ AC_HEADER_STDC | |||
36 | AC_CHECK_HEADERS([stdlib.h string.h unistd.h locale.h]) | 36 | AC_CHECK_HEADERS([stdlib.h string.h unistd.h locale.h]) |
37 | 37 | ||
38 | # Checks for library functions. | 38 | # Checks for library functions. |
39 | AC_FUNC_ERROR_AT_LINE | 39 | AC_FUNC_ERROR_AT_LINE |
40 | AC_CHECK_FUNCS([memmove memset strdup strerror strtol setlocale]) | 40 | AC_CHECK_FUNCS([memmove memset strdup strerror strtol setlocale]) |
41 | 41 | ||
42 | cflow_GNULIB | 42 | gl_INIT |
43 | MU_DEBUG_MODE | 43 | MU_DEBUG_MODE |
44 | 44 | ||
45 | AH_BOTTOM([ | 45 | AH_BOTTOM([ |
46 | /* program_name is used by lib/error.c */ | 46 | /* program_name is used by lib/error.c */ |
47 | #define program_name program_invocation_name | 47 | #define program_name program_invocation_name |
48 | #include <errno.h> | 48 | #include <errno.h> |
@@ -54,15 +54,14 @@ AM_PATH_LISPDIR | |||
54 | if test "$EMACS" != "no"; then | 54 | if test "$EMACS" != "no"; then |
55 | lisp_LISP='$(LISPSRC)' | 55 | lisp_LISP='$(LISPSRC)' |
56 | fi | 56 | fi |
57 | AC_SUBST(lisp_LISP) | 57 | AC_SUBST(lisp_LISP) |
58 | 58 | ||
59 | # Gettext. | 59 | # Gettext. |
60 | AM_MKINSTALLDIRS | 60 | AM_GNU_GETTEXT([external], [need-formatstring-macros]) |
61 | AM_GNU_GETTEXT([external], [need-ngettext]) | 61 | AM_GNU_GETTEXT_VERSION(0.16) |
62 | AM_GNU_GETTEXT_VERSION(0.14.1) | ||
63 | 62 | ||
64 | # Doc hints. | 63 | # Doc hints. |
65 | # Select a rendition level: | 64 | # Select a rendition level: |
66 | # DISTRIB for stable releases (at most one dot in the version number) | 65 | # DISTRIB for stable releases (at most one dot in the version number) |
67 | # PROOF for alpha releases. | 66 | # PROOF for alpha releases. |
68 | # PUBLISH can only be required manually when running make in doc/ | 67 | # PUBLISH can only be required manually when running make in doc/ |
diff --git a/lib/.cvsignore b/lib/.cvsignore index 1a97f7b..410c714 100644 --- a/lib/.cvsignore +++ b/lib/.cvsignore | |||
@@ -1,5 +1,85 @@ | |||
1 | *.[ch] | ||
1 | .deps | 2 | .deps |
2 | Makefile | 3 | Makefile |
3 | Makefile.am | 4 | Makefile.am |
4 | Makefile.in | 5 | Makefile.in |
5 | *.[ch] | 6 | alloca.c |
7 | alloca.h | ||
8 | alloca_.h | ||
9 | argp-ba.c | ||
10 | argp-eexst.c | ||
11 | argp-fmtstream.c | ||
12 | argp-fmtstream.h | ||
13 | argp-fs-xinl.c | ||
14 | argp-help.c | ||
15 | argp-namefrob.h | ||
16 | argp-parse.c | ||
17 | argp-pin.c | ||
18 | argp-pv.c | ||
19 | argp-pvh.c | ||
20 | argp-xinl.c | ||
21 | argp.h | ||
22 | asnprintf.c | ||
23 | basename.c | ||
24 | dirname.c | ||
25 | dirname.h | ||
26 | dummy.c | ||
27 | error.c | ||
28 | error.h | ||
29 | exitfail.c | ||
30 | exitfail.h | ||
31 | getopt.c | ||
32 | getopt.h | ||
33 | getopt1.c | ||
34 | getopt_.h | ||
35 | getopt_int.h | ||
36 | gettext.h | ||
37 | gnulib.mk | ||
38 | hash.c | ||
39 | hash.h | ||
40 | lstat.c | ||
41 | lstat.h | ||
42 | malloc.c | ||
43 | mempcpy.c | ||
44 | obstack.c | ||
45 | obstack.h | ||
46 | printf-args.c | ||
47 | printf-args.h | ||
48 | printf-parse.c | ||
49 | printf-parse.h | ||
50 | size_max.h | ||
51 | sleep.c | ||
52 | snprintf.c | ||
53 | stdbool.h | ||
54 | stdbool_.h | ||
55 | stdint.h | ||
56 | stdint_.h | ||
57 | stdio.h | ||
58 | stdio_.h | ||
59 | stdlib.h | ||
60 | stdlib_.h | ||
61 | strcasecmp.c | ||
62 | strchrnul.c | ||
63 | string.h | ||
64 | string_.h | ||
65 | stripslash.c | ||
66 | strncasecmp.c | ||
67 | strndup.c | ||
68 | strnlen.c | ||
69 | sys_stat.h | ||
70 | sys_stat_.h | ||
71 | sysexits.h | ||
72 | sysexits_.h | ||
73 | unistd.h | ||
74 | unistd_.h | ||
75 | vasnprintf.c | ||
76 | vasnprintf.h | ||
77 | vsnprintf.c | ||
78 | wchar.h | ||
79 | wchar_.h | ||
80 | xalloc-die.c | ||
81 | xalloc.h | ||
82 | xmalloc.c | ||
83 | xsize.h | ||
84 | xstrndup.c | ||
85 | xstrndup.h | ||
diff --git a/po/.cvsignore b/po/.cvsignore index 0055994..e34e97e 100644 --- a/po/.cvsignore +++ b/po/.cvsignore | |||
@@ -1,18 +1,18 @@ | |||
1 | *.gmo | ||
2 | *.mo | ||
1 | Makefile | 3 | Makefile |
2 | Makefile.in | 4 | Makefile.in |
3 | Makefile.in.in | 5 | Makefile.in.in |
4 | Makevars.template | 6 | Makevars.template |
5 | POTFILES | 7 | POTFILES |
6 | Rules-quot | 8 | Rules-quot |
7 | cflow.pot | ||
8 | boldquot.sed | 9 | boldquot.sed |
10 | cflow.pot | ||
9 | en@boldquot.header | 11 | en@boldquot.header |
10 | en@quot.header | 12 | en@quot.header |
11 | insert-header.sin | 13 | insert-header.sin |
12 | mailutils.pot | 14 | mailutils.pot |
13 | quot.sed | 15 | quot.sed |
14 | remove-potcdate.sin | ||
15 | remove-potcdate.sed | 16 | remove-potcdate.sed |
17 | remove-potcdate.sin | ||
16 | stamp-po | 18 | stamp-po |
17 | *.mo | ||
18 | *.gmo | ||
diff --git a/po/Makevars b/po/Makevars deleted file mode 100644 index 15fe7fb..0000000 --- a/po/Makevars +++ b/dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | # | ||
2 | # Makefile variables for PO directory. | ||
3 | # Copyright (C) 2005 Free Software Foundation, Inc. | ||
4 | # | ||
5 | |||
6 | DOMAIN = $(PACKAGE) | ||
7 | |||
8 | subdir = po | ||
9 | top_builddir = .. | ||
10 | |||
11 | XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ | ||
12 | COPYRIGHT_HOLDER = Sergey Poznyakoff | ||
13 | MSGID_BUGS_ADDRESS = bug-cflow@gnu.org | ||
14 | EXTRA_LOCALE_CATEGORIES = | ||
15 | |||
16 | # EOF | ||
@@ -2,13 +2,13 @@ | |||
2 | # Copyright (C) 2005 Free Software Foundation, Inc. | 2 | # Copyright (C) 2005 Free Software Foundation, Inc. |
3 | # Morten Bo Johansen <mojo@mbjnet.dk>, 2005- | 3 | # Morten Bo Johansen <mojo@mbjnet.dk>, 2005- |
4 | msgid "" | 4 | msgid "" |
5 | msgstr "" | 5 | msgstr "" |
6 | "Project-Id-Version: cflow 1.0\n" | 6 | "Project-Id-Version: cflow 1.0\n" |
7 | "Report-Msgid-Bugs-To: bug-cflow@gnu.org\n" | 7 | "Report-Msgid-Bugs-To: bug-cflow@gnu.org\n" |
8 | "POT-Creation-Date: 2005-10-07 10:22+0300\n" | 8 | "POT-Creation-Date: 2006-09-10 15:17+0300\n" |
9 | "PO-Revision-Date: 2005-11-01 00:27+0200\n" | 9 | "PO-Revision-Date: 2005-11-01 00:27+0200\n" |
10 | "Last-Translator: Morten Bo Johansen <mojo@mbjnet.dk>\n" | 10 | "Last-Translator: Morten Bo Johansen <mojo@mbjnet.dk>\n" |
11 | "Language-Team: Danish <dansk@klid.dk>\n" | 11 | "Language-Team: Danish <dansk@klid.dk>\n" |
12 | "MIME-Version: 1.0\n" | 12 | "MIME-Version: 1.0\n" |
13 | "Content-Type: text/plain; charset=iso-8859-1\n" | 13 | "Content-Type: text/plain; charset=iso-8859-1\n" |
14 | "Content-Transfer-Encoding: 8bit\n" | 14 | "Content-Transfer-Encoding: 8bit\n" |
@@ -34,17 +34,26 @@ msgstr "kan ikke bne \"%s\"" | |||
34 | 34 | ||
35 | #: src/c.l:422 | 35 | #: src/c.l:422 |
36 | #, c-format | 36 | #, c-format |
37 | msgid "New location: %s:%d\n" | 37 | msgid "New location: %s:%d\n" |
38 | msgstr "Ny placering: %s:%d\n" | 38 | msgstr "Ny placering: %s:%d\n" |
39 | 39 | ||
40 | #. TRANSLATORS: Please, preserve the vertical tabulation (^K character) | 40 | #: src/main.c:27 |
41 | #. in this message | 41 | msgid "generate a program flowgraph" |
42 | msgstr "" | ||
43 | |||
42 | #: src/main.c:29 | 44 | #: src/main.c:29 |
43 | msgid "generate a program flowgraph* The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with `no-'. For example, --no-cpp cancels --cpp." | 45 | #, fuzzy |
44 | msgstr "generr en flowgraf for program.* Virkningen af at tilvalg er markeret med en asterisk er den modsatte hvis tilvalgets lange navn har prfikset \"no-\". F.eks. --no-cpp annullerer --cpp." | 46 | msgid "" |
47 | "* The effect of each option marked with an asterisk is reversed if the " | ||
48 | "option's long name is prefixed with `no-'. For example, --no-cpp cancels --" | ||
49 | "cpp." | ||
50 | msgstr "" | ||
51 | "generr en flowgraf for program.* Virkningen af at tilvalg er markeret med " | ||
52 | "en asterisk er den modsatte hvis tilvalgets lange navn har prfikset \"no-" | ||
53 | "\". F.eks. --no-cpp annullerer --cpp." | ||
45 | 54 | ||
46 | #: src/main.c:56 | 55 | #: src/main.c:56 |
47 | msgid "General options:" | 56 | msgid "General options:" |
48 | msgstr "Generelle tilvalg:" | 57 | msgstr "Generelle tilvalg:" |
49 | 58 | ||
50 | #: src/main.c:57 src/main.c:98 | 59 | #: src/main.c:57 src/main.c:98 |
@@ -57,22 +66,29 @@ msgstr "angiv den dybde hvori flowgrafen skres af" | |||
57 | 66 | ||
58 | #: src/main.c:59 | 67 | #: src/main.c:59 |
59 | msgid "CLASSES" | 68 | msgid "CLASSES" |
60 | msgstr "KLASSER" | 69 | msgstr "KLASSER" |
61 | 70 | ||
62 | #: src/main.c:60 | 71 | #: src/main.c:60 |
63 | msgid "Include specified classes of symbols (see below). Prepend CLASSES with ^ or - to exclude them from the output" | 72 | msgid "" |
64 | msgstr "Medtag de anfrte symbolklasser (se nedenfor). Lad KLASSER begynde med ^ eller - for at fjerne dem fra uddata" | 73 | "Include specified classes of symbols (see below). Prepend CLASSES with ^ or " |
74 | "- to exclude them from the output" | ||
75 | msgstr "" | ||
76 | "Medtag de anfrte symbolklasser (se nedenfor). Lad KLASSER begynde med ^ " | ||
77 | "eller - for at fjerne dem fra uddata" | ||
65 | 78 | ||
66 | #: src/main.c:61 src/main.c:102 src/main.c:106 | 79 | #: src/main.c:61 src/main.c:102 src/main.c:106 lib/argp-parse.c:84 |
67 | msgid "NAME" | 80 | msgid "NAME" |
68 | msgstr "NAVN" | 81 | msgstr "NAVN" |
69 | 82 | ||
70 | #: src/main.c:62 | 83 | #: src/main.c:62 |
71 | msgid "Use given output format NAME. Valid names are `gnu' (default) and `posix'" | 84 | msgid "" |
72 | msgstr "Brug det anfrte navn for format p uddata: Gyldige navne er \"gnu\" (standard) og \"posix\"" | 85 | "Use given output format NAME. Valid names are `gnu' (default) and `posix'" |
86 | msgstr "" | ||
87 | "Brug det anfrte navn for format p uddata: Gyldige navne er \"gnu" | ||
88 | "\" (standard) og \"posix\"" | ||
73 | 89 | ||
74 | #: src/main.c:65 | 90 | #: src/main.c:65 |
75 | msgid "* Print reverse call tree" | 91 | msgid "* Print reverse call tree" |
76 | msgstr "* Udskriv trstruktur over kald i omvendt orden" | 92 | msgstr "* Udskriv trstruktur over kald i omvendt orden" |
77 | 93 | ||
78 | #: src/main.c:67 | 94 | #: src/main.c:67 |
@@ -81,22 +97,28 @@ msgstr "Lav kun en liste over krydsreferencer" | |||
81 | 97 | ||
82 | #: src/main.c:68 | 98 | #: src/main.c:68 |
83 | msgid "OPT" | 99 | msgid "OPT" |
84 | msgstr "TILVALG" | 100 | msgstr "TILVALG" |
85 | 101 | ||
86 | #: src/main.c:69 | 102 | #: src/main.c:69 |
87 | msgid "Set printing option to OPT. Valid OPT values are: xref (or cross-ref), tree. Any unambiguous abbreviation of the above is also accepted" | 103 | msgid "" |
88 | msgstr "St tilvalg for udskrivning til TILVALG. Gyldige vrdier for TILVALG er: xref (eller cross-xref), tree. Enhver entydig forkortelse af disse vrdier kan ogs godkendes" | 104 | "Set printing option to OPT. Valid OPT values are: xref (or cross-ref), tree. " |
105 | "Any unambiguous abbreviation of the above is also accepted" | ||
106 | msgstr "" | ||
107 | "St tilvalg for udskrivning til TILVALG. Gyldige vrdier for TILVALG er: " | ||
108 | "xref (eller cross-xref), tree. Enhver entydig forkortelse af disse vrdier " | ||
109 | "kan ogs godkendes" | ||
89 | 110 | ||
90 | #: src/main.c:71 | 111 | #: src/main.c:71 |
91 | msgid "FILE" | 112 | msgid "FILE" |
92 | msgstr "FIL" | 113 | msgstr "FIL" |
93 | 114 | ||
94 | #: src/main.c:72 | 115 | #: src/main.c:72 |
95 | msgid "Set output file name (default -, meaning stdout)" | 116 | msgid "Set output file name (default -, meaning stdout)" |
96 | msgstr "Angiv navn p uddata-fil (standard er \"-\" som betyder standarduddata)" | 117 | msgstr "" |
118 | "Angiv navn p uddata-fil (standard er \"-\" som betyder standarduddata)" | ||
97 | 119 | ||
98 | #: src/main.c:75 | 120 | #: src/main.c:75 |
99 | msgid "Symbols classes for --include argument" | 121 | msgid "Symbols classes for --include argument" |
100 | msgstr "Symbolklasser til argumentet --include" | 122 | msgstr "Symbolklasser til argumentet --include" |
101 | 123 | ||
102 | #: src/main.c:77 | 124 | #: src/main.c:77 |
@@ -133,14 +155,20 @@ msgstr "St den frste stak-strrelse p elementer til ANTAL" | |||
133 | 155 | ||
134 | #: src/main.c:100 | 156 | #: src/main.c:100 |
135 | msgid "SYMBOL:TYPE" | 157 | msgid "SYMBOL:TYPE" |
136 | msgstr "SYMBOL:TYPE" | 158 | msgstr "SYMBOL:TYPE" |
137 | 159 | ||
138 | #: src/main.c:101 | 160 | #: src/main.c:101 |
139 | msgid "Register SYMBOL with given TYPE. Valid types are: keyword (or kw), modifier, identifier, type, wrapper. Any unambiguous abbreviation of the above is also accepted" | 161 | msgid "" |
140 | msgstr "Registrr SYMBOL for angiven TYPE. Gyldig typer er: keyword (eller kw), modifier, identifier, type, wrapper. Enhver entydig forkortelse af disse typer kan ogs godkendes" | 162 | "Register SYMBOL with given TYPE. Valid types are: keyword (or kw), modifier, " |
163 | "identifier, type, wrapper. Any unambiguous abbreviation of the above is also " | ||
164 | "accepted" | ||
165 | msgstr "" | ||
166 | "Registrr SYMBOL for angiven TYPE. Gyldig typer er: keyword (eller kw), " | ||
167 | "modifier, identifier, type, wrapper. Enhver entydig forkortelse af disse " | ||
168 | "typer kan ogs godkendes" | ||
141 | 169 | ||
142 | #: src/main.c:103 | 170 | #: src/main.c:103 |
143 | msgid "Assume main function to be called NAME" | 171 | msgid "Assume main function to be called NAME" |
144 | msgstr "Antag at hovedfunktionen hedder NAVN" | 172 | msgstr "Antag at hovedfunktionen hedder NAVN" |
145 | 173 | ||
146 | #: src/main.c:104 | 174 | #: src/main.c:104 |
@@ -157,14 +185,18 @@ msgstr "Annullr alle tidligere definitioner af NAVN" | |||
157 | 185 | ||
158 | #: src/main.c:108 | 186 | #: src/main.c:108 |
159 | msgid "DIR" | 187 | msgid "DIR" |
160 | msgstr "KATALOG" | 188 | msgstr "KATALOG" |
161 | 189 | ||
162 | #: src/main.c:109 | 190 | #: src/main.c:109 |
163 | msgid "Add the directory DIR to the list of directories to be searched for header files." | 191 | msgid "" |
164 | msgstr "Tilfj kataloget KATALOG til listen over kataloger der skal gennemsges for inkluderingsfiler." | 192 | "Add the directory DIR to the list of directories to be searched for header " |
193 | "files." | ||
194 | msgstr "" | ||
195 | "Tilfj kataloget KATALOG til listen over kataloger der skal gennemsges for " | ||
196 | "inkluderingsfiler." | ||
165 | 197 | ||
166 | #: src/main.c:110 | 198 | #: src/main.c:110 |
167 | msgid "COMMAND" | 199 | msgid "COMMAND" |
168 | msgstr "KOMMANDO" | 200 | msgstr "KOMMANDO" |
169 | 201 | ||
170 | #: src/main.c:111 | 202 | #: src/main.c:111 |
@@ -286,13 +318,13 @@ msgid "" | |||
286 | "License for %s:\n" | 318 | "License for %s:\n" |
287 | "\n" | 319 | "\n" |
288 | msgstr "" | 320 | msgstr "" |
289 | "Licens til %s:\n" | 321 | "Licens til %s:\n" |
290 | "\n" | 322 | "\n" |
291 | 323 | ||
292 | #: src/main.c:575 src/main.c:760 | 324 | #: src/main.c:575 src/main.c:762 |
293 | #, c-format | 325 | #, c-format |
294 | msgid "%s: No such output driver" | 326 | msgid "%s: No such output driver" |
295 | msgstr "%s: Ingen sdan uddata-driver" | 327 | msgstr "%s: Ingen sdan uddata-driver" |
296 | 328 | ||
297 | #: src/main.c:602 | 329 | #: src/main.c:602 |
298 | #, c-format | 330 | #, c-format |
@@ -304,46 +336,46 @@ msgid "[FILE]..." | |||
304 | msgstr "[FIL]..." | 336 | msgstr "[FIL]..." |
305 | 337 | ||
306 | #: src/main.c:725 | 338 | #: src/main.c:725 |
307 | msgid "Exiting" | 339 | msgid "Exiting" |
308 | msgstr "Afslutter" | 340 | msgstr "Afslutter" |
309 | 341 | ||
310 | #: src/main.c:792 | 342 | #: src/main.c:794 |
311 | msgid "no input files" | 343 | msgid "no input files" |
312 | msgstr "ingen inddatafiler" | 344 | msgstr "ingen inddatafiler" |
313 | 345 | ||
314 | #: src/parser.c:119 | 346 | #: src/parser.c:120 |
315 | #, c-format | 347 | #, c-format |
316 | msgid " near " | 348 | msgid " near " |
317 | msgstr " nr " | 349 | msgstr " nr " |
318 | 350 | ||
319 | #: src/parser.c:188 | 351 | #: src/parser.c:189 |
320 | msgid "INTERNAL ERROR: cannot return token to stream" | 352 | msgid "INTERNAL ERROR: cannot return token to stream" |
321 | msgstr "INTERN FEJL: kan ikke returnere element til datastrm" | 353 | msgstr "INTERN FEJL: kan ikke returnere element til datastrm" |
322 | 354 | ||
323 | #: src/parser.c:398 | 355 | #: src/parser.c:399 |
324 | msgid "unexpected end of file in expression" | 356 | msgid "unexpected end of file in expression" |
325 | msgstr "uventet slutning p fil i udtryk " | 357 | msgstr "uventet slutning p fil i udtryk " |
326 | 358 | ||
327 | #: src/parser.c:453 src/parser.c:552 | 359 | #: src/parser.c:454 src/parser.c:553 |
328 | msgid "expected `;'" | 360 | msgid "expected `;'" |
329 | msgstr "forventede ';'" | 361 | msgstr "forventede ';'" |
330 | 362 | ||
331 | #: src/parser.c:470 src/parser.c:577 | 363 | #: src/parser.c:471 src/parser.c:578 |
332 | msgid "unexpected end of file in declaration" | 364 | msgid "unexpected end of file in declaration" |
333 | msgstr "uventet slutning p fil i erklring" | 365 | msgstr "uventet slutning p fil i erklring" |
334 | 366 | ||
335 | #: src/parser.c:502 | 367 | #: src/parser.c:503 |
336 | msgid "missing `;' after struct declaration" | 368 | msgid "missing `;' after struct declaration" |
337 | msgstr "manglende ';' efter struct-erklring" | 369 | msgstr "manglende ';' efter struct-erklring" |
338 | 370 | ||
339 | #: src/parser.c:599 | 371 | #: src/parser.c:600 |
340 | msgid "unexpected end of file in initializer list" | 372 | msgid "unexpected end of file in initializer list" |
341 | msgstr "uventet slutning p fil i liste over startvrdier" | 373 | msgstr "uventet slutning p fil i liste over startvrdier" |
342 | 374 | ||
343 | #: src/parser.c:683 | 375 | #: src/parser.c:684 |
344 | msgid "unexpected end of file in struct" | 376 | msgid "unexpected end of file in struct" |
345 | msgstr "uventet slutning p fil i struct" | 377 | msgstr "uventet slutning p fil i struct" |
346 | 378 | ||
347 | #: src/parser.c:769 src/parser.c:792 | 379 | #: src/parser.c:769 src/parser.c:792 |
348 | msgid "expected `)'" | 380 | msgid "expected `)'" |
349 | msgstr "forventede ')'" | 381 | msgstr "forventede ')'" |
@@ -365,171 +397,194 @@ msgid "forced function body close" | |||
365 | msgstr "gennemtvang afslutning af funktionens krop" | 397 | msgstr "gennemtvang afslutning af funktionens krop" |
366 | 398 | ||
367 | #: src/parser.c:944 | 399 | #: src/parser.c:944 |
368 | msgid "unexpected end of file in function body" | 400 | msgid "unexpected end of file in function body" |
369 | msgstr "uventet slutning p fil i funktionens indhold" | 401 | msgstr "uventet slutning p fil i funktionens indhold" |
370 | 402 | ||
371 | #: src/parser.c:979 | 403 | #: src/parser.c:983 |
372 | #, c-format | 404 | #, c-format |
373 | msgid "%s/%d redefined" | 405 | msgid "%s/%d redefined" |
374 | msgstr "%s/%d omdefineret" | 406 | msgstr "%s/%d omdefineret" |
375 | 407 | ||
376 | #: src/parser.c:982 | 408 | #: src/parser.c:986 |
377 | msgid "this is the place of previous definition" | 409 | msgid "this is the place of previous definition" |
378 | msgstr "dette er stedet for den forrige definition" | 410 | msgstr "dette er stedet for den forrige definition" |
379 | 411 | ||
380 | #: src/parser.c:994 | 412 | #: src/parser.c:999 |
381 | #, c-format | 413 | #, c-format |
382 | msgid "%s:%d: %s/%d defined to %s\n" | 414 | msgid "%s:%d: %s/%d defined to %s\n" |
383 | msgstr "%s:%d: %s/%d defineret til %s\n" | 415 | msgstr "%s:%d: %s/%d defineret til %s\n" |
384 | 416 | ||
385 | #: src/parser.c:1019 | 417 | #: src/parser.c:1024 |
386 | #, c-format | 418 | #, c-format |
387 | msgid "%s:%d: type %s\n" | 419 | msgid "%s:%d: type %s\n" |
388 | msgstr "%s:%d: type %s\n" | 420 | msgstr "%s:%d: type %s\n" |
389 | 421 | ||
390 | #: src/rc.c:55 | 422 | #: src/rc.c:55 |
391 | msgid "not enough memory to process rc file" | 423 | msgid "not enough memory to process rc file" |
392 | msgstr "ikke nok hukommelse til at behandle rc-fil" | 424 | msgstr "ikke nok hukommelse til at behandle rc-fil" |
393 | 425 | ||
394 | #: src/symbol.c:317 | 426 | #: src/symbol.c:368 |
395 | msgid "not enough core" | 427 | msgid "not enough core" |
396 | msgstr "ikke nok kernehukommelse (core)" | 428 | msgstr "ikke nok kernehukommelse (core)" |
397 | 429 | ||
398 | #: lib/argp-help.c:195 | 430 | #: lib/argp-help.c:148 |
431 | #, c-format | ||
432 | msgid "ARGP_HELP_FMT: %s value is less than or equal to %s" | ||
433 | msgstr "" | ||
434 | |||
435 | #: lib/argp-help.c:221 | ||
399 | #, c-format | 436 | #, c-format |
400 | msgid "%.*s: ARGP_HELP_FMT parameter requires a value" | 437 | msgid "%.*s: ARGP_HELP_FMT parameter requires a value" |
401 | msgstr "%.*s: ARGP_HELP_FMT-parameteren krver en vrdi" | 438 | msgstr "%.*s: ARGP_HELP_FMT-parameteren krver en vrdi" |
402 | 439 | ||
403 | #: lib/argp-help.c:204 | 440 | #: lib/argp-help.c:227 |
441 | #, fuzzy, c-format | ||
442 | msgid "%.*s: ARGP_HELP_FMT parameter must be positive" | ||
443 | msgstr "%.*s: ARGP_HELP_FMT-parameteren krver en vrdi" | ||
444 | |||
445 | #: lib/argp-help.c:236 | ||
404 | #, c-format | 446 | #, c-format |
405 | msgid "%.*s: Unknown ARGP_HELP_FMT parameter" | 447 | msgid "%.*s: Unknown ARGP_HELP_FMT parameter" |
406 | msgstr "%.*s: Ukendt ARGP_HELP_FMT-parameter" | 448 | msgstr "%.*s: Ukendt ARGP_HELP_FMT-parameter" |
407 | 449 | ||
408 | #: lib/argp-help.c:216 | 450 | #: lib/argp-help.c:248 |
409 | #, c-format | 451 | #, c-format |
410 | msgid "Garbage in ARGP_HELP_FMT: %s" | 452 | msgid "Garbage in ARGP_HELP_FMT: %s" |
411 | msgstr "Snavs i ARGP_HELP_FMT: %s" | 453 | msgstr "Snavs i ARGP_HELP_FMT: %s" |
412 | 454 | ||
413 | #: lib/argp-help.c:1195 | 455 | #: lib/argp-help.c:1229 |
414 | msgid "Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options." | 456 | msgid "" |
415 | msgstr "Obligatoriske eller frivillige argumenter til lange tilvalg er ogs obligatoriske eller frivillige for tilsvarende korte tilvalg." | 457 | "Mandatory or optional arguments to long options are also mandatory or " |
458 | "optional for any corresponding short options." | ||
459 | msgstr "" | ||
460 | "Obligatoriske eller frivillige argumenter til lange tilvalg er ogs " | ||
461 | "obligatoriske eller frivillige for tilsvarende korte tilvalg." | ||
416 | 462 | ||
417 | #: lib/argp-help.c:1582 | 463 | #: lib/argp-help.c:1622 |
418 | msgid "Usage:" | 464 | msgid "Usage:" |
419 | msgstr "Brug:" | 465 | msgstr "Brug:" |
420 | 466 | ||
421 | #: lib/argp-help.c:1586 | 467 | #: lib/argp-help.c:1626 |
422 | msgid " or: " | 468 | msgid " or: " |
423 | msgstr " eller: " | 469 | msgstr " eller: " |
424 | 470 | ||
425 | #: lib/argp-help.c:1598 | 471 | #: lib/argp-help.c:1638 |
426 | msgid " [OPTION...]" | 472 | msgid " [OPTION...]" |
427 | msgstr " [FLAG...]" | 473 | msgstr " [FLAG...]" |
428 | 474 | ||
429 | #: lib/argp-help.c:1625 | 475 | #: lib/argp-help.c:1665 |
430 | #, c-format | 476 | #, c-format |
431 | msgid "Try `%s --help' or `%s --usage' for more information.\n" | 477 | msgid "Try `%s --help' or `%s --usage' for more information.\n" |
432 | msgstr "Prv '%s --help' eller '%s --usage' for mere information.\n" | 478 | msgstr "Prv '%s --help' eller '%s --usage' for mere information.\n" |
433 | 479 | ||
434 | #: lib/argp-help.c:1653 | 480 | #: lib/argp-help.c:1693 |
435 | #, c-format | 481 | #, c-format |
436 | msgid "Report bugs to %s.\n" | 482 | msgid "Report bugs to %s.\n" |
437 | msgstr "" | 483 | msgstr "" |
438 | "Rapportr fejl til %s.\n" | 484 | "Rapportr fejl til %s.\n" |
439 | "Rapportr fejl i oversttelsen til dansk@dansk-gruppen.dk.\n" | 485 | "Rapportr fejl i oversttelsen til dansk@dansk-gruppen.dk.\n" |
440 | 486 | ||
441 | #: lib/argp-help.c:1873 lib/error.c:122 | 487 | #: lib/argp-help.c:1912 lib/error.c:125 |
442 | msgid "Unknown system error" | 488 | msgid "Unknown system error" |
443 | msgstr "Ukendt systemfejl" | 489 | msgstr "Ukendt systemfejl" |
444 | 490 | ||
445 | #: lib/argp-parse.c:83 | 491 | #: lib/argp-parse.c:82 |
446 | msgid "Give this help list" | 492 | #, fuzzy |
493 | msgid "give this help list" | ||
447 | msgstr "Vis denne hjlpeliste" | 494 | msgstr "Vis denne hjlpeliste" |
448 | 495 | ||
449 | #: lib/argp-parse.c:84 | 496 | #: lib/argp-parse.c:83 |
450 | msgid "Give a short usage message" | 497 | #, fuzzy |
498 | msgid "give a short usage message" | ||
451 | msgstr "Giv en kort brugsmeddelelse" | 499 | msgstr "Giv en kort brugsmeddelelse" |
452 | 500 | ||
453 | #: lib/argp-parse.c:85 | 501 | #: lib/argp-parse.c:84 |
454 | msgid "Set the program name" | 502 | #, fuzzy |
503 | msgid "set the program name" | ||
455 | msgstr "Angiv programnavnet" | 504 | msgstr "Angiv programnavnet" |
456 | 505 | ||
457 | #: lib/argp-parse.c:87 | 506 | #: lib/argp-parse.c:85 |
458 | msgid "Hang for SECS seconds (default 3600)" | 507 | msgid "SECS" |
508 | msgstr "" | ||
509 | |||
510 | #: lib/argp-parse.c:86 | ||
511 | #, fuzzy | ||
512 | msgid "hang for SECS seconds (default 3600)" | ||
459 | msgstr "Hng i SEK sekunder (forvalgt 3600)" | 513 | msgstr "Hng i SEK sekunder (forvalgt 3600)" |
460 | 514 | ||
461 | #: lib/argp-parse.c:148 | 515 | #: lib/argp-parse.c:143 |
462 | msgid "Print program version" | 516 | #, fuzzy |
517 | msgid "print program version" | ||
463 | msgstr "Skriv programversion" | 518 | msgstr "Skriv programversion" |
464 | 519 | ||
465 | #: lib/argp-parse.c:164 | 520 | #: lib/argp-parse.c:159 |
466 | msgid "(PROGRAM ERROR) No version known!?" | 521 | msgid "(PROGRAM ERROR) No version known!?" |
467 | msgstr "(PROGRAMFEJL) Ingen kendt version!?" | 522 | msgstr "(PROGRAMFEJL) Ingen kendt version!?" |
468 | 523 | ||
469 | #: lib/argp-parse.c:620 | 524 | #: lib/argp-parse.c:612 |
470 | #, c-format | 525 | #, c-format |
471 | msgid "%s: Too many arguments\n" | 526 | msgid "%s: Too many arguments\n" |
472 | msgstr "%s: For mange argumenter\n" | 527 | msgstr "%s: For mange argumenter\n" |
473 | 528 | ||
474 | #: lib/argp-parse.c:763 | 529 | #: lib/argp-parse.c:755 |
475 | msgid "(PROGRAM ERROR) Option should have been recognized!?" | 530 | msgid "(PROGRAM ERROR) Option should have been recognized!?" |
476 | msgstr "(PROGRAMFEJL) Flag skulle have vret genkendt!?" | 531 | msgstr "(PROGRAMFEJL) Flag skulle have vret genkendt!?" |
477 | 532 | ||
478 | #: lib/getopt.c:552 lib/getopt.c:571 | 533 | #: lib/getopt.c:531 lib/getopt.c:547 |
479 | #, c-format | 534 | #, c-format |
480 | msgid "%s: option `%s' is ambiguous\n" | 535 | msgid "%s: option `%s' is ambiguous\n" |
481 | msgstr "%s: tilvalget '%s' er ikke entydigt\n" | 536 | msgstr "%s: tilvalget '%s' er ikke entydigt\n" |
482 | 537 | ||
483 | #: lib/getopt.c:604 lib/getopt.c:608 | 538 | #: lib/getopt.c:580 lib/getopt.c:584 |
484 | #, c-format | 539 | #, c-format |
485 | msgid "%s: option `--%s' doesn't allow an argument\n" | 540 | msgid "%s: option `--%s' doesn't allow an argument\n" |
486 | msgstr "%s: tilvalget '--%s' tillader ikke argumenter\n" | 541 | msgstr "%s: tilvalget '--%s' tillader ikke argumenter\n" |
487 | 542 | ||
488 | #: lib/getopt.c:617 lib/getopt.c:622 | 543 | #: lib/getopt.c:593 lib/getopt.c:598 |
489 | #, c-format | 544 | #, c-format |
490 | msgid "%s: option `%c%s' doesn't allow an argument\n" | 545 | msgid "%s: option `%c%s' doesn't allow an argument\n" |
491 | msgstr "%s: tilvalget '%c%s' tillader ikke argument\n" | 546 | msgstr "%s: tilvalget '%c%s' tillader ikke argument\n" |
492 | 547 | ||
493 | #: lib/getopt.c:668 lib/getopt.c:690 lib/getopt.c:1021 lib/getopt.c:1043 | 548 | #: lib/getopt.c:641 lib/getopt.c:660 lib/getopt.c:976 lib/getopt.c:995 |
494 | #, c-format | 549 | #, c-format |
495 | msgid "%s: option `%s' requires an argument\n" | 550 | msgid "%s: option `%s' requires an argument\n" |
496 | msgstr "%s: tilvalget '%s' skal have et argument\n" | 551 | msgstr "%s: tilvalget '%s' skal have et argument\n" |
497 | 552 | ||
498 | #: lib/getopt.c:728 lib/getopt.c:731 | 553 | #: lib/getopt.c:698 lib/getopt.c:701 |
499 | #, c-format | 554 | #, c-format |
500 | msgid "%s: unrecognized option `--%s'\n" | 555 | msgid "%s: unrecognized option `--%s'\n" |
501 | msgstr "%s: ukendt tilvalg '--%s'\n" | 556 | msgstr "%s: ukendt tilvalg '--%s'\n" |
502 | 557 | ||
503 | #: lib/getopt.c:739 lib/getopt.c:742 | 558 | #: lib/getopt.c:709 lib/getopt.c:712 |
504 | #, c-format | 559 | #, c-format |
505 | msgid "%s: unrecognized option `%c%s'\n" | 560 | msgid "%s: unrecognized option `%c%s'\n" |
506 | msgstr "%s: ukendt tilvalg '%c%s'\n" | 561 | msgstr "%s: ukendt tilvalg '%c%s'\n" |
507 | 562 | ||
508 | #: lib/getopt.c:797 lib/getopt.c:800 | 563 | #: lib/getopt.c:764 lib/getopt.c:767 |
509 | #, c-format | 564 | #, c-format |
510 | msgid "%s: illegal option -- %c\n" | 565 | msgid "%s: illegal option -- %c\n" |
511 | msgstr "%s: ugyldigt tilvalg -- %c\n" | 566 | msgstr "%s: ugyldigt tilvalg -- %c\n" |
512 | 567 | ||
513 | #: lib/getopt.c:806 lib/getopt.c:809 | 568 | #: lib/getopt.c:773 lib/getopt.c:776 |
514 | #, c-format | 569 | #, c-format |
515 | msgid "%s: invalid option -- %c\n" | 570 | msgid "%s: invalid option -- %c\n" |
516 | msgstr "%s: ugyldigt tilvalg -- %c\n" | 571 | msgstr "%s: ugyldigt tilvalg -- %c\n" |
517 | 572 | ||
518 | #: lib/getopt.c:864 lib/getopt.c:883 lib/getopt.c:1096 lib/getopt.c:1117 | 573 | #: lib/getopt.c:828 lib/getopt.c:844 lib/getopt.c:1048 lib/getopt.c:1066 |
519 | #, c-format | 574 | #, c-format |
520 | msgid "%s: option requires an argument -- %c\n" | 575 | msgid "%s: option requires an argument -- %c\n" |
521 | msgstr "%s: tilvalget skal have et argument -- %c\n" | 576 | msgstr "%s: tilvalget skal have et argument -- %c\n" |
522 | 577 | ||
523 | #: lib/getopt.c:936 lib/getopt.c:955 | 578 | #: lib/getopt.c:897 lib/getopt.c:913 |
524 | #, c-format | 579 | #, c-format |
525 | msgid "%s: option `-W %s' is ambiguous\n" | 580 | msgid "%s: option `-W %s' is ambiguous\n" |
526 | msgstr "%s: tilvalget '-W %s' er ikke entydigt\n" | 581 | msgstr "%s: tilvalget '-W %s' er ikke entydigt\n" |
527 | 582 | ||
528 | #: lib/getopt.c:979 lib/getopt.c:1000 | 583 | #: lib/getopt.c:937 lib/getopt.c:955 |
529 | #, c-format | 584 | #, c-format |
530 | msgid "%s: option `-W %s' doesn't allow an argument\n" | 585 | msgid "%s: option `-W %s' doesn't allow an argument\n" |
531 | msgstr "%s: tilvalget '-W %s' tillader ikke argument\n" | 586 | msgstr "%s: tilvalget '-W %s' tillader ikke argument\n" |
532 | 587 | ||
533 | #: lib/obstack.c:439 lib/obstack.c:442 | 588 | #: lib/obstack.c:427 lib/obstack.c:429 |
534 | msgid "memory exhausted" | 589 | msgid "memory exhausted" |
535 | msgstr "hukommelsen opbrugt" | 590 | msgstr "hukommelsen opbrugt" |
@@ -3,20 +3,21 @@ | |||
3 | # Sergey Poznyakoff <gray@gnu.org>, 2005. | 3 | # Sergey Poznyakoff <gray@gnu.org>, 2005. |
4 | # | 4 | # |
5 | msgid "" | 5 | msgid "" |
6 | msgstr "" | 6 | msgstr "" |
7 | "Project-Id-Version: cflow 1.0\n" | 7 | "Project-Id-Version: cflow 1.0\n" |
8 | "Report-Msgid-Bugs-To: bug-cflow@gnu.org\n" | 8 | "Report-Msgid-Bugs-To: bug-cflow@gnu.org\n" |
9 | "POT-Creation-Date: 2005-10-07 10:22+0300\n" | 9 | "POT-Creation-Date: 2006-09-10 15:17+0300\n" |
10 | "PO-Revision-Date: 2005-10-16 00:06+0300\n" | 10 | "PO-Revision-Date: 2005-10-16 00:06+0300\n" |
11 | "Last-Translator: Sergey Poznyakoff <gray@gnu.org>\n" | 11 | "Last-Translator: Sergey Poznyakoff <gray@gnu.org>\n" |
12 | "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n" | 12 | "Language-Team: Polish <translation-team-pl@lists.sourceforge.net>\n" |
13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
14 | "Content-Type: text/plain; charset=iso-8859-2\n" | 14 | "Content-Type: text/plain; charset=iso-8859-2\n" |
15 | "Content-Transfer-Encoding: 8bit\n" | 15 | "Content-Transfer-Encoding: 8bit\n" |
16 | "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" | 16 | "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " |
17 | "|| n%100>=20) ? 1 : 2);\n" | ||
17 | 18 | ||
18 | #: src/c.l:137 | 19 | #: src/c.l:137 |
19 | msgid "unterminated string?" | 20 | msgid "unterminated string?" |
20 | msgstr "niezakoñczony ³añcuch?" | 21 | msgstr "niezakoñczony ³añcuch?" |
21 | 22 | ||
22 | #: src/c.l:296 | 23 | #: src/c.l:296 |
@@ -36,19 +37,22 @@ msgstr "otwarcie `%s' jest niemo¿liwe" | |||
36 | 37 | ||
37 | #: src/c.l:422 | 38 | #: src/c.l:422 |
38 | #, c-format | 39 | #, c-format |
39 | msgid "New location: %s:%d\n" | 40 | msgid "New location: %s:%d\n" |
40 | msgstr "Nowa pozycja: %s:%d\n" | 41 | msgstr "Nowa pozycja: %s:%d\n" |
41 | 42 | ||
42 | #. TRANSLATORS: Please, preserve the vertical tabulation (^K character) | 43 | #: src/main.c:27 |
43 | #. in this message | 44 | msgid "generate a program flowgraph" |
45 | msgstr "" | ||
46 | |||
44 | #: src/main.c:29 | 47 | #: src/main.c:29 |
48 | #, fuzzy | ||
45 | msgid "" | 49 | msgid "" |
46 | "generate a program flowgraph* The effect of each option marked with an " | 50 | "* The effect of each option marked with an asterisk is reversed if the " |
47 | "asterisk is reversed if the option's long name is prefixed with `no-'. For " | 51 | "option's long name is prefixed with `no-'. For example, --no-cpp cancels --" |
48 | "example, --no-cpp cancels --cpp." | 52 | "cpp." |
49 | msgstr "" | 53 | msgstr "" |
50 | "generuje wykres przebiegu sterowania w programie* Ka¿da opcja, zaznaczona " | 54 | "generuje wykres przebiegu sterowania w programie* Ka¿da opcja, zaznaczona " |
51 | "przez gwiazdkê, wykazuje dzia³anie odwrotne gdy jest u¿yta z przyrostkiem " | 55 | "przez gwiazdkê, wykazuje dzia³anie odwrotne gdy jest u¿yta z przyrostkiem " |
52 | "`no-'. Na przyk³ad, --no-cpp wy³±cza preprocesor." | 56 | "`no-'. Na przyk³ad, --no-cpp wy³±cza preprocesor." |
53 | 57 | ||
54 | #: src/main.c:56 | 58 | #: src/main.c:56 |
@@ -69,16 +73,16 @@ msgstr "KLASY" | |||
69 | 73 | ||
70 | #: src/main.c:60 | 74 | #: src/main.c:60 |
71 | msgid "" | 75 | msgid "" |
72 | "Include specified classes of symbols (see below). Prepend CLASSES with ^ or " | 76 | "Include specified classes of symbols (see below). Prepend CLASSES with ^ or " |
73 | "- to exclude them from the output" | 77 | "- to exclude them from the output" |
74 | msgstr "" | 78 | msgstr "" |
75 | "Do³±cza do wykresu podane klasy symboli (patrz ni¿ej). By wy³±czyæ je, wpisz " | 79 | "Do³±cza do wykresu podane klasy symboli (patrz ni¿ej). By wy³±czyæ je, " |
76 | "^ albo - na pocz±tek argumentu." | 80 | "wpisz ^ albo - na pocz±tek argumentu." |
77 | 81 | ||
78 | #: src/main.c:61 src/main.c:102 src/main.c:106 | 82 | #: src/main.c:61 src/main.c:102 src/main.c:106 lib/argp-parse.c:84 |
79 | msgid "NAME" | 83 | msgid "NAME" |
80 | msgstr "NAZWA" | 84 | msgstr "NAZWA" |
81 | 85 | ||
82 | #: src/main.c:62 | 86 | #: src/main.c:62 |
83 | msgid "" | 87 | msgid "" |
84 | "Use given output format NAME. Valid names are `gnu' (default) and `posix'" | 88 | "Use given output format NAME. Valid names are `gnu' (default) and `posix'" |
@@ -101,22 +105,23 @@ msgstr "OPCJA" | |||
101 | #: src/main.c:69 | 105 | #: src/main.c:69 |
102 | msgid "" | 106 | msgid "" |
103 | "Set printing option to OPT. Valid OPT values are: xref (or cross-ref), tree. " | 107 | "Set printing option to OPT. Valid OPT values are: xref (or cross-ref), tree. " |
104 | "Any unambiguous abbreviation of the above is also accepted" | 108 | "Any unambiguous abbreviation of the above is also accepted" |
105 | msgstr "" | 109 | msgstr "" |
106 | "Ustala opcje wy¶wietlania. Poprawnymi warto¶ciami s±: xref albo cross-ref " | 110 | "Ustala opcje wy¶wietlania. Poprawnymi warto¶ciami s±: xref albo cross-ref " |
107 | "(tablica odwo³añ skro¶nych) i tree (drzewo wywo³añ). Mo¿na tak¿e u¿ywaæ " | 111 | "(tablica odwo³añ skro¶nych) i tree (drzewo wywo³añ). Mo¿na tak¿e " |
108 | "dowolnych jednoznacznych skrótów." | 112 | "u¿ywaæ dowolnych jednoznacznych skrótów." |
109 | 113 | ||
110 | #: src/main.c:71 | 114 | #: src/main.c:71 |
111 | msgid "FILE" | 115 | msgid "FILE" |
112 | msgstr "PLIK" | 116 | msgstr "PLIK" |
113 | 117 | ||
114 | #: src/main.c:72 | 118 | #: src/main.c:72 |
115 | msgid "Set output file name (default -, meaning stdout)" | 119 | msgid "Set output file name (default -, meaning stdout)" |
116 | msgstr "Podaje nazwê pliku wyj¶ciowego (domy¶lnie -, tzn. wyj¶cie standardowe)" | 120 | msgstr "" |
121 | "Podaje nazwê pliku wyj¶ciowego (domy¶lnie -, tzn. wyj¶cie standardowe)" | ||
117 | 122 | ||
118 | #: src/main.c:75 | 123 | #: src/main.c:75 |
119 | msgid "Symbols classes for --include argument" | 124 | msgid "Symbols classes for --include argument" |
120 | msgstr "Klasy symboli do u¿ycia z --include" | 125 | msgstr "Klasy symboli do u¿ycia z --include" |
121 | 126 | ||
122 | #: src/main.c:77 | 127 | #: src/main.c:77 |
@@ -317,13 +322,13 @@ msgid "" | |||
317 | "License for %s:\n" | 322 | "License for %s:\n" |
318 | "\n" | 323 | "\n" |
319 | msgstr "" | 324 | msgstr "" |
320 | "Licencja dla %s:\n" | 325 | "Licencja dla %s:\n" |
321 | "\n" | 326 | "\n" |
322 | 327 | ||
323 | #: src/main.c:575 src/main.c:760 | 328 | #: src/main.c:575 src/main.c:762 |
324 | #, c-format | 329 | #, c-format |
325 | msgid "%s: No such output driver" | 330 | msgid "%s: No such output driver" |
326 | msgstr "%s: Nie ma takiego sterownika wyj¶cia" | 331 | msgstr "%s: Nie ma takiego sterownika wyj¶cia" |
327 | 332 | ||
328 | #: src/main.c:602 | 333 | #: src/main.c:602 |
329 | #, c-format | 334 | #, c-format |
@@ -335,46 +340,46 @@ msgid "[FILE]..." | |||
335 | msgstr "[PLIK...]" | 340 | msgstr "[PLIK...]" |
336 | 341 | ||
337 | #: src/main.c:725 | 342 | #: src/main.c:725 |
338 | msgid "Exiting" | 343 | msgid "Exiting" |
339 | msgstr "Wyj¶cie" | 344 | msgstr "Wyj¶cie" |
340 | 345 | ||
341 | #: src/main.c:792 | 346 | #: src/main.c:794 |
342 | msgid "no input files" | 347 | msgid "no input files" |
343 | msgstr "nie podano nazw plików wej¶ciowych" | 348 | msgstr "nie podano nazw plików wej¶ciowych" |
344 | 349 | ||
345 | #: src/parser.c:119 | 350 | #: src/parser.c:120 |
346 | #, c-format | 351 | #, c-format |
347 | msgid " near " | 352 | msgid " near " |
348 | msgstr " przy " | 353 | msgstr " przy " |
349 | 354 | ||
350 | #: src/parser.c:188 | 355 | #: src/parser.c:189 |
351 | msgid "INTERNAL ERROR: cannot return token to stream" | 356 | msgid "INTERNAL ERROR: cannot return token to stream" |
352 | msgstr "B£¡D WEWNÊTRZNY: nie mo¿na zwróciæ symbolu do strumienia" | 357 | msgstr "B£¡D WEWNÊTRZNY: nie mo¿na zwróciæ symbolu do strumienia" |
353 | 358 | ||
354 | #: src/parser.c:398 | 359 | #: src/parser.c:399 |
355 | msgid "unexpected end of file in expression" | 360 | msgid "unexpected end of file in expression" |
356 | msgstr "nieoczekiwany koniec pliku w wyra¿eniu" | 361 | msgstr "nieoczekiwany koniec pliku w wyra¿eniu" |
357 | 362 | ||
358 | #: src/parser.c:453 src/parser.c:552 | 363 | #: src/parser.c:454 src/parser.c:553 |
359 | msgid "expected `;'" | 364 | msgid "expected `;'" |
360 | msgstr "spodziewane `;'" | 365 | msgstr "spodziewane `;'" |
361 | 366 | ||
362 | #: src/parser.c:470 src/parser.c:577 | 367 | #: src/parser.c:471 src/parser.c:578 |
363 | msgid "unexpected end of file in declaration" | 368 | msgid "unexpected end of file in declaration" |
364 | msgstr "nieoczekiwany koniec pliku w deklaracji" | 369 | msgstr "nieoczekiwany koniec pliku w deklaracji" |
365 | 370 | ||
366 | #: src/parser.c:502 | 371 | #: src/parser.c:503 |
367 | msgid "missing `;' after struct declaration" | 372 | msgid "missing `;' after struct declaration" |
368 | msgstr "brak `;' po deklaracji struktury" | 373 | msgstr "brak `;' po deklaracji struktury" |
369 | 374 | ||
370 | #: src/parser.c:599 | 375 | #: src/parser.c:600 |
371 | msgid "unexpected end of file in initializer list" | 376 | msgid "unexpected end of file in initializer list" |
372 | msgstr "nieoczekiwany koniec pliku w li¶cie warto¶ci pocz±tkowych" | 377 | msgstr "nieoczekiwany koniec pliku w li¶cie warto¶ci pocz±tkowych" |
373 | 378 | ||
374 | #: src/parser.c:683 | 379 | #: src/parser.c:684 |
375 | msgid "unexpected end of file in struct" | 380 | msgid "unexpected end of file in struct" |
376 | msgstr "nieoczekiwany koniec pliku w strukturze" | 381 | msgstr "nieoczekiwany koniec pliku w strukturze" |
377 | 382 | ||
378 | #: src/parser.c:769 src/parser.c:792 | 383 | #: src/parser.c:769 src/parser.c:792 |
379 | msgid "expected `)'" | 384 | msgid "expected `)'" |
380 | msgstr "spodziewane `)'" | 385 | msgstr "spodziewane `)'" |
@@ -396,173 +401,192 @@ msgid "forced function body close" | |||
396 | msgstr "wymuszone zakoñczenie cia³a funkcji" | 401 | msgstr "wymuszone zakoñczenie cia³a funkcji" |
397 | 402 | ||
398 | #: src/parser.c:944 | 403 | #: src/parser.c:944 |
399 | msgid "unexpected end of file in function body" | 404 | msgid "unexpected end of file in function body" |
400 | msgstr "nieoczekiwany koniec pliku w ciele funkcji" | 405 | msgstr "nieoczekiwany koniec pliku w ciele funkcji" |
401 | 406 | ||
402 | #: src/parser.c:979 | 407 | #: src/parser.c:983 |
403 | #, c-format | 408 | #, c-format |
404 | msgid "%s/%d redefined" | 409 | msgid "%s/%d redefined" |
405 | msgstr "ponowna definicja %s/%d" | 410 | msgstr "ponowna definicja %s/%d" |
406 | 411 | ||
407 | #: src/parser.c:982 | 412 | #: src/parser.c:986 |
408 | msgid "this is the place of previous definition" | 413 | msgid "this is the place of previous definition" |
409 | msgstr "to miejsce poprzedniej definicji" | 414 | msgstr "to miejsce poprzedniej definicji" |
410 | 415 | ||
411 | #: src/parser.c:994 | 416 | #: src/parser.c:999 |
412 | #, c-format | 417 | #, c-format |
413 | msgid "%s:%d: %s/%d defined to %s\n" | 418 | msgid "%s:%d: %s/%d defined to %s\n" |
414 | msgstr "%s:%d: %s/%d zdefiniowano jako %s\n" | 419 | msgstr "%s:%d: %s/%d zdefiniowano jako %s\n" |
415 | 420 | ||
416 | #: src/parser.c:1019 | 421 | #: src/parser.c:1024 |
417 | #, c-format | 422 | #, c-format |
418 | msgid "%s:%d: type %s\n" | 423 | msgid "%s:%d: type %s\n" |
419 | msgstr "%s:%d: typ %s\n" | 424 | msgstr "%s:%d: typ %s\n" |
420 | 425 | ||
421 | #: src/rc.c:55 | 426 | #: src/rc.c:55 |
422 | msgid "not enough memory to process rc file" | 427 | msgid "not enough memory to process rc file" |
423 | msgstr "brak pamiêci do przetworzenia pliku konfiguracyjnego" | 428 | msgstr "brak pamiêci do przetworzenia pliku konfiguracyjnego" |
424 | 429 | ||
425 | #: src/symbol.c:317 | 430 | #: src/symbol.c:368 |
426 | msgid "not enough core" | 431 | msgid "not enough core" |
427 | msgstr "brak pamiêci" | 432 | msgstr "brak pamiêci" |
428 | 433 | ||
429 | #: lib/argp-help.c:195 | 434 | #: lib/argp-help.c:148 |
435 | #, c-format | ||
436 | msgid "ARGP_HELP_FMT: %s value is less than or equal to %s" | ||
437 | msgstr "" | ||
438 | |||
439 | #: lib/argp-help.c:221 | ||
430 | #, c-format | 440 | #, c-format |
431 | msgid "%.*s: ARGP_HELP_FMT parameter requires a value" | 441 | msgid "%.*s: ARGP_HELP_FMT parameter requires a value" |
432 | msgstr "%.*s: parametr ARGP_HELP_FMT wymaga podania warto¶ci" | 442 | msgstr "%.*s: parametr ARGP_HELP_FMT wymaga podania warto¶ci" |
433 | 443 | ||
434 | #: lib/argp-help.c:204 | 444 | #: lib/argp-help.c:227 |
445 | #, fuzzy, c-format | ||
446 | msgid "%.*s: ARGP_HELP_FMT parameter must be positive" | ||
447 | msgstr "%.*s: parametr ARGP_HELP_FMT wymaga podania warto¶ci" | ||
448 | |||
449 | #: lib/argp-help.c:236 | ||
435 | #, c-format | 450 | #, c-format |
436 | msgid "%.*s: Unknown ARGP_HELP_FMT parameter" | 451 | msgid "%.*s: Unknown ARGP_HELP_FMT parameter" |
437 | msgstr "%.*s: Nieznany parametr ARGP_HELP_FMT" | 452 | msgstr "%.*s: Nieznany parametr ARGP_HELP_FMT" |
438 | 453 | ||
439 | #: lib/argp-help.c:216 | 454 | #: lib/argp-help.c:248 |
440 | #, c-format | 455 | #, c-format |
441 | msgid "Garbage in ARGP_HELP_FMT: %s" | 456 | msgid "Garbage in ARGP_HELP_FMT: %s" |
442 | msgstr "B³êdne dane w ARGP_HELP_FMT: %s" | 457 | msgstr "B³êdne dane w ARGP_HELP_FMT: %s" |
443 | 458 | ||
444 | #: lib/argp-help.c:1195 | 459 | #: lib/argp-help.c:1229 |
445 | msgid "" | 460 | msgid "" |
446 | "Mandatory or optional arguments to long options are also mandatory or " | 461 | "Mandatory or optional arguments to long options are also mandatory or " |
447 | "optional for any corresponding short options." | 462 | "optional for any corresponding short options." |
448 | msgstr "" | 463 | msgstr "" |
449 | "Argumenty obowi±zkowe lub opcjonalne dla d³ugich opcji s± równie¿ \n" | 464 | "Argumenty obowi±zkowe lub opcjonalne dla d³ugich opcji s± równie¿ \n" |
450 | "obowi±zkowe lub opcjonalne dla odpowiednich krótkich opcji." | 465 | "obowi±zkowe lub opcjonalne dla odpowiednich krótkich opcji." |
451 | 466 | ||
452 | #: lib/argp-help.c:1582 | 467 | #: lib/argp-help.c:1622 |
453 | msgid "Usage:" | 468 | msgid "Usage:" |
454 | msgstr "Sk³adnia:" | 469 | msgstr "Sk³adnia:" |
455 | 470 | ||
456 | #: lib/argp-help.c:1586 | 471 | #: lib/argp-help.c:1626 |
457 | msgid " or: " | 472 | msgid " or: " |
458 | msgstr " lub: " | 473 | msgstr " lub: " |
459 | 474 | ||
460 | #: lib/argp-help.c:1598 | 475 | #: lib/argp-help.c:1638 |
461 | msgid " [OPTION...]" | 476 | msgid " [OPTION...]" |
462 | msgstr " [OPCJA...]" | 477 | msgstr " [OPCJA...]" |
463 | 478 | ||
464 | #: lib/argp-help.c:1625 | 479 | #: lib/argp-help.c:1665 |
465 | #, c-format | 480 | #, c-format |
466 | msgid "Try `%s --help' or `%s --usage' for more information.\n" | 481 | msgid "Try `%s --help' or `%s --usage' for more information.\n" |
467 | msgstr "Napisz `%s --help' lub `%s --usage' by uzyskaæ wiêcej informacji.\n" | 482 | msgstr "Napisz `%s --help' lub `%s --usage' by uzyskaæ wiêcej informacji.\n" |
468 | 483 | ||
469 | #: lib/argp-help.c:1653 | 484 | #: lib/argp-help.c:1693 |
470 | #, c-format | 485 | #, c-format |
471 | msgid "Report bugs to %s.\n" | 486 | msgid "Report bugs to %s.\n" |
472 | msgstr "Prosimy zg³aszaæ b³êdy na adres %s.\n" | 487 | msgstr "Prosimy zg³aszaæ b³êdy na adres %s.\n" |
473 | 488 | ||
474 | #: lib/argp-help.c:1873 lib/error.c:122 | 489 | #: lib/argp-help.c:1912 lib/error.c:125 |
475 | msgid "Unknown system error" | 490 | msgid "Unknown system error" |
476 | msgstr "Nieznany b³±d systemowy" | 491 | msgstr "Nieznany b³±d systemowy" |
477 | 492 | ||
478 | #: lib/argp-parse.c:83 | 493 | #: lib/argp-parse.c:82 |
479 | msgid "Give this help list" | 494 | #, fuzzy |
495 | msgid "give this help list" | ||
480 | msgstr "Wy¶wietla ten tekst pomocy" | 496 | msgstr "Wy¶wietla ten tekst pomocy" |
481 | 497 | ||
482 | #: lib/argp-parse.c:84 | 498 | #: lib/argp-parse.c:83 |
483 | msgid "Give a short usage message" | 499 | #, fuzzy |
500 | msgid "give a short usage message" | ||
484 | msgstr "Wy¶wietla krótkie informacje o sk³adni polecenia" | 501 | msgstr "Wy¶wietla krótkie informacje o sk³adni polecenia" |
485 | 502 | ||
486 | #: lib/argp-parse.c:85 | 503 | #: lib/argp-parse.c:84 |
487 | msgid "Set the program name" | 504 | #, fuzzy |
505 | msgid "set the program name" | ||
488 | msgstr "Okre¶la nazwê programu" | 506 | msgstr "Okre¶la nazwê programu" |
489 | 507 | ||
490 | #: lib/argp-parse.c:87 | 508 | #: lib/argp-parse.c:85 |
491 | msgid "Hang for SECS seconds (default 3600)" | 509 | msgid "SECS" |
510 | msgstr "" | ||
511 | |||
512 | #: lib/argp-parse.c:86 | ||
513 | #, fuzzy | ||
514 | msgid "hang for SECS seconds (default 3600)" | ||
492 | msgstr "Czeka przez SEK sekund (domy¶lnie 3600)" | 515 | msgstr "Czeka przez SEK sekund (domy¶lnie 3600)" |
493 | 516 | ||
494 | #: lib/argp-parse.c:148 | 517 | #: lib/argp-parse.c:143 |
495 | msgid "Print program version" | 518 | #, fuzzy |
519 | msgid "print program version" | ||
496 | msgstr "Wy¶wietla wersjê programu" | 520 | msgstr "Wy¶wietla wersjê programu" |
497 | 521 | ||
498 | #: lib/argp-parse.c:164 | 522 | #: lib/argp-parse.c:159 |
499 | msgid "(PROGRAM ERROR) No version known!?" | 523 | msgid "(PROGRAM ERROR) No version known!?" |
500 | msgstr "(B£¡D PROGRAMU) Nieznana wersja!?" | 524 | msgstr "(B£¡D PROGRAMU) Nieznana wersja!?" |
501 | 525 | ||
502 | #: lib/argp-parse.c:620 | 526 | #: lib/argp-parse.c:612 |
503 | #, c-format | 527 | #, c-format |
504 | msgid "%s: Too many arguments\n" | 528 | msgid "%s: Too many arguments\n" |
505 | msgstr "%s: Za du¿o argumentów\n" | 529 | msgstr "%s: Za du¿o argumentów\n" |
506 | 530 | ||
507 | #: lib/argp-parse.c:763 | 531 | #: lib/argp-parse.c:755 |
508 | msgid "(PROGRAM ERROR) Option should have been recognized!?" | 532 | msgid "(PROGRAM ERROR) Option should have been recognized!?" |
509 | msgstr "(B£¡D PROGRAMU) Opcja powinna zostaæ rozpoznana?!" | 533 | msgstr "(B£¡D PROGRAMU) Opcja powinna zostaæ rozpoznana?!" |
510 | 534 | ||
511 | #: lib/getopt.c:552 lib/getopt.c:571 | 535 | #: lib/getopt.c:531 lib/getopt.c:547 |
512 | #, c-format | 536 | #, c-format |
513 | msgid "%s: option `%s' is ambiguous\n" | 537 | msgid "%s: option `%s' is ambiguous\n" |
514 | msgstr "%s: opcja `%s' jest niejednoznaczna\n" | 538 | msgstr "%s: opcja `%s' jest niejednoznaczna\n" |
515 | 539 | ||
516 | #: lib/getopt.c:604 lib/getopt.c:608 | 540 | #: lib/getopt.c:580 lib/getopt.c:584 |
517 | #, c-format | 541 | #, c-format |
518 | msgid "%s: option `--%s' doesn't allow an argument\n" | 542 | msgid "%s: option `--%s' doesn't allow an argument\n" |
519 | msgstr "%s: opcja `--%s' nie mo¿e mieæ argumentu\n" | 543 | msgstr "%s: opcja `--%s' nie mo¿e mieæ argumentu\n" |
520 | 544 | ||
521 | #: lib/getopt.c:617 lib/getopt.c:622 | 545 | #: lib/getopt.c:593 lib/getopt.c:598 |
522 | #, c-format | 546 | #, c-format |
523 | msgid "%s: option `%c%s' doesn't allow an argument\n" | 547 | msgid "%s: option `%c%s' doesn't allow an argument\n" |
524 | msgstr "%s: opcja `%c%s' nie mo¿e mieæ argumentu\n" | 548 | msgstr "%s: opcja `%c%s' nie mo¿e mieæ argumentu\n" |
525 | 549 | ||
526 | #: lib/getopt.c:668 lib/getopt.c:690 lib/getopt.c:1021 lib/getopt.c:1043 | 550 | #: lib/getopt.c:641 lib/getopt.c:660 lib/getopt.c:976 lib/getopt.c:995 |
527 | #, c-format | 551 | #, c-format |
528 | msgid "%s: option `%s' requires an argument\n" | 552 | msgid "%s: option `%s' requires an argument\n" |
529 | msgstr "%s: opcja `%s' wymaga argumentu\n" | 553 | msgstr "%s: opcja `%s' wymaga argumentu\n" |
530 | 554 | ||
531 | #: lib/getopt.c:728 lib/getopt.c:731 | 555 | #: lib/getopt.c:698 lib/getopt.c:701 |
532 | #, c-format | 556 | #, c-format |
533 | msgid "%s: unrecognized option `--%s'\n" | 557 | msgid "%s: unrecognized option `--%s'\n" |
534 | msgstr "%s: nierozpoznana opcja `--%s'\n" | 558 | msgstr "%s: nierozpoznana opcja `--%s'\n" |
535 | 559 | ||
536 | #: lib/getopt.c:739 lib/getopt.c:742 | 560 | #: lib/getopt.c:709 lib/getopt.c:712 |
537 | #, c-format | 561 | #, c-format |
538 | msgid "%s: unrecognized option `%c%s'\n" | 562 | msgid "%s: unrecognized option `%c%s'\n" |
539 | msgstr "%s: nierozpoznana opcja `%c%s'\n" | 563 | msgstr "%s: nierozpoznana opcja `%c%s'\n" |
540 | 564 | ||
541 | #: lib/getopt.c:797 lib/getopt.c:800 | 565 | #: lib/getopt.c:764 lib/getopt.c:767 |
542 | #, c-format | 566 | #, c-format |
543 | msgid "%s: illegal option -- %c\n" | 567 | msgid "%s: illegal option -- %c\n" |
544 | msgstr "%s: nieprawid³owa opcja -- %c\n" | 568 | msgstr "%s: nieprawid³owa opcja -- %c\n" |
545 | 569 | ||
546 | #: lib/getopt.c:806 lib/getopt.c:809 | 570 | #: lib/getopt.c:773 lib/getopt.c:776 |
547 | #, c-format | 571 | #, c-format |
548 | msgid "%s: invalid option -- %c\n" | 572 | msgid "%s: invalid option -- %c\n" |
549 | msgstr "%s: b³êdna opcja -- %c\n" | 573 | msgstr "%s: b³êdna opcja -- %c\n" |
550 | 574 | ||
551 | #: lib/getopt.c:864 lib/getopt.c:883 lib/getopt.c:1096 lib/getopt.c:1117 | 575 | #: lib/getopt.c:828 lib/getopt.c:844 lib/getopt.c:1048 lib/getopt.c:1066 |
552 | #, c-format | 576 | #, c-format |
553 | msgid "%s: option requires an argument -- %c\n" | 577 | msgid "%s: option requires an argument -- %c\n" |
554 | msgstr "%s: opcja wymaga argumentu -- %c\n" | 578 | msgstr "%s: opcja wymaga argumentu -- %c\n" |
555 | 579 | ||
556 | #: lib/getopt.c:936 lib/getopt.c:955 | 580 | #: lib/getopt.c:897 lib/getopt.c:913 |
557 | #, c-format | 581 | #, c-format |
558 | msgid "%s: option `-W %s' is ambiguous\n" | 582 | msgid "%s: option `-W %s' is ambiguous\n" |
559 | msgstr "%s: opcja `-W %s' jest niejednoznaczna\n" | 583 | msgstr "%s: opcja `-W %s' jest niejednoznaczna\n" |
560 | 584 | ||
561 | #: lib/getopt.c:979 lib/getopt.c:1000 | 585 | #: lib/getopt.c:937 lib/getopt.c:955 |
562 | #, c-format | 586 | #, c-format |
563 | msgid "%s: option `-W %s' doesn't allow an argument\n" | 587 | msgid "%s: option `-W %s' doesn't allow an argument\n" |
564 | msgstr "%s: opcja `-W %s' nie mo¿e mieæ argumentu\n" | 588 | msgstr "%s: opcja `-W %s' nie mo¿e mieæ argumentu\n" |
565 | 589 | ||
566 | #: lib/obstack.c:439 lib/obstack.c:442 | 590 | #: lib/obstack.c:427 lib/obstack.c:429 |
567 | msgid "memory exhausted" | 591 | msgid "memory exhausted" |
568 | msgstr "pamiêæ wyczerpana" | 592 | msgstr "pamiêæ wyczerpana" |
@@ -1,22 +1,23 @@ | |||
1 | # Ukrainian messages for GNU cflow | 1 | # Ukrainian messages for GNU cflow |
2 | # Copyright (C) 2005 Free Software Foundation, Inc. | 2 | # Copyright (C) 2005 Free Software Foundation, Inc. |
3 | # Sergey Poznyakoff <gray@gnu.org>, 2005. | 3 | # Sergey Poznyakoff <gray@gnu.org>, 2005. |
4 | # | 4 | # |
5 | msgid "" | 5 | msgid "" |
6 | msgstr "" | 6 | msgstr "" |
7 | "Project-Id-Version: cflow 1ю0\n" | 7 | "Project-Id-Version: cflow 1.0\n" |
8 | "Report-Msgid-Bugs-To: bug-cflow@gnu.org\n" | 8 | "Report-Msgid-Bugs-To: bug-cflow@gnu.org\n" |
9 | "POT-Creation-Date: 2005-10-07 10:22+0300\n" | 9 | "POT-Creation-Date: 2006-09-10 15:17+0300\n" |
10 | "PO-Revision-Date: 2005-10-16 00:06+0300\n" | 10 | "PO-Revision-Date: 2005-10-16 00:08+0300\n" |
11 | "Last-Translator: Sergey Poznyakoff <gray@gnu.org>\n" | 11 | "Last-Translator: Sergey Poznyakoff <gray@gnu.org>\n" |
12 | "Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n" | 12 | "Language-Team: Ukrainian <translation-team-uk@lists.sourceforge.net>\n" |
13 | "MIME-Version: 1.0\n" | 13 | "MIME-Version: 1.0\n" |
14 | "Content-Type: text/plain; charset=UTF-8\n" | 14 | "Content-Type: text/plain; charset=UTF-8\n" |
15 | "Content-Transfer-Encoding: 8bit\n" | 15 | "Content-Transfer-Encoding: 8bit\n" |
16 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" | 16 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" |
17 | "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" | ||
17 | 18 | ||
18 | #: src/c.l:137 | 19 | #: src/c.l:137 |
19 | msgid "unterminated string?" | 20 | msgid "unterminated string?" |
20 | msgstr "не завершений рядок?" | 21 | msgstr "не завершений рядок?" |
21 | 22 | ||
22 | #: src/c.l:296 | 23 | #: src/c.l:296 |
@@ -36,19 +37,22 @@ msgstr "не вдається відкрити `%s'" | |||
36 | 37 | ||
37 | #: src/c.l:422 | 38 | #: src/c.l:422 |
38 | #, c-format | 39 | #, c-format |
39 | msgid "New location: %s:%d\n" | 40 | msgid "New location: %s:%d\n" |
40 | msgstr "Нове розташування: %s:%d\n" | 41 | msgstr "Нове розташування: %s:%d\n" |
41 | 42 | ||
42 | #. TRANSLATORS: Please, preserve the vertical tabulation (^K character) | 43 | #: src/main.c:27 |
43 | #. in this message | 44 | msgid "generate a program flowgraph" |
45 | msgstr "" | ||
46 | |||
44 | #: src/main.c:29 | 47 | #: src/main.c:29 |
48 | #, fuzzy | ||
45 | msgid "" | 49 | msgid "" |
46 | "generate a program flowgraph* The effect of each option marked with an " | 50 | "* The effect of each option marked with an asterisk is reversed if the " |
47 | "asterisk is reversed if the option's long name is prefixed with `no-'. For " | 51 | "option's long name is prefixed with `no-'. For example, --no-cpp cancels --" |
48 | "example, --no-cpp cancels --cpp." | 52 | "cpp." |
49 | msgstr "" | 53 | msgstr "" |
50 | "Створює граф потоків керування у програмі.* Помічені зірочкою опції мають " | 54 | "Створює граф потоків керування у програмі.* Помічені зірочкою опції мають " |
51 | "зворотну дію, якщо до їх назви додати приросток `no-'. Наприклад, --no-cpp " | 55 | "зворотну дію, якщо до їх назви додати приросток `no-'. Наприклад, --no-cpp " |
52 | "вимикає препроцесор." | 56 | "вимикає препроцесор." |
53 | 57 | ||
54 | #: src/main.c:56 | 58 | #: src/main.c:56 |
@@ -72,13 +76,13 @@ msgid "" | |||
72 | "Include specified classes of symbols (see below). Prepend CLASSES with ^ or " | 76 | "Include specified classes of symbols (see below). Prepend CLASSES with ^ or " |
73 | "- to exclude them from the output" | 77 | "- to exclude them from the output" |
74 | msgstr "" | 78 | msgstr "" |
75 | "Включити до графу вказані класи символів (див. нижче). Щоб їх виключити " | 79 | "Включити до графу вказані класи символів (див. нижче). Щоб їх виключити " |
76 | "додайте ^ або - на початку аргументу" | 80 | "додайте ^ або - на початку аргументу" |
77 | 81 | ||
78 | #: src/main.c:61 src/main.c:102 src/main.c:106 | 82 | #: src/main.c:61 src/main.c:102 src/main.c:106 lib/argp-parse.c:84 |
79 | msgid "NAME" | 83 | msgid "NAME" |
80 | msgstr "НАЗВА" | 84 | msgstr "НАЗВА" |
81 | 85 | ||
82 | #: src/main.c:62 | 86 | #: src/main.c:62 |
83 | msgid "" | 87 | msgid "" |
84 | "Use given output format NAME. Valid names are `gnu' (default) and `posix'" | 88 | "Use given output format NAME. Valid names are `gnu' (default) and `posix'" |
@@ -313,13 +317,13 @@ msgid "" | |||
313 | "License for %s:\n" | 317 | "License for %s:\n" |
314 | "\n" | 318 | "\n" |
315 | msgstr "" | 319 | msgstr "" |
316 | "Ліцензія для %s\n" | 320 | "Ліцензія для %s\n" |
317 | "\n" | 321 | "\n" |
318 | 322 | ||
319 | #: src/main.c:575 src/main.c:760 | 323 | #: src/main.c:575 src/main.c:762 |
320 | #, c-format | 324 | #, c-format |
321 | msgid "%s: No such output driver" | 325 | msgid "%s: No such output driver" |
322 | msgstr "%s: не має такого вихідного приладу" | 326 | msgstr "%s: не має такого вихідного приладу" |
323 | 327 | ||
324 | #: src/main.c:602 | 328 | #: src/main.c:602 |
325 | #, c-format | 329 | #, c-format |
@@ -331,46 +335,46 @@ msgid "[FILE]..." | |||
331 | msgstr "[FILE]..." | 335 | msgstr "[FILE]..." |
332 | 336 | ||
333 | #: src/main.c:725 | 337 | #: src/main.c:725 |
334 | msgid "Exiting" | 338 | msgid "Exiting" |
335 | msgstr "Вихід" | 339 | msgstr "Вихід" |
336 | 340 | ||
337 | #: src/main.c:792 | 341 | #: src/main.c:794 |
338 | msgid "no input files" | 342 | msgid "no input files" |
339 | msgstr "не вказані вхідні файли" | 343 | msgstr "не вказані вхідні файли" |
340 | 344 | ||
341 | #: src/parser.c:119 | 345 | #: src/parser.c:120 |
342 | #, c-format | 346 | #, c-format |
343 | msgid " near " | 347 | msgid " near " |
344 | msgstr " біля " | 348 | msgstr " біля " |
345 | 349 | ||
346 | #: src/parser.c:188 | 350 | #: src/parser.c:189 |
347 | msgid "INTERNAL ERROR: cannot return token to stream" | 351 | msgid "INTERNAL ERROR: cannot return token to stream" |
348 | msgstr "ВНУТРІШНЯ ПОМИЛКА: не вдається повернути символ у потік" | 352 | msgstr "ВНУТРІШНЯ ПОМИЛКА: не вдається повернути символ у потік" |
349 | 353 | ||
350 | #: src/parser.c:398 | 354 | #: src/parser.c:399 |
351 | msgid "unexpected end of file in expression" | 355 | msgid "unexpected end of file in expression" |
352 | msgstr "неочікуваний кінець файлу у виразі" | 356 | msgstr "неочікуваний кінець файлу у виразі" |
353 | 357 | ||
354 | #: src/parser.c:453 src/parser.c:552 | 358 | #: src/parser.c:454 src/parser.c:553 |
355 | msgid "expected `;'" | 359 | msgid "expected `;'" |
356 | msgstr "очікувалось `;'" | 360 | msgstr "очікувалось `;'" |
357 | 361 | ||
358 | #: src/parser.c:470 src/parser.c:577 | 362 | #: src/parser.c:471 src/parser.c:578 |
359 | msgid "unexpected end of file in declaration" | 363 | msgid "unexpected end of file in declaration" |
360 | msgstr "неочікуваний кінець файлу у декларації" | 364 | msgstr "неочікуваний кінець файлу у декларації" |
361 | 365 | ||
362 | #: src/parser.c:502 | 366 | #: src/parser.c:503 |
363 | msgid "missing `;' after struct declaration" | 367 | msgid "missing `;' after struct declaration" |
364 | msgstr "після декларації структури пропущено `;' " | 368 | msgstr "після декларації структури пропущено `;' " |
365 | 369 | ||
366 | #: src/parser.c:599 | 370 | #: src/parser.c:600 |
367 | msgid "unexpected end of file in initializer list" | 371 | msgid "unexpected end of file in initializer list" |
368 | msgstr "неочікуваний кінець файлу у переліку початкових значень" | 372 | msgstr "неочікуваний кінець файлу у переліку початкових значень" |
369 | 373 | ||
370 | #: src/parser.c:683 | 374 | #: src/parser.c:684 |
371 | msgid "unexpected end of file in struct" | 375 | msgid "unexpected end of file in struct" |
372 | msgstr "неочікуваний кінець файлу у структурі" | 376 | msgstr "неочікуваний кінець файлу у структурі" |
373 | 377 | ||
374 | #: src/parser.c:769 src/parser.c:792 | 378 | #: src/parser.c:769 src/parser.c:792 |
375 | msgid "expected `)'" | 379 | msgid "expected `)'" |
376 | msgstr "очікувалася `)'" | 380 | msgstr "очікувалася `)'" |
@@ -392,173 +396,192 @@ msgid "forced function body close" | |||
392 | msgstr "примусове закінчення тіла функції" | 396 | msgstr "примусове закінчення тіла функції" |
393 | 397 | ||
394 | #: src/parser.c:944 | 398 | #: src/parser.c:944 |
395 | msgid "unexpected end of file in function body" | 399 | msgid "unexpected end of file in function body" |
396 | msgstr "неочікуваний кінець файлу у тілі функції" | 400 | msgstr "неочікуваний кінець файлу у тілі функції" |
397 | 401 | ||
398 | #: src/parser.c:979 | 402 | #: src/parser.c:983 |
399 | #, c-format | 403 | #, c-format |
400 | msgid "%s/%d redefined" | 404 | msgid "%s/%d redefined" |
401 | msgstr "перевизначення %s/%d" | 405 | msgstr "перевизначення %s/%d" |
402 | 406 | ||
403 | #: src/parser.c:982 | 407 | #: src/parser.c:986 |
404 | msgid "this is the place of previous definition" | 408 | msgid "this is the place of previous definition" |
405 | msgstr "це місце першого визначення" | 409 | msgstr "це місце першого визначення" |
406 | 410 | ||
407 | #: src/parser.c:994 | 411 | #: src/parser.c:999 |
408 | #, c-format | 412 | #, c-format |
409 | msgid "%s:%d: %s/%d defined to %s\n" | 413 | msgid "%s:%d: %s/%d defined to %s\n" |
410 | msgstr "%s:%d: %s/%d визначено на %s\n" | 414 | msgstr "%s:%d: %s/%d визначено на %s\n" |
411 | 415 | ||
412 | #: src/parser.c:1019 | 416 | #: src/parser.c:1024 |
413 | #, c-format | 417 | #, c-format |
414 | msgid "%s:%d: type %s\n" | 418 | msgid "%s:%d: type %s\n" |
415 | msgstr "%s:%d: тип: %s\n" | 419 | msgstr "%s:%d: тип: %s\n" |
416 | 420 | ||
417 | #: src/rc.c:55 | 421 | #: src/rc.c:55 |
418 | msgid "not enough memory to process rc file" | 422 | msgid "not enough memory to process rc file" |
419 | msgstr "Недостатньо пам'яті для перетворення файлу конфігурації" | 423 | msgstr "Недостатньо пам'яті для перетворення файлу конфігурації" |
420 | 424 | ||
421 | #: src/symbol.c:317 | 425 | #: src/symbol.c:368 |
422 | msgid "not enough core" | 426 | msgid "not enough core" |
423 | msgstr "недостатньо пам'яті" | 427 | msgstr "недостатньо пам'яті" |
424 | 428 | ||
425 | #: lib/argp-help.c:195 | 429 | #: lib/argp-help.c:148 |
430 | #, c-format | ||
431 | msgid "ARGP_HELP_FMT: %s value is less than or equal to %s" | ||
432 | msgstr "" | ||
433 | |||
434 | #: lib/argp-help.c:221 | ||
426 | #, c-format | 435 | #, c-format |
427 | msgid "%.*s: ARGP_HELP_FMT parameter requires a value" | 436 | msgid "%.*s: ARGP_HELP_FMT parameter requires a value" |
428 | msgstr "%.*s: параметр ARGP_HELP_FMT вимагає значення" | 437 | msgstr "%.*s: параметр ARGP_HELP_FMT вимагає значення" |
429 | 438 | ||
430 | #: lib/argp-help.c:204 | 439 | #: lib/argp-help.c:227 |
440 | #, fuzzy, c-format | ||
441 | msgid "%.*s: ARGP_HELP_FMT parameter must be positive" | ||
442 | msgstr "%.*s: параметр ARGP_HELP_FMT вимагає значення" | ||
443 | |||
444 | #: lib/argp-help.c:236 | ||
431 | #, c-format | 445 | #, c-format |
432 | msgid "%.*s: Unknown ARGP_HELP_FMT parameter" | 446 | msgid "%.*s: Unknown ARGP_HELP_FMT parameter" |
433 | msgstr "%.*s: Невідомий параметр ARGP_HELP_FMT" | 447 | msgstr "%.*s: Невідомий параметр ARGP_HELP_FMT" |
434 | 448 | ||
435 | #: lib/argp-help.c:216 | 449 | #: lib/argp-help.c:248 |
436 | #, c-format | 450 | #, c-format |
437 | msgid "Garbage in ARGP_HELP_FMT: %s" | 451 | msgid "Garbage in ARGP_HELP_FMT: %s" |
438 | msgstr "Хибні дані в ARGP_HELP_FMT: %s" | 452 | msgstr "Хибні дані в ARGP_HELP_FMT: %s" |
439 | 453 | ||
440 | #: lib/argp-help.c:1195 | 454 | #: lib/argp-help.c:1229 |
441 | msgid "" | 455 | msgid "" |
442 | "Mandatory or optional arguments to long options are also mandatory or " | 456 | "Mandatory or optional arguments to long options are also mandatory or " |
443 | "optional for any corresponding short options." | 457 | "optional for any corresponding short options." |
444 | msgstr "" | 458 | msgstr "" |
445 | "Аргументи, обов'язкові для довгих ключів, є обов'язковими й для коротких." | 459 | "Аргументи, обов'язкові для довгих ключів, є обов'язковими й для коротких." |
446 | 460 | ||
447 | #: lib/argp-help.c:1582 | 461 | #: lib/argp-help.c:1622 |
448 | msgid "Usage:" | 462 | msgid "Usage:" |
449 | msgstr "Використання:" | 463 | msgstr "Використання:" |
450 | 464 | ||
451 | #: lib/argp-help.c:1586 | 465 | #: lib/argp-help.c:1626 |
452 | msgid " or: " | 466 | msgid " or: " |
453 | msgstr " чи: " | 467 | msgstr " чи: " |
454 | 468 | ||
455 | #: lib/argp-help.c:1598 | 469 | #: lib/argp-help.c:1638 |
456 | msgid " [OPTION...]" | 470 | msgid " [OPTION...]" |
457 | msgstr " [ОПЦІЯ...]" | 471 | msgstr " [ОПЦІЯ...]" |
458 | 472 | ||
459 | #: lib/argp-help.c:1625 | 473 | #: lib/argp-help.c:1665 |
460 | #, c-format | 474 | #, c-format |
461 | msgid "Try `%s --help' or `%s --usage' for more information.\n" | 475 | msgid "Try `%s --help' or `%s --usage' for more information.\n" |
462 | msgstr "" | 476 | msgstr "" |
463 | "Спробуйте `%s --help' або `%s --usage' для отримання докладнішого опису.\n" | 477 | "Спробуйте `%s --help' або `%s --usage' для отримання докладнішого опису.\n" |
464 | 478 | ||
465 | #: lib/argp-help.c:1653 | 479 | #: lib/argp-help.c:1693 |
466 | #, c-format | 480 | #, c-format |
467 | msgid "Report bugs to %s.\n" | 481 | msgid "Report bugs to %s.\n" |
468 | msgstr "Про помилки звітуйте на %s.\n" | 482 | msgstr "Про помилки звітуйте на %s.\n" |
469 | 483 | ||
470 | #: lib/argp-help.c:1873 lib/error.c:122 | 484 | #: lib/argp-help.c:1912 lib/error.c:125 |
471 | msgid "Unknown system error" | 485 | msgid "Unknown system error" |
472 | msgstr "Невідома системна помилка" | 486 | msgstr "Невідома системна помилка" |
473 | 487 | ||
474 | #: lib/argp-parse.c:83 | 488 | #: lib/argp-parse.c:82 |
475 | msgid "Give this help list" | 489 | #, fuzzy |
490 | msgid "give this help list" | ||
476 | msgstr "Вивести цю довідку" | 491 | msgstr "Вивести цю довідку" |
477 | 492 | ||
478 | #: lib/argp-parse.c:84 | 493 | #: lib/argp-parse.c:83 |
479 | msgid "Give a short usage message" | 494 | #, fuzzy |
495 | msgid "give a short usage message" | ||
480 | msgstr "Вивести коротке повідомлення про використання" | 496 | msgstr "Вивести коротке повідомлення про використання" |
481 | 497 | ||
482 | #: lib/argp-parse.c:85 | 498 | #: lib/argp-parse.c:84 |
483 | msgid "Set the program name" | 499 | #, fuzzy |
500 | msgid "set the program name" | ||
484 | msgstr "Встановити назву програми" | 501 | msgstr "Встановити назву програми" |
485 | 502 | ||
486 | #: lib/argp-parse.c:87 | 503 | #: lib/argp-parse.c:85 |
487 | msgid "Hang for SECS seconds (default 3600)" | 504 | msgid "SECS" |
505 | msgstr "" | ||
506 | |||
507 | #: lib/argp-parse.c:86 | ||
508 | #, fuzzy | ||
509 | msgid "hang for SECS seconds (default 3600)" | ||
488 | msgstr "Зачекати вказану кількість секунд (типово 3600)" | 510 | msgstr "Зачекати вказану кількість секунд (типово 3600)" |
489 | 511 | ||
490 | #: lib/argp-parse.c:148 | 512 | #: lib/argp-parse.c:143 |
491 | msgid "Print program version" | 513 | #, fuzzy |
514 | msgid "print program version" | ||
492 | msgstr "Вивести версію програми" | 515 | msgstr "Вивести версію програми" |
493 | 516 | ||
494 | #: lib/argp-parse.c:164 | 517 | #: lib/argp-parse.c:159 |
495 | msgid "(PROGRAM ERROR) No version known!?" | 518 | msgid "(PROGRAM ERROR) No version known!?" |
496 | msgstr "(ПОМИЛКА ПРОГРАМУВАННЯ) Невідома версія!?" | 519 | msgstr "(ПОМИЛКА ПРОГРАМУВАННЯ) Невідома версія!?" |
497 | 520 | ||
498 | #: lib/argp-parse.c:620 | 521 | #: lib/argp-parse.c:612 |
499 | #, c-format | 522 | #, c-format |
500 | msgid "%s: Too many arguments\n" | 523 | msgid "%s: Too many arguments\n" |
501 | msgstr "%s: Забагато аргументів\n" | 524 | msgstr "%s: Забагато аргументів\n" |
502 | 525 | ||
503 | #: lib/argp-parse.c:763 | 526 | #: lib/argp-parse.c:755 |
504 | msgid "(PROGRAM ERROR) Option should have been recognized!?" | 527 | msgid "(PROGRAM ERROR) Option should have been recognized!?" |
505 | msgstr "(ПОМИЛКА ПРОГРАМУВАННЯ) Опція мала бути розпізнана!?" | 528 | msgstr "(ПОМИЛКА ПРОГРАМУВАННЯ) Опція мала бути розпізнана!?" |
506 | 529 | ||
507 | #: lib/getopt.c:552 lib/getopt.c:571 | 530 | #: lib/getopt.c:531 lib/getopt.c:547 |
508 | #, c-format | 531 | #, c-format |
509 | msgid "%s: option `%s' is ambiguous\n" | 532 | msgid "%s: option `%s' is ambiguous\n" |
510 | msgstr "%s: опція `%s' неоднозначна\n" | 533 | msgstr "%s: опція `%s' неоднозначна\n" |
511 | 534 | ||
512 | #: lib/getopt.c:604 lib/getopt.c:608 | 535 | #: lib/getopt.c:580 lib/getopt.c:584 |
513 | #, c-format | 536 | #, c-format |
514 | msgid "%s: option `--%s' doesn't allow an argument\n" | 537 | msgid "%s: option `--%s' doesn't allow an argument\n" |
515 | msgstr "%s: опція `--%s' не може мати аргументу\n" | 538 | msgstr "%s: опція `--%s' не може мати аргументу\n" |
516 | 539 | ||
517 | #: lib/getopt.c:617 lib/getopt.c:622 | 540 | #: lib/getopt.c:593 lib/getopt.c:598 |
518 | #, c-format | 541 | #, c-format |
519 | msgid "%s: option `%c%s' doesn't allow an argument\n" | 542 | msgid "%s: option `%c%s' doesn't allow an argument\n" |
520 | msgstr "%s: опція `%c%s' не може мати аргументу\n" | 543 | msgstr "%s: опція `%c%s' не може мати аргументу\n" |
521 | 544 | ||
522 | #: lib/getopt.c:668 lib/getopt.c:690 lib/getopt.c:1021 lib/getopt.c:1043 | 545 | #: lib/getopt.c:641 lib/getopt.c:660 lib/getopt.c:976 lib/getopt.c:995 |
523 | #, c-format | 546 | #, c-format |
524 | msgid "%s: option `%s' requires an argument\n" | 547 | msgid "%s: option `%s' requires an argument\n" |
525 | msgstr "%s: опція `%s' вимагає аргумент\n" | 548 | msgstr "%s: опція `%s' вимагає аргумент\n" |
526 | 549 | ||
527 | #: lib/getopt.c:728 lib/getopt.c:731 | 550 | #: lib/getopt.c:698 lib/getopt.c:701 |
528 | #, c-format | 551 | #, c-format |
529 | msgid "%s: unrecognized option `--%s'\n" | 552 | msgid "%s: unrecognized option `--%s'\n" |
530 | msgstr "%s: невідома опція `--%s'\n" | 553 | msgstr "%s: невідома опція `--%s'\n" |
531 | 554 | ||
532 | #: lib/getopt.c:739 lib/getopt.c:742 | 555 | #: lib/getopt.c:709 lib/getopt.c:712 |
533 | #, c-format | 556 | #, c-format |
534 | msgid "%s: unrecognized option `%c%s'\n" | 557 | msgid "%s: unrecognized option `%c%s'\n" |
535 | msgstr "%s: невідома опція `%c%s'\n" | 558 | msgstr "%s: невідома опція `%c%s'\n" |
536 | 559 | ||
537 | #: lib/getopt.c:797 lib/getopt.c:800 | 560 | #: lib/getopt.c:764 lib/getopt.c:767 |
538 | #, c-format | 561 | #, c-format |
539 | msgid "%s: illegal option -- %c\n" | 562 | msgid "%s: illegal option -- %c\n" |
540 | msgstr "%s: недопустима опція -- %c\n" | 563 | msgstr "%s: недопустима опція -- %c\n" |
541 | 564 | ||
542 | #: lib/getopt.c:806 lib/getopt.c:809 | 565 | #: lib/getopt.c:773 lib/getopt.c:776 |
543 | #, c-format | 566 | #, c-format |
544 | msgid "%s: invalid option -- %c\n" | 567 | msgid "%s: invalid option -- %c\n" |
545 | msgstr "%s: невірна опція -- %c\n" | 568 | msgstr "%s: невірна опція -- %c\n" |
546 | 569 | ||
547 | #: lib/getopt.c:864 lib/getopt.c:883 lib/getopt.c:1096 lib/getopt.c:1117 | 570 | #: lib/getopt.c:828 lib/getopt.c:844 lib/getopt.c:1048 lib/getopt.c:1066 |
548 | #, c-format | 571 | #, c-format |
549 | msgid "%s: option requires an argument -- %c\n" | 572 | msgid "%s: option requires an argument -- %c\n" |
550 | msgstr "%s: опція вимагає аргумент -- %c\n" | 573 | msgstr "%s: опція вимагає аргумент -- %c\n" |
551 | 574 | ||
552 | #: lib/getopt.c:936 lib/getopt.c:955 | 575 | #: lib/getopt.c:897 lib/getopt.c:913 |
553 | #, c-format | 576 | #, c-format |
554 | msgid "%s: option `-W %s' is ambiguous\n" | 577 | msgid "%s: option `-W %s' is ambiguous\n" |
555 | msgstr "%s: опція `-W %s' неоднозначна\n" | 578 | msgstr "%s: опція `-W %s' неоднозначна\n" |
556 | 579 | ||
557 | #: lib/getopt.c:979 lib/getopt.c:1000 | 580 | #: lib/getopt.c:937 lib/getopt.c:955 |
558 | #, c-format | 581 | #, c-format |
559 | msgid "%s: option `-W %s' doesn't allow an argument\n" | 582 | msgid "%s: option `-W %s' doesn't allow an argument\n" |
560 | msgstr "%s: опція `-W %s' не може мати аргументу\n" | 583 | msgstr "%s: опція `-W %s' не може мати аргументу\n" |
561 | 584 | ||
562 | #: lib/obstack.c:439 lib/obstack.c:442 | 585 | #: lib/obstack.c:427 lib/obstack.c:429 |
563 | msgid "memory exhausted" | 586 | msgid "memory exhausted" |
564 | msgstr "пам'ять вичерпана" | 587 | msgstr "пам'ять вичерпана" |
@@ -17,13 +17,12 @@ | |||
17 | MA 02110-1301 USA */ | 17 | MA 02110-1301 USA */ |
18 | 18 | ||
19 | #include <cflow.h> | 19 | #include <cflow.h> |
20 | #include <argp.h> | 20 | #include <argp.h> |
21 | #include <stdarg.h> | 21 | #include <stdarg.h> |
22 | #include <parser.h> | 22 | #include <parser.h> |
23 | #include <strndup.h> | ||
24 | 23 | ||
25 | const char *argp_program_version = "cflow (" PACKAGE_NAME ") " VERSION; | 24 | const char *argp_program_version = "cflow (" PACKAGE_NAME ") " VERSION; |
26 | const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; | 25 | const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">"; |
27 | static char doc[] = N_("generate a program flowgraph") | 26 | static char doc[] = N_("generate a program flowgraph") |
28 | "\v" | 27 | "\v" |
29 | N_("* The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with `no-'. For example, --no-cpp cancels --cpp."); | 28 | N_("* The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with `no-'. For example, --no-cpp cancels --cpp."); |
@@ -211,17 +210,19 @@ int omit_symbol_names_option; /* Omit symbol name from symbol declaration string | |||
211 | 210 | ||
212 | #define SM_FUNCTIONS 0x0001 | 211 | #define SM_FUNCTIONS 0x0001 |
213 | #define SM_DATA 0x0002 | 212 | #define SM_DATA 0x0002 |
214 | #define SM_STATIC 0x0004 | 213 | #define SM_STATIC 0x0004 |
215 | #define SM_UNDERSCORE 0x0008 | 214 | #define SM_UNDERSCORE 0x0008 |
216 | #define SM_TYPEDEF 0x0010 | 215 | #define SM_TYPEDEF 0x0010 |
216 | #define SM_UNDEFINED 0x0020 | ||
217 | 217 | ||
218 | #define CHAR_TO_SM(c) ((c)=='x' ? SM_DATA : \ | 218 | #define CHAR_TO_SM(c) ((c)=='x' ? SM_DATA : \ |
219 | (c)=='_' ? SM_UNDERSCORE : \ | 219 | (c)=='_' ? SM_UNDERSCORE : \ |
220 | (c)=='s' ? SM_STATIC : \ | 220 | (c)=='s' ? SM_STATIC : \ |
221 | (c)=='t' ? SM_TYPEDEF : 0) | 221 | (c)=='t' ? SM_TYPEDEF : \ |
222 | (c)=='u' ? SM_UNDEFINED : 0) | ||
222 | #define SYMBOL_INCLUDE(c) (symbol_map |= CHAR_TO_SM(c)) | 223 | #define SYMBOL_INCLUDE(c) (symbol_map |= CHAR_TO_SM(c)) |
223 | #define SYMBOL_EXCLUDE(c) (symbol_map &= ~CHAR_TO_SM(c)) | 224 | #define SYMBOL_EXCLUDE(c) (symbol_map &= ~CHAR_TO_SM(c)) |
224 | int symbol_map; /* A bitmap of symbols included in the graph. */ | 225 | int symbol_map; /* A bitmap of symbols included in the graph. */ |
225 | 226 | ||
226 | char *level_indent[] = { NULL, NULL }; | 227 | char *level_indent[] = { NULL, NULL }; |
227 | char *level_end[] = { "", "" }; | 228 | char *level_end[] = { "", "" }; |
@@ -590,12 +591,13 @@ parse_opt (int key, char *arg, struct argp_state *state) | |||
590 | num = 1; | 591 | num = 1; |
591 | break; | 592 | break; |
592 | case 'x': | 593 | case 'x': |
593 | case '_': | 594 | case '_': |
594 | case 's': | 595 | case 's': |
595 | case 't': | 596 | case 't': |
597 | case 'u': | ||
596 | if (num) | 598 | if (num) |
597 | SYMBOL_INCLUDE(*arg); | 599 | SYMBOL_INCLUDE(*arg); |
598 | else | 600 | else |
599 | SYMBOL_EXCLUDE(*arg); | 601 | SYMBOL_EXCLUDE(*arg); |
600 | break; | 602 | break; |
601 | default: | 603 | default: |
@@ -707,12 +709,16 @@ include_symbol(Symbol *sym) | |||
707 | if (sym->storage == StaticStorage) | 709 | if (sym->storage == StaticStorage) |
708 | type |= SM_STATIC; | 710 | type |= SM_STATIC; |
709 | if (sym->arity == -1 && sym->storage != AutoStorage) | 711 | if (sym->arity == -1 && sym->storage != AutoStorage) |
710 | type |= SM_DATA; | 712 | type |= SM_DATA; |
711 | else if (sym->arity >= 0) | 713 | else if (sym->arity >= 0) |
712 | type |= SM_FUNCTIONS; | 714 | type |= SM_FUNCTIONS; |
715 | |||
716 | if (!sym->source) | ||
717 | type |= SM_UNDEFINED; | ||
718 | |||
713 | } else if (sym->type == SymToken) { | 719 | } else if (sym->type == SymToken) { |
714 | if (sym->token_type == TYPE && sym->source) | 720 | if (sym->token_type == TYPE && sym->source) |
715 | type |= SM_TYPEDEF; | 721 | type |= SM_TYPEDEF; |
716 | else | 722 | else |
717 | return 0; | 723 | return 0; |
718 | } | 724 | } |
@@ -752,13 +758,13 @@ main(int argc, char **argv) | |||
752 | bindtextdomain(PACKAGE, LOCALEDIR); | 758 | bindtextdomain(PACKAGE, LOCALEDIR); |
753 | textdomain(PACKAGE); | 759 | textdomain(PACKAGE); |
754 | 760 | ||
755 | register_output("gnu", gnu_output_handler, NULL); | 761 | register_output("gnu", gnu_output_handler, NULL); |
756 | register_output("posix", posix_output_handler, NULL); | 762 | register_output("posix", posix_output_handler, NULL); |
757 | 763 | ||
758 | symbol_map = SM_FUNCTIONS|SM_STATIC; | 764 | symbol_map = SM_FUNCTIONS|SM_STATIC|SM_UNDEFINED; |
759 | 765 | ||
760 | if (getenv("POSIXLY_CORRECT")) { | 766 | if (getenv("POSIXLY_CORRECT")) { |
761 | if (select_output_driver("posix")) | 767 | if (select_output_driver("posix")) |
762 | error(1, 0, _("%s: No such output driver"), "posix"); | 768 | error(1, 0, _("%s: No such output driver"), "posix"); |
763 | output_init(); | 769 | output_init(); |
764 | } | 770 | } |