namazu-2.0.21/0000777000000000000000000000000011611035343006577 5namazu-2.0.21/pl/0000777000000000000000000000000011611035326007213 5namazu-2.0.21/pl/Makefile.am0000644000000000000000000000213111036427275011171 ## Process this file with automake to produce Makefile.in AUTOMAKE_OPTIONS = 1.4 no-dependencies localedir = $(prefix)/$(DATADIRNAME)/locale perllibdir = $(pkgdatadir)/pl perllib_DATA = \ codeconv.pl \ conf.pl \ gettext.pl \ gfilter.pl \ htmlsplit.pl \ nmzidx.pl \ seed.pl \ usage.pl \ util.pl \ var.pl \ wakati.pl \ time.pl \ document.pl \ filter.pl \ ext.pl \ extzip.pl \ extutf8.pl # Slightly different from perllib_DATA because of *.in files. EXTRA_DIST = $\ codeconv.pl \ conf.pl \ gettext.pl.in \ gfilter.pl \ htmlsplit.pl \ nmzidx.pl \ seed.pl \ usage.pl \ util.pl \ var.pl \ wakati.pl \ time.pl \ document.pl \ filter.pl.in \ ext.pl \ extzip.pl \ extutf8.pl CLEANFILES = gettext.pl filter.pl gettext.pl: gettext.pl.in Makefile rm -f gettext.pl sed -e 's!@LOCALEDIR@!$(localedir)!g' \ $(srcdir)/gettext.pl.in > gettext.pl filter.pl: filter.pl.in Makefile rm -f filter.pl sed -e 's!@pkgdatadir@!$(pkgdatadir)!g' \ $(srcdir)/filter.pl.in > filter.pl.tmp mv filter.pl.tmp filter.pl ETAGS_ARGS = $(perllib_DATA) --lang=perl TAGS_DEPENDENCIES = $(perllib_DATA) namazu-2.0.21/pl/Makefile.in0000644000000000000000000002351711611035110011173 # Makefile.in generated by automake 1.6.3 from Makefile.am. # @configure_input@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_HEADER = $(INSTALL_DATA) transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_alias = @host_alias@ host_triplet = @host@ EXEEXT = @EXEEXT@ OBJEXT = @OBJEXT@ PATH_SEPARATOR = @PATH_SEPARATOR@ ADDITIONAL_INC = @ADDITIONAL_INC@ AMTAR = @AMTAR@ AS = @AS@ AWK = @AWK@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CHASEN = @CHASEN@ COPYRIGHT = @COPYRIGHT@ DATADIRNAME = @DATADIRNAME@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DO_CHASEN = @DO_CHASEN@ DO_CHASEN_NOUN = @DO_CHASEN_NOUN@ DO_KAKASI = @DO_KAKASI@ DO_MECAB = @DO_MECAB@ ECHO = @ECHO@ EMACS = @EMACS@ GENCAT = @GENCAT@ GLIBC21 = @GLIBC21@ GMSGFMT = @GMSGFMT@ HAVE_ASPRINTF = @HAVE_ASPRINTF@ HAVE_LIB = @HAVE_LIB@ HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ HAVE_SNPRINTF = @HAVE_SNPRINTF@ HAVE_WPRINTF = @HAVE_WPRINTF@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLBISON = @INTLBISON@ INTLLIBS = @INTLLIBS@ INTLOBJS = @INTLOBJS@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ KAKASI = @KAKASI@ LIB = @LIB@ LIBICONV = @LIBICONV@ LIBINTL = @LIBINTL@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTALLOCA = @LTALLOCA@ LTLIB = @LTLIB@ LTLIBICONV = @LTLIBICONV@ LTLIBINTL = @LTLIBINTL@ LTVERSION = @LTVERSION@ LYNX = @LYNX@ MAILING_ADDRESS = @MAILING_ADDRESS@ MAINT = @MAINT@ MECAB = @MECAB@ MKINSTALLDIRS = @MKINSTALLDIRS@ NKF = @NKF@ NMZ_LIBOBJS = @NMZ_LIBOBJS@ OBJDUMP = @OBJDUMP@ OPT_ADMIN_EMAIL = @OPT_ADMIN_EMAIL@ OPT_NMZ_URI = @OPT_NMZ_URI@ OPT_WAKATI_DEFAULT = @OPT_WAKATI_DEFAULT@ PACKAGE = @PACKAGE@ PERL = @PERL@ POSUB = @POSUB@ RANLIB = @RANLIB@ STRIP = @STRIP@ TRAC_URI = @TRAC_URI@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ WISH = @WISH@ am__include = @am__include@ am__quote = @am__quote@ install_sh = @install_sh@ lispdir = @lispdir@ AUTOMAKE_OPTIONS = 1.4 no-dependencies localedir = $(prefix)/$(DATADIRNAME)/locale perllibdir = $(pkgdatadir)/pl perllib_DATA = \ codeconv.pl \ conf.pl \ gettext.pl \ gfilter.pl \ htmlsplit.pl \ nmzidx.pl \ seed.pl \ usage.pl \ util.pl \ var.pl \ wakati.pl \ time.pl \ document.pl \ filter.pl \ ext.pl \ extzip.pl \ extutf8.pl # Slightly different from perllib_DATA because of *.in files. EXTRA_DIST = $\ codeconv.pl \ conf.pl \ gettext.pl.in \ gfilter.pl \ htmlsplit.pl \ nmzidx.pl \ seed.pl \ usage.pl \ util.pl \ var.pl \ wakati.pl \ time.pl \ document.pl \ filter.pl.in \ ext.pl \ extzip.pl \ extutf8.pl CLEANFILES = gettext.pl filter.pl ETAGS_ARGS = $(perllib_DATA) --lang=perl TAGS_DEPENDENCIES = $(perllib_DATA) subdir = pl mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = var.pl conf.pl depcomp = am__depfiles_maybe = DIST_SOURCES = DATA = $(perllib_DATA) DIST_COMMON = Makefile.am Makefile.in conf.pl.in var.pl.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && \ $(AUTOMAKE) --gnu pl/Makefile Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) var.pl: $(top_builddir)/config.status var.pl.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ conf.pl: $(top_builddir)/config.status conf.pl.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: perllibDATA_INSTALL = $(INSTALL_DATA) install-perllibDATA: $(perllib_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(perllibdir) @list='$(perllib_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " $(perllibDATA_INSTALL) $$d$$p $(DESTDIR)$(perllibdir)/$$f"; \ $(perllibDATA_INSTALL) $$d$$p $(DESTDIR)$(perllibdir)/$$f; \ done uninstall-perllibDATA: @$(NORMAL_UNINSTALL) @list='$(perllib_DATA)'; for p in $$list; do \ f="`echo $$p | sed -e 's|^.*/||'`"; \ echo " rm -f $(DESTDIR)$(perllibdir)/$$f"; \ rm -f $(DESTDIR)$(perllibdir)/$$f; \ done ETAGS = etags ETAGSFLAGS = tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$tags$$unique" \ || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) top_distdir = .. distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) distdir: $(DISTFILES) @list='$(DISTFILES)'; for file in $$list; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkinstalldirs) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: $(mkinstalldirs) $(DESTDIR)$(perllibdir) install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-am dvi-am: info: info-am info-am: install-data-am: install-perllibDATA install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool uninstall-am: uninstall-info-am uninstall-perllibDATA .PHONY: GTAGS all all-am check check-am clean clean-generic \ clean-libtool distclean distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am info info-am install \ install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-perllibDATA install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool tags \ uninstall uninstall-am uninstall-info-am uninstall-perllibDATA gettext.pl: gettext.pl.in Makefile rm -f gettext.pl sed -e 's!@LOCALEDIR@!$(localedir)!g' \ $(srcdir)/gettext.pl.in > gettext.pl filter.pl: filter.pl.in Makefile rm -f filter.pl sed -e 's!@pkgdatadir@!$(pkgdatadir)!g' \ $(srcdir)/filter.pl.in > filter.pl.tmp mv filter.pl.tmp filter.pl # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: namazu-2.0.21/pl/conf.pl.in0000644000000000000000000001414311140013717011016 # # This is a Namazu configuration file for mknmz. # package conf; # Don't remove this line! #=================================================================== # # Administrator's email address # $ADDRESS = '@OPT_ADMIN_EMAIL@'; #=================================================================== # # Regular Expression Patterns # # # This pattern specifies HTML suffixes. # $HTML_SUFFIX = "html?|[ps]html|html\\.[a-z]{2}"; # # This pattern specifies file names which will be targeted. # NOTE: It can be specified by --allow=regex option. # Do NOT use `$' or `^' anchors. # Case-insensitive. # $ALLOW_FILE = ".*\\.(?:$HTML_SUFFIX)|.*\\.txt" . # HTML, plain text "|.*\\.gz|.*\\.Z|.*\\.bz2" . # Compressed files "|.*\\.pdf|.*\\.ps" . # PDF, PostScript "|.*\\.tex|.*\\.dvi" . # TeX, DVI "|.*\\.rpm|.*\\.deb" . # RPM, DEB "|.*\\.doc|.*\\.xls|.*\\.pp[st]" . # Word, Excel, PowerPoint "|.*\\.docx|.*\\.xlsx|.*\\.pp[st]x" . # MS-OfficeOpenXML Word, Excel, PowerPoint "|.*\\.vs[dst]|.*\\.v[dst]x" . # Visio "|.*\\.j[sabf]w|.*\\.jtd" . # Ichitaro 4, 5, 6, 7, 8 "|.*\\.sx[widc]" . # OpenOffice Writer,Calc,Impress,Draw "|.*\\.od[tspg]" . # OpenOffice2.0 "|.*\\.rtf" . # Rich Text Format "|.*\\.hdml|.*\\.mht" . # HDML MHTML "|.*\\.mp3" . # MP3 "|.*\\.gnumeric" . # Gnumeric "|.*\\.kwd|.*\\.ksp" . # KWord, KSpread "|.*\\.kpr|.*\\.flw" . # KPresenter, Kivio "|.*\\.eml|\\d+|[-\\w]+\\.[1-9n]"; # Mail/News, man # # This pattern specifies file names which will NOT be targeted. # NOTE: It can be specified by --deny=regex option. # Do NOT use `$' or `^' anchors. # Case-insensitive. # $DENY_FILE = ".*\\.(gif|png|jpg|jpeg)|.*\\.tar\\.gz|core|.*\\.bak|.*~|\\..*|\x23.*"; # # This pattern specifies DDN(DOS Device Name) which will NOT be targeted. # NOTE: Only for Windows. # Do NOT use `$' or `^' anchors. # Case-insensitive. # $DENY_DDN = "con|aux|nul|prn|lpt[1-9]|com[1-9][0-9]?|clock\$|xmsxxxx0"; # # This pattern specifies PATHNAMEs which will NOT be targeted. # NOTE: Usually specified by --exclude=regex option. # $EXCLUDE_PATH = undef; # # This pattern specifies file names which can be omitted # in URI. e.g., 'index.html|index.htm|Default.html' # # NOTE: This is similar to Apache's "DirectoryIndex" directive. # $DIRECTORY_INDEX = ""; # # This pattern specifies Mail/News's fields in its header which # should be searchable. NOTE: case-insensitive # $REMAIN_HEADER = "From|Date|Message-ID"; # # This pattern specifies fields which used for field-specified # searching. NOTE: case-insensitive # $SEARCH_FIELD = "message-id|subject|from|date|uri|newsgroups|to|summary|size"; # # This pattern specifies meta tags which used for field-specified # searching. NOTE: case-insensitive # $META_TAGS = "keywords|description"; # # This pattern specifies aliases for NMZ.field.* files. # NOTE: Editing NOT recommended. # %FIELD_ALIASES = ('title' => 'subject', 'author' => 'from'); # # This pattern specifies HTML elements which should be replaced with # null string when removing them. Normally, the elements are replaced # with a single space character. # $NON_SEPARATION_ELEMENTS = 'A|TT|CODE|SAMP|KBD|VAR|B|STRONG|I|EM|CITE|FONT|U|'. 'STRIKE|BIG|SMALL|DFN|ABBR|ACRONYM|Q|SUB|SUP|SPAN|BDO'; # # This pattern specifies attribute of a HTML tag which should be # searchable. # $HTML_ATTRIBUTES = 'ALT|SUMMARY|TITLE'; #=================================================================== # # Critical Numbers # # # The max size of files which can be loaded in memory at once. # If you have much memory, you can increase the value. # If you have less memory, you can decrease the value. # $ON_MEMORY_MAX = 5000000; # # The max file size for indexing. Files larger than this # will be ignored. # NOTE: This value is usually larger than TEXT_SIZE_MAX because # binary-formated files such as PDF, Word are larger. # $FILE_SIZE_MAX = 2000000; # # The max text size for indexing. Files larger than this # will be ignored. # $TEXT_SIZE_MAX = 600000; # # The max length of a word. the word longer than this will be ignored. # $WORD_LENG_MAX = 128; # # Weights for HTML elements which are used for term weightning. # %Weight = ( 'html' => { 'title' => 16, 'h1' => 8, 'h2' => 7, 'h3' => 6, 'h4' => 5, 'h5' => 4, 'h6' => 3, 'a' => 4, 'strong' => 2, 'em' => 2, 'kbd' => 2, 'samp' => 2, 'var' => 2, 'code' => 2, 'cite' => 2, 'abbr' => 2, 'acronym'=> 2, 'dfn' => 2, }, 'metakey' => 32, # for 'headers' => 8, # for Mail/News' headers ); # # The max length of a HTML-tagged string which can be processed for # term weighting. # NOTE: There are not a few people has a bad manner using # for changing a font size. # $INVALID_LENG = 128; # # The max length of a field. # This MUST be smaller than libnamazu.h's BUFSIZE (usually 1024). # $MAX_FIELD_LENGTH = 200; #=================================================================== # # Softwares for handling a Japanese text # # # Network Kanji Filter nkf v1.71 or later # $NKF = "@NKF@"; # # KAKASI 2.x or later # Text::Kakasi 1.05 or later # $KAKASI = "@DO_KAKASI@"; # # ChaSen 2.02 or later (simple wakatigaki) # Text::ChaSen 1.03 # $CHASEN = "@DO_CHASEN@"; # # ChaSen 2.02 or later (with noun words extraction) # $CHASEN_NOUN = "@DO_CHASEN_NOUN@"; # # MeCab # $MECAB = "@DO_MECAB@"; # # Default Japanese processer: KAKASI or ChaSen or MeCab. # $WAKATI = $@OPT_WAKATI_DEFAULT@; #=================================================================== # # Directories # # $LIBDIR = "@PERLLIBDIR@"; # $FILTERDIR = "@FILTERDIR@"; # $TEMPLATEDIR = "@TEMPLATEDIR@"; # #[WIN] $LIBDIR = 'C:/namazu/share/namazu/pl'; #[WIN] $FILTERDIR = 'C:/namazu/share/namazu/filter'; #[WIN] $TEMPLATEDIR = 'C:/namazu/share/namazu/template'; 1; namazu-2.0.21/pl/var.pl.in0000644000000000000000000000705111140212154010655 # -*- Perl -*- # $Id: var.pl.in,v 1.12.8.4 2009-01-29 02:29:00 opengl2772 Exp $ # Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. # Copyright (C) 2000-2009 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package var; #----------------------------------------------------------- # # Software information. # $VERSION = "@VERSION@"; $COPYRIGHT = "@COPYRIGHT@"; # should be doublequote $MAILING_ADDRESS = '@MAILING_ADDRESS@'; $TRAC_URI = '@TRAC_URI@'; #----------------------------------------------------------- # # File names of index files. # my $base = "NMZ"; %NMZ = (); $NMZ{'i'} = "$base.i"; $NMZ{'ii'} = "$base.ii"; $NMZ{'r'} = "$base.r"; $NMZ{'head'} = "$base.head"; $NMZ{'foot'} = "$base.foot"; $NMZ{'log'} = "$base.log"; $NMZ{'slog'} = "$base.slog"; $NMZ{'lock'} = "$base.lock"; $NMZ{'lock2'} = "$base.lock2"; $NMZ{'msg'} = "$base.msg"; $NMZ{'body'} = "$base.body"; $NMZ{'err'} = "$base.err"; $NMZ{'w'} = "$base.w"; $NMZ{'wi'} = "$base.wi"; $NMZ{'p'} = "$base.p"; $NMZ{'pi'} = "$base.pi"; $NMZ{'field'} = "$base.field"; $NMZ{'result'} = "$base.result"; $NMZ{'t'} = "$base.t"; $NMZ{'status'} = "$base.status"; $NMZ{'tips'} = "$base.tips"; $NMZ{'version'}= "$base.version"; $NMZ{'_t'} = $NMZ{'t'}; $NMZ{'_i'} = $NMZ{'i'}; $NMZ{'_p'} = $NMZ{'p'}; $NMZ{'_pi'} = $NMZ{'pi'}; $NMZ{'_r'} = $NMZ{'r'}; $NMZ{'_ii'} = $NMZ{'ii'}; $NMZ{'_w'} = $NMZ{'w'}; $NMZ{'_wi'} = $NMZ{'wi'}; $NMZ{'_flist'} = "$base.flist"; $NMZ{'_checkpoint'} = "$base.checkpoint"; $NMZ{'__i'} = "$base.tmp_i"; $NMZ{'__w'} = "$base.tmp_w"; $NMZ{'__p'} = "$base.tmp_p"; $NMZ{'__pi'} = "$base.tmp_pi"; #----------------------------------------------------------- # # Options # $Opt{'debug'} = 0; $Opt{'quiet'} = 0; $Opt{'verbose'} = 0; $Opt{'robotexclude'} = 0; $Opt{'htaccessexclude'} = 0; $Opt{'htmlsplit'} = 0; $Opt{'uuencode'} = 0; $Opt{'noheadabst'} = 0; $Opt{'hiragana'} = 0; $Opt{'okurigana'} = 0; $Opt{'noedgesymbol'} = 0; $Opt{'nosymbol'} = 0; $Opt{'noencodeuri'} = 0; $Opt{'nodelete'} = 0; $Opt{'noupdate'} = 0; $Opt{'checkfilesize'} = 0; $Opt{'decodebase64'} = 0; #----------------------------------------------------------- # # Size of `int' # { my $tmp = 0; $tmp = pack("i", $tmp); $INTSIZE = length($tmp); } #----------------------------------------------------------- # # Misc # $OUTPUT_DIR = undef; $NO_TITLE = N_("No title in original"); $USE_NKF_MODULE = 0; %REQUIRE_ACTIONS = (); %RECURSIVE_ACTIONS = (); %REQUIRE_PRE_CODECONV = ( 'text/plain' => 1, ); %REQUIRE_POST_CODECONV = ( 'text/plain' => 0, ); %Supported = ( 'text/plain' => "yes", ); # Dummy function for gettextization. sub N_ {}; 1; namazu-2.0.21/pl/codeconv.pl0000644000000000000000000001610211140260405011257 # # -*- Perl -*- # $Id: codeconv.pl,v 1.11.8.17 2009-01-29 07:55:49 opengl2772 Exp $ # Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. # Copyright (C) 2000-2009 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # # package for code conversion # # imported from Rei FURUKAWA san's pnamazu. # [1998-09-24] package codeconv; use strict; my @ktoe = (0xA3, 0xD6, 0xD7, 0xA2, 0xA6, 0xF2, 0xA1, 0xA3, 0xA5, 0xA7, 0xA9, 0xE3, 0xE5, 0xE7, 0xC3, 0xBC, 0xA2, 0xA4, 0xA6, 0xA8, 0xAA, 0xAB, 0xAD, 0xAF, 0xB1, 0xB3, 0xB5, 0xB7, 0xB9, 0xBB, 0xBD, 0xBF, 0xC1, 0xC4, 0xC6, 0xC8, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD2, 0xD5, 0xD8, 0xDB, 0xDE, 0xDF, 0xE0, 0xE1, 0xE2, 0xE4, 0xE6, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEF, 0xF3, 0xAB, 0xAC, ); # convert JIS X0201 KANA characters to JIS X0208 KANA sub ktoe ($$) { my ($c1, $c2) = @_; $c1 = ord($c1) & 0x7f; my($hi) = ($c1 <= 0x25 || $c1 == 0x30 || 0x5e <= $c1)? "\xa1": "\xa5"; $c1 -= 0x21; my($lo) = $ktoe[$c1]; if ($c2) { if ($c1 == 5) { $lo = 0xdd; } else { $lo++; $lo++ if (ord($c2) == 0xdf); } } return $hi . chr($lo); } sub eucjp_han2zen_kana ($) { my ($strref) = @_; if (util::islang("ja")) { $$strref =~ s/\x8e([\xa1-\xdf])(\x8e([\xde\xdf]))?/&ktoe($1,$3)/geo; } } # convert Shift_JIS to EUC-JP sub stoe ($) { my ($c1, $c2) = unpack('CC', shift); if (0xa1 <= $c1 && $c1 <= 0xdf) { $c2 = $c1; $c1 = 0x8e; } elsif (0x9f <= $c2) { $c1 = $c1 * 2 - ($c1 >= 0xe0 ? 0xe0 : 0x60); $c2 += 2; } else { $c1 = $c1 * 2 - ($c1 >= 0xe0 ? 0xe1 : 0x61); $c2 += 0x60 + ($c2 < 0x7f); } # Outside of the range of an EUC-JP code. return chr(0xa2) . chr(0xae) if ($c1 < 0x80 || $c1 >= 0x100 || $c2 < 0x80 || $c2 >= 0x100); return chr($c1) . chr($c2); } sub shiftjis_to_eucjp ($) { my ($str) = @_; if (util::islang("ja")) { $str =~ s/([\x81-\x9f\xe0-\xfc][\x40-\x7e\x80-\xfc]|[\xa1-\xdf])/&stoe($1)/geo; } return $str; } # convert EUC-JP to Shift_JIS sub etos ($) { my ($c1, $c2) = unpack('CC', shift); if ($c1 == 0x8e) { # JIS X 0201 KATAKANA return chr($c2); } elsif ($c1 == 0x8f) { # JIS X 0212 HOJO KANJI return "\x81\xac"; } elsif ($c1 % 2) { $c1 = ($c1>>1) + ($c1 < 0xdf ? 0x31 : 0x71); $c2 -= 0x60 + ($c2 < 0xe0); } else { $c1 = ($c1>>1) + ($c1 < 0xdf ? 0x30 : 0x70); $c2 -= 2; } return chr($c1) . chr($c2); } sub eucjp_to_shiftjis ($) { my ($str) = @_; if (util::islang("ja")) { $str =~ s/([\xa1-\xfe][\xa1-\xfe]|\x8e[\xa1-\xdf]|\x8f[\xa1-\xfe][\xa1-\xfe])/&etos($1)/ge; } return $str; } # Remove a garbage EUC-JP 1st charactor at the end. sub chomp_eucjp ($) { my ($str) = @_; if (util::islang("ja")) { if ($str =~ /\x8f$/ or $str =~ tr/\x8e\xa1-\xfe// % 2) { chop($str); chop($str) if ($str =~ /\x8f$/); } } return $str; } # convert to EUC-JP by using NKF sub toeuc ($) { my ($contref, $opt) = @_; if (util::islang("ja")) { my $nkf_opt = "-emXZ1"; if ($var::USE_NKF_MODULE) { $$contref = NKF::nkf($nkf_opt, $$contref); # namazu-devel-ja #3152 -> backed out, #3181 } else { my $nkftmp = util::tmpnam("NMZ.nkf"); { my $nh = util::efopen("|$conf::NKF $nkf_opt > $nkftmp"); print $nh $$contref; util::fclose($nh); } { my $nh = util::efopen("< $nkftmp"); $$contref = util::readfile($nh); util::fclose($nh); } unlink($nkftmp); } } } sub eucjp_zen2han_ascii ($) { my ($strref) = @_; if (util::islang("ja")) { $$strref =~ s/([\xa1-\xfe][\xa1-\xfe]|\x8e[\xa1-\xdf]|\x8f[\xa1-\xfe][\xa1-\xfe])/ my $tmp = $1; if ($tmp =~ m!\xa3([\xb0-\xb9\xc1-\xda\xe1-\xfa])!) { $tmp = $1 & "\x7F"; } elsif ($tmp =~ m!\xa1([\xa0-\xfe])!) { my $kigou = ( # X0208 kigou conversion table # 0xa1a0 - 0xa1fe "\x00","\x20","\x00","\x00","\x2C","\x2E","\x00","\x3A", "\x3B","\x3F","\x21","\x00","\x00","\x27","\x60","\x00", "\x5E","\x00","\x5F","\x00","\x00","\x00","\x00","\x00", "\x00","\x00","\x00","\x00","\x00","\x2D","\x00","\x2F", "\x5C","\x00","\x00","\x7C","\x00","\x00","\x60","\x27", "\x22","\x22","\x28","\x29","\x00","\x00","\x5B","\x5D", "\x7B","\x7D","\x3C","\x3E","\x00","\x00","\x00","\x00", "\x00","\x00","\x00","\x00","\x2B","\x2D","\x00","\x00", "\x00","\x3D","\x00","\x3C","\x3E","\x00","\x00","\x00", "\x00","\x00","\x00","\x00","\x00","\x00","\x00","\x00", "\x24","\x00","\x00","\x25","\x23","\x26","\x2A","\x40", "\x00","\x00","\x00","\x00","\x00","\x00","\x00","\x00" )[unpack("C", $1) - unpack("C", "\xa0")]; $tmp = $kigou unless ($kigou eq "\x00"); } $tmp; /gse; } } sub normalize_eucjp ($) { my ($contref) = @_; if (util::islang("ja")) { codeconv::eucjp_han2zen_kana($contref); codeconv::eucjp_zen2han_ascii($contref); } $contref; } sub normalize_nl ($) { my ($conts) = @_; $$conts =~ s/\x0d\x0a/\x0a/g; # Windows $$conts =~ s/\x0d/\x0a/g; # Mac $$conts =~ s/\x0a/\n/g; $$conts; } sub remove_control_char ($) { my ($textref) = @_; $$textref =~ tr/\x01-\x08\x0b-\x0c\x0e-\x1f\x7f/ /; # Remove control char. } sub normalize_document ($) { my ($textref) = @_; codeconv::normalize_nl($textref); codeconv::remove_control_char($textref); } sub codeconv_document ($) { my ($textref) = @_; #codeconv::to_inner_encoding($textref, 'unknown'); codeconv::toeuc($textref); codeconv::normalize_document($textref); } sub normalize_eucjp_document ($) { my ($textref) = @_; codeconv::normalize_eucjp($textref); codeconv::normalize_document($textref); } sub tousascii ($) { my ($contref) = @_; $$contref =~ s/[\x80-\xFF]/#/g; return $$contref; } 1; namazu-2.0.21/pl/conf.pl0000644000000000000000000001426511611035166010423 # # This is a Namazu configuration file for mknmz. # package conf; # Don't remove this line! #=================================================================== # # Administrator's email address # $ADDRESS = 'webmaster@vectra.akaneiro.jp'; #=================================================================== # # Regular Expression Patterns # # # This pattern specifies HTML suffixes. # $HTML_SUFFIX = "html?|[ps]html|html\\.[a-z]{2}"; # # This pattern specifies file names which will be targeted. # NOTE: It can be specified by --allow=regex option. # Do NOT use `$' or `^' anchors. # Case-insensitive. # $ALLOW_FILE = ".*\\.(?:$HTML_SUFFIX)|.*\\.txt" . # HTML, plain text "|.*\\.gz|.*\\.Z|.*\\.bz2" . # Compressed files "|.*\\.pdf|.*\\.ps" . # PDF, PostScript "|.*\\.tex|.*\\.dvi" . # TeX, DVI "|.*\\.rpm|.*\\.deb" . # RPM, DEB "|.*\\.doc|.*\\.xls|.*\\.pp[st]" . # Word, Excel, PowerPoint "|.*\\.docx|.*\\.xlsx|.*\\.pp[st]x" . # MS-OfficeOpenXML Word, Excel, PowerPoint "|.*\\.vs[dst]|.*\\.v[dst]x" . # Visio "|.*\\.j[sabf]w|.*\\.jtd" . # Ichitaro 4, 5, 6, 7, 8 "|.*\\.sx[widc]" . # OpenOffice Writer,Calc,Impress,Draw "|.*\\.od[tspg]" . # OpenOffice2.0 "|.*\\.rtf" . # Rich Text Format "|.*\\.hdml|.*\\.mht" . # HDML MHTML "|.*\\.mp3" . # MP3 "|.*\\.gnumeric" . # Gnumeric "|.*\\.kwd|.*\\.ksp" . # KWord, KSpread "|.*\\.kpr|.*\\.flw" . # KPresenter, Kivio "|.*\\.eml|\\d+|[-\\w]+\\.[1-9n]"; # Mail/News, man # # This pattern specifies file names which will NOT be targeted. # NOTE: It can be specified by --deny=regex option. # Do NOT use `$' or `^' anchors. # Case-insensitive. # $DENY_FILE = ".*\\.(gif|png|jpg|jpeg)|.*\\.tar\\.gz|core|.*\\.bak|.*~|\\..*|\x23.*"; # # This pattern specifies DDN(DOS Device Name) which will NOT be targeted. # NOTE: Only for Windows. # Do NOT use `$' or `^' anchors. # Case-insensitive. # $DENY_DDN = "con|aux|nul|prn|lpt[1-9]|com[1-9][0-9]?|clock\$|xmsxxxx0"; # # This pattern specifies PATHNAMEs which will NOT be targeted. # NOTE: Usually specified by --exclude=regex option. # $EXCLUDE_PATH = undef; # # This pattern specifies file names which can be omitted # in URI. e.g., 'index.html|index.htm|Default.html' # # NOTE: This is similar to Apache's "DirectoryIndex" directive. # $DIRECTORY_INDEX = ""; # # This pattern specifies Mail/News's fields in its header which # should be searchable. NOTE: case-insensitive # $REMAIN_HEADER = "From|Date|Message-ID"; # # This pattern specifies fields which used for field-specified # searching. NOTE: case-insensitive # $SEARCH_FIELD = "message-id|subject|from|date|uri|newsgroups|to|summary|size"; # # This pattern specifies meta tags which used for field-specified # searching. NOTE: case-insensitive # $META_TAGS = "keywords|description"; # # This pattern specifies aliases for NMZ.field.* files. # NOTE: Editing NOT recommended. # %FIELD_ALIASES = ('title' => 'subject', 'author' => 'from'); # # This pattern specifies HTML elements which should be replaced with # null string when removing them. Normally, the elements are replaced # with a single space character. # $NON_SEPARATION_ELEMENTS = 'A|TT|CODE|SAMP|KBD|VAR|B|STRONG|I|EM|CITE|FONT|U|'. 'STRIKE|BIG|SMALL|DFN|ABBR|ACRONYM|Q|SUB|SUP|SPAN|BDO'; # # This pattern specifies attribute of a HTML tag which should be # searchable. # $HTML_ATTRIBUTES = 'ALT|SUMMARY|TITLE'; #=================================================================== # # Critical Numbers # # # The max size of files which can be loaded in memory at once. # If you have much memory, you can increase the value. # If you have less memory, you can decrease the value. # $ON_MEMORY_MAX = 5000000; # # The max file size for indexing. Files larger than this # will be ignored. # NOTE: This value is usually larger than TEXT_SIZE_MAX because # binary-formated files such as PDF, Word are larger. # $FILE_SIZE_MAX = 2000000; # # The max text size for indexing. Files larger than this # will be ignored. # $TEXT_SIZE_MAX = 600000; # # The max length of a word. the word longer than this will be ignored. # $WORD_LENG_MAX = 128; # # Weights for HTML elements which are used for term weightning. # %Weight = ( 'html' => { 'title' => 16, 'h1' => 8, 'h2' => 7, 'h3' => 6, 'h4' => 5, 'h5' => 4, 'h6' => 3, 'a' => 4, 'strong' => 2, 'em' => 2, 'kbd' => 2, 'samp' => 2, 'var' => 2, 'code' => 2, 'cite' => 2, 'abbr' => 2, 'acronym'=> 2, 'dfn' => 2, }, 'metakey' => 32, # for 'headers' => 8, # for Mail/News' headers ); # # The max length of a HTML-tagged string which can be processed for # term weighting. # NOTE: There are not a few people has a bad manner using # for changing a font size. # $INVALID_LENG = 128; # # The max length of a field. # This MUST be smaller than libnamazu.h's BUFSIZE (usually 1024). # $MAX_FIELD_LENGTH = 200; #=================================================================== # # Softwares for handling a Japanese text # # # Network Kanji Filter nkf v1.71 or later # $NKF = "module_nkf"; # # KAKASI 2.x or later # Text::Kakasi 1.05 or later # $KAKASI = "module_kakasi -ieuc -oeuc -w"; # # ChaSen 2.02 or later (simple wakatigaki) # Text::ChaSen 1.03 # $CHASEN = "module_chasen -i e -j -F \"\%m \""; # # ChaSen 2.02 or later (with noun words extraction) # $CHASEN_NOUN = "module_chasen -i e -j -F \"\%m %H\\n\""; # # MeCab # $MECAB = "module_mecab -Owakati -b 8192"; # # Default Japanese processer: KAKASI or ChaSen or MeCab. # $WAKATI = $KAKASI; #=================================================================== # # Directories # # $LIBDIR = "@PERLLIBDIR@"; # $FILTERDIR = "@FILTERDIR@"; # $TEMPLATEDIR = "@TEMPLATEDIR@"; # #[WIN] $LIBDIR = 'C:/namazu/share/namazu/pl'; #[WIN] $FILTERDIR = 'C:/namazu/share/namazu/filter'; #[WIN] $TEMPLATEDIR = 'C:/namazu/share/namazu/template'; 1; namazu-2.0.21/pl/gettext.pl.in0000644000000000000000000000774411140212154011562 # Toying at an interface between Perl and GNU gettext .mo format. # Copyright (C) 1995 Free Software Foundation, Inc. # Fran.ANgois Pinard , 1995. # # Modified by NOKUBI Takatsugu. # Copyright (C) 1999, 2000 NOKUBI Takatsugu ## --------------------------------------------------------------- ## ## The `&textdomain (DOMAIN_NAME, LANG)' routine reads the given ## ## domain into an associative array %_, able to later translate ## ## strings. ## ## --------------------------------------------------------------- ## sub textdomain { my ($language, $catalog, $domain, $buffer); my ($reverse); my ($magic, $revision, $nstrings, $orig_tab_offset, $trans_tab_offset); my ($orig_length, $orig_pointer, $trans_length, $trans_pointer); %_ = (); $domain = $_[0]; $language = $_[1]; return if ! $language; $catalog = choose_catalog($language, $domain); return if ! $catalog; open (CATALOG, $catalog) || return; binmode (CATALOG); sysread (CATALOG, $buffer, (stat CATALOG)[7]); close CATALOG; $magic = unpack ("I", $buffer); if (sprintf ("%x", $magic) eq "de120495") { $reverse = 1; } elsif (sprintf ("%x", $magic) ne "950412de") { die "Not a catalog file\n"; } $revision = &mo_format_value($reverse, $buffer,4); $nstrings = &mo_format_value($reverse, $buffer,8); $orig_tab_offset = &mo_format_value($reverse, $buffer,12); $trans_tab_offset = &mo_format_value($reverse, $buffer,16); while ($nstrings-- > 0) { $orig_length = &mo_format_value($reverse, $buffer,$orig_tab_offset); $orig_pointer = &mo_format_value($reverse, $buffer,$orig_tab_offset + 4); $orig_tab_offset += 8; $trans_length = &mo_format_value($reverse, $buffer,$trans_tab_offset); $trans_pointer = &mo_format_value($reverse, $buffer,$trans_tab_offset + 4); $trans_tab_offset += 8; $_{substr ($buffer, $orig_pointer, $orig_length)} = substr ($buffer, $trans_pointer, $trans_length); } } sub choose_catalog { my ($language, $domain) = @_; while (1) { # # To support a binary package for Windows, we should # allow to change LOCALEDIR with the environment variable # `NAMAZULOCALEDIR' after installation is done. # # NOTE: Windows has a nasty "drive letter" convention. # my $base = "@LOCALEDIR@"; if (defined $ENV{NAMAZULOCALEDIR}) { $base = $ENV{NAMAZULOCALEDIR}; } my $catalog = "$base/$language/LC_MESSAGES/$domain.mo"; return $catalog if -f $catalog; # if the catalog file exists. # Truncate $language by the following order: # ja_JP.eucJP -> ja_JP -> ja unless ($language =~ s/[\._][^\._]+$//) { return undef; } } } ## ----------------------------------------------------------------- ## ## The `&mo_format_value (ADDRESS)' routine returns the value at a ## ## given address in the .mo format catalog, once read into $buffer ## ## by `&textdomain'. This is a service routine of `&textdomain', ## ## which uses $buffer and $reverse variables local in that routine. ## ## ----------------------------------------------------------------- ## sub mo_format_value { my ($reverse) = shift @_; my ($buffer) = shift @_; unpack ("i", $reverse ? pack ("c4", reverse unpack ("c4", substr ($buffer, $_[0], 4))) : substr ($buffer, $_[0], 4)); } ## ------------------------------------------------------------ ## ## The `&_(STRING)' routine translates STRING if there is some ## ## translation offered for it in the `%_' associative array, or ## ## return STRING itself, otherwize. ## ## ------------------------------------------------------------ ## sub _ { my $msg = $_[0]; $msg =~ s/\$/\\\$/g; defined $_{$msg} ? $_{$msg} : $_[0]; } ## ------------------------------------------------------------ ## ## Dummy function. ## ## ------------------------------------------------------------ ## sub N_ { return $_[0]; } 1; namazu-2.0.21/pl/gfilter.pl0000644000000000000000000000640210420436461011124 # # -*- Perl -*- # $Id: gfilter.pl,v 1.1.2.6 2006-04-16 12:48:49 opengl2772 Exp $ # Copyright (C) 1999 Satoru Takabayashi , # 2000-2006 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package gfilter; use English; # Show debug information for filters sub show_filter_debug_info ($$$$) { my ($contref, $weighted_str, $fields, $headings) = @_; util::dprint("-- title --\n$fields->{'title'}\n") if defined $fields->{'title'}; util::dprint("-- content --\n$$contref\n"); util::dprint("-- weighted_str: --\n$$weighted_str\n"); util::dprint("-- headings --\n$$headings\n"); } # Adjust white spaces sub white_space_adjust_filter ($) { my ($text) = @_; return undef unless defined($$text); $$text =~ s/[ \t]+/ /g; $$text =~ s/\r\n/\n/g; $$text =~ s/\r/\n/g; $$text =~ s/\n+/\n/g; $$text =~ s/^ +//gm; $$text =~ s/ +$//gm; $$text =~ s/ +/ /g; # Control characters be into space $$text =~ tr/\x00-\x09\x0b-\x1f/ /; } # get a title from a file name. sub filename_to_title ($$) { my ($cfile, $weighted_str) = @_; # for MSWin32's filename using Shift_JIS [1998-09-24] if (($English::OSNAME eq "MSWin32") || ($English::OSNAME eq "os2")) { $cfile = codeconv::shiftjis_to_eucjp($cfile); codeconv::eucjp_han2zen_kana(\$cfile); } codeconv::normalize_eucjp(\$cfile); my $filename = $cfile; $filename = $1 if ($cfile =~ m!^.*/([^/]*)$!); # get keywords from a file name. # modified [1998-09-18] my $tmp = $filename; $tmp =~ tr|/\\_\.-| |; my $weight = $conf::Weight{'html'}->{'title'}; $$weighted_str .= "\x7f$weight\x7f$tmp\x7f/$weight\x7f\n"; my $title = $filename; return $title } # Remove SPACE/TAB at the beginning or ending of the line. # And remove '>|#:' at the begenning of the line. # Join hyphenation for English text. # Remove LF if the line is ended with a Japanese character and # length of the line is 40 or more longer. # # Original of this code was contributed by . # [1997-09-15] # sub line_adjust_filter ($) { my ($text) = @_; return undef unless defined($$text); my @tmp = split(/\n/, $$text); for my $line (@tmp) { $line .= "\n"; $line =~ s/^[ \>\|\#\:]+//; $line =~ s/ +$//; $line =~ s/\n// if (($line =~ /[\xa1-\xfe]\n*$/) && (length($line) >=40)); $line =~ s/(。|、)$/$1\n/; $line =~ s/([a-z])-\n/$1/; # for hyphenation. } $$text = join('', @tmp); } # not implimented yet. sub analize_rcs_stamp() { } 1; namazu-2.0.21/pl/htmlsplit.pl0000644000000000000000000001275211005141413011503 # # -*- Perl -*- # $Id: htmlsplit.pl,v 1.9.4.6 2008-04-27 18:16:43 opengl2772 Exp $ # # Copyright (C) 2000-2008 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding package htmlsplit; require "util.pl"; #require "html.pl"; # don't need it because it sould be already loaded by load_filtermodules() use strict; use File::Copy; my $Header = << 'EOS'; ${subject}
EOS my $Footer = << 'EOS';
EOS sub split ($$) { my ($fname, $base) = @_; my $mtime = (stat($fname))[9]; my $cont = ''; # for handling a filename which contains Shift_JIS code for Windows. # for handling a filename which contains including space. if (($fname =~ /\s/) || ($English::OSNAME eq "MSWin32" && $fname =~ /[\x81-\x9f\xe0-\xef][\x40-\x7e\x80-\xfc]|[\x20\xa1-\xdf]/)) { my $shelter_fname = $fname; $fname = util::tmpnam("NMZ.win32"); unlink $fname if (-e $fname); copy($shelter_fname, $fname); $cont = util::readfile($fname); unlink $fname; $fname = $shelter_fname; } else { $cont = util::readfile($fname); } codeconv::codeconv_document(\$cont); my %info = ( 'title' => get_title(\$cont), 'author' => get_author(\$cont), 'anchored' => "", 'name' => "", 'base' => $base, 'names' => [], ); # # # In certain cases, authors may specify the value of an attribute # without any quotation marks. The attribute value may only contain # letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), and # periods (ASCII decimal 46). We recommend using quotation marks even # when it is possible to eliminate them. my $id = 0; # $cont =~ s/(]*href=(["']))#(.+?)(\2[^>]*>)/$1$3.html$4/gi; #' $cont =~ s#(]*\s+)name=(["'])\2([^>]*>(.*?))#$1$4#sgi; #' $cont =~ s { \G(.+?) # 1 ()?\s* # 2, 3 ]*\s+name=([a-zA-Z0-9-\.]+| # 4, (["']).+?\5)[^>]*>(.*?) # 5,6 \s*()? # 7 } { write_partial_file($1, $4, $6, $id++, $mtime, \%info) }sgexi; write_partial_file($cont, "", "", $id, $mtime, \%info); return @{$info{'names'}}; } sub get_title ($) { my ($contref) = @_; my $title = undef; if ($$contref =~ s!]*>([^<]+)!!i) { $title = $1; $title =~ s/\s+/ /g; $title =~ s/^\s+//; $title =~ s/\s+$//; } else { $title = "no title"; } return $title; } sub get_author ($) { my ($contref) = @_; my $author = "unknown"; # if ($$contref =~ m!]*?HREF=([\"\'])mailto:(.*?)\1\s*>!i) { #" $author = $2; } elsif ($$contref =~ m!.*]*>([^<]*?)!i) { my $tmp = $1; if ($tmp =~ /\b([\w\.\-]+\@[\w\.\-]+(?:\.[\w\.\-]+)+)\b/) { $author = $1; } } return $author; } sub write_partial_file($$$$$$) { my ($cont, $name, $anchored, $id, $mtime, $info_ref) = @_; $name =~ s/^([\"\'])(.*)\1$/$2/; # Remove quotation marks. my $author = $info_ref->{'author'}; my $base = $info_ref->{'base'}; my $orig_title = $info_ref->{'title'}; my $prev_name = $info_ref->{'name'}; my $prev_anchored = $info_ref->{'anchored'}; $prev_name =~ s#\n\r##sg; $prev_name =~ s#\n##sg; html::remove_html_elements(\$prev_anchored); $prev_anchored =~ s/^\s+//; $prev_anchored =~ s/\s+$//; my $title = $orig_title; # FIXME: I don't know why this processing causes "Use of # uninitialized value" warning if use $prev_anchored or # $prev_name directly. perl's bug? if ($prev_anchored ne "") { $title .= ": $prev_anchored"; } elsif ($prev_name ne "") { $title .= ": $prev_name"; } my $fname = util::tmpnam("$base.$id"); my $fh = util::efopen(">$fname"); my $header = $Header; $header =~ s/\$\{subject\}/$title/g; $header =~ s/\$\{author\}/$author/g; print $fh $header; print $fh $cont; my $footer = $Footer; print $fh $footer; push @{$info_ref->{'names'}}, $prev_name; $info_ref->{'anchored'} = $anchored; $info_ref->{'name'} = $name; # FIXME: Actually we don't need this. # But some perl versions need this. util::fclose($fh); utime($mtime, $mtime, $fname); return ""; } 1; namazu-2.0.21/pl/nmzidx.pl0000644000000000000000000004113710437044754011015 # # -*- Perl -*- # nmzidx.pl - subroutines for accessing Namazu index files (NMZ.*) # by furukawa@tcp-ip.or.jp # # $Id: nmzidx.pl,v 1.13.4.7 2006-05-30 13:34:36 opengl2772 Exp $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # use strict; use English; use IO::File; use DirHandle; package nmzlib; sub open_db{ my $par = shift; my $ext = shift; my $path = $par->{'dir'} . "/NMZ.$ext"; my $fh; if ($par->{'mode'} =~ /w/i){ $fh = new IO::File "$path.$$.tmp", "w"; }else{ $fh = new IO::File $path, "r"; } $par->{'dblist'}->{$path} = $fh, binmode $fh if defined $fh; return $fh; } sub readw{ my $fh = shift; my $ret = ''; my $c; while (read($fh, $c, 1)){ $ret .= $c; last unless 0x80 & ord $c; } unpack('w', $ret); } package nmzfile; sub new{ my $class = shift; my $self = {}; bless $self, $class; my $par = shift; my $ext = shift; my $fhb = &nmzlib::open_db($par, $ext); $self->{'dir'} = $par->{'dir'}; $self->{'mode'} = $par->{'mode'}; $self->{'body'} = $fhb if defined $fhb; $self->{'ext'} = $ext; $ext .= ($ext =~ /^field/)? '.i': 'i'; my $fhi = &nmzlib::open_db($par, $ext); $self->{'index'} = $fhi if defined $fhi; $self->{'offset'} = 0; if (defined($self->{'index'})){ $self->{'size'} = (-s $self->{'index'}) / length(pack('N', 0)); } return $self; } sub close{ my $self = shift; $self->{'body'}->close; $self->{'index'}->close if defined $self->{'index'}; } sub seek{ my $self = shift; my $offset = @_? shift: 0; my $whence = @_? shift: 0; if ($whence == 1){ $offset += $self->{'offset'}; }elsif ($whence == 2){ $offset += $self->{'size'}; } return $offset if $offset == $self->{'offset'}; return -1 if ($offset < 0 || $offset > $self->{'size'}); $self->{'offset'} = $offset; $self->{'index'}->seek($offset * length(pack('N', 0)), 0); if ($self->{'ext'} ne 'p'){ if ($offset == $self->{'size'}){ $self->{'body'}->seek(0, 2); }else{ my $buf; $self->{'index'}->read($buf, length pack('N', 0)); $self->{'body'}->seek(unpack('N', $buf), 0); } } return $offset; } sub getline{ my $self = shift; return undef unless defined $self->{'body'}; ++$self->{'offset'}; return $self->{'body'}->getline; } sub getlist{ my $self = shift; return undef unless defined $self->{'body'}; return undef if $self->{'offset'} >= $self->{'size'}; if ($self->{'offset'} == $self->{'size'}){ return (); } ++$self->{'offset'}; if ($self->{'ext'} eq 'p'){ my $buf; $self->{'index'}->read($buf, length pack('N', 0)); return () if $buf eq pack('N', -1); $self->{'body'}->seek(unpack('N', $buf), 0); } $self->{'body'}->read(my $buf, &nmzlib::readw($self->{'body'})); return unpack('w*', $buf); } sub putline{ my $self = shift; if (@_){ my $output; $output = shift; $output =~ s/\n.*$//s; $output .= "\n"; $self->{'index'}->print(pack('N', $self->{'body'}->tell)); $self->{'body'}->print($output); ++$self->{'size'}; ++$self->{'offset'}; } } sub putlist{ my $self = shift; if (@_){ $self->{'index'}->print(pack('N', $self->{'body'}->tell)); my $tmp = pack('w*', @_); $self->{'body'}->print(pack('w', length $tmp) . $tmp); }elsif ($self->{'ext'} eq 'p'){ $self->{'index'}->print(pack('N', -1)); ++$self->{'size'}; ++$self->{'offset'}; } } package nmzfield; sub new{ my $class = shift; my $self = {}; bless $self, $class; $self->open(@_) if @_; return $self; } sub open{ my $self = shift; my $par = shift; my $ext = shift; $self->{$ext} = new nmzfile($par, "field." . $ext); } sub open_all{ my $self = shift; my $par = shift; my $dh = new DirHandle($par->{'dir'}); while (defined(my $ent = $dh->read)){ if ($ent =~ /^NMZ\.field\.([^\.]+)$/){ $self->{$1} = new nmzfile($par, "field." . $1); } } $dh->close; } sub close{ my $self = shift; for my $key (keys %$self){ $self->{$key}->close; } } sub seek{ my $self = shift; $self->seek(@_); } package nmzflist; sub new{ my $class = shift; my $self = {}; my $par = shift; bless $self, $class; $self->{'dir'} = $par->{'dir'}; $self->{'mode'} = $par->{'mode'}; $self->{'t'} = &nmzlib::open_db($par, 't'); $self->{'r'} = &nmzlib::open_db($par, 'r') unless $par->{'mode'} =~ /s/i; $self->{'field'} = new nmzfield; $self->{'field'}->open_all($par); $self->{'offset'} = 0; if (defined $self->{'t'}) { $self->{'size'} = (-s $self->{'t'}) / length(pack('N', 0)); $self->{'valid'} = $self->{'size'}; } return $self; } sub close{ my $self = shift; $self->{'t'}->close if defined $self->{'t'}; $self->{'r'}->close if defined $self->{'r'}; $self->{'field'}->close; } sub read{ my $self = shift; my $list = shift; %$list = (); my $fh = $self->{'t'}; $fh->read(my $pindex, length pack('N', 0)); $list->{'t'} = ($pindex eq pack('N', -1))? -1: unpack('N', $pindex); if (defined(my $fh = $self->{'r'})){ $list->{'r'} = $fh->getline; $list->{'r'} = $fh->getline while (defined($list->{'r'}) && $list->{'r'} =~ /^[\#\r\n]/); chomp $list->{'r'} if defined $list->{'r'}; } my $field = $self->{'field'}; for my $key (keys %$field){ $fh = $field->{$key}; my $line = $fh->getline; $line = '' unless defined $line; chomp $line; $list->{'field'}->{$key} = $line; } --$self->{'valid'} if defined($list->{'t'}) && $list->{'t'} == -1; ++$self->{'offset'}; return $list->{'t'} } sub write{ my $self = shift; my $list = shift; my $fh = $self->{'t'}; $fh->print(pack('N', $list->{'t'})); $fh = $self->{'r'}; $fh->print($list->{'r'} . "\n"); my $field = $self->{'field'}; for my $key (keys %$field){ $field->{$key}->putline($list->{'field'}->{$key} . "\n") } ++$self->{'valid'} if $list->{'t'} != -1; ++$self->{'size'}; ++$self->{'offset'}; } sub seek{ my $self = shift; my $offset = @_? shift: 0; my $whence = @_? shift: 0; $self->{'t'}->seek($offset * length pack('N', 0), $whence); my $field = $self->{'field'}; for my $key (keys %$field){ $field->{$key}->seek($offset, $whence); } if ($whence == 0){ $self->{'offset'} = $offset; }elsif ($whence == 1){ $self->{'offset'} += $offset; }elsif ($whence == 2){ $self->{'offset'} = $offset + $self->{'size'}; } return $self->{'offset'}; } package nmzword; sub new{ my $class = shift; my $par = shift; my $self = {}; bless $self, $class; $self->{'dir'} = $par->{'dir'}; $self->{'mode'} = $par->{'mode'}; $self->{'i'} = new nmzfile($par, 'i'); $self->{'w'} = new nmzfile($par, 'w'); $self->{'offset'} = 0; $self->{'size'} = $self->{'i'}->{'size'}; return $self; } sub close{ my $self = shift; $self->{'i'}->close; $self->{'w'}->close; } sub read{ my $self = shift; my $word = shift; my $list = shift; %$list = (); return unless defined($$word = $self->{'w'}->getline); chomp $$word; my $key = 0; my @tmp = $self->{'i'}->getlist; $key += shift @tmp, $list->{$key} = shift @tmp while @tmp; ++$self->{'offset'}; return $$word; } sub write{ my $self = shift; my $word = shift; my $list = shift; if (length $word and scalar keys %$list){ $self->{'w'}->putline($word . "\n"); my @tmp = (); my $ndx = 0; for my $key (sort {$a <=> $b} keys %$list){ push(@tmp, $key - $ndx); push(@tmp, $list->{$key}); $ndx = $key; } $self->{'i'}->putlist(@tmp); ++$self->{'size'}; ++$self->{'offset'}; } } sub seek{ my $self = shift; my $offset_i = $self->{'i'}->seek(@_); my $offset_w = $self->{'w'}->seek(@_); if ($offset_i == $offset_w){ return $self->{'offset'} = $offset_i; }else{ return -1; } } sub getword{ my $self = shift; my $number = shift; $self->seek($number, 0); my $buf = $self->{'w'}->getline; chomp $buf; return $buf; } sub _search_{ my $self = shift; my $keyword = shift; my $l = 0; my $r = $self->{'size'} - 1; my $ptr = (@_ && ref($_[0]) eq 'SCALAR')? shift: undef; $r = $$ptr if defined($ptr) && $$ptr >= 0; if (defined $self->{'cache'}->{'search'}->{$keyword}){ $$ptr = $self->{'cache'}->{'search'}->{$keyword} if defined $ptr; return $self->{'cache'}->{'search'}->{$keyword}; } my $x; while ($x = ($l + $r) >> 1, $l < $r){ my $buf = $self->getword($x); if ($buf eq $keyword){ $$ptr = $self->{'cache'}->{'search'}->{$keyword} = $x if defined $ptr; return $x; } if ($buf ge $keyword){ $r = $x; }else{ $l = $x + 1; } } $$ptr = $x if defined $ptr; return $self->{'cache'}->{'search'}->{$keyword} = -1; } sub wakati{ my $self = shift; my $keyword = shift; my $opt = @_? shift: ''; my $buf; my $r = -1; my $x; my $post = ''; my $pat = ($opt =~ /b/)? '.': '..'; while (1){ $x = $self->_search_($keyword, \$r); last if $x >= 0 || $keyword !~ s/($pat)$//; $post = $1 . $post; } return ($keyword, $post); } sub forward{ my $self = shift; my $word = shift; my $keyword = shift; my $buf; my $x = $self->_search_($keyword); $keyword = quotemeta($keyword); @$word = (); while (($buf = $self->getword($x)) =~ /^$keyword/){ $self->{'cache'}->{'search'}->{$buf} = $x++; push(@$word, $buf); } return @$word; } sub search{ my $self = shift; my $list = shift; my $keyword = shift; my $word; if ((my $x = $self->_search_($keyword)) >= 0){ $self->seek($x, 0); return $self->read(\$word, $list); }else{ return undef; } } package nmzphrase; @nmzphrase::Seed = (); sub new{ my $class = shift; my $par = shift; my $self = {}; bless $self, $class; $self->{'dir'} = $par->{'dir'}; $self->{'mode'} = $par->{'mode'}; $self->{'p'} = new nmzfile($par, 'p'); $self->{'offset'} = 0; $self->{'size'} = 0x10000; $self->init_seed if $self->{'mode'} =~ /s/i; return $self; } sub close{ my $self = shift; $self->{'p'}->close; } sub read{ my $self = shift; my $list = shift; @$list = (); my $ndx = 0; my @tmp = $self->{'p'}->getlist; push(@$list, $ndx += shift @tmp) while @tmp; ++$self->{'offset'}; return scalar @$list; } sub write{ my $self = shift; my $list = shift; my $fh_p = $self->{'p'}; my $fh_pi = $self->{'pi'}; my @tmp = (); my $ndx = 0; for my $key (@$list){ push(@tmp, $key - $ndx); $ndx = $key; } $self->{'p'}->putlist(@tmp); ++$self->{'offset'}; } sub seek{ my $self = shift; return $self->{'offset'} = $self->{'p'}->seek(@_); } sub search{ my $self = shift; my $list = shift; my $phrase = shift; $phrase .= shift if @_; my $hash = 0; my $i = 0; while ($phrase =~ m/([\xa1-\xfea-z\d])/g){ $hash ^= $nmzphrase::Seed[($i++) & 3][ord($1)]; } $self->seek($hash & 0xffff); %$list = (); my @tmp = (); if ($self->read(\@tmp)){ for my $x (@tmp){ $list->{$x} = 1; } } return scalar @tmp; } sub init_seed{ return if scalar @nmzphrase::Seed; require 'seed.pl'; @nmzphrase::Seed = &seed::init; } package nmzidx; sub new{ my $class = shift; my $dir = @_? shift: '.'; my $mode = @_? shift: 'r'; if ($mode =~ /[RS]/){ return undef if -f "$dir/NMZ.lock"; if (defined(my $fh = new IO::File ">$dir/NMZ.lock2")){ $fh->print($$); $fh->close; } } my $self = {}; bless $self, $class; $self->{'dir'} = $dir; $self->{'mode'} = $mode; return $self; } sub close{ my $self = shift; unlink ($self->{'dir'} . "/NMZ.lock2") if $self->{'mode'} =~ /[RS]/; } sub open_field{ my $self = shift; $self->{'field'} = new nmzfield() unless $self->{'field'}; $self->{'field'}->open($self, @_); return $self->{'field'}; } sub open_flist{ my $self = shift; $self->{'flist'} = new nmzflist($self); return $self->{'flist'}; } sub open_word{ my $self = shift; $self->{'word'} = new nmzword($self); return $self->{'word'}; } sub open_phrase{ my $self = shift; return $self->{'phrase'} = new nmzphrase($self); } sub replace_db{ my $self = shift; my $bak = @_? shift : 0; my $lock = $self->{'dir'} . "/NMZ.lock"; if ($self->{'mode'} =~ /W/){ my $fh = new IO::File($lock, 'w'); $fh->close; } for my $path (keys %{$self->{'dblist'}}){ $self->{'dblist'}->{$path}->close; if ($bak){ unlink "$path.BAK" if (-f $path) && (-f "$path.BAK"); rename $path, "$path.BAK"; } unlink $path if (-f "$path.$$.tmp") && (-f $path); rename "$path.$$.tmp", $path; } unlink $lock if $self->{'mode'} =~ /W/; } sub remove_tmpdb{ my $self = shift; for my $path (keys %{$self->{'dblist'}}){ $self->{'dblist'}->{$path}->close; unlink "$path.$$.tmp"; } } sub write_status{ my $self = shift; my $in = shift; my $key = undef; $key = $self->{'word'}->{'size'} if defined $self->{'word'}; my $key_comma = comma($key); my $file = undef; $file = $self->{'flist'}->{'valid'} if defined $self->{'flist'}; my $file_comma = comma($file); if ($self->{'mode'} =~ /w/i){ my $fi = &nmzlib::open_db($in, 'status'); my $fo = &nmzlib::open_db($self, 'status'); while (defined(my $line = $fi->getline)){ $line = "files $file\n" if $line =~ /^files / && defined $file; $line = "keys $key\n" if $line =~ /^keys / && defined $key; $fo->print($line); } $fi->close; $fo->close; my $dh = new DirHandle($in->{'dir'}); while (defined(my $ent = $dh->read)){ next if $ent =~ /\.(BAK|tmp)$/; if ($ent =~ /^NMZ\.(head(?:\.[-\w\.]+)?)$/){ $fi = &nmzlib::open_db($in, $1); $fo = &nmzlib::open_db($self, $1); while (defined(my $line = $fi->getline)){ $line =~ s/(\<\!-- FILE --\>).*?\1/$1 $file_comma $1/ if defined $file_comma; $line =~ s/(\<\!-- KEY --\>).*?\1/$1 $key_comma $1/ if defined $key_comma; $fo->print($line); } $fi->close; $fo->close; } } undef $dh; } } sub log_open{ my $self = shift; my $tag = shift; my $path = $self->{'dir'} . "/NMZ.log"; my $fh = new IO::File ">>$path"; $self->{'log'} = $fh; if (defined $fh){ binmode $fh; $fh->print("$tag\n") if defined $tag; $self->log_putline("Date:", localtime($English::BASETIME) . ""); } return $self->{'log'}; } sub log_putline{ my $self = shift; $self->{'log'}->printf("%-20s %s\n", @_); } sub log_close{ my $self = shift; if (defined $self->{'log'}){ $self->log_putline("Time (sec):", (time - $English::BASETIME)); $self->log_putline("System:", $English::OSNAME); $self->log_putline("Perl:", sprintf("%f", $English::PERL_VERSION)); $self->{'log'}->print("\n"); $self->{'log'}->close; } } # copy from util.pl sub comma ($) { my ($num) = @_; $num = "0" if ($num eq ""); # 1 while $num =~ s/(.*\d)(\d\d\d)/$1,$2/; # from Mastering Regular Expressions $num =~ s<\G((?:^-)?\d{1,3})(?=(?:\d\d\d)+(?!\d))><$1,>g; $num; } 1; namazu-2.0.21/pl/seed.pl0000644000000000000000000002071007044262000010400 # # -*- Perl -*- # $Id: seed.pl,v 1.5 2000-01-28 09:40:16 satoru Exp $ # Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. # Copyright (C) 2000 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding package seed; # # Dr. Knuth's ``hash'' (from UNIX MAGAZINE May, 1998) # sub init () { return ( [ 3852, 26205, 51350, 2876, 47217, 47194, 55549, 43312, 63689, 40984, 62703, 10954, 13108, 60460, 41680, 32277, 51887, 28590, 17502, 57168, 37798, 27466, 13800, 12816, 53745, 8833, 55089, 15481, 18993, 15262, 8490, 22846, 41468, 59841, 25722, 23150, 41499, 15735, 926, 39653, 56720, 63629, 50607, 4292, 58554, 26752, 36570, 44905, 55343, 54073, 36538, 27605, 16003, 50339, 40422, 4213, 59172, 29975, 19694, 12629, 45238, 28185, 35475, 21170, 22491, 61198, 44320, 63991, 11398, 45247, 38108, 2583, 43341, 23180, 6875, 36359, 49933, 43446, 15728, 39740, 31983, 52267, 1809, 47986, 37070, 42232, 52199, 30706, 6672, 6358, 43336, 51910, 34544, 13276, 7545, 57036, 8939, 51866, 55491, 20338, 31577, 28064, 22921, 9383, 51245, 29797, 45742, 35642, 7707, 61471, 9847, 39691, 48202, 11656, 22141, 19736, 53889, 8805, 50443, 60561, 15164, 28244, 46936, 49709, 41521, 54481, 41209, 50460, 40812, 31165, 5262, 6853, 59230, 28184, 16237, 44940, 57981, 61979, 15046, 152, 57914, 24893, 39843, 40581, 36550, 61985, 60318, 24904, 5255, 45226, 19929, 20420, 7934, 1329, 4593, 49456, 55811, 45803, 34381, 31087, 11433, 39644, 37941, 5128, 2292, 54178, 50068, 60273, 50622, 65115, 60426, 43000, 24473, 34734, 18046, 61024, 31184, 12828, 20392, 36439, 58054, 40322, 56860, 453, 41651, 61453, 49909, 31927, 41721, 18754, 63015, 53155, 58398, 35421, 58283, 60691, 24063, 42816, 55428, 9149, 42395, 50319, 52150, 1332, 19517, 4661, 62357, 50701, 17489, 17213, 21605, 10008, 57535, 12929, 10462, 33651, 8847, 60371, 43, 50569, 13590, 63058, 38188, 6453, 32943, 30936, 1608, 57007, 8216, 57037, 621, 50611, 41820, 52771, 51944, 61338, 57433, 48765, 46504, 9387, 443, 2573, 19395, 57978, 15503, 29857, 26094, 24351, 24693, 26137, 9385, 38284, 23659, 47573, 44738, 56602 ], [ 12974, 46347, 48074, 21190, 37848, 48695, 6266, 14133, 35931, 58211, 9935, 27828, 41440, 56440, 37215, 41883, 59014, 56610, 34326, 8982, 20932, 60420, 33333, 45626, 21021, 42718, 18375, 44681, 24756, 63113, 35748, 37730, 43924, 18286, 58920, 1445, 65187, 30371, 37376, 57862, 40307, 65205, 33766, 31211, 36884, 10114, 24689, 27959, 44441, 33671, 48892, 39326, 1469, 28982, 60348, 44188, 47357, 39493, 3408, 44935, 9705, 41138, 23324, 27992, 34523, 39562, 29437, 34174, 4397, 1278, 26500, 44705, 947, 60267, 10380, 37832, 4846, 35070, 255, 49288, 3206, 49147, 23078, 4676, 12594, 17890, 48864, 59951, 57383, 52273, 39351, 1553, 27875, 62675, 29545, 62399, 36701, 58983, 31038, 41099, 60262, 57539, 20268, 61210, 52271, 30649, 33506, 57118, 184, 33762, 40870, 3390, 17374, 63949, 8067, 29968, 16303, 56931, 24384, 8151, 43668, 63736, 6008, 60875, 39251, 2872, 32040, 32699, 33910, 7603, 27426, 25914, 27872, 23100, 12649, 58521, 56607, 4231, 58705, 24834, 45102, 62096, 42208, 43515, 4627, 6641, 59819, 61559, 31026, 2435, 39692, 29226, 12141, 45700, 24565, 51392, 48573, 56606, 18556, 16947, 64210, 45982, 42861, 26546, 3546, 55511, 19531, 60154, 59743, 12700, 19452, 39309, 9261, 61660, 17289, 13888, 2766, 11572, 9912, 33792, 14008, 49604, 63018, 26149, 29769, 22048, 12006, 12806, 13118, 30562, 29754, 11792, 11008, 7080, 38339, 14554, 62591, 57870, 9172, 56798, 5035, 28625, 30572, 14297, 24749, 47861, 27515, 59433, 38098, 61308, 7906, 22166, 58790, 34055, 51935, 15303, 46061, 64742, 28421, 11087, 28960, 40214, 22095, 36041, 13018, 36650, 33096, 5352, 45823, 24359, 10388, 8912, 54931, 24685, 33662, 37257, 52871, 61178, 31155, 25433, 56950, 39061, 47599, 50204, 7580, 33999, 65507, 53642, 33205, 28393, 64730, 62166, 3072, 21290, 32671, 16090 ], [ 57940, 232, 21443, 38228, 24592, 31831, 47141, 13988, 56517, 15268, 43852, 10910, 16864, 3750, 2324, 55926, 52529, 63507, 19813, 52501, 51613, 53019, 15359, 50807, 49650, 18431, 6561, 16785, 34522, 64502, 17018, 55965, 37195, 41610, 22261, 18801, 55598, 13243, 34069, 41307, 57095, 44979, 58172, 60846, 47304, 48562, 46660, 34298, 46533, 938, 21264, 32611, 53957, 36623, 17883, 38072, 55055, 24444, 54857, 24042, 23411, 6340, 14471, 60606, 47950, 36733, 13872, 38012, 49976, 47941, 13784, 41536, 27385, 6421, 36846, 9154, 54984, 17971, 43452, 35982, 18909, 64716, 3057, 7331, 35804, 20941, 45403, 25324, 45385, 34725, 49366, 3261, 41065, 63838, 63868, 23479, 35036, 12204, 61492, 19476, 60146, 9741, 61013, 21995, 16163, 32324, 31149, 5612, 50295, 9066, 41594, 3669, 8247, 44652, 11000, 44052, 57, 56404, 3840, 45443, 25593, 53206, 48704, 1123, 51508, 47037, 24603, 21008, 59241, 20559, 40485, 53851, 30301, 35963, 10311, 46465, 2751, 41461, 52077, 53047, 50527, 28135, 56717, 58775, 7252, 2182, 37291, 7309, 58586, 41131, 52753, 18644, 28802, 35922, 19767, 14775, 17423, 44371, 35784, 11128, 64931, 10734, 64980, 29696, 46697, 9756, 10626, 49449, 51217, 36961, 36209, 25303, 28142, 29448, 32555, 30324, 1204, 39865, 23375, 42336, 27082, 42020, 5602, 63004, 61788, 20378, 14892, 40623, 56162, 26021, 40018, 1360, 25466, 4179, 48058, 35222, 14805, 31971, 20903, 11973, 3396, 57112, 37276, 31539, 21025, 4295, 61864, 22230, 44161, 19704, 64566, 5707, 61724, 4633, 3176, 57977, 25011, 18069, 33064, 15638, 44090, 7547, 16998, 4020, 11727, 65056, 39242, 26532, 31492, 38506, 34888, 51723, 10246, 891, 7213, 14542, 62756, 29443, 58703, 16924, 28473, 64411, 13112, 33107, 2052, 5554, 58118, 20121, 38618, 8220, 64212, 46166, 25219, 2696, 57893, 24740 ], [ 41939, 18890, 56232, 36549, 57396, 25584, 22736, 2106, 26476, 29949, 16648, 23697, 59393, 9816, 40621, 22331, 8691, 53734, 55438, 10743, 59288, 48021, 30865, 32371, 56242, 29541, 13001, 15925, 32237, 5358, 40666, 8641, 24249, 31362, 45191, 16109, 56947, 2391, 18216, 17887, 32341, 34864, 41584, 26199, 44680, 16670, 48530, 53372, 4868, 38432, 64115, 64156, 20918, 29445, 30992, 11624, 58986, 43993, 27550, 25688, 49352, 2680, 34329, 8065, 34042, 13984, 24174, 25454, 16376, 42391, 43342, 48718, 11719, 19390, 9381, 56400, 36061, 57911, 44237, 40929, 30808, 39550, 51726, 6725, 5006, 63351, 176, 49000, 25365, 25864, 32816, 28046, 60193, 40882, 62089, 8642, 65057, 22007, 25018, 41912, 65349, 8201, 53632, 19204, 17582, 44496, 55265, 9957, 23197, 30659, 40765, 478, 4674, 26956, 7204, 9681, 24771, 7380, 58681, 50137, 33245, 25962, 12647, 27903, 1308, 9200, 36545, 829, 31207, 61564, 42741, 31021, 4229, 30837, 50225, 21812, 9798, 39955, 31769, 32996, 5078, 6999, 33475, 9753, 33956, 40679, 19434, 58727, 48060, 12579, 43328, 15770, 38541, 55975, 43673, 39849, 65176, 14683, 30848, 10711, 17884, 61869, 14941, 48722, 46559, 36753, 58520, 20978, 2987, 25981, 26057, 9987, 59456, 35810, 43943, 34600, 55244, 37135, 17124, 2288, 14928, 32895, 40829, 5368, 11032, 15143, 5008, 25715, 55822, 35856, 36427, 8171, 32190, 51369, 56893, 13214, 22587, 49878, 34193, 25575, 10323, 60250, 35562, 4243, 30525, 13970, 38843, 20234, 51106, 55968, 22523, 498, 23327, 63352, 5866, 34360, 12960, 10874, 60076, 3247, 46731, 30967, 11418, 13386, 16801, 2776, 26600, 39388, 52654, 60793, 64963, 62978, 55508, 34990, 1686, 20498, 48960, 40530, 40733, 34530, 30962, 63256, 35029, 54290, 61073, 40895, 23115, 8497, 51770, 17655, 11744, 32966, 48622, 23162, 46352, 65423 ] ); } 1; namazu-2.0.21/pl/usage.pl0000644000000000000000000001124610365420317010577 # -*- Perl -*- # $Id: usage.pl,v 1.25.8.11 2006-01-24 12:42:55 opengl2772 Exp $ # Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. # Copyright (C) 2000-2006 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package usage; require "var.pl"; # dummy function. sub N_ { return $_[0]; } # # Fake "\n\" was removed because gettext 0.13 supports perl string. # (2004/03/04 knok) # $USAGE = N_("mknmz %s, an indexer of Namazu. Usage: mknmz [options] ... Target files: -a, --all target all files. -t, --media-type=MTYPE set the media type for all target files to MTYPE. -h, --mailnews same as --media-type='message/rfc822' --mhonarc same as --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE load FILE which contains a list of target files. --allow=PATTERN set PATTERN for file names which should be allowed. --deny=PATTERN set PATTERN for file names which should be denied. --exclude=PATTERN set PATTERN for pathnames which should be excluded. -e, --robots exclude HTML files containing -M, --meta handle HTML meta tags for field-specified search. -r, --replace=CODE set CODE for replacing URI. --html-split split an HTML file with anchors. --mtime=NUM limit by mtime just like find(1)'s -mtime option. e.g., -50 for recent 50 days, +50 for older than 50. Morphological Analysis: -b, --use-mecab use MeCab for analyzing Japanese. -c, --use-chasen use ChaSen for analyzing Japanese. -k, --use-kakasi use KAKASI for analyzing Japanese. -m, --use-chasen-noun use ChaSen for extracting only nouns. -L, --indexing-lang=LANG index with language specific processing. Text Operations: -E, --no-edge-symbol remove symbols on edge of word. -G, --no-okurigana remove Okurigana in word. -H, --no-hiragana ignore words consist of Hiragana only. -K, --no-symbol remove symbols. --decode-base64 decode base64 bodies within multipart entities. Summarization: -U, --no-encode-uri do not encode URI. -x, --no-heading-summary do not make summary with HTML's headings. Index Construction: --update=INDEX set INDEX for updating. -z, --check-filesize detect file size changed. -Y, --no-delete do not detect removed documents. -Z, --no-update do not detect update and deleted documents. Miscellaneous: -s, --checkpoint turn on the checkpoint mechanism. -C, --show-config show the current configuration. -f, --config=FILE use FILE as a config file. -I, --include=FILE include your customization FILE. -O, --output-dir=DIR set DIR to output the index. -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*. -q, --quiet suppress status messages during execution. -v, --version show the version of namazu and exit. -V, --verbose be verbose. -d, --debug be debug mode. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. "); ## ## Version information ## $VERSION_INFO = <open($fname)) { binmode($fh); } else { $fh = undef; } return $fh; } sub fclose ($) { my ($arg) = @_; if (ref $arg) { if ($arg =~ /^(IO::File|FileHandle)/) { my $fh = $arg; $fh->flush; cdie("write error: $!\n") if ($fh->error); $fh->close(); return undef; } } warn "$arg: " . _("not an IO::File/FileHandle object!\n"); return undef; } sub dprint (@) { if ($var::Opt{'debug'}) { for my $str (@_) { map {print STDERR '// ', $_, "\n"} split "\n", $str; } } } sub vprint (@) { if ($var::Opt{'verbose'} || $var::Opt{'debug'}) { for my $str (@_) { map {print STDERR '@@ ', $_, "\n"} split "\n", $str; } } } sub commas ($) { my ($num) = @_; $num = "0" if ($num eq ""); # 1 while $num =~ s/(.*\d)(\d\d\d)/$1,$2/; # from Mastering Regular Expressions $num =~ s<\G((?:^-)?\d{1,3})(?=(?:\d\d\d)+(?!\d))><$1,>g; $num; } # RFC 822 format sub rfc822time ($) { my ($time) = @_; my @week_names = ("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"); my @month_names = ("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime($time); return sprintf("%s, %.2d %s %d %.2d:%.2d:%.2d %s", $week_names[$wday], $mday, $month_names[$mon], $year + 1900, $hour, $min, $sec, time::gettimezone()); } sub readfile ($) { my ($arg) = @_; my $fh; if (ref $arg) { if ($arg =~ /^(IO::File|FileHandle)/) { $fh = $arg; } else { warn "$arg: " . _("not an IO::File/FileHandle object!\n"); return ''; } } else { $fh = efopen($arg); } my $cont = ""; my $size = -s $fh; # if ($size > $conf::FILE_SIZE_LIMIT) { # warn "$arg: too large!\n"; # return ''; # } read $fh, $cont, $size; unless (ref $arg) { fclose($fh); } return $cont; } sub writefile ($$) { my ($arg, $cont) = @_; my $fh; if (ref $arg) { if ($arg =~ /^(IO::File|FileHandle)/) { $fh = $arg; } else { warn "$arg: " . _("not an IO::File/FileHandle object!\n"); return undef; } } else { $fh = efopen("> $arg"); } print $fh $$cont; unless (ref $arg) { fclose($fh); } return undef; } sub filesize($) { my ($arg) = @_; my $fh; if (ref $arg) { if ($arg =~ /^(IO::File|FileHandle)/) { $fh = $arg; } else { warn "$arg: " . _("not an IO::File/FileHandle object!\n"); return ''; } } else { $fh = fopen($arg) || return 0; # in case file is removed after find_file # 2.0.7 had problem } my $size = -s $fh; unless (ref $arg) { fclose($fh); } return $size; } # checklib ... check existence of library file sub checklib ($) { my $libfile = shift; for my $path (@INC) { my $cpath = "$path/$libfile"; return 1 if -e $cpath; } return 0; } # checkcmd ... check command path sub checkcmd ($) { my $cmd = shift; my $pd = ':'; $pd = ';' if (($English::OSNAME eq "MSWin32") || ($English::OSNAME eq "os2")); for my $dir (split(/$pd/, $ENV{'PATH'})) { next if ($dir eq ''); win32_yen_to_slash(\$dir); return "$dir/$cmd" if (-x "$dir/$cmd" && ! -d "$dir/$cmd"); return "$dir/$cmd.com" if (-x "$dir/$cmd.com" && (($English::OSNAME eq "MSWin32") || ($English::OSNAME eq "os2"))); return "$dir/$cmd.exe" if (-x "$dir/$cmd.exe" && (($English::OSNAME eq "MSWin32") || ($English::OSNAME eq "os2"))); return "$dir/$cmd.bat" if (-x "$dir/$cmd.bat" && ($English::OSNAME eq "MSWin32")); return "$dir/$cmd.cmd" if (-x "$dir/$cmd.cmd" && ($English::OSNAME eq "os2")); } return undef; } # tmpnam ... make temporary file name sub tmpnam ($) { my ($base) = @_; cdie("util::tmpnam: Set \$var::OUTPUT_DIR first!\n") if $var::OUTPUT_DIR eq ""; my $tmpnam = "$var::OUTPUT_DIR/$base.tmp"; dprint("tmpnam: $tmpnam\n"); return $tmpnam; } # cdie ... clean files before die sub cdie (@) { my (@msgs) = @_; remove_tmpfiles(); print STDERR "mknmz: ", @msgs; print STDERR "\n" unless $msgs[$#msgs] =~ /\n$/; exit 2; } # remove_tmpfiles ... remove temporary files which mknmz would make sub remove_tmpfiles () { return unless defined $var::OUTPUT_DIR; my @list = glob "$var::OUTPUT_DIR/NMZ.*.tmp"; push @list, $var::NMZ{'err'} if -z $var::NMZ{'err'}; # if size == 0 push @list, $var::NMZ{'lock'} if -f $var::NMZ{'lock'}; push @list, $var::NMZ{'lock2'} if -f $var::NMZ{'lock2'}; dprint(_("Remove temporary files:"), @list); unlink @list; } sub set_lang () { for my $cand (("LANGUAGE", "LC_ALL", "LC_MESSAGES", "LANG")) { if (defined($ENV{$cand})) { $util::LANG_MSG = $ENV{$cand}; last; } } for my $cand (("LC_ALL", "LC_CTYPE", "LANG")) { if (defined($ENV{$cand})) { $util::LANG = $ENV{$cand}; last; } } # print "LANG: $util::LANG\n"; } sub islang_msg($) { my ($lang) = @_; if ($util::LANG_MSG =~ /^$lang/) { # prefix matching return 1; } else { return 0; } } sub islang($) { my ($lang) = @_; if ($util::LANG =~ /^$lang/) { # prefix matching return 1; } else { return 0; } } sub assert($$) { my ($bool, $msg) = @_; if (!$bool) { die _("ASSERTION ERROR!: ")."$msg"; } } # Since it is an old subroutine, it is prohibition of use. # It exists only for back compatibility. sub systemcmd { if ($English::OSNAME eq "MSWin32" || $English::OSNAME eq "os2") { my @args = (); foreach my $tmp (@_) { $tmp =~ s!/!\\!g; push @args, $tmp; } system(@args); } else { system(@_); } } sub syscmd(%) { my $status = undef; my %arg = @_; my @args = @{$arg{command}} if (defined $arg{command}); my %option = %{$arg{option}} if (defined $arg{option}); my %env = %{$arg{env}} if (defined $arg{env}); dprint(_("Invoked: ") . join(' ', @args)); # default option $option{stdout} = '/dev/null' unless(defined $option{stdout}); $option{stderr} = '/dev/null' unless(defined $option{stderr}); $option{mode_stdout} = 'wt' unless(defined $option{mode_stdout}); $option{mode_stderr} = 'wt' unless(defined $option{mode_stderr}); $option{maxsize} = -1 unless(defined $option{maxsize}); my $handle_out = undef; my $handle_err = undef; if (ref $option{stdout}) { if ($option{stdout} =~ /^(IO::File|FileHandle)/) { $handle_out = $option{stdout}; } } if (ref $option{stderr}) { if ($option{stderr} =~ /^(IO::File|FileHandle)/) { $handle_err = $option{stderr}; } } my $same = 0; if ($option{stdout} eq $option{stderr}) { $same = 1; } my $mode_stdout; my $mode_stderr; if ($option{mode_stdout} =~ /^w/i) { $mode_stdout = '>'; } elsif ($option{mode_stdout} =~ /^a/i) { $mode_stdout = '>>'; } else { warn "unknown mode. : " . quotemeta($option{mode_stdout}); $mode_stdout = '>>'; } if ($option{mode_stderr} =~ /^w/i) { $mode_stderr = '>'; } elsif ($option{mode_stderr} =~ /^a/i) { $mode_stderr = '>>'; } else { warn "unknown mode. : " . quotemeta($option{mode_stderr}); $mode_stderr = '>>'; } my $text_stdout = undef; my $text_stderr = undef; if ($option{mode_stdout} =~ /^.t/i) { $text_stdout = 1; } if ($option{mode_stderr} =~ /^.t/i) { $text_stderr = 1; } if ($English::OSNAME eq "MSWin32" || $English::OSNAME eq "os2") { foreach my $arg (@args) { $arg =~ s!/!\\!g; } if ($args[0] =~ m/\.bat$/i) { my $conts = util::readfile($args[0]); codeconv::normalize_document(\$conts); if ($conts =~ m/^\@rem\s=\s'--\*-Perl-\*--/i) { @args = ("perl", @args); } else { my $comspec = "cmd"; $comspec = $ENV{'COMSPEC'} if (defined $ENV{'COMSPEC'}); if ($comspec =~ m/command\.com$/i) { $comspec = pltests::checkcmd('win95cmd.exe'); unless (defined $comspec) { cdie 'win95cmd.exe not found.'; } $ENV{'COMSPEC'} = $comspec; } @args = ($comspec, "/d", "/x", "/c", @args); } } } my $fh_out = undef; my $fh_err = undef; if (defined $handle_out) { $fh_out = $handle_out; } else { $fh_out= IO::File->new_tmpfile(); } if ($same) { $fh_err = $fh_out; } else { if (defined $handle_err) { $fh_err = $handle_err; } else { $fh_err = IO::File->new_tmpfile(); } } { my $saveout = new IO::File (">&" . STDOUT->fileno()) or cdie "Can't dup STDOUT: $!"; my $saveerr = new IO::File (">&" . STDERR->fileno()) or cdie "Can't dup STDERR: $!"; STDOUT->fdopen($fh_out->fileno(), 'w') or cdie "Can't open fh_out: $!"; STDERR->fdopen($fh_err->fileno(), 'w') or cdie "Can't open fh_out: $!"; # backup $ENV{} my %backup; my ($key, $value); while(($key, $value) = each %env) { $backup{$key} = $ENV{$key}; if (defined $value) { $ENV{$key} = $value; } else { delete $ENV{$key}; } } dprint(_("Invoked: ") . join(' ', @args)); # Use an indirect object: see Perl Cookbook Recipe 16.2 in detail. $status = system { $args[0] } @args; # restore $ENV{} while(($key, $value) = each %env) { if (defined $backup{$key}) { $ENV{$key} = $backup{$key}; } else { delete $ENV{$key}; } } STDOUT->fdopen($saveout->fileno(), 'w') or cdie "Can't restore saveout: $!"; STDERR->fdopen($saveerr->fileno(), 'w') or cdie "Can't restore saveerr: $!"; } # Note that the file position of filehandles must be rewinded. $fh_out->seek(0, SEEK_SET) or cdie "seek: $!"; $fh_err->seek(0, SEEK_SET) or cdie "seek: $!"; if (!defined $handle_out) { if (ref($option{stdout}) ne 'SCALAR') { if ($option{stdout} eq '/dev/null') { $fh_out->close(); } else { my $conts_out = ""; my $size = -s $fh_out; read $fh_out, $conts_out, $size; $fh_out->close(); codeconv::normalize_nl(\$conts_out) if (defined $text_stdout); my $file = $option{stdout}; if ($English::OSNAME eq "MSWin32" || $English::OSNAME eq "os2") { $file =~ s!/!\\!g; } if (!open(OUT, "$mode_stdout$file")) { warn "Can not open file. : $file"; return (1); } print OUT $conts_out; close(OUT); } } else { my $conts_out = $option{stdout}; my $size = -s $fh_out; read $fh_out, $$conts_out, $size; $fh_out->close(); codeconv::normalize_nl($conts_out) if (defined $text_stdout); } } if (!(defined $handle_err || $same)) { if (ref($option{stderr}) ne 'SCALAR') { if ($option{stderr} eq '/dev/null') { $fh_err->close(); } else { my $conts_err = ""; my $size = -s $fh_err; read $fh_err, $conts_err, $size; $fh_err->close(); codeconv::normalize_nl(\$conts_err) if (defined $text_stderr); my $file = $option{stderr}; if ($English::OSNAME eq "MSWin32" || $English::OSNAME eq "os2") { $file =~ s!/!\\!g; } if (!open(OUT, "$mode_stderr$file")) { warn "Can not open file. : $file"; return (1); } print OUT $conts_err; close(OUT); } } else { my $conts_err = $option{stderr}; my $size = -s $fh_err; read $fh_err, $$conts_err, $size; $fh_err->close(); codeconv::normalize_nl($conts_err) if (defined $text_stderr); } } return ($status); } # Returns a string representation of the null device. # We can use File::Spec->devnull() on Perl-5.6, instead. sub devnull { if ($English::OSNAME eq "MSWin32") { return "nul"; } elsif ($English::OSNAME eq "os2") { return "/dev/nul"; } elsif ($English::OSNAME eq "MacOS") { return "Dev:Null"; } elsif ($English::OSNAME eq "VMS") { return "_NLA0:"; } else { # Unix return "/dev/null"; } } # convert \ to / with consideration for Shift_JIS Kanji code sub win32_yen_to_slash ($) { my ($filenameref) = @_; if (($English::OSNAME eq "MSWin32") || ($English::OSNAME eq "os2")) { $$filenameref =~ s!([\x81-\x9f\xe0-\xef][\x40-\x7e\x80-\xfc]|[\x01-\x7f])! $1 eq "\\" ? "/" : $1!gex; } } # Substitution of "-r" that doesn't correspond to ACL of NTFS sub canopen($) { my ($file) = @_; my $fh; return (-r $file) if ($English::OSNAME ne "MSWin32"); $fh = new IO::File $file, "r"; return 0 if (!defined $fh); $fh->close(); return 1; } 1; namazu-2.0.21/pl/var.pl0000644000000000000000000000727311611035165010266 # -*- Perl -*- # $Id: var.pl.in,v 1.12.8.4 2009-01-29 02:29:00 opengl2772 Exp $ # Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. # Copyright (C) 2000-2009 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package var; #----------------------------------------------------------- # # Software information. # $VERSION = "2.0.21"; $COPYRIGHT = "Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved.\nCopyright (C) 2000-2011 Namazu Project All rights reserved."; # should be doublequote $MAILING_ADDRESS = 'bug-namazu@namazu.org'; $TRAC_URI = 'http://www.namazu.org/trac-namazu/trac.cgi'; #----------------------------------------------------------- # # File names of index files. # my $base = "NMZ"; %NMZ = (); $NMZ{'i'} = "$base.i"; $NMZ{'ii'} = "$base.ii"; $NMZ{'r'} = "$base.r"; $NMZ{'head'} = "$base.head"; $NMZ{'foot'} = "$base.foot"; $NMZ{'log'} = "$base.log"; $NMZ{'slog'} = "$base.slog"; $NMZ{'lock'} = "$base.lock"; $NMZ{'lock2'} = "$base.lock2"; $NMZ{'msg'} = "$base.msg"; $NMZ{'body'} = "$base.body"; $NMZ{'err'} = "$base.err"; $NMZ{'w'} = "$base.w"; $NMZ{'wi'} = "$base.wi"; $NMZ{'p'} = "$base.p"; $NMZ{'pi'} = "$base.pi"; $NMZ{'field'} = "$base.field"; $NMZ{'result'} = "$base.result"; $NMZ{'t'} = "$base.t"; $NMZ{'status'} = "$base.status"; $NMZ{'tips'} = "$base.tips"; $NMZ{'version'}= "$base.version"; $NMZ{'_t'} = $NMZ{'t'}; $NMZ{'_i'} = $NMZ{'i'}; $NMZ{'_p'} = $NMZ{'p'}; $NMZ{'_pi'} = $NMZ{'pi'}; $NMZ{'_r'} = $NMZ{'r'}; $NMZ{'_ii'} = $NMZ{'ii'}; $NMZ{'_w'} = $NMZ{'w'}; $NMZ{'_wi'} = $NMZ{'wi'}; $NMZ{'_flist'} = "$base.flist"; $NMZ{'_checkpoint'} = "$base.checkpoint"; $NMZ{'__i'} = "$base.tmp_i"; $NMZ{'__w'} = "$base.tmp_w"; $NMZ{'__p'} = "$base.tmp_p"; $NMZ{'__pi'} = "$base.tmp_pi"; #----------------------------------------------------------- # # Options # $Opt{'debug'} = 0; $Opt{'quiet'} = 0; $Opt{'verbose'} = 0; $Opt{'robotexclude'} = 0; $Opt{'htaccessexclude'} = 0; $Opt{'htmlsplit'} = 0; $Opt{'uuencode'} = 0; $Opt{'noheadabst'} = 0; $Opt{'hiragana'} = 0; $Opt{'okurigana'} = 0; $Opt{'noedgesymbol'} = 0; $Opt{'nosymbol'} = 0; $Opt{'noencodeuri'} = 0; $Opt{'nodelete'} = 0; $Opt{'noupdate'} = 0; $Opt{'checkfilesize'} = 0; $Opt{'decodebase64'} = 0; #----------------------------------------------------------- # # Size of `int' # { my $tmp = 0; $tmp = pack("i", $tmp); $INTSIZE = length($tmp); } #----------------------------------------------------------- # # Misc # $OUTPUT_DIR = undef; $NO_TITLE = N_("No title in original"); $USE_NKF_MODULE = 0; %REQUIRE_ACTIONS = (); %RECURSIVE_ACTIONS = (); %REQUIRE_PRE_CODECONV = ( 'text/plain' => 1, ); %REQUIRE_POST_CODECONV = ( 'text/plain' => 0, ); %Supported = ( 'text/plain' => "yes", ); # Dummy function for gettextization. sub N_ {}; 1; namazu-2.0.21/pl/wakati.pl0000644000000000000000000001106111140115761010742 # # -*- Perl -*- # $Id: wakati.pl,v 1.9.8.10 2009-01-28 17:54:57 opengl2772 Exp $ # Copyright (C) 1997-1999 Satoru Takabayashi All rights reserved. # Copyright (C) 2000-2009 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package wakati; use strict; # Do wakatigaki processing for a Japanese text. sub wakatize_japanese ($) { my ($content) = @_; my @tmp = wakatize_japanese_sub($content); # Remove words consists of only Hiragana characters # when -H option is specified. # Original of this code was contributed by . # [1997-11-13] # And do Okurigana processing. [1998-04-24] if ($var::Opt{'hiragana'} || $var::Opt{'okurigana'}) { for (my $ndx = 0; $ndx <= $#tmp; ++$ndx) { $tmp[$ndx] =~ s/(\s)/ $1/g; $tmp[$ndx] = ' ' . $tmp[$ndx]; if ($var::Opt{'okurigana'}) { $tmp[$ndx] =~ s/((?:[^\xa4][\xa1-\xfe])+)(?:\xa4[\xa1-\xf3])+ /$1 /g; } if ($var::Opt{'hiragana'}) { $tmp[$ndx] =~ s/ (?:\xa4[\xa1-\xf3])+ //g; } } } # Collect only noun words when -m option is specified. if ($var::Opt{'noun'}) { $$content = ""; $$content .= shift(@tmp) =~ /(.+ )\xcc\xbe\xbb\xec/ ? $1 : "" while @tmp; # noun (meisi) in Japanese "cc be bb ec" } else { $$content = join("\n", @tmp); } $$content =~ s/^\s+//gm; $$content =~ s/\s+$//gm; $$content =~ s/ +/ /gm; $$content .= "\n"; util::dprint(_("-- wakatized content --\n")."$$content\n"); } sub wakatize_japanese_sub ($) { my ($content) = @_; my $str = ""; my @tmp = (); if ($conf::WAKATI =~ /^module_(\w+)/) { my $module = $1; if ($module eq "kakasi") { $str = $$content; $str =~ s/([\x80-\xff]+)/{my $text = Text::Kakasi::do_kakasi($1); " $text ";}/ge; } elsif ($module eq "chasen") { if ($var::Opt{'noun'}) { $str = Text::ChaSen::sparse_tostr_long($$content); } else { $str = $$content; $str =~ s/([\x80-\xff]+)/{my $text = Text::ChaSen::sparse_tostr_long($1); " $text ";}/ge; } } elsif ($module eq "mecab") { use vars qw($t); if (!defined $t) { require MeCab; import MeCab; eval '$t = new MeCab::Tagger("-Owakati");' or $t = new MeCab::Tagger([qw(mecab -O wakati)]); } END { $t->DESTROY() if defined $t; }; $str = $$content; $str =~ s/([\x80-\xff]+)/{my $s = $1; my $text = $t->parse($s); " $text ";}/ge; } else { util::cdie(_("invalid wakati module: ")."$module\n"); } util::dprint(_("-- wakatized bare content --\n")."$str\n\n"); @tmp = split('\n', $str); } else { my $tmpfile = util::tmpnam("NMZ.wakati"); util::dprint(_("wakati: using ")."$conf::WAKATI\n"); # Don't use IPC::Open2 because it's not efficent. if ($var::Opt{'noun'}) { my $fh_wakati = util::efopen("|$conf::WAKATI > $tmpfile"); print $fh_wakati $$content; util::fclose($fh_wakati); } else { $str = $$content; my $redirect = ">"; while(1) { if ($str =~ s/^([\x80-\xff]+)//s) { my $fh_wakati = util::efopen("|$conf::WAKATI $redirect $tmpfile"); print $fh_wakati " $1\n"; util::fclose($fh_wakati); } elsif ($str =~ s/^([\x00-\x7f]+)//s) { my $fh_wakati = util::efopen("$redirect $tmpfile"); print $fh_wakati " $1 "; util::fclose($fh_wakati); } else { last; } $redirect = ">>"; } } { my $fh_wakati = util::efopen($tmpfile); @tmp = <$fh_wakati>; chomp @tmp; util::fclose($fh_wakati); } unlink $tmpfile; } return @tmp; } 1; namazu-2.0.21/pl/time.pl0000644000000000000000000001750511140116332010424 # # -*- Perl -*- # $Id: time.pl,v 1.5.2.5 2009-01-28 17:58:50 opengl2772 Exp $ # Copyright (C) 2004-2009 Tadamasa Teranishi # 2004-2009 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package time; use strict; use Time::Local; # # get timezone : # time::gettimezone() or time::timezone(-timelocal(gmtime(0))) # # 'JST' -> '+0900' : # my $zone = time::timezone($zone{'JST'} * 3600); # # ctime -> rfc822time : # my $time = "Sun Jan 11 16:38:39 2004"; # my $err = time::ctime_to_rfc822time(\$time); # # "15 Jan 2004 05:09 JST" -> "Thu, 15 Jan 2004 05:09:00 +0900" : # my $time = "15 Jan 2004 05:09 JST"; # my $err = time::normalize_rfc822time(\$time); # # rfc822time -> mtime : # my $mtime = rfc822time_to_mtime("15 Jan 2004 05:09 +0900"); # my %zone = ( "UT" => 0, "GMT" => 0, "EST" => -5, "EDT" => -4, "CST" => -6, "CDT" => -5, "MST" => -7, "MDT" => -6, "PST" => -8, "PDT" => -7, "JST" => +9, # illegal timezone "A" => +1, "B" => +2, "C" => +3, "D" => +4, "E" => +5, "F" => +6, "G" => +7, "H" => +8, "I" => +9, "K" => +10, "L" => +11, "M" => +12, "N" => -1, "O" => -2, "P" => -3, "Q" => -4, "R" => -5, "S" => -6, "T" => -7, "U" => -8, "V" => -9, "W" => -10, "X" => -11, "Y" => -12, "Z" => 0, "a" => +1, "b" => +2, "c" => +3, "d" => +4, "e" => +5, "f" => +6, "g" => +7, "h" => +8, "i" => +9, "k" => +10, "l" => +11, "m" => +12, "n" => -1, "o" => -2, "p" => -3, "q" => -4, "r" => -5, "s" => -6, "t" => -7, "u" => -8, "v" => -9, "w" => -10, "x" => -11, "y" => -12, "z" => 0, ); my %wday_names = ( "Sun" => 0, "Mon" => 1, "Tue" => 2, "Wed" => 3, "Thu" => 4, "Fri" => 5, "Sat" => 6 ); my %month_names = ( "Jan" => 0, "Feb" => 1, "Mar" => 2, "Apr" => 3, "May" => 4, "Jun" => 5, "Jul" => 6, "Aug" => 7, "Sep" => 8, "Oct" => 9, "Nov" => 10, "Dec" => 11 ); my $re_wday = join '|', keys %wday_names; my $re_month = join '|', keys %month_names; my $re_day = '(?:0?[1-9]|[12][0-9]|3[01])'; my $re_year = '(?:\d{4}|\d{2})'; # allow 2 digit fomrat my $re_hour = '(?:[01][0-9]|2[0-3])'; my $re_min = '(?:[0-5][0-9])'; my $re_sec = '(?:[0-5][0-9])'; sub timezone ($) { my ($time) = @_; my $hour = int($time / 3600); my $min = abs(int(($time - $hour * 3600) / 60)); my $timezone = sprintf("%+2.2d%2.2d", $hour, $min); return $timezone; } sub gettimezone { return timezone(timelocal(localtime(1000000)) - timelocal(gmtime(1000000))); } sub getwday { my ($year, $month, $day) = @_; if ($month == 1 or $month == 2) { $year--; $month += 12; } return ($year + int($year / 4) - int($year/100) + int($year / 400) + int((13 * $month + 8) / 5) + $day) % 7; } sub normalize_rfc822timezone ($) { my ($timezone) = @_; if ($timezone =~ /^(JST)$/) { # convert illegal timezone. # "JST" -> "+0900" return timezone($zone{"$1"} * 3600); } elsif ($timezone eq "+0000") { # convert "+0000" -> "GMT" return "GMT"; } elsif ($timezone =~ /^[+-]\d{2}[0-5][0-9]$/) { # ( ("+" / "-") 4DIGIT ) return $timezone; } elsif (exists $zone{$timezone}) { return $timezone; } else { return "-0000"; } } sub ctime_to_rfc822time ($) { my ($conf) = @_; my $ctime = $$conf; if ($ctime =~ / ^\s* ($re_wday)\s+ # a day of the week ($re_month)\s+ # name of month ($re_day)\s+ # a day of the month ($re_hour):($re_min):($re_sec)\s+ # HH:MM:SS (\d{4})\s* # year /x) { my ($week, $month, $day, $hour, $min, $sec, $year) = ($1, $2, $3, $4, $5, $6, $7); my $timezone = gettimezone(); $$conf = sprintf("%s, %2.2d %s %d %2.2d:%2.2d:%2.2d %s\n", $week, $day, $month, $year, $hour, $min, $sec, $timezone); return undef; } return "Illegal format."; } sub normalize_rfc822time ($) { my ($datetime) = @_; if ($$datetime =~ / ^\s* (?:($re_wday),\s+)? # (a day of the week (ignored)) ($re_day)\s+ # a day of the month ($re_month)\s+ # name of month ($re_year)\s+ # year ($re_hour):($re_min)(?::($re_sec))? # HH:MM(:SS) (?:\s+([^\s]*))?\s* # (timezone) /x) { my ($mday, $month_name, $year, $hour, $min, $sec, $timezone) = ($2, $3, $4, $5, $6, $7, $8); $timezone = gettimezone() unless($timezone); $timezone = normalize_rfc822timezone($timezone); return "unknown timezone." if ($timezone eq "-0000"); my $month = $month_names{$month_name}; my $wday_name = ("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat") [getwday($year, $month + 1, $mday)]; $year += 2000 if ($year < 50); $year += 1900 if (50 <= $year && $year <= 99); $sec = 0 unless($sec); $$datetime = sprintf("%s, %2.2d %s %4.4d %2.2d:%2.2d:%2.2d %s", $wday_name, $mday, $month_name, $year, $hour, $min, $sec, $timezone); return undef; } return "Illegal format."; } sub rfc822time_to_mtime ($) { my ($datetime) = @_; my $err = time::normalize_rfc822time(\$datetime); return -1 if ($err); if ($datetime =~ / ^\s* (?:($re_wday),\s+)? # (a day of the week (ignored)) ($re_day)\s+ # a day of the month ($re_month)\s+ # name of month ($re_year)\s+ # year ($re_hour):($re_min)(?::($re_sec))? # HH:MM(:SS) (?:\s+([^\s]*))?\s* # (timezone) /x) { my ($mday, $month_name, $year, $hour, $min, $sec, $timezone) = ($2, $3, $4, $5, $6, $7, $8); $timezone = time::gettimezone() unless($timezone); $timezone = time::normalize_rfc822timezone($timezone); return -1 if ($timezone eq "-0000"); $sec = 0 unless($sec); my $month = $month_names{$month_name}; $year += 2000 if ($year < 50); $year += 1900 if (50 <= $year && $year <= 99); return -1 if ($year >= 2038); my $mtime; eval { $mtime = timegm($sec, $min, $hour, $mday, $month, $year); } || return -1; my $offset; if ($timezone =~ /([+-])(\d{2})([0-5][0-9])/) { $offset = ($2 * 60 + $3) * 60; $offset = - $offset if ($1 eq "-"); } else { $offset = $zone{$timezone} * 3600; } return $mtime - $offset; } else { return -1; # return with error } } 1; namazu-2.0.21/pl/document.pl0000644000000000000000000002540611140360475011314 # # -*- Perl -*- # document.pl - class for document # # $Id: document.pl,v 1.4.2.4 2009-01-29 17:02:53 opengl2772 Exp $ # # Copyright (C) 2004 Yukio USUDA All rights reserved. # Copyright (C) 2000-2009 Namazu Project All rights reversed. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA package mknmz::document; use strict; use English; use File::Copy; require 'gfilter.pl'; require 'filter.pl'; require 'gettext.pl'; use File::MMagic; my $Magic = new File::MMagic; my $Filter = undef; sub new { my $self = {}; my $proto = shift @_; my $class = ref($proto) || $proto; bless($self, $class); return $self; } sub init { my $self = shift @_; unless ($Filter) { $Filter = mknmz::filter->new(); $Filter->init($Magic); } } sub init_doc { my $self = shift @_; $self->{'_uri'} = shift @_; $self->{'_orig_filename'} = shift @_; $self->{'_contentref'} = shift @_; $self->{'_mimetype'} = shift @_; $self->{'_filename'} = undef; $self->{'_filtered'} = undef; $self->{'_weighted_str'} = undef; $self->{'_headings'} = undef; $self->{'_errmsg'} = undef; $self->{'_field_info'} = { 'author' => '', 'title' => '' }; $self->_check_content(); $self->{'_mimetype'} = $self->get_mimetype(); } sub get_file_size { my $self = shift @_; return $self->{'_field_info'}{'size'}; } sub get_text_size { my $self = shift @_; unless ($self->{'_filtered'}) { $self->get_filtered_contentref(); } my $text_size = 0; if ($self->{'_contentref'}) { # Measure the text size after apply filter. $text_size = length(${$self->{'_contentref'}}) + length($self->{'_weighted_str'}); } return $text_size; } sub is_contain_kanji { my $self = shift @_; my $kanji = ${$self->{'_contentref'}} =~ tr/\xa1-\xfe/\xa1-\xfe/; $kanji += $self->{'_weighted_str'} =~ tr/\xa1-\xfe/\xa1-\xfe/; return $kanji; } sub get_field_info { my $self = shift @_; my $fieldname = shift @_; unless ($self->{'_filtered'}) { $self->get_filtered_contentref(); } return $self->{'_field_info'}{$fieldname}; } sub get_fields { my $self = shift @_; unless ($self->{'_filtered'}) { $self->get_filtered_contentref(); } return %{$self->{'_field_info'}}; } sub get_orig_filename { my $self = shift @_; return $self->{'_orig_filename'}; } sub get_filename { my $self = shift @_; unless ( $self->{'_filename'}) { my $tmp = ""; my $orig_filename = $self->get_orig_filename(); $self->{'_filename'} = gfilter::filename_to_title($orig_filename, $tmp) } return $self->{'_filename'}; } sub get_uri { my $self = shift @_; my $replace_uri = @_; unless ($self->{'_uri'}) { my $orig_filename = $self->get_orig_filename(); } return $self->{'_uri'}; } sub get_errmsg { my $self = shift @_; return $self->{'_errmsg'}; } sub get_filtered_contentref { my $self = shift @_; unless ($self->{'_filtered'}) { my $mtype = $self->get_mimetype(); my $content_encode = $self->get_content_encode(); my ($weighted_str, $headings) = $Filter->apply_filter(\$self->{'_orig_filename'}, $self->{'_contentref'}, $mtype, $content_encode, \$self->{'_field_info'}, ); if ($weighted_str eq 0) { ${$self->{'_contentref'}} = ""; $mtype = $headings; } $self->{'_weighted_str'} = $weighted_str; $self->{'_headings'} = $headings; $self->{'_filtered'} = 'yes'; $self->{'_errmsg'} = _check_file($self->{'_orig_filename'}, $self->get_file_size(), $self->get_text_size(), $mtype, $self->get_uri()); } return $self->{'_contentref'}; } sub get_mimetype { my $self = shift @_; unless ($self->{'_mimetype'}) { $self->{'_mimetype'} = _guess_mimetype($self->{'_orig_filename'}, $self->{'_contentref'}); } return $self->{'_mimetype'}; } sub get_weighted_str { my $self = shift @_; return $self->{'_weighted_str'}; } sub get_headings { my $self = shift @_; return $self->{'_headings'}; } sub get_mtime { my $self = shift @_; my $mtime = (stat($self->{'_orig_filename'}))[9] unless util::isurl($self->{'_orig_filename'}); $self->{'_field_info'}{'mtime'} = $mtime; return $self->{'_field_info'}{'mtime'}; } sub get_content_encode { my $self = shift @_; unless ($self->{'_content_encode'}) { my $mimetype = $self->get_mimetype; if ($mimetype eq "text/html") { } } return $self->{'_content_encode'}; } sub get_filter { my $self = shift @_; return $Filter; } sub get_mmagic { my $self = shift @_; return $Magic; } sub get_info { my $self = shift @_; my $name = shift @_; if ($name eq 'mmagic_ver') { return "$File::MMagic::VERSION" if $File::MMagic::VERSION; return ""; } } ############################################################# # # Decide the media type. # FIXME: Very ad hoc. It's just a compromise. -- satoru # sub _decide_type ($$) { my ($name, $cont) = @_; return $name if (!defined $cont || $name eq $cont); util::dprint("decide_type: name: $name, cont: $cont\n"); if ($cont =~ m!^text/plain! && $name =~ m!^text/plain!) { return $name; } elsif ($cont =~ m!^application/octet-stream! && $name !~ m!^text/!) { return $name; } elsif ($cont =~ m!^application/(excel|powerpoint|msword)! && $name !~ m!^application/octet-stream!) { # FIXME: Currently File::MMagic 1.02's checktype_data() # is unreliable for them. return $name; } elsif ($cont =~ m!^application/x-zip! && $name =~ m!^application/!) { # zip format is used other applications e.g. OpenOffice. # It is necessary to add to check extention. return $name; } return $cont; } sub _guess_mimetype ($$) { my ($cfile, $contref) = @_; my $mtype; my $called_dt = 0; { my $mtype_n = $Magic->checktype_byfilename($cfile); my $mtype_c = $Magic->checktype_data($$contref); my $mtype_m; $mtype_m = $Magic->checktype_magic($$contref) if ((!defined $mtype_c) || $mtype_c =~ /^(text\/html|text\/plain|application\/octet-stream)$/); $mtype_c = $mtype_m if (defined $mtype_m && $mtype_m !~ /^(text\/html|text\/plain|application\/octet-stream)$/); $mtype_c = 'text/plain' unless defined $mtype_c; if ($called_dt) { $mtype = $mtype_c; } else { $mtype = _decide_type($mtype_n, $mtype_c); $called_dt = 1; } } util::dprint(_("Detected type: ")."$mtype\n"); return $mtype; } sub _check_content { my $self = shift @_; my $file_size; if (!defined ${$self->{'_contentref'}}) { my $cfile = $self->{'_orig_filename'}; # for handling a filename which contains Shift_JIS code for Windows. # for handling a filename which contains including space. if (($cfile =~ /\s/) || ($English::OSNAME eq "MSWin32" && $cfile =~ /[\x81-\x9f\xe0-\xef][\x40-\x7e\x80-\xfc]|[\x20\xa1-\xdf]/)) { my $tmpfile = util::tmpnam("NMZ.win32"); unlink $tmpfile if (-e $tmpfile); copy($self->{'_orig_filename'}, $tmpfile); $file_size = util::filesize($tmpfile); # not only file in feature. if ($file_size > $conf::FILE_SIZE_MAX) { $self->{'_errmsg'} = _("is larger than your setup before filtered, skipped: ") . 'conf::FILE_SIZE_MAX (' . $conf::FILE_SIZE_MAX . ') < '. $file_size ; $self->{'_mimetype'} = 'x-system/x-error; x-error=file_size_max'; unlink $tmpfile; return; } ${$self->{'_contentref'}} = util::readfile($tmpfile); unlink $tmpfile; } else { $file_size = util::filesize($cfile); # not only file in feature. if ($file_size > $conf::FILE_SIZE_MAX) { $self->{'_errmsg'} = _("is larger than your setup before filtered, skipped: ") . 'conf::FILE_SIZE_MAX (' . $conf::FILE_SIZE_MAX . ') < '. $file_size ; $self->{'_mimetype'} = 'x-system/x-error; x-error=file_size_max'; return; } ${$self->{'_contentref'}} = util::readfile($cfile); } } else { $file_size = length(${$self->{'_contentref'}}); } $self->{'_field_info'}{'size'} = $file_size; } # check the file. No $msg is good. # sub _check_file ($$$$$) { my ($cfile, $cfile_size, $text_size, $mtype, $uri) = @_; my $msg = undef; if ($mtype =~ /; x-system=unsupported$/) { $mtype =~ s/; x-system=unsupported$//; $msg = _("Unsupported media type ")."($mtype)"._(" skipped."); } elsif ($mtype =~ /; x-error=file_size_max/) { $msg = _("is larger than your setup before filtered, skipped: ") . 'conf::FILE_SIZE_MAX (' . $conf::FILE_SIZE_MAX . ') < '. $cfile_size ; } elsif ($mtype =~ /; x-error=.*$/) { $mtype =~ s/^.*; x-error=(.*)$/$1/; $msg = $mtype; } elsif ($mtype =~ /^x-system/) { $msg = _("system error occurred! ")."($mtype)"._(" skipped."); } elsif (! -e $cfile) { $msg = _("does NOT EXIST! skipped."); } elsif (! util::canopen($cfile)) { $msg = _("is NOT READABLE! skipped."); } elsif ($text_size == 0 || $cfile_size == 0) { $msg = _("is 0 size! skipped."); } elsif ($mtype =~ /^application\/octet-stream/) { $msg = _("may be a BINARY file! skipped."); } elsif ($cfile_size > $conf::FILE_SIZE_MAX) { $msg = _("is larger than your setup before filtered, skipped: ") . 'conf::FILE_SIZE_MAX (' . $conf::FILE_SIZE_MAX . ') < '. $cfile_size ; } elsif ($text_size > $conf::TEXT_SIZE_MAX) { $msg = _("is larger than your setup after filtered, skipped: ") . 'conf::TEXT_SIZE_MAX (' . $conf::TEXT_SIZE_MAX . ') < '. $text_size ; } return $msg; } 1; namazu-2.0.21/pl/filter.pl.in0000644000000000000000000001633711146475417011404 # # -*- Perl -*- # filter.pl - class for filter # # $Id: filter.pl.in,v 1.5.2.3 2009-02-17 08:53:35 opengl2772 Exp $ # # Copyright (C) 2004 Yukio USUDA All rights reserved. # Copyright (C) 2000-2004 Namazu Project All rights reversed. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA package mknmz::filter; use strict; use English; require 'util.pl'; require 'codeconv.pl'; require 'var.pl'; my $MMagic = undef; my %REQUIRE_ACTIONS = (); my %RECURSIVE_ACTIONS = (); my %REQUIRE_PRE_CODECONV = ('text/plain' => 1,); my %REQUIRE_POST_CODECONV = ('text/plain' => 0,); my %Supported = ('text/plain' => "yes",); my $PKGDATADIR = $ENV{'pkgdatadir'} || "@pkgdatadir@"; my $filterdir = $PKGDATADIR . "/filter"; # directory where filters are in. sub new { my $self = {}; my $proto = shift @_; my $class = ref($proto) || $proto; bless($self, $class); return $self; } sub init { my $self = shift @_; $MMagic = shift @_; if (defined $conf::FILTERDIR && -d $conf::FILTERDIR) { $filterdir = $conf::FILTERDIR }; if (($English::OSNAME eq "MSWin32") || ($English::OSNAME eq "os2")) { if ($filterdir !~ /^[A-Z]:|^\\\\/i && $0 =~ m#^([A-Z]:)(/|\\)#i) { $filterdir = $1 . $filterdir ; } util::win32_yen_to_slash(\$filterdir); } # # Windows modules must be loaded first. # Because OLE filters have low precedence over normal ones. # _load_filtermodules($filterdir); } sub apply_filter { my $self = shift @_; my $orig_cfile = shift @_; my $contentref = shift @_; my $mtype = shift @_; $self->{'_lang'} = shift @_; my $fields_ref = shift @_; $self->{'weighted_str'} = ""; $self->{'headings'} = ""; # Pre code conversion. if ($REQUIRE_PRE_CODECONV{$mtype}) { util::dprint("pre_codeconv\n"); _codeconv_document($contentref); } util::vprint("mtype = $mtype\n"); if (! $Supported{$mtype} || $Supported{$mtype} ne 'yes') { util::vprint(_("Unsupported media type ")."$mtype\n"); return (0, "$mtype; x-system=unsupported"); } if ($REQUIRE_ACTIONS{$mtype}) { util::vprint(_("Using ")."$REQUIRE_ACTIONS{$mtype}.pl\n"); require $REQUIRE_ACTIONS{$mtype}.'.pl' || die _("unable to require ") . "\"$REQUIRE_ACTIONS{$mtype}.pl\"\n"; my $err = undef; { local $SIG{'PIPE'} = \&trapintr; my $eval_txt = '$err = ' . $REQUIRE_ACTIONS{$mtype} . '::filter($orig_cfile, $contentref,' . ' \$self->{\'weighted_str\'}, ' . ' \$self->{\'headings\'}, $$fields_ref);'; eval $eval_txt; } if ($err) { if ($err =~ m/; x-system=unsupported$/) { return (0, $err); } return (0, "$mtype; x-error=$err"); } if ($@) { util::vprint(_("Failed to call ")."$REQUIRE_ACTIONS{$mtype}\n$@\n"); return (0, "$mtype; x-error=$@"); } # Post code conversion. if ($REQUIRE_POST_CODECONV{$mtype}) { util::dprint("post_codeconv\n"); _codeconv_document($contentref); } if ($RECURSIVE_ACTIONS{$mtype}) { my $uri; my $Document = undef; $Document = mknmz::document->new(); $Document->init_doc($uri, $orig_cfile, $contentref, undef); $contentref= $Document->get_filtered_contentref(); $self->{'weighted_str'} .= $Document->get_weighted_str(); $self->{'headings'} .= $Document->get_headings(); } } return ($self->{'weighted_str'}, $self->{'headings'}); } sub get_info { my $self = shift @_; my $name = shift @_; if ($name eq 'filter_dir') { return $filterdir; } elsif ($name eq 'all_types') { return $self->_get_all_types; } elsif ($name eq 'supported_types') { return $self->_get_supported_list; } elsif ($name eq 'supported_list') { return $self->_get_supported_list; } } ####################################################### sub _get_all_types { my $self = shift @_; my @all_types = keys %Supported; return @all_types; } sub _get_supported_types { my $self = shift @_; my @supported = sort grep { $Supported{$_} eq "yes" } $self->_get_all_types; return @supported; } sub _get_supported_list { my $self = shift @_; my $num_supported = $self->_get_supported_types(); my $num_unsupported = $self->_get_all_types() - $num_supported; my $list = _("Supported media types: ") . "($num_supported)\n"; $list .= _("Unsupported media types: ") . "($num_unsupported) " . _("marked with minus (-) probably missing application in your \$path.\n"); my $supported_list = ""; for my $mtype (sort keys %Supported) { my $yn = $Supported{$mtype}; if ($yn eq 'yes') { $yn = ' ' } else {$yn = '-'}; $supported_list .= "$yn $mtype"; if ($REQUIRE_ACTIONS{$mtype}) { $supported_list .= ": $REQUIRE_ACTIONS{$mtype}.pl"; } $supported_list .= "\n"; } $list .= $supported_list; return $list; } sub _codeconv_document ($) { my ($textref) = @_; #codeconv::to_inner_encoding($textref, 'unknown'); codeconv::toeuc($textref); $$textref =~ s/\r\n/\n/g; $$textref =~ s/\r/\n/g; $$textref =~ tr/\x01-\x08\x0b-\x0c\x0e-\x1f\x7f/ /; # Remove control char. } sub _load_filtermodules ($) { my $filterdir = shift @_; unshift @INC, $filterdir; # Check filter modules my @filters = (); @filters = glob "$filterdir/*.pl"; # # Windows modules must be check only when Active Perl environment. # Because OLE filters use Win32::OLE module. # if ($English::OSNAME eq "MSWin32") { @filters = (@filters, glob "$filterdir/win32/*.pl"); unshift @INC, "$filterdir/win32"; } _load_filters(@filters); } sub _load_filters ($) { my @filters = @_; for my $filter (@filters) { $filter =~ m!([-\w]+)\.pl$!; my $module = $1; require "$module.pl" || die "unable to require \"$module.pl\"\n";; my (@mtypes, $status, $recursive, $pre_codeconv, $post_codeconv); eval "\@mtypes = ${module}::mediatype();"; die $@ if $@; # eval error eval "\$status = ${module}::status();"; die $@ if $@; eval "\$recursive = ${module}::recursive();"; die $@ if $@; eval "\$pre_codeconv = ${module}::pre_codeconv();"; die $@ if $@; eval "\$post_codeconv = ${module}::post_codeconv();"; die $@ if $@; my $tmp = ref \$MMagic; # I don't know why this line is needed. eval "${module}::add_magic(\$MMagic);"; die $@ if $@; for my $mt (@mtypes) { next if (defined $Supported{$mt} && $Supported{$mt} eq 'yes' && $status eq 'no'); $Supported{$mt} = $status; $REQUIRE_ACTIONS{$mt} = $module; $RECURSIVE_ACTIONS{$mt} = $recursive; $REQUIRE_PRE_CODECONV{$mt} = $pre_codeconv; $REQUIRE_POST_CODECONV{$mt} = $post_codeconv; } } } 1; namazu-2.0.21/pl/ext.pl0000644000000000000000000000237411036427275010303 # # -*- Perl -*- # $Id: ext.pl,v 1.2.2.3 2008-07-13 16:35:09 opengl2772 Exp $ # Copyright (C) 2008 Tadamasa Teranishi All rights reserved. # Copyright (C) 2008 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package ext; use strict; require 'extzip.pl'; require 'extutf8.pl'; sub issupport($) { my ($ext) = @_; if ($ext eq 'EXT_ZIP') { return extzip::setup(); } elsif ($ext eq 'EXT_UTF8') { return extutf8::setup(); } return 'no'; } 1; namazu-2.0.21/pl/extzip.pl0000644000000000000000000002101011042536135011003 # # -*- Perl -*- # $Id: extzip.pl,v 1.2.2.3 2008-07-26 05:55:41 opengl2772 Exp $ # Copyright (C) 2008 Tadamasa Teranishi All rights reserved. # Copyright (C) 2008 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package extzip; use strict; use English; require 'util.pl'; use vars qw($zip_read $zip_membersMatching); $zip_read = undef; $zip_membersMatching = undef; # ZIP use constant NMZ_AZ_OK => 0; use constant NMZ_AZ_STREAM_END => 1; use constant NMZ_AZ_ERROR => 2; use constant NMZ_AZ_FORMAT_ERROR => 3; use constant NMZ_AZ_IO_ERROR => 4; my $_converter = ''; my $_unzippath = undef; my @_unzipopts = (); sub setup() { return 'yes' if (defined $zip_read); if (util::checklib('Compress/Zlib.pm') and util::checklib('Archive/Zip.pm')) { eval 'use Archive::Zip;'; if (util::checklib('IO/String.pm')) { eval 'use IO::String;'; $zip_read = \&_az_is_zread; $zip_membersMatching = \&_az_is_zmembersMatching; $_converter = 'module_archive::zip, module_io::string'; } else { $zip_read = \&_az_zread; $zip_membersMatching = \&_az_zmembersMatching; $_converter = 'module_archive::zip'; } return 'yes'; } $_unzippath = util::checkcmd('unzip'); if (defined $_unzippath) { $zip_read = \&_unzip_zread; @_unzipopts = ("-p"); $zip_membersMatching = \&_unzip_zmembersMatching; $_converter = 'unzip'; return 'yes'; } $zip_read = undef; $zip_membersMatching = undef; return 'no'; } sub converter() { return $_converter; } # # zip_read # sub _unzip_zread($$$) { my ($contref, $filename, $conts) = @_; util::vprint("Processing zip file ... (using '$_unzippath')\n"); my $tmpfile = ''; my $uniqnumber = int(rand(10000)); do { $tmpfile = util::tmpnam('NMZ.zip' . substr("000$uniqnumber", -4)); $uniqnumber++; } while (-f $tmpfile); { my $fh = util::efopen("> $tmpfile"); print $fh $$contref; util::fclose($fh); } my @cmd = ($_unzippath, @_unzipopts, $tmpfile, $filename); my $status = util::syscmd( command => \@cmd, option => { "stdout" => $conts, "stderr" => "/dev/null", "mode_stdout" => "wb", "mode_stderr" => "wt", }, ); unlink $tmpfile; return "Unable to convert file ($_unzippath error occurred)." if ($status != 0); my $size = length($$conts); if ($size == 0) { util::dprint("$filename: filesize is 0"); return "Unable to convert file ($_unzippath error occurred)."; } elsif ($size > $conf::FILE_SIZE_MAX) { util::dprint("$filename: Too large zip file"); return 'Too large zip file.'; } return undef; } # # use Archive::Zip module # sub _az_is_zread($$$) { my ($contref, $filename, $conts) = @_; util::vprint("Processing zip file ... (using Archive::Zip, IO::String module)\n"); my $io = IO::String->new($$contref); $$conts = ''; my $zip = Archive::Zip->new(); my $err = $zip->readFromFileHandle($io); if ($err != NMZ_AZ_OK) { util::dprint("Archive::Zip: there was a error($err)"); return "Unable to convert file (Archive::Zip error occurred)."; } my $member = $zip->memberNamed($filename); return "Not found '$filename'" if (!defined $member); my $size = $member->uncompressedSize(); if ($size == 0) { my $fname = $member->fileName(); util::dprint("$fname: filesize is 0"); return "Unable to convert file (Archive::Zip error occurred)."; } elsif ($size > $conf::FILE_SIZE_MAX) { my $fname = $member->fileName(); util::dprint("$fname: Too large zip file"); return 'Too large zip file.'; } $$conts = $zip->contents($member); return undef; } sub _az_zread($$$) { my ($contref, $filename, $conts) = @_; util::vprint("Processing zip file ... (using Archive::Zip module)\n"); my $tmpfile = ''; my $uniqnumber = int(rand(10000)); do { $tmpfile = util::tmpnam('NMZ.zip' . substr("000$uniqnumber", -4)); $uniqnumber++; } while (-f $tmpfile); { my $fh = util::efopen("> $tmpfile"); print $fh $$contref; util::fclose($fh); } $$conts = ''; my $zip = Archive::Zip->new(); my $err = $zip->read($tmpfile); if ($err != NMZ_AZ_OK) { util::dprint("Archive::Zip: there was a error($err)"); unlink $tmpfile; return "Unable to convert file (Archive::Zip error occurred)."; } my $member = $zip->memberNamed($filename); return "Not found '$filename'" if (!defined $member); my $size = $member->uncompressedSize(); if ($size == 0) { my $fname = $member->fileName(); util::dprint("$fname: filesize is 0"); unlink $tmpfile; return "Unable to convert file (Archive::Zip error occurred)."; } elsif ($size > $conf::FILE_SIZE_MAX) { my $fname = $member->fileName(); util::dprint("$fname: Too large zip file"); unlink $tmpfile; return 'Too large zip file.'; } $$conts = $zip->contents($member); unlink $tmpfile; return undef; } # # zip membersMatching # sub _unzip_zmembersMatching($$$) { my ($zipref, $pattern, $pagesref) = @_; util::vprint("MembersMatching ... (using '$_unzippath')\n"); my $tmpfile = ''; my $uniqnumber = int(rand(10000)); do { $tmpfile = util::tmpnam('NMZ.zip' . substr("000$uniqnumber", -4)); $uniqnumber++; } while (-f $tmpfile); { my $fh = util::efopen("> $tmpfile"); print $fh $$zipref; util::fclose($fh); } my @unzipopts_getlist = ("-Z", "-1"); my @cmd = ($_unzippath, @unzipopts_getlist, $tmpfile); my $file_list; my $status = util::syscmd( command => \@cmd, option => { "stdout" => \$file_list, "stderr" => "/dev/null", "mode_stdout" => "wt", "mode_stderr" => "wt", }, ); if ($status == 0) { while ($file_list =~ m/^($pattern)$/mgx) { my $filename = $1; push(@$pagesref, $filename); } } unlink $tmpfile; return undef; } # # use Archive::Zip module # sub _az_is_zmembersMatching($$$) { my ($zipref, $pattern, $pagesref) = @_; util::vprint("MembersMatching ... (using Archive::Zip, IO::String module)\n"); my $io = IO::String->new($$zipref); my $zip = Archive::Zip->new(); my $err = $zip->readFromFileHandle($io); if ($err != NMZ_AZ_OK) { util::dprint("Archive::Zip: there was a error($err)"); return "Archive::Zip: there was a error($err)"; } my @members = $zip->membersMatching("^($pattern)\$"); foreach my $member (@members) { push(@$pagesref, $member->fileName()); } return undef; } sub _az_zmembersMatching($$$) { my ($zipref, $pattern, $pagesref) = @_; util::vprint("MembersMatching ... (using Archive::Zip module)\n"); my $tmpfile = ''; my $uniqnumber = int(rand(10000)); do { $tmpfile = util::tmpnam('NMZ.zip' . substr("000$uniqnumber", -4)); $uniqnumber++; } while (-f $tmpfile); { my $fh = util::efopen("> $tmpfile"); print $fh $$zipref; util::fclose($fh); } my $zip = Archive::Zip->new(); my $err = $zip->read($tmpfile); if ($err != NMZ_AZ_OK) { util::dprint("Archive::Zip: there was a error($err)"); unlink $tmpfile; return "Archive::Zip: there was a error($err)"; } my @members = $zip->membersMatching("^($pattern)\$"); foreach my $member (@members) { push(@$pagesref, $member->fileName()); } unlink $tmpfile; return undef; } 1; namazu-2.0.21/pl/extutf8.pl0000644000000000000000000001132711042540315011074 # # -*- Perl -*- # $Id: extutf8.pl,v 1.1.4.5 2008-07-26 06:14:37 opengl2772 Exp $ # Copyright (C) 2008 Tadamasa Teranishi All rights reserved. # Copyright (C) 2008 Namazu Project All rights reserved. # This is free software with ABSOLUTELY NO WARRANTY. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either versions 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA # # This file must be encoded in EUC-JP encoding # package extutf8; use strict; use English; require 'util.pl'; eval 'require NKF;'; use vars qw($utf8_to_eucjp $codeconv_document); $utf8_to_eucjp = undef; $codeconv_document = undef; my $_converter = ''; my $_utfconvpath = undef; my $_nkfversion = 0.00; sub setup() { return 'yes' if (defined $codeconv_document); if (!util::islang("ja")) { $utf8_to_eucjp = \&_utf8_to_usascii; $codeconv_document = \&_codeconv_document_usascii; $_converter = 'to_usascii'; return 'yes'; } eval '$_nkfversion = $NKF::VERSION;'; $_nkfversion = 0.00 if (!defined $_nkfversion); if ($_nkfversion >= 2.04) { $utf8_to_eucjp = \&_nkf_utf8_to_eucjp; $codeconv_document = \&_nkf_codeconv_document; $_converter = 'module_nkf'; return 'yes'; } if ($English::PERL_VERSION >= 5.008) { eval 'use Encode qw/from_to Unicode JP/;'; $utf8_to_eucjp = \&_encode_utf8_to_eucjp; $codeconv_document = \&_encode_codeconv_document; $_converter = 'module_encode'; return 'yes'; } $_utfconvpath = util::checkcmd('lv'); if (defined $_utfconvpath) { $utf8_to_eucjp = \&_lv_utf8_to_eucjp; $codeconv_document = \&_lv_codeconv_document; $_converter = 'lv'; return 'yes'; } if (defined util::checklib('unicode.pl')) { eval require 'unicode.pl'; $utf8_to_eucjp = \&_unicode_utf8_to_eucjp; $codeconv_document = \&_unicode_codeconv_document; $_converter = 'unicode.pl'; return 'yes'; } return 'no'; } sub converter() { return $_converter; } # # # sub _utf8_to_usascii($) { my ($contref) = @_; codeconv::tousascii($contref); return $$contref; } sub _codeconv_document_usascii($) { my ($contref) = @_; _utf8_to_usascii($contref); codeconv::normalize_document($contref); return $$contref; } # # Conversion by "Encode" # Perl 5.8 or later # sub _encode_utf8_to_eucjp($) { my ($contref) = @_; Encode::from_to($$contref, "utf-8", "euc-jp"); return $$contref; } sub _encode_codeconv_document($) { my ($contref) = @_; Encode::from_to($$contref, "utf-8", "euc-jp"); codeconv::normalize_eucjp_document($contref); return $$contref; } # # Conversion by "NKF Perl module" # version 2.04 or later # sub _nkf_utf8_to_eucjp($) { my ($contref) = @_; $$contref = NKF::nkf("-Wex", $$contref); return $$contref; } sub _nkf_codeconv_document($) { my ($contref) = @_; $$contref = NKF::nkf("-WemXZ1", $$contref); codeconv::normalize_document($contref); return $$contref; } # # [obsolute] Conversion by "lv" # It is slow. # sub _lv_utf8_to_eucjp($) { my ($contref) = @_; my $tmpfile = util::tmpnam('NMZ.tmp.utf8'); { my $fh = util::efopen("> $tmpfile"); print $fh $$contref; util::fclose($fh); } $$contref = ""; my @cmd = ($_utfconvpath, "-Iu8", "-Oej", $tmpfile); my $status = util::syscmd( command => \@cmd, option => { "stdout" => $contref, "stderr" => "/dev/null", }, ); unlink $tmpfile; return $$contref; } sub _lv_codeconv_document($) { my ($contref) = @_; _lv_utf8_to_eucjp($contref); codeconv::normalize_eucjp_document($contref); return $$contref; } # # [obsolute] Conversion by "unicode.pl" # sub _unicode_utf8_to_eucjp($) { my ($contref) = @_; my @unicodeList = unicode::UTF8toUTF16($$contref); $$contref = unicode::u2e(@unicodeList); $$contref =~ s/\00//g; return $$contref; } sub _unicode_codeconv_document($) { my ($contref) = @_; _unicode_utf8_to_eucjp($contref); codeconv::normalize_eucjp_document($contref); return $$contref; } 1; namazu-2.0.21/po/0000777000000000000000000000000011611035322007212 5namazu-2.0.21/po/Makefile.in.in0000644000000000000000000003020510021565453011607 # Makefile for PO directory in any package using GNU gettext. # Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU General Public # License but which still want to provide support for the GNU gettext # functionality. # Please note that the actual code of GNU gettext is covered by the GNU # General Public License and is *not* in the public domain. # # Origin: gettext-0.14 PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ localedir = $(datadir)/locale gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = @MKINSTALLDIRS@ mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ MSGMERGE = msgmerge MSGMERGE_UPDATE = @MSGMERGE@ --update MSGINIT = msginit MSGCONV = msgconv MSGFILTER = msgfilter POFILES = @POFILES@ GMOFILES = @GMOFILES@ UPDATEPOFILES = @UPDATEPOFILES@ DUMMYPOFILES = @DUMMYPOFILES@ DISTFILES.common = Makefile.in.in remove-potcdate.sin \ $(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \ $(POFILES) $(GMOFILES) \ $(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ # Makevars gets inserted here. (Don't remove this line!) .SUFFIXES: .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@ mv t-$@ $@ all: all-@USE_NLS@ all-yes: stamp-po all-no: # stamp-po is a timestamp denoting the last time at which the CATALOGS have # been loosely updated. Its purpose is that when a developer or translator # checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, # "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent # invocations of "make" will do nothing. This timestamp would not be necessary # if updating the $(CATALOGS) would always touch them; however, the rule for # $(POFILES) has been designed to not touch files that don't need to be # changed. stamp-po: $(srcdir)/$(DOMAIN).pot test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) @echo "touch stamp-po" @echo timestamp > stamp-poT @mv stamp-poT stamp-po # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', # otherwise packages like GCC can not be built if only parts of the source # have been downloaded. # This target rebuilds $(DOMAIN).pot; it is an expensive operation. # Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ --files-from=$(srcdir)/POTFILES.in \ --copyright-holder='$(COPYRIGHT_HOLDER)' \ --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' test ! -f $(DOMAIN).po || { \ if test -f $(srcdir)/$(DOMAIN).pot; then \ sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ else \ rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ else \ mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ fi; \ } # This rule has no dependencies: we don't need to update $(DOMAIN).pot at # every "make" invocation, only create it when it is missing. # Only "make $(DOMAIN).pot-update" or "make dist" will force an update. $(srcdir)/$(DOMAIN).pot: $(MAKE) $(DOMAIN).pot-update # This target rebuilds a PO file if $(DOMAIN).pot has changed. # Note that a PO file is not touched if it doesn't need to be changed. $(POFILES): $(srcdir)/$(DOMAIN).pot @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ if test -f "$(srcdir)/$${lang}.po"; then \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ else \ $(MAKE) $${lang}.po-create; \ fi install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ for file in $(DISTFILES.common) Makevars.template; do \ $(INSTALL_DATA) $(srcdir)/$$file \ $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ for file in Makevars; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi install-data-no: all install-data-yes: all $(mkinstalldirs) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkinstalldirs) $(DESTDIR)$$dir; \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ done; \ done install-strip: install installdirs: installdirs-exec installdirs-data installdirs-exec: installdirs-data: installdirs-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi installdirs-data-no: installdirs-data-yes: $(mkinstalldirs) $(DESTDIR)$(datadir) @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ dir=$(localedir)/$$lang/LC_MESSAGES; \ $(mkinstalldirs) $(DESTDIR)$$dir; \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ if test -n "$$lc"; then \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ for file in *; do \ if test -f $$file; then \ ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ fi; \ done); \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ else \ if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ :; \ else \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ fi; \ fi; \ fi; \ done; \ done # Define this as empty until I found a useful application. installcheck: uninstall: uninstall-exec uninstall-data uninstall-exec: uninstall-data: uninstall-data-@USE_NLS@ if test "$(PACKAGE)" = "gettext-tools"; then \ for file in $(DISTFILES.common) Makevars.template; do \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ done; \ else \ : ; \ fi uninstall-data-no: uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ done; \ done check: all info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: rm -f remove-potcdate.sed rm -f stamp-poT rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f stamp-po $(GMOFILES) distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(MAKE) update-po @$(MAKE) dist2 # This is a separate target because 'update-po' must be executed before. dist2: $(DISTFILES) dists="$(DISTFILES)"; \ if test "$(PACKAGE)" = "gettext-tools"; then \ dists="$$dists Makevars.template"; \ fi; \ if test -f $(srcdir)/ChangeLog; then \ dists="$$dists ChangeLog"; \ fi; \ for i in 0 1 2 3 4 5 6 7 8 9; do \ if test -f $(srcdir)/ChangeLog.$$i; then \ dists="$$dists ChangeLog.$$i"; \ fi; \ done; \ if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ if test -f $$file; then \ cp -p $$file $(distdir); \ else \ cp -p $(srcdir)/$$file $(distdir); \ fi; \ done update-po: Makefile $(MAKE) $(DOMAIN).pot-update test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) $(MAKE) update-gmo # General rule for creating PO files. .nop.po-create: @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ exit 1 # General rule for updating PO files. .nop.po-update: @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ tmpdir=`pwd`; \ echo "$$lang:"; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.po failed!" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ fi $(DUMMYPOFILES): update-gmo: Makefile $(GMOFILES) @: Makefile: Makefile.in.in $(top_builddir)/config.status @POMAKEFILEDEPS@ cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ $(SHELL) ./config.status force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: namazu-2.0.21/po/remove-potcdate.sin0000644000000000000000000000066010021567553012753 # Sed script that remove the POT-Creation-Date line in the header entry # from a POT file. # # The distinction between the first and the following occurrences of the # pattern is achieved by looking at the hold space. /^"POT-Creation-Date: .*"$/{ x # Test if the hold space is empty. s/P/P/ ta # Yes it was empty. First occurrence. Remove the line. g d bb :a # The hold space was nonempty. Following occurrences. Do nothing. x :b } namazu-2.0.21/po/Makevars0000644000000000000000000000341610021565453010635 # Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Namazu Project # This is the email address or URL to which the translators shall report # bugs in the untranslated strings: # - Strings which are not entire sentences, see the maintainer guidelines # in the GNU gettext documentation, section 'Preparing Strings'. # - Strings which use unclear terms or require additional context to be # understood. # - Strings which make invalid assumptions about notation of date, time or # money. # - Pluralisation problems. # - Incorrect English spelling. # - Incorrect formatting. # It can be your email address, or a mailing list address where translators # can write to without being subscribed, or the URL of a web page through # which the translators can contact you. MSGID_BUGS_ADDRESS = bugs@namazu.org # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = namazu-2.0.21/po/POTFILES.in0000644000000000000000000000041010345311303010675 nmz/search.c nmz/wakati.c nmz/util.c nmz/alias.c nmz/replace.c src/cgi.c src/form.c src/namazu.c src/output.c src/rcfile.c src/usage.c scripts/mknmz.in pl/document.pl pl/filter.pl.in pl/util.pl pl/wakati.pl pl/usage.pl pl/var.pl.in filter/html.pl filter/msword.pl namazu-2.0.21/po/namazu.pot0000644000000000000000000004141011147644676011173 # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR Namazu Project # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "" #: nmz/util.c:539 msgid "Too long query" msgstr "" #: nmz/util.c:542 msgid "Invalid query" msgstr "" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "" #: nmz/util.c:560 msgid "can't open the field index" msgstr "" #: nmz/util.c:563 msgid "can't open the index" msgstr "" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "" #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "" #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "" #: src/output.c:561 msgid "\tPage: " msgstr "" #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr "" #: src/output.c:671 msgid "\t

Total " msgstr "" #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "" #: src/output.c:779 #, c-format msgid "References: " msgstr "" #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" #: src/output.c:1180 #, c-format msgid "

" msgstr "" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "" #: src/rcfile.c:687 msgid "too few arguments" msgstr "" #: src/rcfile.c:690 msgid "too many arguments" msgstr "" #: src/rcfile.c:700 msgid "unknown directive" msgstr "" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr "" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr "" #: scripts/mknmz.in:131 msgid "target file: " msgstr "" #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "" #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "" #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "" #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "" #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "" #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "" #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "" #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "" #: scripts/mknmz.in:925 msgid "Looking for indexing files...\n" msgstr "" #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr "" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr "" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr "" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "" #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "" #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "" #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr "" #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "" #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "" #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "" #: scripts/mknmz.in:1303 msgid "System: " msgstr "" #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "" #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "" #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "" #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "" #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "" #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "" #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "" #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr "" #: scripts/mknmz.in:1312 msgid "Lang_Msg: " msgstr "" #: scripts/mknmz.in:1313 msgid "Lang: " msgstr "" #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "" #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "" #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "" #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "" #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "" #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "" #: scripts/mknmz.in:1326 pl/filter.pl.in:180 msgid "Unsupported media types: " msgstr "" #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "" #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr "" #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr "" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr "" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr "" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "" #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr "" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr "" #: scripts/mknmz.in:1578 msgid "lang_msg: " msgstr "" #: scripts/mknmz.in:1579 msgid "lang: " msgstr "" #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr "" #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 msgid "is larger than your setup before filtered, skipped: " msgstr "" #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "" #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "" #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "" #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr "" #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "" #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "" #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" #: scripts/mknmz.in:1864 msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" #: scripts/mknmz.in:1865 msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "" #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "" #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "" #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr "" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr "" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "" #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr "" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "" #: scripts/mknmz.in:2152 msgid "System:" msgstr "" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "" #: pl/util.pl:45 msgid "Renamed: " msgstr "" #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "" #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "" #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "" #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "" #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" #: pl/var.pl.in:132 msgid "No title in original" msgstr "" #: filter/html.pl:91 msgid "is excluded because of " msgstr "" #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "" namazu-2.0.21/po/stamp-po0000644000000000000000000000001211611035220010577 timestamp namazu-2.0.21/po/ja.po0000644000000000000000000006340211256213323010071 # Japanese Translations. # Copyright (C) 2001 Free Software Foundation, Inc. # Namazu Project , 2001. # msgid "" msgstr "" "Project-Id-Version: Namazu 2.0.20\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: 2001-06-26 16:55+0900\n" "Last-Translator: Ryuji Abe \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "致命的なエラー" #: nmz/util.c:539 msgid "Too long query" msgstr "検索式が長すぎます" #: nmz/util.c:542 msgid "Invalid query" msgstr "不正な検索式です" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "検索式の項目が多すぎます" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "マッチする単語が多すぎるので無視しました" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "ヒット数が多すぎるので無視しました" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "正規表現用インデックスが開けませんでした" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "フレイズ検索用インデックスが開けませんでした" #: nmz/util.c:560 msgid "can't open the field index" msgstr "フィールド検索用のインデックスが開けませんでした" #: nmz/util.c:563 msgid "can't open the index" msgstr "インデックスが開けませんでした" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "結果出力の書式指定ファイルが開けませんでした" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "インデックスにアクセスする権利がありません" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "インデックスは保守作業の最中です" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "存在するインデックスは古い形式です。今は対応していません" #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "不明なエラー。バグ報告してください" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "charset=EUC-JP" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "不正な idxname の指定です" #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "CGIの QUERY_STRING が長すぎます" #: src/output.c:561 msgid "\tPage: " msgstr "\tペイジ: " #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "現在のリスト: %d" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr " [ 合計: %d ]" #: src/output.c:671 msgid "\t

Total " msgstr "\t

検索式にマッチする " #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" "\t 個の文書が見つかりました。

\n" "\n" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" "\t

エラー!

\n" "

%s

\n" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "\t

検索結果

\n" #: src/output.c:779 #, c-format msgid "References: " msgstr "参考ヒット数: " #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "\t

検索式にマッチする文書はありませんでした。

\n" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" "

エラー!

\n" "

" #: src/output.c:1180 #, c-format msgid "

" msgstr "

" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "文字列の終端が見つかりません" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "不正な指示子です" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "引数が見つかりません" #: src/rcfile.c:687 msgid "too few arguments" msgstr "引数が足りません" #: src/rcfile.c:690 msgid "too many arguments" msgstr "引数が多すぎます" #: src/rcfile.c:700 msgid "unknown directive" msgstr "不明な指示子です" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "%s:%d: 構文エラー: %s" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "読み込んだ設定ファイル: %s\n" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" "インデックス (Index): %s\n" "ログの記録 (Logging): %s\n" "使用する言語 (Lang): %s\n" "スコア計算 (Scoring): %s\n" "テンプレート (Template): %s\n" "ヒット件数の上限 (MaxHit): %d\n" "マッチする語の上限 (MaxMatch): %d\n" "強調タグ (EmphasisTags): %s\t%s\n" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr "別名 (Alias): %-20s\t%s\n" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "置換 (Replace): %-20s\t%s\n" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "namazu %s, Namazu の検索プログラム\n" "\n" "使い方: namazu [options] [index]...\n" " -n, --max=NUM 一度に表示する件数\n" " -w, --whence=NUM 表示する検索結果の先頭番号\n" " -l, --list 検索結果を URI・パス名をリストで出力する\n" " -s, --short 短い書式で出力する\n" " --result=EXT 結果表示に用いる NMZ.result.EXT を指定する\n" " --late 検索結果を新しい順にソートする\n" " --early 検索結果を古い順にソートする\n" " --sort=METHOD ソート方法を指定する (score, date, field:name)\n" " --ascending ソートの方向を昇順にする (標準は降順)\n" " -a, --all 検索結果をすべて表示する\n" " -c, --count ヒット数のみを表示する\n" " -h, --html HTMLで出力する\n" " -r, --no-references 参考ヒット数を表示しない\n" " -H, --page 先の検索結果へのリンクを表示する (ほぼ無意味) \n" " -F, --form
...
の部分を強制的に表示する\n" " -R, --no-replace URI の置き換えを行わない\n" " -U, --no-decode-uri URI encode の復元を行わない\n" " -o, --output=FILE 指定したファイルに検索結果を出力する\n" " -f, --config=FILE 設定ファイルを指定する\n" " -C, --show-config 設定を表示する\n" " -q, --quiet 検索結果以外のメッセージを表示しない\n" " -d, --debug デバッグモード\n" " -v, --version ヴァージョンを表示する\n" " --help このヘルプを表示する\n" " --norc 設定ファイルを読み込まない\n" " -- オプションリストを終了する\n" "\n" "バグ報告は <%s>\n" "または <%s> へどうぞ\n" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "使い方: namazu [オプション] <検索式> [インデックス]...\n" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "`namazu --help' でより詳しい情報が表示されます\n" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr "個のファイルがインデックス作成の対象として見つかりました\n" #: scripts/mknmz.in:131 msgid "target file: " msgstr "対象ファイル: " #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "インデックスを書き出しています..." #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "設定ファイルを読み込み中: " #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "チェックポイントに到達しました。mknmz を再実行します...\n" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "load_document 実行後: " #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "検出されたタイプ: " #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "未対応の形式 " #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "モジュール: " #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "以下のモジュールが require できません " #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "呼び出しに失敗 " #: scripts/mknmz.in:925 msgid "Looking for indexing files...\n" msgstr "検索対象のファイルを調べています...\n" #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "インデックスすべきファイルはありません\n" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "コード変換に NKF モジュールを用います\n" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr "わかち書きに Text::Kakasi モジュールを用います\n" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr "わかち書きに Text::ChaSen モジュールを用います。\n" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr "わかち書きに MeCab モジュールを用います。\n" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" "ファイルを発見しました\n" "このインデックスは他のプロセスによって更新されている可能性があります\n" "そうでなければ、このファイルを削除してください\n" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "存在するインデックスは古い形式です。今は対応していません\n" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "インデックスが見つかりません: " #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "継承された引数 (argv): " #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "継承されたカレントディレクトリ (cwd): " #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr "読み込み完了: " #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "不正な replace 指定: " #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "Replace: " #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "無効な出力ディレクトリ指定\n" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "読み込んだ設定ファイル: " #: scripts/mknmz.in:1303 msgid "System: " msgstr "システム: " #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "Namazu: " #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "Perl: " #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "File-MMagic: " #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "NKF: " #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "KAKASI: " #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "茶筌: " #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "和布蕪: " #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr "わかち書き: " #: scripts/mknmz.in:1312 msgid "Lang_Msg: " msgstr "メッセージの言語: " #: scripts/mknmz.in:1313 msgid "Lang: " msgstr "言語: " #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "文字コード: " #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "CONFDIR: " #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "LIBDIR: " #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "FILTERDIR: " #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "TEMPLATEDIR: " #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "対応メディアタイプ: " #: scripts/mknmz.in:1326 pl/filter.pl.in:180 msgid "Unsupported media types: " msgstr "未対応メディアタイプ: " #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "必要ツールが $path にないものには (-) を表示\n" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "対象の探索を開始: " #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr "未対応の対象: " #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr "読めない:\t%s" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "除外:\t%s" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr "古すぎ:\t%s" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "新しすぎ:\t%s" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr "拒絶:\t%s" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "不許可:\t%s" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "適合:\t%s" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "対象の探索を終了: " #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "対象ファイル数: %d (走査性能: 経過秒: %d, ファイル/秒: %.1f)" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr " 潜在: %d, 不許可: %d, 拒絶: %d, 除外: %d" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr " MTIME 古すぎ: %d, MTIME 新しすぎ: %d" #: scripts/mknmz.in:1578 msgid "lang_msg: " msgstr "メッセージの言語: " #: scripts/mknmz.in:1579 msgid "lang: " msgstr "言語: " #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "使い方: mknmz [オプション] <対象>...\n" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "`mknmz --help' でより詳しい情報が表示されます\n" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr "無視します" #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 msgid "is larger than your setup before filtered, skipped: " msgstr "ファイルが設定された制限を越えているので無視します " #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "致命的なエラー" #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "は存在しないので無視します" #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "は読み込み不可能なので無視します" #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr "はサイズが 0 なので無視します" #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "はバイナリと思われるので無視します" #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "ファイルが設定された制限を越えているので無視します " #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" "\n" "\n" "== 見つかったファイル ==\n" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" "\n" "\n" "== 登録されている文書 ==\n" #: scripts/mknmz.in:1864 msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" "\n" "\n" "== 重複した文書 ==\n" #: scripts/mknmz.in:1865 msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" "\n" "\n" "== 削除されている文書 ==\n" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" "\n" "\n" "== 更新されている文書 ==\n" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" "\n" "\n" "== インデックスすべきファイル ==\n" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "## deleted: " #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "## indexed: " #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "フィールド検索用のインデックスが開けませんでした" #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "ファイルは削除されています\n" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "ファイルは更新されています\n" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "[追加]" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "[基本]" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "日付:" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr "追加された文書の数:" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr "削除された文書の数:" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "更新された文書の数:" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "サイズ (bytes): " #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "合計の文書数:" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "追加キーワード数:" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "合計キーワード数:" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr "わかち書き:" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "経過時間 (秒):" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "ファイル/秒:" #: scripts/mknmz.in:2152 msgid "System:" msgstr "システム:" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "Perl:" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "Namazu:" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "write_phrase_hash() 実行.\n" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "write_index() 実行.\n" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "必要ツールが $path にないものには (-) を表示\n" #: pl/util.pl:45 msgid "Renamed: " msgstr "Renamed: " #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "IO::File/FileHandle オブジェクトではありません\n" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "一時ファイルを削除:" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "ASSERTION ERROR!: " #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "Invoked: " #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "-- わかち書きされた内容 --\n" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "無効なわかち書きモジュール: " #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "-- wakatized bare content --\n" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "わかち書きには以下を利用: " #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "mknmz %s, Namazu のインデックス作成プログラム \n" "\n" "使い方: mknmz [オプション] <対象>...\n" "\n" "対象ファイル:\n" " -a, --all すべてのファイルを対象とする\n" " -t, --media-type=MTYPE 対象ファイルの文書形式を指定する\n" " -h, --mailnews --media-type='message/rfc822' と同じ\n" " --mhonarc --media-type='text/html; x-type=mhonarc' と同じ\n" " -F, --target-list=FILE インデックス対象のファイルのリストを読み込む\n" " --allow=PATTERN 対象とするファイル名の正規表現を指定する\n" " --deny=PATTERN 拒絶するファイル名の正規表現を指定する\n" " --exclude=PATTERN 除外するパス名の正規表現を指定する\n" " -e, --robots 次の記述を含む HTMLファイルを除外する\n" " \n" " -M, --meta HTMLの metaタグをフィールド指定検索に用いる\n" " -r, --replace=CODE URIを置換するためのコードを指定する\n" " --html-split HTMLファイルを 単位で分割処理す" "る\n" " --mtime=NUM 変更日制限 find(1) の -mtime と同じ規則\n" " 例: -50 で 50 日以内、+50 で 50 日より古いものだ" "け\n" "\n" "形態素解析:\n" " -b, --use-mecab 日本語の単語のわかち書きに MeCab を用いる\n" " -c, --use-chasen 日本語の単語のわかち書きに ChaSen を用いる\n" " -k, --use-kakasi 日本語の単語のわかち書きに KAKASI を用いる\n" " -m, --use-chasen-noun 名詞のみを抽出する\n" " -L, --indexing-lang=LANG インデックス時に言語に特化した処理を行なう\n" "\n" "文字列処理:\n" " -E, --no-edge-symbol 単語の両端の記号は削除する\n" " -G, --no-okurigana 送り仮名を削除する\n" " -H, --no-hiragana 平仮名のみの単語は登録しない\n" " -K, --no-symbol 記号をすべて削除する\n" " --decode-base64 添付されたBase64エンコード部分をデコードする\n" "\n" "要約:\n" " -U, --no-encode-uri URIのencodeを行わない\n" " -x, --no-heading-summary HTML のヘディングによる要約作成を行わない\n" "\n" "\n" "インデックス作成:\n" " --update=INDEX 更新するインデックスを指定する\n" " -z, --check-filesize サイズが変わったファイルも対象とする\n" " -Y, --no-delete 削除された文書の検出を行わない\n" " -Z, --no-update 文書の更新・削除を反映しない\n" "\n" "その他:\n" " -s, --checkpoint チェックポイント機構を作動させる\n" " -C, --show-config 現在の設定を表示する\n" " -f, --config=FILE 設定ファイルを指定する\n" " -I, --include=FILE カスタマイズ用ファイルを読み込む\n" " -O, --output-dir=DIR インデックスの出力先を指定する\n" " -T, --template-dir=DIR NMZ.{head,foot,body}.* のディレクトリを指定する\n" " -q, --quiet インデックス処理の最中にメッセージを表示しない\n" " -v, --version ヴァージョンを表示する\n" " -V, --verbose 口やかましいモード\n" " -d, --debug デバッグモード\n" " --help このヘルプを表示する\n" " --norc 設定ファイルを読み込まない\n" " -- オプションリストを終了する\n" "\n" "バグ報告は <%s>\n" "または <%s> へどうぞ\n" #: pl/var.pl.in:132 msgid "No title in original" msgstr "題名なしの文書" #: filter/html.pl:91 msgid "is excluded because of " msgstr "は によって除外されています" #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "未対応の形式: " #~ msgid "ERROR: malformed NMZ.r format!\n" #~ msgstr "エラー: NMZ.r が無効な形式です\n" #~ msgid "Unsupported data type " #~ msgstr "未対応の形式 " namazu-2.0.21/po/ja_JP.SJIS.po0000644000000000000000000006341011256213323011230 # Japanese Translations. # Copyright (C) 2001 Free Software Foundation, Inc. # Namazu Project , 2001. # msgid "" msgstr "" "Project-Id-Version: Namazu 2.0.20\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: 2001-06-26 16:55+0900\n" "Last-Translator: Ryuji Abe \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=Shift_JIS\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "vIG[" #: nmz/util.c:539 msgid "Too long query" msgstr "ョ" #: nmz/util.c:542 msgid "Invalid query" msgstr "sョ" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "ョ" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "}b`P" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "qbg" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "K\pCfbNXJ" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "tCYpCfbNXJ" #: nmz/util.c:560 msgid "can't open the field index" msgstr "tB[hpCfbNXJ" #: nmz/util.c:563 msgid "can't open the index" msgstr "CfbNXJ" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "oョwt@CJ" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "CfbNXANZX" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "CfbNX" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "CfbNX`ョB" #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "sG[BoO" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "charset=Shift_JIS" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "s idxname w" #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "CGI QUERY_STRING " #: src/output.c:561 msgid "\tPage: " msgstr "\tyCW: " #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "Xg: %d" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr " [ v: %d ]" #: src/output.c:671 msgid "\t

Total " msgstr "\t

ョ}b` " #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" "\t B

\n" "\n" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" "\t

G[!

\n" "

%s

\n" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "\t

\n" #: src/output.c:779 #, c-format msgid "References: " msgstr "Qlqbg: " #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "\t

ョ}b`B

\n" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" "

G[!

\n" "

" #: src/output.c:1180 #, c-format msgid "

" msgstr "

" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "I[" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "swヲq" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "" #: src/rcfile.c:687 msgid "too few arguments" msgstr "" #: src/rcfile.c:690 msgid "too many arguments" msgstr "" #: src/rcfile.c:700 msgid "unknown directive" msgstr "swヲq" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "%s:%d: \G[: %s" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "t@C: %s\n" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" "CfbNX (Index): %s\n" "OL^ (Logging): %s\n" "gp (Lang): %s\n" "XRAvZ (Scoring): %s\n" "ev[g (Template): %s\n" "qbg (MaxHit): %d\n" "}b` (MaxMatch): %d\n" "^O (EmphasisTags): %s\t%s\n" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr " (Alias): %-20s\t%s\n" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "u (Replace): %-20s\t%s\n" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "namazu %s, Namazu vO\n" "\n" "g: namazu [options] [index]...\n" " -n, --max=NUM x\ヲ\n" " -w, --whence=NUM \ヲ\n" " -l, --list URIEpXXgo\n" " -s, --short Zョo\n" " --result=EXT \ヲp NMZ.result.EXT w\n" " --late V\[g\n" " --early \[g\n" " --sort=METHOD \[g@w (score, date, field:name)\n" " --ascending \[g (W~)\n" " -a, --all \ヲ\n" " -c, --count qbg\ヲ\n" " -h, --html HTMLo\n" " -r, --no-references Qlqbg\ヲ\n" " -H, --page N\ヲ () \n" " -F, --form
...
I\ヲ\n" " -R, --no-replace URI us\n" " -U, --no-decode-uri URI encode s\n" " -o, --output=FILE wt@Co\n" " -f, --config=FILE t@Cw\n" " -C, --show-config \ヲ\n" " -q, --quiet ObZ[W\ヲ\n" " -d, --debug fobO[h\n" " -v, --version @[W\ヲ\n" " --help wv\ヲ\n" " --norc t@C\n" " -- IvVXgI\n" "\n" "oO <%s>\n" " <%s> \n" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "g: namazu [IvV] <ョ> [CfbNX]...\n" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "`namazu --help' \ヲ\n" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr "t@CCfbNX\n" #: scripts/mknmz.in:131 msgid "target file: " msgstr "t@C: " #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "CfbNXo..." #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "t@C: " #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "`FbN|CgBBmknmz タs...\n" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "load_document タs: " #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "o^Cv: " #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "`ョ " #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "W[: " #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "W[ require " #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "oクs " #: scripts/mknmz.in:925 msgid "Looking for indexing files...\n" msgstr "t@C...\n" #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "CfbNXt@C\n" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "R[h NKF W[p\n" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr " Text::Kakasi W[p\n" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr " Text::ChaSen W[pB\n" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr " MeCab W[pB\n" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" "t@C\n" "CfbNXvZXXV\\n" "At@C\n" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "CfbNX`ョB\n" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "CfbNX: " #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "p (argv): " #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "pJgfBNg (cwd): " #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr ": " #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "s replace w: " #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "Replace: " #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "ofBNgw\n" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "t@C: " #: scripts/mknmz.in:1303 msgid "System: " msgstr "VXe: " #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "Namazu: " #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "Perl: " #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "File-MMagic: " #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "NKF: " #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "KAKASI: " #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "癸: " #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "az: " #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr ": " #: scripts/mknmz.in:1312 msgid "Lang_Msg: " msgstr "bZ[W: " #: scripts/mknmz.in:1313 msgid "Lang: " msgstr ": " #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "R[h: " #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "CONFDIR: " #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "LIBDIR: " #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "FILTERDIR: " #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "TEMPLATEDIR: " #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "fBA^Cv: " #: scripts/mknmz.in:1326 pl/filter.pl.in:180 msgid "Unsupported media types: " msgstr "fBA^Cv: " #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "Kvc[ $path (-) \ヲ\n" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "TJn: " #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr ": " #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr ":\t%s" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "O:\t%s" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr ":\t%s" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "V:\t%s" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr ":\t%s" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "s:\t%s" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "K:\t%s" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "TI: " #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "t@C: %d (\: ob: %d, t@C/b: %.1f)" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr " : %d, s: %d, : %d, O: %d" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr " MTIME : %d, MTIME V: %d" #: scripts/mknmz.in:1578 msgid "lang_msg: " msgstr "bZ[W: " #: scripts/mknmz.in:1579 msgid "lang: " msgstr ": " #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "g: mknmz [IvV] <>...\n" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "`mknmz --help' \ヲ\n" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr "" #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 msgid "is larger than your setup before filtered, skipped: " msgstr "t@Cz " #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "vIG[" #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "" #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "s\" #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr "TCY 0 " #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "oCiv" #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "t@Cz " #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" "\n" "\n" "== t@C ==\n" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" "\n" "\n" "== o^ ==\n" #: scripts/mknmz.in:1864 msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" "\n" "\n" "== d ==\n" #: scripts/mknmz.in:1865 msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" "\n" "\n" "== ==\n" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" "\n" "\n" "== XV ==\n" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" "\n" "\n" "== CfbNXt@C ==\n" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "## deleted: " #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "## indexed: " #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "tB[hpCfbNXJ" #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "t@C\n" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "t@CXV\n" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "[]" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "[{]" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "t:" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr ":" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr ":" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "XV:" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "TCY (bytes): " #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "v:" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "L[[h:" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "vL[[h:" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr ":" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "o (b):" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "t@C/b:" #: scripts/mknmz.in:2152 msgid "System:" msgstr "VXe:" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "Perl:" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "Namazu:" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "write_phrase_hash() タs.\n" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "write_index() タs.\n" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "Kvc[ $path (-) \ヲ\n" #: pl/util.pl:45 msgid "Renamed: " msgstr "Renamed: " #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "IO::File/FileHandle IuWFNg\n" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "t@C:" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "ASSERTION ERROR!: " #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "Invoked: " #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "-- e --\n" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "W[: " #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "-- wakatized bare content --\n" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "p: " #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "mknmz %s, Namazu CfbNXvO \n" "\n" "g: mknmz [IvV] <>...\n" "\n" "t@C:\n" " -a, --all t@C\n" " -t, --media-type=MTYPE t@C`ョw\n" " -h, --mailnews --media-type='message/rfc822' \n" " --mhonarc --media-type='text/html; x-type=mhonarc' \n" " -F, --target-list=FILE CfbNXt@CXg\n" " --allow=PATTERN t@CK\w\n" " --deny=PATTERN t@CK\w\n" " --exclude=PATTERN OpXK\w\n" " -e, --robots Lq HTMLt@CO\n" " \n" " -M, --meta HTML meta^OtB[hwp\n" " -r, --replace=CODE URIuR[hw\n" " --html-split HTMLt@C P" "\n" " --mtime=NUM X find(1) -mtime K\n" " : -50 50 A+50 50 " "\n" "\n" "`f:\n" " -b, --use-mecab {P MeCab p\n" " -c, --use-chasen {P ChaSen p\n" " -k, --use-kakasi {P KAKASI p\n" " -m, --use-chasen-noun o\n" " -L, --indexing-lang=LANG CfbNXs\n" "\n" ":\n" " -E, --no-edge-symbol P[L\n" " -G, --no-okurigana \n" " -H, --no-hiragana Po^\n" " -K, --no-symbol L\n" " --decode-base64 YtBase64GR[hfR[h\n" "\n" "v:\n" " -U, --no-encode-uri URIencodes\n" " -x, --no-heading-summary HTML wfBOvs\n" "\n" "\n" "CfbNX:\n" " --update=INDEX XVCfbNXw\n" " -z, --check-filesize TCYt@C\n" " -Y, --no-delete os\n" " -Z, --no-update XVEf\n" "\n" ":\n" " -s, --checkpoint `FbN|Cg@\\n" " -C, --show-config \ヲ\n" " -f, --config=FILE t@Cw\n" " -I, --include=FILE JX^}CYpt@C\n" " -O, --output-dir=DIR CfbNXow\n" " -T, --template-dir=DIR NMZ.{head,foot,body}.* fBNgw\n" " -q, --quiet CfbNXbZ[W\ヲ\n" " -v, --version @[W\ヲ\n" " -V, --verbose [h\n" " -d, --debug fobO[h\n" " --help wv\ヲ\n" " --norc t@C\n" " -- IvVXgI\n" "\n" "oO <%s>\n" " <%s> \n" #: pl/var.pl.in:132 msgid "No title in original" msgstr "" #: filter/html.pl:91 msgid "is excluded because of " msgstr " O" #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "`ョ: " #~ msgid "ERROR: malformed NMZ.r format!\n" #~ msgstr "G[: NMZ.r `ョ\n" #~ msgid "Unsupported data type " #~ msgstr "`ョ " namazu-2.0.21/po/es.po0000644000000000000000000006447411256213323010120 # Spanish Translations. # Copyright (C) 2001 Free Software Foundation, Inc. # Jose Juan Zapater Vera , 2001. # msgid "" msgstr "" "Project-Id-Version: Namazu 2.0.20\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: 2001-06-26 16:55+0900\n" "Last-Translator: Jose Juan Zapater Vera \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "BOcurri un error fatal!" #: nmz/util.c:539 msgid "Too long query" msgstr "Consulta demasiado larga" #: nmz/util.c:542 msgid "Invalid query" msgstr "Consulta no vlida" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "Demasiados comandos en la consulta" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "Coinciden demasiadas palabras. Ignorado" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "Coinciden demasiados documentos. Ignorado" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "no puedo abrir el ndice regex" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "no puedo abrir el ndice de frases" #: nmz/util.c:560 msgid "can't open the field index" msgstr "no puedo abrir el ndice de campos" #: nmz/util.c:563 msgid "can't open the index" msgstr "no puedo abrir el ndice" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "no puedo abrir el fichero de formato de resultados" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "Tu no tienes permisos para acceder al ndice" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "El ndice est bloqueado para mantenimiento" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "El ndice actual es de un tipo antiguo. No es soportado." #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "Error desconocido. BReporta el error!" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "charset=ISO-8859-1" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "Nombre de ndice no vlido." #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "Cadena de consulta demasiado larga" #: src/output.c:561 msgid "\tPage: " msgstr "\tPgina: " #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "Lista Actual: %d" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr " [ TOTAL: %d ]" #: src/output.c:671 msgid "\t

Total " msgstr "\t

Total " #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" "\t documentos cumplen tu consulta.

\n" "\n" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" "\t

BErrorB

\n" "

%s

\n" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "\t

Resultados:

\n" #: src/output.c:779 #, c-format msgid "References: " msgstr "Referencias: " #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "\t

No hay ningn documento que cumpla tu consulta.

\n" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" "

Error

\n" "

" #: src/output.c:1180 #, c-format msgid "

" msgstr "

" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "no puedo encontrar el terminador de cadena" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "nombre de directiva no vlida" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "no puedo encontrar los argumentos" #: src/rcfile.c:687 msgid "too few arguments" msgstr "demasiados pocos argumentos" #: src/rcfile.c:690 msgid "too many arguments" msgstr "demasiados argumentos" #: src/rcfile.c:700 msgid "unknown directive" msgstr "directiva desconocida" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "%s:%d: error de sintaxis: %s" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "Fichero rc cargado: %s\n" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr "" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "Reemplaza: %-20s\t%s\n" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "namazu %s, el programa de bsqueda de Namazu.\n" "\n" "Uso: namazu [opciones] [ndice]... \n" " -n, --max=NUM pone el nmero de documentos a mostrar a NUM.\n" " -w, --whence=NUM pone el primer nmero de documentos a mostrar a " "NUM.\n" " -l, --list imprime el resultado en formato lista.\n" " -s, --short imprime los resultados en formato corto.\n" " --results=EXT pone NMZ.result.EXT para imprimir los resultados.\n" " --late ordena los documentos por fecha antigua.\n" " --early ordena los docuemtnos por ltimas fechas.\n" " --sort=METODO pone el METODO de ordenacin a (score, date, field:" "name)\n" " --ascending ordena en orden ascendiente (defecto: " "descendiente)\n" " -a, --all imprime todos los resultados.\n" " -c, --count imprimir slo el nmero de documentos.\n" " -h, --html imprime en formato HTML.\n" " -r, --no-references no visualiza el nmero de documentos que " "coinciden.\n" " -H, --page print further result links. (nearly meaningless)\n" " -F, --form fuerza a imprimir una regin
...
.\n" " -R, --no-replace no reemplaza la cadena URI.\n" " -U, --no-decode-uri no decodifica la URI cuando imprime en formato " "plano.\n" " -o, --output=FILE pone el nombre del fichero de salida a FILE.\n" " -f, --config=FILE pone el nombre del fichero de configuracin a " "FILE.\n" " -C, --show-config imprime la configuracin actual.\n" " -q, --quiet no visualiza mensajes extras excepto la bsqueda " "results.\n" " -d, --debug modo debugger.\n" " -v, --version muestra el nmero de versin de namazu y sale.\n" " --help muestra esta ayuda y sale\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Reporta los errores a <%s>\n" "o <%s>.\n" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "Usa: namazu [opciones] [ndice]...\n" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "Intenta `namazu --help para ms informacin.\n" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr " ficheros fueron encontrados para ser indexados.\n" #: scripts/mknmz.in:131 msgid "target file: " msgstr "fichero destino: " #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "Escribiendo los ficheros de ndices..." #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "Leyendo el fichero rc: " #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "Alcanzado el punto de chequeo: re-ejecuta mknmz...\n" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "despus de cargar_documento: " #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "Tipo detectado: " #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "Tipo de fichero no soportado " #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "Usando " #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "imposible adquirir " #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "Fall la llamada " #: scripts/mknmz.in:925 #, fuzzy msgid "Looking for indexing files...\n" msgstr "Escribiendo los ficheros de ndices..." #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "No hay ficheros a indexar.\n" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "conversin de cdigos: usando el mdulo NKF\n" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr "wakati: usando el mdulo Text::Kaksi\n" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr "wakati: usando el mdulo Text::ChaSen\n" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr "wakati: usando el mdulo MeCab\n" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" "encontrado. Puede ser que el ndice est siendo actualizado ahora por otro " "proceso.\n" "Si no es as, puedes borrar este fichero.\n" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "El ndice actual es de un tipo antiguo. No es soportado.\n" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "No es un ndice: " #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "argv heredado: " #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "cwd heredado: " #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr "Cargado: " #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "Lugar invlido: " #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "Reemplazar: " #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "directorio de salida no vlido\n" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "Fichero rc cargado: " #: scripts/mknmz.in:1303 msgid "System: " msgstr "Sistama: " #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "Namazu: " #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "Perl: " #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "" #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "NKF: " #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "KAKASI: " #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "ChaSen: " #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "" #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr "Wakati: " #: scripts/mknmz.in:1312 #, fuzzy msgid "Lang_Msg: " msgstr "Lenguaje: " #: scripts/mknmz.in:1313 msgid "Lang: " msgstr "Lenguaje: " #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "Sistema de codificacin: " #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "Directorio de configuracin: " #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "LIBDIR: " #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "" #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "" #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "Tipos de formato soportados: " #: scripts/mknmz.in:1326 pl/filter.pl.in:180 #, fuzzy msgid "Unsupported media types: " msgstr "Tipo de fichero no soportado " #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "comenzando find_target: " #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr "destino no soportado: " #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr "No leible:\t%s" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "Excluido:\t%s" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr "Demasiado antiguo:\t%s" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "Demasiado nuevo:\t%s" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr "Denegado:\t%s" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "No permitido:\t%s" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "Destino:\t%s" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "find_target terminado: " #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "" "Ficheros Destino: %d (Rendimiento de escaneo: Consumo Seg: %d, Ficheros/seg: " "%.1f)" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr " Posibles: %d, No permitidos: %d, Denegados: %d, Excludos: %d" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr " MTIME demasiado antiguo: %d, MTIME demasiado nuevo: %d" #: scripts/mknmz.in:1578 #, fuzzy msgid "lang_msg: " msgstr "lenguaje: " #: scripts/mknmz.in:1579 msgid "lang: " msgstr "lenguaje: " #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "Uso: mknmz [opciones] ...\n" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "Intenta `mknmz --help para ms informacin.\n" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr " ignorados." #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 #, fuzzy msgid "is larger than your setup before filtered, skipped: " msgstr "es un texto demasiado LARGO! ignorado." #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "ocurri un error de sistema! " #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "NO EXISTE! ignorado." #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "no es LEIBLE! ignorado." #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr " tiene tamao 0! ignorado." #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "puede no ser un fichero BINARIO! ignorado." #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "es un texto demasiado LARGO! ignorado." #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" "\n" "\n" "== encontrados ==\n" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" "\n" "\n" "== documentos registrados ==\n" #: scripts/mknmz.in:1864 #, fuzzy msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" "\n" "\n" "== superpuestos ==\n" #: scripts/mknmz.in:1865 #, fuzzy msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" "\n" "\n" "== borrados ==\n" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" "\n" "\n" "== documentos actualizados ==\n" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" "\n" "\n" "== ficheros a indexar ==\n" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "## borrados: " #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "## indexados: " #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "" #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "fueron borrados!\n" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "fueron actulizados!\n" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "[Aadido]" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "[Base]" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "Fecha:" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr "Documentos Aadidos:" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr "Documentos Borrados:" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "Documentos Actualizados:" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "Tamao (bytes):" #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "Total de Documentos:" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "Palabras clave Aadidas:" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "Total de Palabras clave:" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr "Wakati:" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "Tiempo (seg):" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "Ficheros/Seg:" #: scripts/mknmz.in:2152 msgid "System:" msgstr "Sistema:" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "Perl:" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "Namazu:" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "haciendo el proceso de write_phrase_hash().\n" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "Haciendo el proceso de write_index().\n" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "" #: pl/util.pl:45 msgid "Renamed: " msgstr "Renombrados: " #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "no es un objeto IO::File/FileHandle!\n" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "Borra los ficheros temporales:" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "ERROR DE ASERCIN!: " #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "" #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "-- contenidos wakatizados --\n" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "mdulo wakati no vlido: " #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "-- contenido bare wakatizado --\n" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "wakati: usando " #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "mknmz %s, el indizador de Namazu.\n" "\n" "Usage: mknmz [opciones] ...\n" "\n" "Ficheros destino:\n" " -a, --all todos ficheros destino.\n" " -t, --media-type=MTYPE pone el tipo de formato para todos los ficheros " "destino a MTYPE.\n" " -h, --mailnews lo mismo que --media-type='message/rfc822'\n" " --mhonarc lo mismo que --media-type='text/html; x-" "type=mhonarc'\n" " -F, --target-list=FILE carga FILE el cul contiene una lista de los " "ficheros destino.\n" " --allow=PATTERN pone la PATTERN para los nombres de ficheros para " "los cuales debe estar permitida.\n" " --deny=PATTERN pone la PATTERN para los nombres de los ficheros " "para los cuales debe estar denegada.\n" " --exclude=PATTERN pone la PATTERN para los nombres de directorios " "para los cuales deben estar excludos.\n" " -e, --robots exlude los ficheros HTML que contienen\n" " \n" " -M, --meta maneja HTML meta tags para los campos " "especificados para buscar.\n" " -r, --replace=CODE pone CODE para reemplazar el URI.\n" " --html-split divide un fichero HTML con " "anchors.\n" " --mtime=NUM limita por mtime como con find(1)'s -mtime " "option.\n" " ej., -50 para los ltimos 50 das, +50 para los " "que sean ms antiguos de 50.\n" "\n" "Analisis Morfolgico:\n" " -b, --use-mecab usa MeCab para analizar japons.\n" " -c, --use-chasen usa ChaSen para analizar japons.\n" " -k, --use-kakasi usa KAKASI para analizar japons.\n" " -m, --use-chasen-noun usa ChaSen para extraer slo nombres.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Operaciones de Texto:\n" " -E, --no-edge-symbol quita los smbolos en los bordes de las " "palabras.\n" " -G, --no-okurigana kita la Okurigana en las palabras.\n" " -H, --no-hiragana ignora las palabras que slo tengan Hiragana.\n" " -K, --no-symbol quitar smbolos.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri no codificar el URI.\n" " -x, --no-heading-summary no hacer resumen con las cabeceras HTML.\n" "\n" "Construccin del wndice:\n" " --update=INDEX pon el INDEX para actualizacin.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete no detectar documentos borrados.\n" " -Z, --no-update no detectar documentos actualizados ni borrados.\n" "\n" "Miscelneas:\n" " -s, --checkpoint pon activo el mecanismo de punto de chequeo.\n" " -C, --show-config muestra la configuracin actual.\n" " -f, --config=FILE usa el fichero FILE como fichero de " "configuracin.\n" " -I, --include=FILE incluye tu fichero de configuracin FILE.\n" " -O, --output-dir=DIR pon el directorio DIR como directorio destino del " "ndice.\n" " -T, --template-dir=DIR pon DIR teniendo los NMZ.{head,foot,body}.*.\n" " -q, --quiet suprime los mensajes de estado durante la " "ejecucin.\n" " -v, --version muestra la versin de namazu y sal.\n" " -V, --verbose modo verbose.\n" " -d, --debug modo debug.\n" " --help muestra esta ayuda y sal.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Reporta los errores a <%s>\n" "o <%s>.\n" #: pl/var.pl.in:132 msgid "No title in original" msgstr "No hay ttulo en el original" #: filter/html.pl:91 msgid "is excluded because of " msgstr "est excluido porque " #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "Formato no soportado: " #, fuzzy #~ msgid "Supported media types: ($num_supported)\n" #~ msgstr "Tipos de formato soportados: \n" #~ msgid "ERROR: malformed NMZ.r format!\n" #~ msgstr "ERROR: NMZ.r formato mal formado!\n" namazu-2.0.21/po/fr.po0000644000000000000000000006605611256213323010116 # French Translations. # Copyright (C) 2001 Free Software Foundation, Inc. # Namazu Project , 2007. # msgid "" msgstr "" "Project-Id-Version: Namazu 2.0.20\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: 2001-06-26 16:55+0900\n" "Last-Translator: Stephane Legrand \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "Erreur fatal !" #: nmz/util.c:539 msgid "Too long query" msgstr "Requete trop longue" #: nmz/util.c:542 msgid "Invalid query" msgstr "Requete invalide" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "Trop de parametres dans la requete" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "Trop de mots correspondent. Ignore" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "Trop de documents trouves. Ignore" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "impossible d'ouvrir l'index d'expression reguliere" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "impossible d'ouvrir l'index de phrase" #: nmz/util.c:560 msgid "can't open the field index" msgstr "impossible d'ouvrir l'index de champ" #: nmz/util.c:563 msgid "can't open the index" msgstr "impossible d'ouvrir l'index" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "impossible d'ouvrir le fichier de format des resultats" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "Vous n'avez pas la permission d'acceder a l'index" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "L'index est verouille pour maintenance" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "Cet index est d'un type obsole, il n'est plus support." #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "Erreur inconnue. Signalez le bug !" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "charset=ISO-8859-1" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "Invalide idxname." #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "Trop longue QUERY_STRING" #: src/output.c:561 msgid "\tPage: " msgstr "\tPage : " #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "Liste courante : %d" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr " [ TOTAL : %d ]" #: src/output.c:671 msgid "\t

Total " msgstr "\t

Total " #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" "\t documents correspondent a votre requete.

\n" "\n" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" "\t

Erreur !

\n" "

%s

\n" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "\t

Resultats :

\n" #: src/output.c:779 #, c-format msgid "References: " msgstr "References : " #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "\t

Aucun document ne correspond a votre requete.

\n" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" "\t

Erreur

\n" "

" #: src/output.c:1180 #, c-format msgid "

" msgstr "

" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "impossible de trouver la terminaison de chaine de caracteres" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "nom de directive invalide" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "impossible de trouver les arguments" #: src/rcfile.c:687 msgid "too few arguments" msgstr "trop peu d'arguments" #: src/rcfile.c:690 msgid "too many arguments" msgstr "trop d'arguments" #: src/rcfile.c:700 msgid "unknown directive" msgstr "directive inconnue" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "%s:%d: erreur de syntaxe : %s" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "rcfile charge : %s\n" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" "Index : %s\n" "Journal : %s\n" "Langue : %s\n" "Score : %s\n" "Gabarit : %s\n" "Nb pages max : %d\n" "Nb correspondances max : %d\n" "Tags de mise en relief : %s\t%s\n" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr "Alias : %-20s\t%s\n" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "Remplacer : %-20s\t%s\n" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "namazu %s, un programme de recherche de Namazu.\n" "\n" "Usage: namazu [options] [index]...\n" " -n, --max=NUM positionne le nombre de documents affiches a " "NUM.\n" " -w, --whence=NUM positionne le premier nombre de documents " "affiches a NUM.\n" " -l, --list affiche les resultats sous forme de liste.\n" " -s, --short affiche les resultats au format court.\n" " --result=EXT positionne NMZ.result.EXT pour l'affichage des " "resultats.\n" " --late tri les documents du plus recent au plus " "ancien.\n" " --early tri les documents du plus ancien au plus " "recent.\n" " --sort=METHOD positionne une methode de tri (score, date, " "champ:nom).\n" " --ascending tri en ordre ascendant (defaut : descendant).\n" " -a, --all affiche tous les resultats.\n" " -c, --count affiche uniquement le nombre de resultats.\n" " -h, --html affiche au format HTML.\n" " -r, --no-references ne pas afficher le total de reference par " "resultat.\n" " -H, --page affiche les liens sur la suite des resultats " "(presque sans objet).\n" " -F, --form force l'affichage du bloc
...
.\n" " -R, --no-replace ne pas remplacer les URI.\n" " -U, --no-decode-uri ne pas decoder les URI lors de l'affichage au " "format simple.\n" " -o, --output=FILE positionne le nom du fichier de sortie a FILE.\n" " -f, --config=FILE positionne le nom du fichier de configuration a " "FILE.\n" " -C, --show-config affiche la configuration actuelle.\n" " -q, --quiet ne pas afficher les messages autres que le " "resultat de la recherche.\n" " -d, --debug mode depanne.\n" " -v, --version affiche la version de namazu et quitte.\n" " --help affiche cette aide et quitte.\n" " --norc ne lisez pas les dossiers de l'initialisation " "personnels.\n" " -- Terminez la liste des options.\n" "\n" "Signalez les bugs a <%s>\n" "ou <%s>.\n" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "Usage : namazu [options] [index]...\n" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "`namazu --help' pour plus d'informations.\n" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr " fichiers trouves pour etre indexes.\n" #: scripts/mknmz.in:131 msgid "target file: " msgstr "fichier cible : " #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "Ecriture des fichiers d'index..." #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "Lecture rcfile : " #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "Point de controle atteint : re-execution de mknmz...\n" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "apres load_document : " #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "Type detecte : " #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "Type de media non supporte " #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "Utilisation " #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "impossible d'inclure " #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "Echec de l'appel " #: scripts/mknmz.in:925 msgid "Looking for indexing files...\n" msgstr "Recherche des fichiers a indexer...\n" #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "Aucun fichier a indexer.\n" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "conversion du code : utilisation du module NKF\n" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr "wakati : utilisation du module Text::Kakasi\n" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr "wakati : utilisation du module Text::ChaSen\n" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr "wakati : utilisation du module MeCab\n" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" "trouve. Cet index est peut-etre actuellement en cours de mise a jour par un " "autre processus.\n" "Si ce n'est pas le cas, vous pouvez supprimer ce fichier.\n" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "Cet index est d'un type obsolete, il n'est plus supporte.\n" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "Pas d'index : " #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "argv herite : " #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "cwd herite : " #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr "Charge : " #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "Remplacement invalide : " #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "Remplacement : " #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "repertoire de sortie invalide\n" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "rcfile charge : " #: scripts/mknmz.in:1303 msgid "System: " msgstr "Systeme : " #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "Namazu : " #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "Perl : " #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "File-MMagic : " #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "NKF :" #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "KAKASI : " #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "ChaSen : " #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "MeCab : " #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr "Wakati : " #: scripts/mknmz.in:1312 msgid "Lang_Msg: " msgstr "Lang_Msg : " #: scripts/mknmz.in:1313 msgid "Lang: " msgstr "Langue : " #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "Systeme de codage : " #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "CONFDIR : " #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "LIBDIR : " #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "FILTERDIR : " #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "TEMPLATEDIR : " #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "Type de media supporte : " #: scripts/mknmz.in:1326 pl/filter.pl.in:180 msgid "Unsupported media types: " msgstr "Type de media non supporte : " #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "" "marque avec moins (-) probablement application manquante dans votre \\" "$path.\n" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "debut find_target : " #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr "cible non supporte : " #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr "Illisible :\t%s" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "Exclu :\t%s" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr "Trop ancien :\t%s" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "Trop recent :\t%s" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr "Refuse :\t%s" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "Non autorise :\t%s" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "Cible :\t%s" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "fin de find_target : " #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "" "Fichiers cibles : %d (Performance de l'analyse : secondes ecoulees : %d, " "fichiers/seconde : %.1f)" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr " Possible : %d, Non autorises : %d, Refuses : %d, Exclus : %d" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr " MTIME trop ancien : %d, MTIME trop recent : %d" #: scripts/mknmz.in:1578 msgid "lang_msg: " msgstr "lang_msg : " #: scripts/mknmz.in:1579 msgid "lang: " msgstr "langue : " #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "Usage : mknmz [options] ...\n" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "`mknmz --help' pour plus d'informations\n" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr " omis." #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 #, fuzzy msgid "is larger than your setup before filtered, skipped: " msgstr "est un trop GRAND texte ! omis." #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "erreur systeme ! " #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "N'EXISTE PAS ! omis." #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "N'EST PAS LISIBLE ! omis." #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr "a une taille de 0 ! omis." #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "sans doute un fichier BINAIRE ! omis." #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "est un trop GRAND texte ! omis." #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" "\n" "\n" "== fichiers trouves ==\n" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" "\n" "\n" "== documents enregistres ==\n" #: scripts/mknmz.in:1864 msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" "\n" "\n" "== documents recouverts ==\n" #: scripts/mknmz.in:1865 msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" "\n" "\n" "== documents effaces ==\n" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" "\n" "\n" "== documents mis a jour ==\n" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" "\n" "\n" "== fichiers a indexer ==\n" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "## efface : " #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "## indexe : " #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "update_field_index : " #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "a ete supprime !\n" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "a ete mis a jour !\n" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "[Ajout]" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "[Base]" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "Date :" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr "Documents ajoutes :" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr "Documents effaces :" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "Documents mis a jour :" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "Taille (octets) : " #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "Total Documents :" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "Mots clefs ajoutes :" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "Total mots clefs :" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr "Wakati :" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "Temps (secondes) :" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "Fichiers/seconde :" #: scripts/mknmz.in:2152 msgid "System:" msgstr "Systeme :" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "Perl :" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "Namazu :" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "write_phrase_hash() en cours.\n" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "write_index() en cours.\n" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "" "marque avec moins (-) probablement application manquante dans votre $path.\n" #: pl/util.pl:45 msgid "Renamed: " msgstr "Renomme : " #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "pas un objet IO::File/FileHandle !\n" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "Suppression des fichiers temporaires :" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "ERREUR ASSERTION ! : " #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "Invoque : " #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "-- contenu wakatize --\n" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "module wakati invalide : " #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "-- contenu wakatize --\n" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "wakati: utilisation " #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" "mknmz %s, programme de creation d'index pour Namazu.\n" "\n" "Usage : mknmz [options] ...\n" "\n" "Fichiers cible :\n" " -a, --all cible tous les fichiers.\n" " -t, --media-type=MTYPE positionne le type de media pour tous les " "fichiers cibles a MTYPE.\n" " -h, --mailnews identique a --media-type='message/rfc822'\n" " --mhonarc identique a --media-type='text/html; x-" "type=mhonarc'\n" " -F, --target-list=FILE charge un fichier FILE qui contient une liste de " "fichiers cibles.\n" " --allow=PATTERN positionne PATTERN pour les noms de fichier a " "prendre en compte.\n" " --deny=PATTERN positionne PATTERN pour les noms de fichier a ne " "pas prendre en compte.\n" " --exclude=PATTERN positionne PATTERN pour les noms de chemin a ne " "pas prendre en compte.\n" " -e, --robots exclus les fichiers HTML contenant\n" " \n" " -M, --meta gere les meta-tags HTML pour les champs specifies " "a la recherche.\n" " -r, --replace=CODE positionne CODE pour le remplacement des URI.\n" " --html-split partage un fichier HTML avec des ancres .\n" " --mtime=NUM limite par mtime tout comme l'option -mtime de " "find(1).\n" " ex. -50 pour + recent que 50 jours, +50 pour + " "ancien que 50.\n" "\n" "Analyses morphologique :\n" " -b, --use-mecab utilisation de MeCab pour l'analyse du Japonais.\n" " -c, --use-chasen utilisation de ChaSen pour l'analyse du " "Japonais.\n" " -k, --use-kakasi utilisation de KAKASI pour l'analyse du " "Japonais.\n" " -m, --use-chasen-noun utilisation de ChaSen uniquement pour " "l'extraction des noms.\n" " -L, --indexing-lang=LANG index avec traitement specifique au language.\n" "\n" "Operations Texte :\n" " -E, --no-edge-symbol suppression des symboles sur les bords des mots.\n" " -G, --no-okurigana suppression du Okurigana dans les mots.\n" " -H, --no-hiragana ignorer les mots contenant uniquement du " "Hiragana.\n" " -K, --no-symbol suppression des symboles.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Sommaire :\n" " -U, --no-encode-uri ne pas encoder les URI.\n" " -x, --no-heading-summary ne pas faire de sommaire avec des en-tetes HTML.\n" "\n" "Construction Index :\n" " --update=INDEX positionne INDEX pour la mise a jour.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete ne pas detecter les documents supprimes.\n" " -Z, --no-update ne pas detecter les documents mis a jour et " "supprimes.\n" "\n" "Divers :\n" " -s, --checkpoint active le mecanisme de point de controle.\n" " -C, --show-config affiche la configuration actuelle.\n" " -f, --config=FILE utilise FILE comme fichier de configuration.\n" " -I, --include=FILE inclus votre fichier de personnalisation FILE.\n" " -O, --output-dir=DIR positionne DIR pour la sortie de l'index.\n" " -T, --template-dir=DIR positionne DIR pour les fichiers NMZ.{head,foot," "body}.*.\n" " -q, --quiet suppression des messages d'etats pendant " "l'execution.\n" " -v, --version affiche la version de namazu et quitte.\n" " -V, --verbose mode verbeux.\n" " -d, --debug mode depanne.\n" " --help affiche cette aide et quitte.\n" " --norc ne lisez pas les dossiers de l'initialisation " "personnels.\n" " -- Terminez la liste des options.\n" "\n" "Signalez les bugs a <%s>\n" "ou <%s>.\n" #: pl/var.pl.in:132 msgid "No title in original" msgstr "Pas de titre dans l'original" #: filter/html.pl:91 msgid "is excluded because of " msgstr "est exclus a cause de " #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "Format non supporte : " #, fuzzy #~ msgid "Supported media types: ($num_supported)\n" #~ msgstr "Types de media supportes : \n" #~ msgid "ERROR: malformed NMZ.r format!\n" #~ msgstr "ERREUR : format NMZ.r incorrect !\n" #~ msgid "Unsupported data type " #~ msgstr "Type de donnee non supporte " namazu-2.0.21/po/de.po0000644000000000000000000004133411256213323010067 # Deutsch Translations. # Copyright (C) 2001 Free Software Foundation, Inc. # Namazu Project , 2007. # msgid "" msgstr "" "Project-Id-Version: Namazu 2.0.20\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: 2001-06-26 16:55+0900\n" "Last-Translator: developers@namazu.org\n" "Language-Team: developers@namazu.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "" #: nmz/util.c:539 msgid "Too long query" msgstr "" #: nmz/util.c:542 msgid "Invalid query" msgstr "" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "" #: nmz/util.c:560 msgid "can't open the field index" msgstr "" #: nmz/util.c:563 msgid "can't open the index" msgstr "" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "" #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "charset=ISO-8859-1" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "" #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "" #: src/output.c:561 msgid "\tPage: " msgstr "" #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr "" #: src/output.c:671 msgid "\t

Total " msgstr "" #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "" #: src/output.c:779 #, c-format msgid "References: " msgstr "" #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" #: src/output.c:1180 #, c-format msgid "

" msgstr "" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "" #: src/rcfile.c:687 msgid "too few arguments" msgstr "" #: src/rcfile.c:690 msgid "too many arguments" msgstr "" #: src/rcfile.c:700 msgid "unknown directive" msgstr "" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr "" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr "" #: scripts/mknmz.in:131 msgid "target file: " msgstr "" #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "" #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "" #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "" #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "" #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "" #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "" #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "" #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "" #: scripts/mknmz.in:925 msgid "Looking for indexing files...\n" msgstr "" #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr "" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr "" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr "" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "" #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "" #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "" #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr "" #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "" #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "" #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "" #: scripts/mknmz.in:1303 msgid "System: " msgstr "" #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "" #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "" #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "" #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "" #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "" #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "" #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "" #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr "" #: scripts/mknmz.in:1312 msgid "Lang_Msg: " msgstr "" #: scripts/mknmz.in:1313 msgid "Lang: " msgstr "" #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "" #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "" #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "" #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "" #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "" #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "" #: scripts/mknmz.in:1326 pl/filter.pl.in:180 msgid "Unsupported media types: " msgstr "" #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "" #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr "" #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr "" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr "" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr "" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "" #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr "" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr "" #: scripts/mknmz.in:1578 msgid "lang_msg: " msgstr "" #: scripts/mknmz.in:1579 msgid "lang: " msgstr "" #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr "" #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 msgid "is larger than your setup before filtered, skipped: " msgstr "" #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "" #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "" #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "" #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr "" #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "" #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "" #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" #: scripts/mknmz.in:1864 msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" #: scripts/mknmz.in:1865 msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "" #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "" #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "" #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr "" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr "" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "" #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr "" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "" #: scripts/mknmz.in:2152 msgid "System:" msgstr "" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "" #: pl/util.pl:45 msgid "Renamed: " msgstr "" #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "" #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "" #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "" #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "" #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" #: pl/var.pl.in:132 msgid "No title in original" msgstr "" #: filter/html.pl:91 msgid "is excluded because of " msgstr "" #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "" namazu-2.0.21/po/pl.po0000644000000000000000000004133311256213324010112 # Polish Translations. # Copyright (C) 2001 Free Software Foundation, Inc. # Namazu Project , 2007. # msgid "" msgstr "" "Project-Id-Version: Namazu 2.0.20\n" "Report-Msgid-Bugs-To: bugs@namazu.org\n" "POT-Creation-Date: 2009-02-21 09:15+0900\n" "PO-Revision-Date: 2001-06-26 16:55+0900\n" "Last-Translator: developers@namazu.org\n" "Language-Team: developers@namazu.org\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #: nmz/util.c:536 msgid "Fatal error occurred!" msgstr "" #: nmz/util.c:539 msgid "Too long query" msgstr "" #: nmz/util.c:542 msgid "Invalid query" msgstr "" #: nmz/util.c:545 msgid "Too many query tokens" msgstr "" #: nmz/util.c:548 msgid "Too many words matched. Ignored" msgstr "" #: nmz/util.c:551 msgid "Too many documents hit. Ignored" msgstr "" #: nmz/util.c:554 msgid "can't open the regex index" msgstr "" #: nmz/util.c:557 msgid "can't open the phrase index" msgstr "" #: nmz/util.c:560 msgid "can't open the field index" msgstr "" #: nmz/util.c:563 msgid "can't open the index" msgstr "" #: nmz/util.c:566 msgid "can't open the result format file" msgstr "" #: nmz/util.c:569 msgid "You don't have a permission to access the index" msgstr "" #: nmz/util.c:572 msgid "The index is locked for maintenance" msgstr "" #: nmz/util.c:575 msgid "Present index is old type. it's unsupported." msgstr "" #: nmz/util.c:578 msgid "Unknown error. Report bug!" msgstr "" #: src/cgi.c:127 src/cgi.c:142 src/output.c:1175 msgid "charset=ISO-8859-1" msgstr "charset=ISO-8859-2" #: src/cgi.c:131 src/cgi.c:146 #, c-format msgid "Invalid idxname." msgstr "" #: src/cgi.c:233 msgid "Too long QUERY_STRING" msgstr "" #: src/output.c:561 msgid "\tPage: " msgstr "" #: src/output.c:606 #, c-format msgid "Current List: %d" msgstr "" #: src/output.c:656 #, c-format msgid " [ TOTAL: %d ]" msgstr "" #: src/output.c:671 msgid "\t

Total " msgstr "" #: src/output.c:678 msgid "" "\t documents matching your query.

\n" "\n" msgstr "" #: src/output.c:738 #, c-format msgid "" "\t

Error!

\n" "

%s

\n" msgstr "" #: src/output.c:772 msgid "\t

Results:

\n" msgstr "" #: src/output.c:779 #, c-format msgid "References: " msgstr "" #: src/output.c:829 msgid "\t

No document matching your query.

\n" msgstr "" #: src/output.c:1178 #, c-format msgid "" "

Error

\n" "

" msgstr "" #: src/output.c:1180 #, c-format msgid "

" msgstr "" #: src/rcfile.c:449 msgid "can't find string terminator" msgstr "" #: src/rcfile.c:570 msgid "invalid directive name" msgstr "" #: src/rcfile.c:584 msgid "can't find arguments" msgstr "" #: src/rcfile.c:687 msgid "too few arguments" msgstr "" #: src/rcfile.c:690 msgid "too many arguments" msgstr "" #: src/rcfile.c:700 msgid "unknown directive" msgstr "" #: src/rcfile.c:755 #, c-format msgid "%s:%d: syntax error: %s" msgstr "" #: src/rcfile.c:887 #, c-format msgid "Loaded rcfile: %s\n" msgstr "" #: src/rcfile.c:892 #, c-format msgid "" "Index: %s\n" "Logging: %s\n" "Lang: %s\n" "Scoring: %s\n" "Template: %s\n" "MaxHit: %d\n" "MaxMatch: %d\n" "EmphasisTags: %s\t%s\n" msgstr "" #: src/rcfile.c:912 #, c-format msgid "Alias: %-20s\t%s\n" msgstr "" #: src/rcfile.c:922 #, c-format msgid "Replace: %-20s\t%s\n" msgstr "" #: src/usage.c:53 #, c-format msgid "" "namazu %s, a search program of Namazu.\n" "\n" "Usage: namazu [options] [index]... \n" " -n, --max=NUM set the number of documents shown to NUM.\n" " -w, --whence=NUM set the first number of documents shown to NUM.\n" " -l, --list print the results by listing the format.\n" " -s, --short print the results in a short format.\n" " --result=EXT set NMZ.result.EXT for printing the results.\n" " --late sort the documents in late order.\n" " --early sort the documents in early order.\n" " --sort=METHOD set a sort METHOD (score, date, field:name)\n" " --ascending sort in ascending order (default: descending)\n" " -a, --all print all results.\n" " -c, --count print only the number of hits.\n" " -h, --html print in HTML format.\n" " -r, --no-references do not display the reference hit counts.\n" " -H, --page print the links of further results. \n" " (This is nearly meaningless)\n" " -F, --form force to print the
...
region.\n" " -R, --no-replace do not replace the URI string.\n" " -U, --no-decode-uri do not decode the URI when printing in a plain " "format.\n" " -o, --output=FILE set the output file name to FILE.\n" " -f, --config=FILE set the config file name to FILE.\n" " -C, --show-config print the current configuration.\n" " -q, --quiet do not display extra messages except search " "results.\n" " -d, --debug be in debug mode.\n" " -v, --version show the namazu version and exit.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" #: src/usage.c:95 msgid "Usage: namazu [options] [index]...\n" msgstr "" #: src/usage.c:96 msgid "Try `namazu --help' for more information.\n" msgstr "" #: scripts/mknmz.in:113 msgid " files are found to be indexed.\n" msgstr "" #: scripts/mknmz.in:131 msgid "target file: " msgstr "" #: scripts/mknmz.in:151 scripts/mknmz.in:170 msgid "Writing index files..." msgstr "" #: scripts/mknmz.in:254 scripts/mknmz.in:1187 msgid "Reading rcfile: " msgstr "" #: scripts/mknmz.in:313 msgid "Checkpoint reached: re-exec mknmz...\n" msgstr "" #: scripts/mknmz.in:490 msgid "after load_document: " msgstr "" #: scripts/mknmz.in:846 pl/document.pl:290 msgid "Detected type: " msgstr "" #: scripts/mknmz.in:857 scripts/mknmz.in:1604 pl/document.pl:348 #: pl/filter.pl.in:98 msgid "Unsupported media type " msgstr "" #: scripts/mknmz.in:862 pl/filter.pl.in:103 msgid "Using " msgstr "" #: scripts/mknmz.in:864 pl/filter.pl.in:105 msgid "unable to require " msgstr "" #: scripts/mknmz.in:880 pl/filter.pl.in:124 msgid "Failed to call " msgstr "" #: scripts/mknmz.in:925 msgid "Looking for indexing files...\n" msgstr "" #: scripts/mknmz.in:930 scripts/mknmz.in:1777 msgid "No files to index.\n" msgstr "" #: scripts/mknmz.in:952 msgid "code conversion: using NKF module\n" msgstr "" #: scripts/mknmz.in:957 msgid "wakati: using Text::Kakasi module\n" msgstr "" #: scripts/mknmz.in:962 msgid "wakati: using Text::ChaSen module\n" msgstr "" #: scripts/mknmz.in:969 msgid "wakati: using MeCab module\n" msgstr "" #: scripts/mknmz.in:980 msgid "" "found. Maybe this index is being updated by another process now.\n" "If not, you can remove this file.\n" msgstr "" #: scripts/mknmz.in:1010 msgid "Present index is old type. it's unsupported.\n" msgstr "" #: scripts/mknmz.in:1153 scripts/mknmz.in:1162 scripts/mknmz.in:1170 msgid "No such index: " msgstr "" #: scripts/mknmz.in:1166 msgid "Inherited argv: " msgstr "" #: scripts/mknmz.in:1174 msgid "Inherited cwd: " msgstr "" #: scripts/mknmz.in:1251 msgid "Loaded: " msgstr "" #: scripts/mknmz.in:1266 msgid "Invalid replace: " msgstr "" #: scripts/mknmz.in:1268 msgid "Replace: " msgstr "" #: scripts/mknmz.in:1282 msgid "invalid output directory\n" msgstr "" #: scripts/mknmz.in:1302 msgid "Loaded rcfile: " msgstr "" #: scripts/mknmz.in:1303 msgid "System: " msgstr "" #: scripts/mknmz.in:1304 msgid "Namazu: " msgstr "" #: scripts/mknmz.in:1305 msgid "Perl: " msgstr "" #: scripts/mknmz.in:1306 msgid "File-MMagic: " msgstr "" #: scripts/mknmz.in:1307 msgid "NKF: " msgstr "" #: scripts/mknmz.in:1308 msgid "KAKASI: " msgstr "" #: scripts/mknmz.in:1309 msgid "ChaSen: " msgstr "" #: scripts/mknmz.in:1310 msgid "MeCab: " msgstr "" #: scripts/mknmz.in:1311 msgid "Wakati: " msgstr "" #: scripts/mknmz.in:1312 msgid "Lang_Msg: " msgstr "" #: scripts/mknmz.in:1313 msgid "Lang: " msgstr "" #: scripts/mknmz.in:1314 msgid "Coding System: " msgstr "" #: scripts/mknmz.in:1315 msgid "CONFDIR: " msgstr "" #: scripts/mknmz.in:1316 msgid "LIBDIR: " msgstr "" #: scripts/mknmz.in:1317 msgid "FILTERDIR: " msgstr "" #: scripts/mknmz.in:1318 msgid "TEMPLATEDIR: " msgstr "" #: scripts/mknmz.in:1325 pl/filter.pl.in:179 msgid "Supported media types: " msgstr "" #: scripts/mknmz.in:1326 pl/filter.pl.in:180 msgid "Unsupported media types: " msgstr "" #: scripts/mknmz.in:1326 msgid "marked with minus (-) probably missing application in your \\$path.\n" msgstr "" #: scripts/mknmz.in:1404 msgid "find_target starting: " msgstr "" #: scripts/mknmz.in:1451 msgid "unsupported target: " msgstr "" #: scripts/mknmz.in:1488 #, c-format msgid "Unreadable:\t%s" msgstr "" #: scripts/mknmz.in:1497 #, c-format msgid "Excluded:\t%s" msgstr "" #: scripts/mknmz.in:1511 scripts/mknmz.in:1525 #, c-format msgid "Too old:\t%s" msgstr "" #: scripts/mknmz.in:1518 scripts/mknmz.in:1528 #, c-format msgid "Too new:\t%s" msgstr "" #: scripts/mknmz.in:1545 #, c-format msgid "Denied:\t%s" msgstr "" #: scripts/mknmz.in:1550 #, c-format msgid "Not allowed:\t%s" msgstr "" #: scripts/mknmz.in:1554 #, c-format msgid "Targeted:\t%s" msgstr "" #: scripts/mknmz.in:1563 msgid "find_target finished: " msgstr "" #: scripts/mknmz.in:1564 #, c-format msgid "Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)" msgstr "" #: scripts/mknmz.in:1567 #, c-format msgid " Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d" msgstr "" #: scripts/mknmz.in:1572 #, c-format msgid " MTIME too old: %d, MTIME too new: %d" msgstr "" #: scripts/mknmz.in:1578 msgid "lang_msg: " msgstr "" #: scripts/mknmz.in:1579 msgid "lang: " msgstr "" #: scripts/mknmz.in:1587 msgid "Usage: mknmz [options] ...\n" msgstr "" #: scripts/mknmz.in:1588 msgid "Try `mknmz --help' for more information.\n" msgstr "" #: scripts/mknmz.in:1604 scripts/mknmz.in:1611 pl/document.pl:348 #: pl/document.pl:355 msgid " skipped." msgstr "" #: scripts/mknmz.in:1606 scripts/mknmz.in:1621 pl/document.pl:314 #: pl/document.pl:327 pl/document.pl:350 pl/document.pl:365 msgid "is larger than your setup before filtered, skipped: " msgstr "" #: scripts/mknmz.in:1611 pl/document.pl:355 msgid "system error occurred! " msgstr "" #: scripts/mknmz.in:1613 pl/document.pl:357 msgid "does NOT EXIST! skipped." msgstr "" #: scripts/mknmz.in:1615 pl/document.pl:359 msgid "is NOT READABLE! skipped." msgstr "" #: scripts/mknmz.in:1617 pl/document.pl:361 msgid "is 0 size! skipped." msgstr "" #: scripts/mknmz.in:1619 pl/document.pl:363 msgid "may be a BINARY file! skipped." msgstr "" #: scripts/mknmz.in:1623 pl/document.pl:367 msgid "is larger than your setup after filtered, skipped: " msgstr "" #: scripts/mknmz.in:1862 msgid "" "\n" "\n" "== found files ==\n" msgstr "" #: scripts/mknmz.in:1863 msgid "" "\n" "\n" "== registered documents ==\n" msgstr "" #: scripts/mknmz.in:1864 msgid "" "\n" "\n" "== overlapped documents ==\n" msgstr "" #: scripts/mknmz.in:1865 msgid "" "\n" "\n" "== deleted documents ==\n" msgstr "" #: scripts/mknmz.in:1866 msgid "" "\n" "\n" "== updated documents ==\n" msgstr "" #: scripts/mknmz.in:1867 msgid "" "\n" "\n" "== files to index ==\n" msgstr "" #: scripts/mknmz.in:1891 msgid "## deleted: " msgstr "" #: scripts/mknmz.in:1916 msgid "## indexed: " msgstr "" #: scripts/mknmz.in:1946 msgid "update_field_index: " msgstr "" #: scripts/mknmz.in:1961 msgid "was deleted!\n" msgstr "" #: scripts/mknmz.in:1978 msgid "was updated!\n" msgstr "" #: scripts/mknmz.in:2127 msgid "[Append]" msgstr "" #: scripts/mknmz.in:2129 msgid "[Base]" msgstr "" #: scripts/mknmz.in:2131 msgid "Date:" msgstr "" #: scripts/mknmz.in:2132 msgid "Added Documents:" msgstr "" #: scripts/mknmz.in:2134 msgid "Deleted Documents:" msgstr "" #: scripts/mknmz.in:2136 msgid "Updated Documents:" msgstr "" #: scripts/mknmz.in:2138 msgid "Size (bytes):" msgstr "" #: scripts/mknmz.in:2140 msgid "Total Documents:" msgstr "" #: scripts/mknmz.in:2142 msgid "Added Keywords:" msgstr "" #: scripts/mknmz.in:2144 msgid "Total Keywords:" msgstr "" #: scripts/mknmz.in:2146 msgid "Wakati:" msgstr "" #: scripts/mknmz.in:2147 msgid "Time (sec):" msgstr "" #: scripts/mknmz.in:2149 msgid "File/Sec:" msgstr "" #: scripts/mknmz.in:2152 msgid "System:" msgstr "" #: scripts/mknmz.in:2153 msgid "Perl:" msgstr "" #: scripts/mknmz.in:2154 msgid "Namazu:" msgstr "" #: scripts/mknmz.in:2282 msgid "doing write_phrase_hash() processing.\n" msgstr "" #: scripts/mknmz.in:2534 msgid "doing write_index() processing.\n" msgstr "" #: pl/filter.pl.in:180 msgid "marked with minus (-) probably missing application in your $path.\n" msgstr "" #: pl/util.pl:45 msgid "Renamed: " msgstr "" #: pl/util.pl:82 pl/util.pl:137 pl/util.pl:166 pl/util.pl:188 msgid "not an IO::File/FileHandle object!\n" msgstr "" #: pl/util.pl:262 msgid "Remove temporary files:" msgstr "" #: pl/util.pl:306 msgid "ASSERTION ERROR!: " msgstr "" #: pl/util.pl:333 pl/util.pl:448 msgid "Invoked: " msgstr "" #: pl/wakati.pl:65 msgid "-- wakatized content --\n" msgstr "" #: pl/wakati.pl:99 msgid "invalid wakati module: " msgstr "" #: pl/wakati.pl:101 msgid "-- wakatized bare content --\n" msgstr "" #: pl/wakati.pl:105 msgid "wakati: using " msgstr "" #: pl/usage.pl:37 #, perl-format msgid "" "mknmz %s, an indexer of Namazu.\n" "\n" "Usage: mknmz [options] ...\n" "\n" "Target files:\n" " -a, --all target all files.\n" " -t, --media-type=MTYPE set the media type for all target files to " "MTYPE.\n" " -h, --mailnews same as --media-type='message/rfc822'\n" " --mhonarc same as --media-type='text/html; x-type=mhonarc'\n" " -F, --target-list=FILE load FILE which contains a list of target files.\n" " --allow=PATTERN set PATTERN for file names which should be " "allowed.\n" " --deny=PATTERN set PATTERN for file names which should be " "denied.\n" " --exclude=PATTERN set PATTERN for pathnames which should be " "excluded.\n" " -e, --robots exclude HTML files containing\n" " \n" " -M, --meta handle HTML meta tags for field-specified " "search.\n" " -r, --replace=CODE set CODE for replacing URI.\n" " --html-split split an HTML file with
" "anchors.\n" " --mtime=NUM limit by mtime just like find(1)'s -mtime " "option.\n" " e.g., -50 for recent 50 days, +50 for older than " "50.\n" "\n" "Morphological Analysis:\n" " -b, --use-mecab use MeCab for analyzing Japanese.\n" " -c, --use-chasen use ChaSen for analyzing Japanese.\n" " -k, --use-kakasi use KAKASI for analyzing Japanese.\n" " -m, --use-chasen-noun use ChaSen for extracting only nouns.\n" " -L, --indexing-lang=LANG index with language specific processing.\n" "\n" "Text Operations:\n" " -E, --no-edge-symbol remove symbols on edge of word.\n" " -G, --no-okurigana remove Okurigana in word.\n" " -H, --no-hiragana ignore words consist of Hiragana only.\n" " -K, --no-symbol remove symbols.\n" " --decode-base64 decode base64 bodies within multipart entities.\n" "\n" "Summarization:\n" " -U, --no-encode-uri do not encode URI.\n" " -x, --no-heading-summary do not make summary with HTML's headings.\n" "\n" "Index Construction:\n" " --update=INDEX set INDEX for updating.\n" " -z, --check-filesize detect file size changed.\n" " -Y, --no-delete do not detect removed documents.\n" " -Z, --no-update do not detect update and deleted documents.\n" "\n" "Miscellaneous:\n" " -s, --checkpoint turn on the checkpoint mechanism.\n" " -C, --show-config show the current configuration.\n" " -f, --config=FILE use FILE as a config file.\n" " -I, --include=FILE include your customization FILE.\n" " -O, --output-dir=DIR set DIR to output the index.\n" " -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*.\n" " -q, --quiet suppress status messages during execution.\n" " -v, --version show the version of namazu and exit.\n" " -V, --verbose be verbose.\n" " -d, --debug be debug mode.\n" " --help show this help and exit.\n" " --norc do not read the personal initialization files.\n" " -- Terminate option list.\n" "\n" "Report bugs to <%s>\n" "or <%s>.\n" msgstr "" #: pl/var.pl.in:132 msgid "No title in original" msgstr "" #: filter/html.pl:91 msgid "is excluded because of " msgstr "" #: filter/msword.pl:148 filter/msword.pl:262 msgid "Unsupported format: " msgstr "" namazu-2.0.21/po/ja.gmo0000644000000000000000000005054511611035217010240   H /I y   )  3Hf&9  0 : GTl  %;K\b u    s   >FLT]q,- , D NX ky F # *6L[{  )*?Zi~#+"+/Br{!1S"f &c|/3#4W BC% D%#,, -#-5-H-[-m----"-"- . .D$.+i////3/050#Q0u0000&0*1 119?1 y1 1 11111122/2A2 [2e28l2 2222222 333 -3 ;3H3:4&R4y444 444444 5%5$45Y5b5h5p5'y555 555859 6Z6u66 6 6666 6 6 7<7N7 W7x777"77(7 8 ,8 78E8.W8/8"8 88 899%.97T9 9 9 9!9*99: :$:9:0V::,:(:,:);&8;_;z;;;;;\<m<<< <4<3=3N===-=-="=C >=_I/OOOOO& P4PEP0TPP*P1P/P-QIQ\xehQ%28 o5pC|d4(DGF1miw*{.#9;:TLZI^R0vyl -W?V`jk&+qanS/<NgE])}> K ,'7tUXJ fM~s [P@rzY!uAHbO6$3_"=cB documents matching your query.

Error!

%s

Results:

Total

No document matching your query.

Page: == deleted documents == == files to index == == found files == == overlapped documents == == registered documents == == updated documents == MTIME too old: %d, MTIME too new: %d Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d [ TOTAL: %d ] files are found to be indexed. skipped.## deleted: ## indexed: %s:%d: syntax error: %s-- wakatized bare content -- -- wakatized content --

Error

ASSERTION ERROR!: Added Documents:Added Keywords:Alias: %-20s %s CONFDIR: ChaSen: Checkpoint reached: re-exec mknmz... Coding System: Current List: %dDate:Deleted Documents:Denied: %sDetected type: Excluded: %sFILTERDIR: Failed to call Fatal error occurred!File-MMagic: File/Sec:Index: %s Logging: %s Lang: %s Scoring: %s Template: %s MaxHit: %d MaxMatch: %d EmphasisTags: %s %s Inherited argv: Inherited cwd: Invalid idxname.Invalid queryInvalid replace: Invoked: KAKASI: LIBDIR: Lang: Lang_Msg: Loaded rcfile: Loaded rcfile: %s Loaded: Looking for indexing files... MeCab: NKF: Namazu:Namazu: No files to index. No such index: No title in originalNot allowed: %sPerl:Perl: Present index is old type. it's unsupported.Present index is old type. it's unsupported. Reading rcfile: References: Remove temporary files:Renamed: Replace: Replace: %-20s %s Size (bytes):Supported media types: System:System: TEMPLATEDIR: Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)Targeted: %sThe index is locked for maintenanceTime (sec):Too long QUERY_STRINGToo long queryToo many documents hit. IgnoredToo many query tokensToo many words matched. IgnoredToo new: %sToo old: %sTotal Documents:Total Keywords:Try `mknmz --help' for more information. Try `namazu --help' for more information. Unknown error. Report bug!Unreadable: %sUnsupported format: Unsupported media type Unsupported media types: Updated Documents:Usage: mknmz [options] ... Usage: namazu [options] [index]... Using Wakati:Wakati: Writing index files...You don't have a permission to access the index[Append][Base]after load_document: can't find argumentscan't find string terminatorcan't open the field indexcan't open the indexcan't open the phrase indexcan't open the regex indexcan't open the result format filecharset=ISO-8859-1code conversion: using NKF module does NOT EXIST! skipped.doing write_index() processing. doing write_phrase_hash() processing. find_target finished: find_target starting: found. Maybe this index is being updated by another process now. If not, you can remove this file. invalid directive nameinvalid output directory invalid wakati module: is 0 size! skipped.is NOT READABLE! skipped.is excluded because of is larger than your setup after filtered, skipped: is larger than your setup before filtered, skipped: lang: lang_msg: marked with minus (-) probably missing application in your $path. marked with minus (-) probably missing application in your \$path. may be a BINARY file! skipped.mknmz %s, an indexer of Namazu. Usage: mknmz [options] ... Target files: -a, --all target all files. -t, --media-type=MTYPE set the media type for all target files to MTYPE. -h, --mailnews same as --media-type='message/rfc822' --mhonarc same as --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE load FILE which contains a list of target files. --allow=PATTERN set PATTERN for file names which should be allowed. --deny=PATTERN set PATTERN for file names which should be denied. --exclude=PATTERN set PATTERN for pathnames which should be excluded. -e, --robots exclude HTML files containing -M, --meta handle HTML meta tags for field-specified search. -r, --replace=CODE set CODE for replacing URI. --html-split split an HTML file with anchors. --mtime=NUM limit by mtime just like find(1)'s -mtime option. e.g., -50 for recent 50 days, +50 for older than 50. Morphological Analysis: -b, --use-mecab use MeCab for analyzing Japanese. -c, --use-chasen use ChaSen for analyzing Japanese. -k, --use-kakasi use KAKASI for analyzing Japanese. -m, --use-chasen-noun use ChaSen for extracting only nouns. -L, --indexing-lang=LANG index with language specific processing. Text Operations: -E, --no-edge-symbol remove symbols on edge of word. -G, --no-okurigana remove Okurigana in word. -H, --no-hiragana ignore words consist of Hiragana only. -K, --no-symbol remove symbols. --decode-base64 decode base64 bodies within multipart entities. Summarization: -U, --no-encode-uri do not encode URI. -x, --no-heading-summary do not make summary with HTML's headings. Index Construction: --update=INDEX set INDEX for updating. -z, --check-filesize detect file size changed. -Y, --no-delete do not detect removed documents. -Z, --no-update do not detect update and deleted documents. Miscellaneous: -s, --checkpoint turn on the checkpoint mechanism. -C, --show-config show the current configuration. -f, --config=FILE use FILE as a config file. -I, --include=FILE include your customization FILE. -O, --output-dir=DIR set DIR to output the index. -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*. -q, --quiet suppress status messages during execution. -v, --version show the version of namazu and exit. -V, --verbose be verbose. -d, --debug be debug mode. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. namazu %s, a search program of Namazu. Usage: namazu [options] [index]... -n, --max=NUM set the number of documents shown to NUM. -w, --whence=NUM set the first number of documents shown to NUM. -l, --list print the results by listing the format. -s, --short print the results in a short format. --result=EXT set NMZ.result.EXT for printing the results. --late sort the documents in late order. --early sort the documents in early order. --sort=METHOD set a sort METHOD (score, date, field:name) --ascending sort in ascending order (default: descending) -a, --all print all results. -c, --count print only the number of hits. -h, --html print in HTML format. -r, --no-references do not display the reference hit counts. -H, --page print the links of further results. (This is nearly meaningless) -F, --form force to print the

... region. -R, --no-replace do not replace the URI string. -U, --no-decode-uri do not decode the URI when printing in a plain format. -o, --output=FILE set the output file name to FILE. -f, --config=FILE set the config file name to FILE. -C, --show-config print the current configuration. -q, --quiet do not display extra messages except search results. -d, --debug be in debug mode. -v, --version show the namazu version and exit. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. not an IO::File/FileHandle object! system error occurred! target file: too few argumentstoo many argumentsunable to require unknown directiveunsupported target: update_field_index: wakati: using wakati: using MeCab module wakati: using Text::ChaSen module wakati: using Text::Kakasi module was deleted! was updated! Project-Id-Version: Namazu 2.0.20 Report-Msgid-Bugs-To: bugs@namazu.org POT-Creation-Date: 2009-02-21 09:15+0900 PO-Revision-Date: 2001-06-26 16:55+0900 Last-Translator: Ryuji Abe Language-Team: Japanese MIME-Version: 1.0 Content-Type: text/plain; charset=EUC-JP Content-Transfer-Encoding: 8bit 個の文書が見つかりました。

エラー!

%s

検索結果

検索式にマッチする

検索式にマッチする文書はありませんでした。

ペイジ: == 削除されている文書 == == インデックスすべきファイル == == 見つかったファイル == == 重複した文書 == == 登録されている文書 == == 更新されている文書 == MTIME 古すぎ: %d, MTIME 新しすぎ: %d 潜在: %d, 不許可: %d, 拒絶: %d, 除外: %d [ 合計: %d ]個のファイルがインデックス作成の対象として見つかりました 無視します## deleted: ## indexed: %s:%d: 構文エラー: %s-- wakatized bare content -- -- わかち書きされた内容 --

エラー!

ASSERTION ERROR!: 追加された文書の数:追加キーワード数:別名 (Alias): %-20s %s CONFDIR: 茶筌: チェックポイントに到達しました。mknmz を再実行します... 文字コード: 現在のリスト: %d日付:削除された文書の数:拒絶: %s検出されたタイプ: 除外: %sFILTERDIR: 呼び出しに失敗 致命的なエラーFile-MMagic: ファイル/秒:インデックス (Index): %s ログの記録 (Logging): %s 使用する言語 (Lang): %s スコア計算 (Scoring): %s テンプレート (Template): %s ヒット件数の上限 (MaxHit): %d マッチする語の上限 (MaxMatch): %d 強調タグ (EmphasisTags): %s %s 継承された引数 (argv): 継承されたカレントディレクトリ (cwd): 不正な idxname の指定です不正な検索式です不正な replace 指定: Invoked: KAKASI: LIBDIR: 言語: メッセージの言語: 読み込んだ設定ファイル: 読み込んだ設定ファイル: %s 読み込み完了: 検索対象のファイルを調べています... 和布蕪: NKF: Namazu:Namazu: インデックスすべきファイルはありません インデックスが見つかりません: 題名なしの文書不許可: %sPerl:Perl: 存在するインデックスは古い形式です。今は対応していません存在するインデックスは古い形式です。今は対応していません 設定ファイルを読み込み中: 参考ヒット数: 一時ファイルを削除:Renamed: Replace: 置換 (Replace): %-20s %s サイズ (bytes): 対応メディアタイプ: システム:システム: TEMPLATEDIR: 対象ファイル数: %d (走査性能: 経過秒: %d, ファイル/秒: %.1f)適合: %sインデックスは保守作業の最中です経過時間 (秒):CGIの QUERY_STRING が長すぎます検索式が長すぎますヒット数が多すぎるので無視しました検索式の項目が多すぎますマッチする単語が多すぎるので無視しました新しすぎ: %s古すぎ: %s合計の文書数:合計キーワード数:`mknmz --help' でより詳しい情報が表示されます `namazu --help' でより詳しい情報が表示されます 不明なエラー。バグ報告してください読めない: %s未対応の形式: 未対応の形式 未対応メディアタイプ: 更新された文書の数:使い方: mknmz [オプション] <対象>... 使い方: namazu [オプション] <検索式> [インデックス]... モジュール: わかち書き:わかち書き: インデックスを書き出しています...インデックスにアクセスする権利がありません[追加][基本]load_document 実行後: 引数が見つかりません文字列の終端が見つかりませんフィールド検索用のインデックスが開けませんでしたインデックスが開けませんでしたフレイズ検索用インデックスが開けませんでした正規表現用インデックスが開けませんでした結果出力の書式指定ファイルが開けませんでしたcharset=EUC-JPコード変換に NKF モジュールを用います は存在しないので無視しますwrite_index() 実行. write_phrase_hash() 実行. 対象の探索を終了: 対象の探索を開始: ファイルを発見しました このインデックスは他のプロセスによって更新されている可能性があります そうでなければ、このファイルを削除してください 不正な指示子です無効な出力ディレクトリ指定 無効なわかち書きモジュール: はサイズが 0 なので無視しますは読み込み不可能なので無視しますは によって除外されていますファイルが設定された制限を越えているので無視します ファイルが設定された制限を越えているので無視します 言語: メッセージの言語: 必要ツールが $path にないものには (-) を表示 必要ツールが $path にないものには (-) を表示 はバイナリと思われるので無視しますmknmz %s, Namazu のインデックス作成プログラム 使い方: mknmz [オプション] <対象>... 対象ファイル: -a, --all すべてのファイルを対象とする -t, --media-type=MTYPE 対象ファイルの文書形式を指定する -h, --mailnews --media-type='message/rfc822' と同じ --mhonarc --media-type='text/html; x-type=mhonarc' と同じ -F, --target-list=FILE インデックス対象のファイルのリストを読み込む --allow=PATTERN 対象とするファイル名の正規表現を指定する --deny=PATTERN 拒絶するファイル名の正規表現を指定する --exclude=PATTERN 除外するパス名の正規表現を指定する -e, --robots 次の記述を含む HTMLファイルを除外する -M, --meta HTMLの metaタグをフィールド指定検索に用いる -r, --replace=CODE URIを置換するためのコードを指定する --html-split HTMLファイルを 単位で分割処理する --mtime=NUM 変更日制限 find(1) の -mtime と同じ規則 例: -50 で 50 日以内、+50 で 50 日より古いものだけ 形態素解析: -b, --use-mecab 日本語の単語のわかち書きに MeCab を用いる -c, --use-chasen 日本語の単語のわかち書きに ChaSen を用いる -k, --use-kakasi 日本語の単語のわかち書きに KAKASI を用いる -m, --use-chasen-noun 名詞のみを抽出する -L, --indexing-lang=LANG インデックス時に言語に特化した処理を行なう 文字列処理: -E, --no-edge-symbol 単語の両端の記号は削除する -G, --no-okurigana 送り仮名を削除する -H, --no-hiragana 平仮名のみの単語は登録しない -K, --no-symbol 記号をすべて削除する --decode-base64 添付されたBase64エンコード部分をデコードする 要約: -U, --no-encode-uri URIのencodeを行わない -x, --no-heading-summary HTML のヘディングによる要約作成を行わない インデックス作成: --update=INDEX 更新するインデックスを指定する -z, --check-filesize サイズが変わったファイルも対象とする -Y, --no-delete 削除された文書の検出を行わない -Z, --no-update 文書の更新・削除を反映しない その他: -s, --checkpoint チェックポイント機構を作動させる -C, --show-config 現在の設定を表示する -f, --config=FILE 設定ファイルを指定する -I, --include=FILE カスタマイズ用ファイルを読み込む -O, --output-dir=DIR インデックスの出力先を指定する -T, --template-dir=DIR NMZ.{head,foot,body}.* のディレクトリを指定する -q, --quiet インデックス処理の最中にメッセージを表示しない -v, --version ヴァージョンを表示する -V, --verbose 口やかましいモード -d, --debug デバッグモード --help このヘルプを表示する --norc 設定ファイルを読み込まない -- オプションリストを終了する バグ報告は <%s> または <%s> へどうぞ namazu %s, Namazu の検索プログラム 使い方: namazu [options] [index]... -n, --max=NUM 一度に表示する件数 -w, --whence=NUM 表示する検索結果の先頭番号 -l, --list 検索結果を URI・パス名をリストで出力する -s, --short 短い書式で出力する --result=EXT 結果表示に用いる NMZ.result.EXT を指定する --late 検索結果を新しい順にソートする --early 検索結果を古い順にソートする --sort=METHOD ソート方法を指定する (score, date, field:name) --ascending ソートの方向を昇順にする (標準は降順) -a, --all 検索結果をすべて表示する -c, --count ヒット数のみを表示する -h, --html HTMLで出力する -r, --no-references 参考ヒット数を表示しない -H, --page 先の検索結果へのリンクを表示する (ほぼ無意味) -F, --form

... の部分を強制的に表示する -R, --no-replace URI の置き換えを行わない -U, --no-decode-uri URI encode の復元を行わない -o, --output=FILE 指定したファイルに検索結果を出力する -f, --config=FILE 設定ファイルを指定する -C, --show-config 設定を表示する -q, --quiet 検索結果以外のメッセージを表示しない -d, --debug デバッグモード -v, --version ヴァージョンを表示する --help このヘルプを表示する --norc 設定ファイルを読み込まない -- オプションリストを終了する バグ報告は <%s> または <%s> へどうぞ IO::File/FileHandle オブジェクトではありません 致命的なエラー対象ファイル: 引数が足りません引数が多すぎます以下のモジュールが require できません 不明な指示子です未対応の対象: フィールド検索用のインデックスが開けませんでしたわかち書きには以下を利用: わかち書きに MeCab モジュールを用います。 わかち書きに Text::ChaSen モジュールを用います。 わかち書きに Text::Kakasi モジュールを用います ファイルは削除されています ファイルは更新されています namazu-2.0.21/po/ja_JP.SJIS.gmo0000644000000000000000000005055311611035217011377   H /I y   )  3Hf&9  0 : GTl  %;K\b u    s   >FLT]q,- , D NX ky F # *6L[{  )*?Zi~#+"+/Br{!1S"f &c|/3#4W BC% D%#,, -#-5-H-[-m----"-"- . .G$.+l////3/080#T0x0000&0* 1 419B1 |1 1 111111 2222D2 ^2h28o2 2222222 33!3 03 >3K3=4&U4|444 444444 5(5$75\5e5k5s5'|555 555859#6]6x66 6 6666 6 6 7<7Q7 Z7{777"77(7 "8 /8 :8H8.Z8/8"8 88 899%197W9 9 9 9!9*9: ::':<:0Y::,:(:,:,;&>;e;;;;;;b<s<<< <4<3 =3T===-=-="=C !>=eI/OOOOP&P:PKP0ZPP*P1P/Q3QOQ\xehQ%28 o5pC|d4(DGF1miw*{.#9;:TLZI^R0vyl -W?V`jk&+qanS/<NgE])}> K ,'7tUXJ fM~s [P@rzY!uAHbO6$3_"=cB documents matching your query.

Error!

%s

Results:

Total

No document matching your query.

Page: == deleted documents == == files to index == == found files == == overlapped documents == == registered documents == == updated documents == MTIME too old: %d, MTIME too new: %d Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d [ TOTAL: %d ] files are found to be indexed. skipped.## deleted: ## indexed: %s:%d: syntax error: %s-- wakatized bare content -- -- wakatized content --

Error

ASSERTION ERROR!: Added Documents:Added Keywords:Alias: %-20s %s CONFDIR: ChaSen: Checkpoint reached: re-exec mknmz... Coding System: Current List: %dDate:Deleted Documents:Denied: %sDetected type: Excluded: %sFILTERDIR: Failed to call Fatal error occurred!File-MMagic: File/Sec:Index: %s Logging: %s Lang: %s Scoring: %s Template: %s MaxHit: %d MaxMatch: %d EmphasisTags: %s %s Inherited argv: Inherited cwd: Invalid idxname.Invalid queryInvalid replace: Invoked: KAKASI: LIBDIR: Lang: Lang_Msg: Loaded rcfile: Loaded rcfile: %s Loaded: Looking for indexing files... MeCab: NKF: Namazu:Namazu: No files to index. No such index: No title in originalNot allowed: %sPerl:Perl: Present index is old type. it's unsupported.Present index is old type. it's unsupported. Reading rcfile: References: Remove temporary files:Renamed: Replace: Replace: %-20s %s Size (bytes):Supported media types: System:System: TEMPLATEDIR: Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)Targeted: %sThe index is locked for maintenanceTime (sec):Too long QUERY_STRINGToo long queryToo many documents hit. IgnoredToo many query tokensToo many words matched. IgnoredToo new: %sToo old: %sTotal Documents:Total Keywords:Try `mknmz --help' for more information. Try `namazu --help' for more information. Unknown error. Report bug!Unreadable: %sUnsupported format: Unsupported media type Unsupported media types: Updated Documents:Usage: mknmz [options] ... Usage: namazu [options] [index]... Using Wakati:Wakati: Writing index files...You don't have a permission to access the index[Append][Base]after load_document: can't find argumentscan't find string terminatorcan't open the field indexcan't open the indexcan't open the phrase indexcan't open the regex indexcan't open the result format filecharset=ISO-8859-1code conversion: using NKF module does NOT EXIST! skipped.doing write_index() processing. doing write_phrase_hash() processing. find_target finished: find_target starting: found. Maybe this index is being updated by another process now. If not, you can remove this file. invalid directive nameinvalid output directory invalid wakati module: is 0 size! skipped.is NOT READABLE! skipped.is excluded because of is larger than your setup after filtered, skipped: is larger than your setup before filtered, skipped: lang: lang_msg: marked with minus (-) probably missing application in your $path. marked with minus (-) probably missing application in your \$path. may be a BINARY file! skipped.mknmz %s, an indexer of Namazu. Usage: mknmz [options] ... Target files: -a, --all target all files. -t, --media-type=MTYPE set the media type for all target files to MTYPE. -h, --mailnews same as --media-type='message/rfc822' --mhonarc same as --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE load FILE which contains a list of target files. --allow=PATTERN set PATTERN for file names which should be allowed. --deny=PATTERN set PATTERN for file names which should be denied. --exclude=PATTERN set PATTERN for pathnames which should be excluded. -e, --robots exclude HTML files containing -M, --meta handle HTML meta tags for field-specified search. -r, --replace=CODE set CODE for replacing URI. --html-split split an HTML file with anchors. --mtime=NUM limit by mtime just like find(1)'s -mtime option. e.g., -50 for recent 50 days, +50 for older than 50. Morphological Analysis: -b, --use-mecab use MeCab for analyzing Japanese. -c, --use-chasen use ChaSen for analyzing Japanese. -k, --use-kakasi use KAKASI for analyzing Japanese. -m, --use-chasen-noun use ChaSen for extracting only nouns. -L, --indexing-lang=LANG index with language specific processing. Text Operations: -E, --no-edge-symbol remove symbols on edge of word. -G, --no-okurigana remove Okurigana in word. -H, --no-hiragana ignore words consist of Hiragana only. -K, --no-symbol remove symbols. --decode-base64 decode base64 bodies within multipart entities. Summarization: -U, --no-encode-uri do not encode URI. -x, --no-heading-summary do not make summary with HTML's headings. Index Construction: --update=INDEX set INDEX for updating. -z, --check-filesize detect file size changed. -Y, --no-delete do not detect removed documents. -Z, --no-update do not detect update and deleted documents. Miscellaneous: -s, --checkpoint turn on the checkpoint mechanism. -C, --show-config show the current configuration. -f, --config=FILE use FILE as a config file. -I, --include=FILE include your customization FILE. -O, --output-dir=DIR set DIR to output the index. -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*. -q, --quiet suppress status messages during execution. -v, --version show the version of namazu and exit. -V, --verbose be verbose. -d, --debug be debug mode. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. namazu %s, a search program of Namazu. Usage: namazu [options] [index]... -n, --max=NUM set the number of documents shown to NUM. -w, --whence=NUM set the first number of documents shown to NUM. -l, --list print the results by listing the format. -s, --short print the results in a short format. --result=EXT set NMZ.result.EXT for printing the results. --late sort the documents in late order. --early sort the documents in early order. --sort=METHOD set a sort METHOD (score, date, field:name) --ascending sort in ascending order (default: descending) -a, --all print all results. -c, --count print only the number of hits. -h, --html print in HTML format. -r, --no-references do not display the reference hit counts. -H, --page print the links of further results. (This is nearly meaningless) -F, --form force to print the

... region. -R, --no-replace do not replace the URI string. -U, --no-decode-uri do not decode the URI when printing in a plain format. -o, --output=FILE set the output file name to FILE. -f, --config=FILE set the config file name to FILE. -C, --show-config print the current configuration. -q, --quiet do not display extra messages except search results. -d, --debug be in debug mode. -v, --version show the namazu version and exit. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. not an IO::File/FileHandle object! system error occurred! target file: too few argumentstoo many argumentsunable to require unknown directiveunsupported target: update_field_index: wakati: using wakati: using MeCab module wakati: using Text::ChaSen module wakati: using Text::Kakasi module was deleted! was updated! Project-Id-Version: Namazu 2.0.20 Report-Msgid-Bugs-To: bugs@namazu.org POT-Creation-Date: 2009-02-21 09:15+0900 PO-Revision-Date: 2001-06-26 16:55+0900 Last-Translator: Ryuji Abe Language-Team: Japanese MIME-Version: 1.0 Content-Type: text/plain; charset=Shift_JIS Content-Transfer-Encoding: 8bit B

G[!

%s

ョ}b`

ョ}b`B

yCW: == == == CfbNXt@C == == t@C == == d == == o^ == == XV == MTIME : %d, MTIME V: %d : %d, s: %d, : %d, O: %d [ v: %d ]t@CCfbNX ## deleted: ## indexed: %s:%d: \G[: %s-- wakatized bare content -- -- e --

G[!

ASSERTION ERROR!: :L[[h: (Alias): %-20s %s CONFDIR: 癸: `FbN|CgBBmknmz タs... R[h: Xg: %dt::: %so^Cv: O: %sFILTERDIR: oクs vIG[File-MMagic: t@C/b:CfbNX (Index): %s OL^ (Logging): %s gp (Lang): %s XRAvZ (Scoring): %s ev[g (Template): %s qbg (MaxHit): %d }b` (MaxMatch): %d ^O (EmphasisTags): %s %s p (argv): pJgfBNg (cwd): s idxname wsョs replace w: Invoked: KAKASI: LIBDIR: : bZ[W: t@C: t@C: %s : t@C... az: NKF: Namazu:Namazu: CfbNXt@C CfbNX: s: %sPerl:Perl: CfbNX`ョBCfbNX`ョB t@C: Qlqbg: t@C:Renamed: Replace: u (Replace): %-20s %s TCY (bytes): fBA^Cv: VXe:VXe: TEMPLATEDIR: t@C: %d (\: ob: %d, t@C/b: %.1f)K: %sCfbNXo (b):CGI QUERY_STRING ョqbgョ}b`PV: %s: %sv:vL[[h:`mknmz --help' \ヲ `namazu --help' \ヲ sG[BoO: %s`ョ: `ョ fBA^Cv: XV:g: mknmz [IvV] <>... g: namazu [IvV] <ョ> [CfbNX]... W[: :: CfbNXo...CfbNXANZX[][{]load_document タs: I[tB[hpCfbNXJCfbNXJtCYpCfbNXJK\pCfbNXJoョwt@CJcharset=Shift_JISR[h NKF W[p write_index() タs. write_phrase_hash() タs. TI: TJn: t@C CfbNXvZXXV\ At@C swヲqofBNgw W[: TCY 0 s\ Ot@Cz t@Cz : bZ[W: Kvc[ $path (-) \ヲ Kvc[ $path (-) \ヲ oCivmknmz %s, Namazu CfbNXvO g: mknmz [IvV] <>... t@C: -a, --all t@C -t, --media-type=MTYPE t@C`ョw -h, --mailnews --media-type='message/rfc822' --mhonarc --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE CfbNXt@CXg --allow=PATTERN t@CK\w --deny=PATTERN t@CK\w --exclude=PATTERN OpXK\w -e, --robots Lq HTMLt@CO -M, --meta HTML meta^OtB[hwp -r, --replace=CODE URIuR[hw --html-split HTMLt@C P --mtime=NUM X find(1) -mtime K : -50 50 A+50 50 `f: -b, --use-mecab {P MeCab p -c, --use-chasen {P ChaSen p -k, --use-kakasi {P KAKASI p -m, --use-chasen-noun o -L, --indexing-lang=LANG CfbNXs : -E, --no-edge-symbol P[L -G, --no-okurigana -H, --no-hiragana Po^ -K, --no-symbol L --decode-base64 YtBase64GR[hfR[h v: -U, --no-encode-uri URIencodes -x, --no-heading-summary HTML wfBOvs CfbNX: --update=INDEX XVCfbNXw -z, --check-filesize TCYt@C -Y, --no-delete os -Z, --no-update XVEf : -s, --checkpoint `FbN|Cg@\ -C, --show-config \ヲ -f, --config=FILE t@Cw -I, --include=FILE JX^}CYpt@C -O, --output-dir=DIR CfbNXow -T, --template-dir=DIR NMZ.{head,foot,body}.* fBNgw -q, --quiet CfbNXbZ[W\ヲ -v, --version @[W\ヲ -V, --verbose [h -d, --debug fobO[h --help wv\ヲ --norc t@C -- IvVXgI oO <%s> <%s> namazu %s, Namazu vO g: namazu [options] [index]... -n, --max=NUM x\ヲ -w, --whence=NUM \ヲ -l, --list URIEpXXgo -s, --short Zョo --result=EXT \ヲp NMZ.result.EXT w --late V\[g --early \[g --sort=METHOD \[g@w (score, date, field:name) --ascending \[g (W~) -a, --all \ヲ -c, --count qbg\ヲ -h, --html HTMLo -r, --no-references Qlqbg\ヲ -H, --page N\ヲ () -F, --form

... I\ヲ -R, --no-replace URI us -U, --no-decode-uri URI encode s -o, --output=FILE wt@Co -f, --config=FILE t@Cw -C, --show-config \ヲ -q, --quiet ObZ[W\ヲ -d, --debug fobO[h -v, --version @[W\ヲ --help wv\ヲ --norc t@C -- IvVXgI oO <%s> <%s> IO::File/FileHandle IuWFNg vIG[t@C: W[ require swヲq: tB[hpCfbNXJp: MeCab W[pB Text::ChaSen W[pB Text::Kakasi W[p t@C t@CXV namazu-2.0.21/po/es.gmo0000644000000000000000000004732211611035220010246  /  5 I )]      & 9- g v     "5F V`%i   !2B Sas|,%-R     F ]#j   !->)N*x# +1]dlu//D`!{" & 4Kcb#/=3m n"#\)) ))))))**"0*"S* v* *V*0+,9,P,8d,,,,, -8*->c--1- - -- . ).J.h.m......3./9/J/Q/ f/s/ /// ////00*030 <0G0\0 t0~00000000080971q1 11 1 11112 2R'2 z2+2 2"22)2"&3'I3q3333,3-3&$4 K4Y4p44#4.445 5&5,:5 g5q5x5!5*5"56"6B62a66,66&6,7=7U7~n77 8+8E8`8-x8&8 8*8 9QF%eMMMMMMNN.N>N&^N%NNN#t5"@_jKI %`w[r/m-kJN \^G]ueobFC,< MT1valfUAZ!Q.$)H6pi?*Sc>d}:4R&3Vy2+hYs~ nqD8|;7Bx WP9gz{L(' XE=0O documents matching your query.

Error!

%s

Results:

Total

No document matching your query.

Page: == files to index == == found files == == registered documents == == updated documents == MTIME too old: %d, MTIME too new: %d Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d [ TOTAL: %d ] files are found to be indexed. skipped.## deleted: ## indexed: %s:%d: syntax error: %s-- wakatized bare content -- -- wakatized content --

Error

ASSERTION ERROR!: Added Documents:Added Keywords:CONFDIR: ChaSen: Checkpoint reached: re-exec mknmz... Coding System: Current List: %dDate:Deleted Documents:Denied: %sDetected type: Excluded: %sFailed to call Fatal error occurred!File/Sec:Inherited argv: Inherited cwd: Invalid idxname.Invalid queryInvalid replace: KAKASI: LIBDIR: Lang: Loaded rcfile: Loaded rcfile: %s Loaded: NKF: Namazu:Namazu: No files to index. No such index: No title in originalNot allowed: %sPerl:Perl: Present index is old type. it's unsupported.Present index is old type. it's unsupported. Reading rcfile: References: Remove temporary files:Renamed: Replace: Replace: %-20s %s Size (bytes):Supported media types: System:System: Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)Targeted: %sThe index is locked for maintenanceTime (sec):Too long QUERY_STRINGToo long queryToo many documents hit. IgnoredToo many query tokensToo many words matched. IgnoredToo new: %sToo old: %sTotal Documents:Total Keywords:Try `mknmz --help' for more information. Try `namazu --help' for more information. Unknown error. Report bug!Unreadable: %sUnsupported format: Unsupported media type Updated Documents:Usage: mknmz [options] ... Usage: namazu [options] [index]... Using Wakati:Wakati: Writing index files...You don't have a permission to access the index[Append][Base]after load_document: can't find argumentscan't find string terminatorcan't open the field indexcan't open the indexcan't open the phrase indexcan't open the regex indexcan't open the result format filecharset=ISO-8859-1code conversion: using NKF module does NOT EXIST! skipped.doing write_index() processing. doing write_phrase_hash() processing. find_target finished: find_target starting: found. Maybe this index is being updated by another process now. If not, you can remove this file. invalid directive nameinvalid output directory invalid wakati module: is 0 size! skipped.is NOT READABLE! skipped.is excluded because of is larger than your setup after filtered, skipped: lang: may be a BINARY file! skipped.mknmz %s, an indexer of Namazu. Usage: mknmz [options] ... Target files: -a, --all target all files. -t, --media-type=MTYPE set the media type for all target files to MTYPE. -h, --mailnews same as --media-type='message/rfc822' --mhonarc same as --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE load FILE which contains a list of target files. --allow=PATTERN set PATTERN for file names which should be allowed. --deny=PATTERN set PATTERN for file names which should be denied. --exclude=PATTERN set PATTERN for pathnames which should be excluded. -e, --robots exclude HTML files containing -M, --meta handle HTML meta tags for field-specified search. -r, --replace=CODE set CODE for replacing URI. --html-split split an HTML file with anchors. --mtime=NUM limit by mtime just like find(1)'s -mtime option. e.g., -50 for recent 50 days, +50 for older than 50. Morphological Analysis: -b, --use-mecab use MeCab for analyzing Japanese. -c, --use-chasen use ChaSen for analyzing Japanese. -k, --use-kakasi use KAKASI for analyzing Japanese. -m, --use-chasen-noun use ChaSen for extracting only nouns. -L, --indexing-lang=LANG index with language specific processing. Text Operations: -E, --no-edge-symbol remove symbols on edge of word. -G, --no-okurigana remove Okurigana in word. -H, --no-hiragana ignore words consist of Hiragana only. -K, --no-symbol remove symbols. --decode-base64 decode base64 bodies within multipart entities. Summarization: -U, --no-encode-uri do not encode URI. -x, --no-heading-summary do not make summary with HTML's headings. Index Construction: --update=INDEX set INDEX for updating. -z, --check-filesize detect file size changed. -Y, --no-delete do not detect removed documents. -Z, --no-update do not detect update and deleted documents. Miscellaneous: -s, --checkpoint turn on the checkpoint mechanism. -C, --show-config show the current configuration. -f, --config=FILE use FILE as a config file. -I, --include=FILE include your customization FILE. -O, --output-dir=DIR set DIR to output the index. -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*. -q, --quiet suppress status messages during execution. -v, --version show the version of namazu and exit. -V, --verbose be verbose. -d, --debug be debug mode. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. namazu %s, a search program of Namazu. Usage: namazu [options] [index]... -n, --max=NUM set the number of documents shown to NUM. -w, --whence=NUM set the first number of documents shown to NUM. -l, --list print the results by listing the format. -s, --short print the results in a short format. --result=EXT set NMZ.result.EXT for printing the results. --late sort the documents in late order. --early sort the documents in early order. --sort=METHOD set a sort METHOD (score, date, field:name) --ascending sort in ascending order (default: descending) -a, --all print all results. -c, --count print only the number of hits. -h, --html print in HTML format. -r, --no-references do not display the reference hit counts. -H, --page print the links of further results. (This is nearly meaningless) -F, --form force to print the

... region. -R, --no-replace do not replace the URI string. -U, --no-decode-uri do not decode the URI when printing in a plain format. -o, --output=FILE set the output file name to FILE. -f, --config=FILE set the config file name to FILE. -C, --show-config print the current configuration. -q, --quiet do not display extra messages except search results. -d, --debug be in debug mode. -v, --version show the namazu version and exit. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. not an IO::File/FileHandle object! system error occurred! target file: too few argumentstoo many argumentsunable to require unknown directiveunsupported target: wakati: using wakati: using MeCab module wakati: using Text::ChaSen module wakati: using Text::Kakasi module was deleted! was updated! Project-Id-Version: Namazu 2.0.20 Report-Msgid-Bugs-To: bugs@namazu.org POT-Creation-Date: 2009-02-21 09:15+0900 PO-Revision-Date: 2001-06-26 16:55+0900 Last-Translator: Jose Juan Zapater Vera Language-Team: Spanish MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit documentos cumplen tu consulta.

BErrorB

%s

Resultados:

Total

No hay ningn documento que cumpla tu consulta.

Pgina: == ficheros a indexar == == encontrados == == documentos registrados == == documentos actualizados == MTIME demasiado antiguo: %d, MTIME demasiado nuevo: %d Posibles: %d, No permitidos: %d, Denegados: %d, Excludos: %d [ TOTAL: %d ] ficheros fueron encontrados para ser indexados. ignorados.## borrados: ## indexados: %s:%d: error de sintaxis: %s-- contenido bare wakatizado -- -- contenidos wakatizados --

Error

ERROR DE ASERCIN!: Documentos Aadidos:Palabras clave Aadidas:Directorio de configuracin: ChaSen: Alcanzado el punto de chequeo: re-ejecuta mknmz... Sistema de codificacin: Lista Actual: %dFecha:Documentos Borrados:Denegado: %sTipo detectado: Excluido: %sFall la llamada BOcurri un error fatal!Ficheros/Seg:argv heredado: cwd heredado: Nombre de ndice no vlido.Consulta no vlidaLugar invlido: KAKASI: LIBDIR: Lenguaje: Fichero rc cargado: Fichero rc cargado: %s Cargado: NKF: Namazu:Namazu: No hay ficheros a indexar. No es un ndice: No hay ttulo en el originalNo permitido: %sPerl:Perl: El ndice actual es de un tipo antiguo. No es soportado.El ndice actual es de un tipo antiguo. No es soportado. Leyendo el fichero rc: Referencias: Borra los ficheros temporales:Renombrados: Reemplazar: Reemplaza: %-20s %s Tamao (bytes):Tipos de formato soportados: Sistema:Sistama: Ficheros Destino: %d (Rendimiento de escaneo: Consumo Seg: %d, Ficheros/seg: %.1f)Destino: %sEl ndice est bloqueado para mantenimientoTiempo (seg):Cadena de consulta demasiado largaConsulta demasiado largaCoinciden demasiados documentos. IgnoradoDemasiados comandos en la consultaCoinciden demasiadas palabras. IgnoradoDemasiado nuevo: %sDemasiado antiguo: %sTotal de Documentos:Total de Palabras clave:Intenta `mknmz --help para ms informacin. Intenta `namazu --help para ms informacin. Error desconocido. BReporta el error!No leible: %sFormato no soportado: Tipo de fichero no soportado Documentos Actualizados:Uso: mknmz [opciones] ... Usa: namazu [opciones] [ndice]... Usando Wakati:Wakati: Escribiendo los ficheros de ndices...Tu no tienes permisos para acceder al ndice[Aadido][Base]despus de cargar_documento: no puedo encontrar los argumentosno puedo encontrar el terminador de cadenano puedo abrir el ndice de camposno puedo abrir el ndiceno puedo abrir el ndice de frasesno puedo abrir el ndice regexno puedo abrir el fichero de formato de resultadoscharset=ISO-8859-1conversin de cdigos: usando el mdulo NKF NO EXISTE! ignorado.Haciendo el proceso de write_index(). haciendo el proceso de write_phrase_hash(). find_target terminado: comenzando find_target: encontrado. Puede ser que el ndice est siendo actualizado ahora por otro proceso. Si no es as, puedes borrar este fichero. nombre de directiva no vlidadirectorio de salida no vlido mdulo wakati no vlido: tiene tamao 0! ignorado.no es LEIBLE! ignorado.est excluido porque es un texto demasiado LARGO! ignorado.lenguaje: puede no ser un fichero BINARIO! ignorado.mknmz %s, el indizador de Namazu. Usage: mknmz [opciones] ... Ficheros destino: -a, --all todos ficheros destino. -t, --media-type=MTYPE pone el tipo de formato para todos los ficheros destino a MTYPE. -h, --mailnews lo mismo que --media-type='message/rfc822' --mhonarc lo mismo que --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE carga FILE el cul contiene una lista de los ficheros destino. --allow=PATTERN pone la PATTERN para los nombres de ficheros para los cuales debe estar permitida. --deny=PATTERN pone la PATTERN para los nombres de los ficheros para los cuales debe estar denegada. --exclude=PATTERN pone la PATTERN para los nombres de directorios para los cuales deben estar excludos. -e, --robots exlude los ficheros HTML que contienen -M, --meta maneja HTML meta tags para los campos especificados para buscar. -r, --replace=CODE pone CODE para reemplazar el URI. --html-split divide un fichero HTML con anchors. --mtime=NUM limita por mtime como con find(1)'s -mtime option. ej., -50 para los ltimos 50 das, +50 para los que sean ms antiguos de 50. Analisis Morfolgico: -b, --use-mecab usa MeCab para analizar japons. -c, --use-chasen usa ChaSen para analizar japons. -k, --use-kakasi usa KAKASI para analizar japons. -m, --use-chasen-noun usa ChaSen para extraer slo nombres. -L, --indexing-lang=LANG index with language specific processing. Operaciones de Texto: -E, --no-edge-symbol quita los smbolos en los bordes de las palabras. -G, --no-okurigana kita la Okurigana en las palabras. -H, --no-hiragana ignora las palabras que slo tengan Hiragana. -K, --no-symbol quitar smbolos. --decode-base64 decode base64 bodies within multipart entities. Summarization: -U, --no-encode-uri no codificar el URI. -x, --no-heading-summary no hacer resumen con las cabeceras HTML. Construccin del wndice: --update=INDEX pon el INDEX para actualizacin. -z, --check-filesize detect file size changed. -Y, --no-delete no detectar documentos borrados. -Z, --no-update no detectar documentos actualizados ni borrados. Miscelneas: -s, --checkpoint pon activo el mecanismo de punto de chequeo. -C, --show-config muestra la configuracin actual. -f, --config=FILE usa el fichero FILE como fichero de configuracin. -I, --include=FILE incluye tu fichero de configuracin FILE. -O, --output-dir=DIR pon el directorio DIR como directorio destino del ndice. -T, --template-dir=DIR pon DIR teniendo los NMZ.{head,foot,body}.*. -q, --quiet suprime los mensajes de estado durante la ejecucin. -v, --version muestra la versin de namazu y sal. -V, --verbose modo verbose. -d, --debug modo debug. --help muestra esta ayuda y sal. --norc do not read the personal initialization files. -- Terminate option list. Reporta los errores a <%s> o <%s>. namazu %s, el programa de bsqueda de Namazu. Uso: namazu [opciones] [ndice]... -n, --max=NUM pone el nmero de documentos a mostrar a NUM. -w, --whence=NUM pone el primer nmero de documentos a mostrar a NUM. -l, --list imprime el resultado en formato lista. -s, --short imprime los resultados en formato corto. --results=EXT pone NMZ.result.EXT para imprimir los resultados. --late ordena los documentos por fecha antigua. --early ordena los docuemtnos por ltimas fechas. --sort=METODO pone el METODO de ordenacin a (score, date, field:name) --ascending ordena en orden ascendiente (defecto: descendiente) -a, --all imprime todos los resultados. -c, --count imprimir slo el nmero de documentos. -h, --html imprime en formato HTML. -r, --no-references no visualiza el nmero de documentos que coinciden. -H, --page print further result links. (nearly meaningless) -F, --form fuerza a imprimir una regin

... . -R, --no-replace no reemplaza la cadena URI. -U, --no-decode-uri no decodifica la URI cuando imprime en formato plano. -o, --output=FILE pone el nombre del fichero de salida a FILE. -f, --config=FILE pone el nombre del fichero de configuracin a FILE. -C, --show-config imprime la configuracin actual. -q, --quiet no visualiza mensajes extras excepto la bsqueda results. -d, --debug modo debugger. -v, --version muestra el nmero de versin de namazu y sale. --help muestra esta ayuda y sale --norc do not read the personal initialization files. -- Terminate option list. Reporta los errores a <%s> o <%s>. no es un objeto IO::File/FileHandle! ocurri un error de sistema! fichero destino: demasiados pocos argumentosdemasiados argumentosimposible adquirir directiva desconocidadestino no soportado: wakati: usando wakati: usando el mdulo MeCab wakati: usando el mdulo Text::ChaSen wakati: usando el mdulo Text::Kaksi fueron borrados! fueron actulizados! namazu-2.0.21/po/fr.gmo0000644000000000000000000005251111611035220010242  8 /9 i   )    #8Vt&9   * 7D\z %+;LR ep    ct   .6<DMaq,-  4 >H [i F # &<Kk  )*/JYn#+ /2bkr!!C"Vy &cl/3G NBYC %#,, ,,,--(-=-R-a-"}-"- - -[-9;/u///6//0*0F0`0~0000>0+1%;1a1 h1 u111111122)2 =2 H25R22222 22 2 233!303C3'4 64D4V4g4 4 4 4 4 444 4$4 555 !5+5E5T5q55565:56 6&$6 K6V6f6|66 6 66a6 37&>7e7x77!7"7"7 88/8A8(T8*}8"8888 9+9#B9.f9 99 9 919:::#.:<R:$::%:2:6);`;/s;;;;;<<<<<= =.:=i= = =K=L=%8>~ ^>K#SSTT(T9TOTbTxTT%T,T,T#U5U\xehQ%28 o5pC|d4(DGF1miw*{.#9;:TLZI^R0vyl -W?V`jk&+qanS/<NgE])}> K ,'7tUXJ fM~s [P@rzY!uAHbO6$3_"=cB documents matching your query.

Error!

%s

Results:

Total

No document matching your query.

Page: == deleted documents == == files to index == == found files == == overlapped documents == == registered documents == == updated documents == MTIME too old: %d, MTIME too new: %d Possible: %d, Not allowed: %d, Denied: %d, Excluded: %d [ TOTAL: %d ] files are found to be indexed. skipped.## deleted: ## indexed: %s:%d: syntax error: %s-- wakatized bare content -- -- wakatized content --

Error

ASSERTION ERROR!: Added Documents:Added Keywords:Alias: %-20s %s CONFDIR: ChaSen: Checkpoint reached: re-exec mknmz... Coding System: Current List: %dDate:Deleted Documents:Denied: %sDetected type: Excluded: %sFILTERDIR: Failed to call Fatal error occurred!File-MMagic: File/Sec:Index: %s Logging: %s Lang: %s Scoring: %s Template: %s MaxHit: %d MaxMatch: %d EmphasisTags: %s %s Inherited argv: Inherited cwd: Invalid idxname.Invalid queryInvalid replace: Invoked: KAKASI: LIBDIR: Lang: Lang_Msg: Loaded rcfile: Loaded rcfile: %s Loaded: Looking for indexing files... MeCab: NKF: Namazu:Namazu: No files to index. No such index: No title in originalNot allowed: %sPerl:Perl: Present index is old type. it's unsupported.Present index is old type. it's unsupported. Reading rcfile: References: Remove temporary files:Renamed: Replace: Replace: %-20s %s Size (bytes):Supported media types: System:System: TEMPLATEDIR: Target Files: %d (Scan Performance: Elapsed Sec.: %d, Files/sec: %.1f)Targeted: %sThe index is locked for maintenanceTime (sec):Too long QUERY_STRINGToo long queryToo many documents hit. IgnoredToo many query tokensToo many words matched. IgnoredToo new: %sToo old: %sTotal Documents:Total Keywords:Try `mknmz --help' for more information. Try `namazu --help' for more information. Unknown error. Report bug!Unreadable: %sUnsupported format: Unsupported media type Unsupported media types: Updated Documents:Usage: mknmz [options] ... Usage: namazu [options] [index]... Using Wakati:Wakati: Writing index files...You don't have a permission to access the index[Append][Base]after load_document: can't find argumentscan't find string terminatorcan't open the field indexcan't open the indexcan't open the phrase indexcan't open the regex indexcan't open the result format filecharset=ISO-8859-1code conversion: using NKF module does NOT EXIST! skipped.doing write_index() processing. doing write_phrase_hash() processing. find_target finished: find_target starting: found. Maybe this index is being updated by another process now. If not, you can remove this file. invalid directive nameinvalid output directory invalid wakati module: is 0 size! skipped.is NOT READABLE! skipped.is excluded because of is larger than your setup after filtered, skipped: lang: lang_msg: marked with minus (-) probably missing application in your $path. marked with minus (-) probably missing application in your \$path. may be a BINARY file! skipped.mknmz %s, an indexer of Namazu. Usage: mknmz [options] ... Target files: -a, --all target all files. -t, --media-type=MTYPE set the media type for all target files to MTYPE. -h, --mailnews same as --media-type='message/rfc822' --mhonarc same as --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE load FILE which contains a list of target files. --allow=PATTERN set PATTERN for file names which should be allowed. --deny=PATTERN set PATTERN for file names which should be denied. --exclude=PATTERN set PATTERN for pathnames which should be excluded. -e, --robots exclude HTML files containing -M, --meta handle HTML meta tags for field-specified search. -r, --replace=CODE set CODE for replacing URI. --html-split split an HTML file with anchors. --mtime=NUM limit by mtime just like find(1)'s -mtime option. e.g., -50 for recent 50 days, +50 for older than 50. Morphological Analysis: -b, --use-mecab use MeCab for analyzing Japanese. -c, --use-chasen use ChaSen for analyzing Japanese. -k, --use-kakasi use KAKASI for analyzing Japanese. -m, --use-chasen-noun use ChaSen for extracting only nouns. -L, --indexing-lang=LANG index with language specific processing. Text Operations: -E, --no-edge-symbol remove symbols on edge of word. -G, --no-okurigana remove Okurigana in word. -H, --no-hiragana ignore words consist of Hiragana only. -K, --no-symbol remove symbols. --decode-base64 decode base64 bodies within multipart entities. Summarization: -U, --no-encode-uri do not encode URI. -x, --no-heading-summary do not make summary with HTML's headings. Index Construction: --update=INDEX set INDEX for updating. -z, --check-filesize detect file size changed. -Y, --no-delete do not detect removed documents. -Z, --no-update do not detect update and deleted documents. Miscellaneous: -s, --checkpoint turn on the checkpoint mechanism. -C, --show-config show the current configuration. -f, --config=FILE use FILE as a config file. -I, --include=FILE include your customization FILE. -O, --output-dir=DIR set DIR to output the index. -T, --template-dir=DIR set DIR having NMZ.{head,foot,body}.*. -q, --quiet suppress status messages during execution. -v, --version show the version of namazu and exit. -V, --verbose be verbose. -d, --debug be debug mode. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. namazu %s, a search program of Namazu. Usage: namazu [options] [index]... -n, --max=NUM set the number of documents shown to NUM. -w, --whence=NUM set the first number of documents shown to NUM. -l, --list print the results by listing the format. -s, --short print the results in a short format. --result=EXT set NMZ.result.EXT for printing the results. --late sort the documents in late order. --early sort the documents in early order. --sort=METHOD set a sort METHOD (score, date, field:name) --ascending sort in ascending order (default: descending) -a, --all print all results. -c, --count print only the number of hits. -h, --html print in HTML format. -r, --no-references do not display the reference hit counts. -H, --page print the links of further results. (This is nearly meaningless) -F, --form force to print the

... region. -R, --no-replace do not replace the URI string. -U, --no-decode-uri do not decode the URI when printing in a plain format. -o, --output=FILE set the output file name to FILE. -f, --config=FILE set the config file name to FILE. -C, --show-config print the current configuration. -q, --quiet do not display extra messages except search results. -d, --debug be in debug mode. -v, --version show the namazu version and exit. --help show this help and exit. --norc do not read the personal initialization files. -- Terminate option list. Report bugs to <%s> or <%s>. not an IO::File/FileHandle object! system error occurred! target file: too few argumentstoo many argumentsunable to require unknown directiveunsupported target: update_field_index: wakati: using wakati: using MeCab module wakati: using Text::ChaSen module wakati: using Text::Kakasi module was deleted! was updated! Project-Id-Version: Namazu 2.0.20 Report-Msgid-Bugs-To: bugs@namazu.org POT-Creation-Date: 2009-02-21 09:15+0900 PO-Revision-Date: 2001-06-26 16:55+0900 Last-Translator: Stephane Legrand Language-Team: French MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit documents correspondent a votre requete.

Erreur !

%s

Resultats :

Total

Aucun document ne correspond a votre requete.

Page : == documents effaces == == fichiers a indexer == == fichiers trouves == == documents recouverts == == documents enregistres == == documents mis a jour == MTIME trop ancien : %d, MTIME trop recent : %d Possible : %d, Non autorises : %d, Refuses : %d, Exclus : %d [ TOTAL : %d ] fichiers trouves pour etre indexes. omis.## efface : ## indexe : %s:%d: erreur de syntaxe : %s-- contenu wakatize -- -- contenu wakatize --

Erreur

ERREUR ASSERTION ! : Documents ajoutes :Mots clefs ajoutes :Alias : %-20s %s CONFDIR : ChaSen : Point de controle atteint : re-execution de mknmz... Systeme de codage : Liste courante : %dDate :Documents effaces :Refuse : %sType detecte : Exclu : %sFILTERDIR : Echec de l'appel Erreur fatal !File-MMagic : Fichiers/seconde :Index : %s Journal : %s Langue : %s Score : %s Gabarit : %s Nb pages max : %d Nb correspondances max : %d Tags de mise en relief : %s %s argv herite : cwd herite : Invalide idxname.Requete invalideRemplacement invalide : Invoque : KAKASI : LIBDIR : Langue : Lang_Msg : rcfile charge : rcfile charge : %s Charge : Recherche des fichiers a indexer... MeCab : NKF :Namazu :Namazu : Aucun fichier a indexer. Pas d'index : Pas de titre dans l'originalNon autorise : %sPerl :Perl : Cet index est d'un type obsole, il n'est plus support.Cet index est d'un type obsolete, il n'est plus supporte. Lecture rcfile : References : Suppression des fichiers temporaires :Renomme : Remplacement : Remplacer : %-20s %s Taille (octets) : Type de media supporte : Systeme :Systeme : TEMPLATEDIR : Fichiers cibles : %d (Performance de l'analyse : secondes ecoulees : %d, fichiers/seconde : %.1f)Cible : %sL'index est verouille pour maintenanceTemps (secondes) :Trop longue QUERY_STRINGRequete trop longueTrop de documents trouves. IgnoreTrop de parametres dans la requeteTrop de mots correspondent. IgnoreTrop recent : %sTrop ancien : %sTotal Documents :Total mots clefs :`mknmz --help' pour plus d'informations `namazu --help' pour plus d'informations. Erreur inconnue. Signalez le bug !Illisible : %sFormat non supporte : Type de media non supporte Type de media non supporte : Documents mis a jour :Usage : mknmz [options] ... Usage : namazu [options] [index]... Utilisation Wakati :Wakati : Ecriture des fichiers d'index...Vous n'avez pas la permission d'acceder a l'index[Ajout][Base]apres load_document : impossible de trouver les argumentsimpossible de trouver la terminaison de chaine de caracteresimpossible d'ouvrir l'index de champimpossible d'ouvrir l'indeximpossible d'ouvrir l'index de phraseimpossible d'ouvrir l'index d'expression reguliereimpossible d'ouvrir le fichier de format des resultatscharset=ISO-8859-1conversion du code : utilisation du module NKF N'EXISTE PAS ! omis.write_index() en cours. write_phrase_hash() en cours. fin de find_target : debut find_target : trouve. Cet index est peut-etre actuellement en cours de mise a jour par un autre processus. Si ce n'est pas le cas, vous pouvez supprimer ce fichier. nom de directive invaliderepertoire de sortie invalide module wakati invalide : a une taille de 0 ! omis.N'EST PAS LISIBLE ! omis.est exclus a cause de est un trop GRAND texte ! omis.langue : lang_msg : marque avec moins (-) probablement application manquante dans votre $path. marque avec moins (-) probablement application manquante dans votre \$path. sans doute un fichier BINAIRE ! omis.mknmz %s, programme de creation d'index pour Namazu. Usage : mknmz [options] ... Fichiers cible : -a, --all cible tous les fichiers. -t, --media-type=MTYPE positionne le type de media pour tous les fichiers cibles a MTYPE. -h, --mailnews identique a --media-type='message/rfc822' --mhonarc identique a --media-type='text/html; x-type=mhonarc' -F, --target-list=FILE charge un fichier FILE qui contient une liste de fichiers cibles. --allow=PATTERN positionne PATTERN pour les noms de fichier a prendre en compte. --deny=PATTERN positionne PATTERN pour les noms de fichier a ne pas prendre en compte. --exclude=PATTERN positionne PATTERN pour les noms de chemin a ne pas prendre en compte. -e, --robots exclus les fichiers HTML contenant -M, --meta gere les meta-tags HTML pour les champs specifies a la recherche. -r, --replace=CODE positionne CODE pour le remplacement des URI. --html-split partage un fichier HTML avec des ancres . --mtime=NUM limite par mtime tout comme l'option -mtime de find(1). ex. -50 pour + recent que 50 jours, +50 pour + ancien que 50. Analyses morphologique : -b, --use-mecab utilisation de MeCab pour l'analyse du Japonais. -c, --use-chasen utilisation de ChaSen pour l'analyse du Japonais. -k, --use-kakasi utilisation de KAKASI pour l'analyse du Japonais. -m, --use-chasen-noun utilisation de ChaSen uniquement pour l'extraction des noms. -L, --indexing-lang=LANG index avec traitement specifique au language. Operations Texte : -E, --no-edge-symbol suppression des symboles sur les bords des mots. -G, --no-okurigana suppression du Okurigana dans les mots. -H, --no-hiragana ignorer les mots contenant uniquement du Hiragana. -K, --no-symbol suppression des symboles. --decode-base64 decode base64 bodies within multipart entities. Sommaire : -U, --no-encode-uri ne pas encoder les URI. -x, --no-heading-summary ne pas faire de sommaire avec des en-tetes HTML. Construction Index : --update=INDEX positionne INDEX pour la mise a jour. -z, --check-filesize detect file size changed. -Y, --no-delete ne pas detecter les documents supprimes. -Z, --no-update ne pas detecter les documents mis a jour et supprimes. Divers : -s, --checkpoint active le mecanisme de point de controle. -C, --show-config affiche la configuration actuelle. -f, --config=FILE utilise FILE comme fichier de configuration. -I, --include=FILE inclus votre fichier de personnalisation FILE. -O, --output-dir=DIR positionne DIR pour la sortie de l'index. -T, --template-dir=DIR positionne DIR pour les fichiers NMZ.{head,foot,body}.*. -q, --quiet suppression des messages d'etats pendant l'execution. -v, --version affiche la version de namazu et quitte. -V, --verbose mode verbeux. -d, --debug mode depanne. --help affiche cette aide et quitte. --norc ne lisez pas les dossiers de l'initialisation personnels. -- Terminez la liste des options. Signalez les bugs a <%s> ou <%s>. namazu %s, un programme de recherche de Namazu. Usage: namazu [options] [index]... -n, --max=NUM positionne le nombre de documents affiches a NUM. -w, --whence=NUM positionne le premier nombre de documents affiches a NUM. -l, --list affiche les resultats sous forme de liste. -s, --short affiche les resultats au format court. --result=EXT positionne NMZ.result.EXT pour l'affichage des resultats. --late tri les documents du plus recent au plus ancien. --early tri les documents du plus ancien au plus recent. --sort=METHOD positionne une methode de tri (score, date, champ:nom). --ascending tri en ordre ascendant (defaut : descendant). -a, --all affiche tous les resultats. -c, --count affiche uniquement le nombre de resultats. -h, --html affiche au format HTML. -r, --no-references ne pas afficher le total de reference par resultat. -H, --page affiche les liens sur la suite des resultats (presque sans objet). -F, --form force l'affichage du bloc

... . -R, --no-replace ne pas remplacer les URI. -U, --no-decode-uri ne pas decoder les URI lors de l'affichage au format simple. -o, --output=FILE positionne le nom du fichier de sortie a FILE. -f, --config=FILE positionne le nom du fichier de configuration a FILE. -C, --show-config affiche la configuration actuelle. -q, --quiet ne pas afficher les messages autres que le resultat de la recherche. -d, --debug mode depanne. -v, --version affiche la version de namazu et quitte. --help affiche cette aide et quitte. --norc ne lisez pas les dossiers de l'initialisation personnels. -- Terminez la liste des options. Signalez les bugs a <%s> ou <%s>. pas un objet IO::File/FileHandle ! erreur systeme ! fichier cible : trop peu d'argumentstrop d'argumentsimpossible d'inclure directive inconnuecible non supporte : update_field_index : wakati: utilisation wakati : utilisation du module MeCab wakati : utilisation du module Text::ChaSen wakati : utilisation du module Text::Kakasi a ete supprime ! a ete mis a jour ! namazu-2.0.21/po/de.gmo0000644000000000000000000000067411611035220010226 ,<PQDdcharset=ISO-8859-1Project-Id-Version: Namazu 2.0.20 Report-Msgid-Bugs-To: bugs@namazu.org POT-Creation-Date: 2009-02-21 09:15+0900 PO-Revision-Date: 2001-06-26 16:55+0900 Last-Translator: developers@namazu.org Language-Team: developers@namazu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit charset=ISO-8859-1namazu-2.0.21/po/pl.gmo0000644000000000000000000000067411611035220010251 ,<PQDdcharset=ISO-8859-1Project-Id-Version: Namazu 2.0.20 Report-Msgid-Bugs-To: bugs@namazu.org POT-Creation-Date: 2009-02-21 09:15+0900 PO-Revision-Date: 2001-06-26 16:55+0900 Last-Translator: developers@namazu.org Language-Team: developers@namazu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit charset=ISO-8859-2namazu-2.0.21/po/ChangeLog0000644000000000000000000000513410021566754010717 2004-03-04 NOKUBI Takatsugu * Makefile.in.in: Imported from gettext 0.14. * remove-potcdate.sin: Ditto. 2004-02-01 Tadamasa Teranishi * script/mknmz.in, po/*: Update messages. 2000-05-24 Masao Takaku * ja.po: Update messages. 2000-05-02 Masao Takaku * ja.po: Fix an inappropriate message. Add some translations. 2000-02-26 Satoru Takabayashi * POTFILES.in: Add filter/msword.pl 2000-02-22 Satoru Takabayashi * POTFILES.in: Add filter/html.pl 2000-02-16 Satoru Takabayashi * POTFILES.in: Add pl/var.pl.in 2000-01-31 Ryuji Abe * POTFILES.in: scripts/mknmz.pl.in -> scripts/mknmz.in. 2000-01-29 Satoru Takabayashi * POTFILES.in: Add pl/usage.pl 2000-01-28 Satoru Takabayashi * POTFILES.in: Remove pl/find.pl 2000-01-20 Satoru Takabayashi * POTFILES.in: nmz/rcfile.c -> src/rcfile.c 2000-01-17 Ryuji Abe * make_sjis_po: Removed. 2000-01-14 NOKUBI Takatsugu * ja.po: Added new translations. 2000-01-13 NOKUBI Takatsugu * POTFILES.in: Added pl/{util,wakati,find}.pl. 2000-01-10 Satoru Takabayashi * ja.po: Fix an inappropriate message. 2000-01-09 Satoru Takabayashi * make_iso-2022-jp_po.in: Removed. * ja_JP.ISO-2022-JP.po: Removed. * Makefile.in.in (ADDITIONAL_FILES): Remove make_iso-2022-jp_po.in. (update-po): Comment out ISO-2022-JP related codes. 2000-01-07 Satoru Takabayashi * ja.po: Update messages. 2000-01-06 Satoru Takabayashi * Makefile.in.in (ADDITIONAL_FILES): s/make_jis7_jp.in/make_iso-2022-jp_jp.in/g 1999-12-09 Satoru Takabayashi * ja.po: Update messages. * POTFILES.in: Add nmz/util.c Add nmz/alias.c Add nmz/replace.c 1999-12-07 Satoru Takabayashi * POTFILES.in: s/conf.c/rcfile.c/. 1999-11-19 Satoru Takabayashi * ja.po: Fix usage. Fix mini_usage. 1999-11-18 Satoru Takabayashi * ja.po: Fix usage and mini usage. 1999-11-17 Satoru Takabayashi * ja.po: Add msgid " (cannot open phrase index)". 1999-09-19 Satoru Takabayashi * Gettextized! namazu-2.0.21/README0000644000000000000000000000324110306015041007364 Namazu: a Full-Text Search Engine What is Namazu? Namazu is a full-text search engine intended for easy use. Not only does it work as a small or medium scale Web search engine, but also as a personal search system for email or other files. Namazu is a free software under the terms of the GNU General Public License version 2. See the file COPYING for more details. At the beginning Namazu was made with only intention for Japanese use. Now it can handle English. But, ISO-8859-* character set are not officially supported in Namazu. We have been trying to internationalize Namazu. At the moment, we have just only gettextized it. There is a lot of things to do. Please help us. You can find documentation in the `doc' directory. And you can get the latest Namazu information at http://www.namazu.org/ Where is the documentation? In the doc directory in the distribution. English documents are in the en sub-directory, and Japanese documents are in the ja sub-directory. How to install it? See the file INSTALL for details. What is Namazu Project? Namazu Project is the group of developing and maintaining Namazu. See the file CREDITS for more details. Namazu was originally developed by Satoru Takabayashi. Since version 2.0, Namazu has been developed by Namazu Project cooperatively. Contact Question: Join the namazu-users-en@namazu.org mailing list! See. General: info@namazu.org Bug report: bug-namazu@namazu.org Webpage maintainers: webmaster@namazu.org NOTE: Japanese word `Namazu' means `catfish' in English. namazu-2.0.21/ABOUT-NLS0000644000000000000000000015111610021566356007756 Notes on the Free Translation Project ************************************* Free software is going international! The Free Translation Project is a way to get maintainers of free software, translators, and users all together, so that will gradually become able to speak many languages. A few packages already provide translations for their messages. If you found this `ABOUT-NLS' file inside a distribution, you may assume that the distributed package does use GNU `gettext' internally, itself available at your nearest GNU archive site. But you do _not_ need to install GNU `gettext' prior to configuring, installing or using this package with messages translated. Installers will find here some useful hints. These notes also explain how users should proceed for getting the programs to use the available translations. They tell how people wanting to contribute and work at translations should contact the appropriate team. When reporting bugs in the `intl/' directory or bugs which may be related to internationalization, you should tell about the version of `gettext' which is used. The information can be found in the `intl/VERSION' file, in internationalized packages. Quick configuration advice ========================== If you want to exploit the full power of internationalization, you should configure it using ./configure --with-included-gettext to force usage of internationalizing routines provided within this package, despite the existence of internationalizing capabilities in the operating system where this package is being installed. So far, only the `gettext' implementation in the GNU C library version 2 provides as many features (such as locale alias, message inheritance, automatic charset conversion or plural form handling) as the implementation here. It is also not possible to offer this additional functionality on top of a `catgets' implementation. Future versions of GNU `gettext' will very likely convey even more functionality. So it might be a good idea to change to GNU `gettext' as soon as possible. So you need _not_ provide this option if you are using GNU libc 2 or you have installed a recent copy of the GNU gettext package with the included `libintl'. INSTALL Matters =============== Some packages are "localizable" when properly installed; the programs they contain can be made to speak your own native language. Most such packages use GNU `gettext'. Other packages have their own ways to internationalization, predating GNU `gettext'. By default, this package will be installed to allow translation of messages. It will automatically detect whether the system already provides the GNU `gettext' functions. If not, the GNU `gettext' own library will be used. This library is wholly contained within this package, usually in the `intl/' subdirectory, so prior installation of the GNU `gettext' package is _not_ required. Installers may use special options at configuration time for changing the default behaviour. The commands: ./configure --with-included-gettext ./configure --disable-nls will respectively bypass any pre-existing `gettext' to use the internationalizing routines provided within this package, or else, _totally_ disable translation of messages. When you already have GNU `gettext' installed on your system and run configure without an option for your new package, `configure' will probably detect the previously built and installed `libintl.a' file and will decide to use this. This might be not what is desirable. You should use the more recent version of the GNU `gettext' library. I.e. if the file `intl/VERSION' shows that the library which comes with this package is more recent, you should use ./configure --with-included-gettext to prevent auto-detection. The configuration process will not test for the `catgets' function and therefore it will not be used. The reason is that even an emulation of `gettext' on top of `catgets' could not provide all the extensions of the GNU `gettext' library. Internationalized packages have usually many `po/LL.po' files, where LL gives an ISO 639 two-letter code identifying the language. Unless translations have been forbidden at `configure' time by using the `--disable-nls' switch, all available translations are installed together with the package. However, the environment variable `LINGUAS' may be set, prior to configuration, to limit the installed set. `LINGUAS' should then contain a space separated list of two-letter codes, stating which languages are allowed. Using This Package ================== As a user, if your language has been installed for this package, you only have to set the `LANG' environment variable to the appropriate `LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, and `CC' is an ISO 3166 two-letter country code. For example, let's suppose that you speak German and live in Germany. At the shell prompt, merely execute `setenv LANG de_DE' (in `csh'), `export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). This can be done from your `.login' or `.profile' file, once and for all. You might think that the country code specification is redundant. But in fact, some languages have dialects in different countries. For example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The country code serves to distinguish the dialects. The locale naming convention of `LL_CC', with `LL' denoting the language and `CC' denoting the country, is the one use on systems based on GNU libc. On other systems, some variations of this scheme are used, such as `LL' or `LL_CC.ENCODING'. You can get the list of locales supported by your system for your country by running the command `locale -a | grep '^LL''. Not all programs have translations for all languages. By default, an English message is shown in place of a nonexistent translation. If you understand other languages, you can set up a priority list of languages. This is done through a different environment variable, called `LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' for the purpose of message handling, but you still need to have `LANG' set to the primary language; this is required by other parts of the system libraries. For example, some Swedish users who would rather read translations in German than English for when Swedish is not available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. Special advice for Norwegian users: The language code for Norwegian bokma*l changed from `no' to `nb' recently (in 2003). During the transition period, while some message catalogs for this language are installed under `nb' and some older ones under `no', it's recommended for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and older translations are used. In the `LANGUAGE' environment variable, but not in the `LANG' environment variable, `LL_CC' combinations can be abbreviated as `LL' to denote the language's main dialect. For example, `de' is equivalent to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' (Portuguese as spoken in Portugal) in this context. Translating Teams ================= For the Free Translation Project to be a success, we need interested people who like their own language and write it well, and who are also able to synergize with other translators speaking the same language. Each translation team has its own mailing list. The up-to-date list of teams can be found at the Free Translation Project's homepage, `http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" area. If you'd like to volunteer to _work_ at translating messages, you should become a member of the translating team for your own language. The subscribing address is _not_ the same as the list itself, it has `-request' appended. For example, speakers of Swedish can send a message to `sv-request@li.org', having this message body: subscribe Keep in mind that team members are expected to participate _actively_ in translations, or at solving translational difficulties, rather than merely lurking around. If your team does not exist yet and you want to start one, or if you are unsure about what to do or how to get started, please write to `translation@iro.umontreal.ca' to reach the coordinator for all translator teams. The English team is special. It works at improving and uniformizing the terminology in use. Proven linguistic skill are praised more than programming skill, here. Available Packages ================== Languages are not equally supported in all packages. The following matrix shows the current state of internationalization, as of January 2004. The matrix shows, in regard of each package, for which languages PO files have been submitted to translation coordination, with a translation percentage of at least 50%. Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es +----------------------------------------------------+ a2ps | [] [] [] [] | aegis | () | ant-phone | () | anubis | | ap-utils | | aspell | [] | bash | [] [] [] [] | batchelor | | bfd | [] [] | binutils | [] [] | bison | [] [] [] | bluez-pin | [] [] [] | clisp | | clisp | [] [] [] | console-tools | [] [] | coreutils | [] [] [] [] | cpio | [] [] [] | darkstat | [] () [] | diffutils | [] [] [] [] [] [] [] | e2fsprogs | [] [] [] | enscript | [] [] [] [] | error | [] [] [] [] [] | fetchmail | [] () [] [] [] [] | fileutils | [] [] [] | findutils | [] [] [] [] [] [] [] | flex | [] [] [] [] | fslint | | gas | [] | gawk | [] [] [] [] | gbiff | [] | gcal | [] | gcc | [] [] | gettext | [] [] [] [] [] | gettext-examples | [] [] [] [] | gettext-runtime | [] [] [] [] [] | gettext-tools | [] [] [] | gimp-print | [] [] [] [] [] | gliv | | glunarclock | [] [] | gnubiff | [] | gnucash | [] () [] [] | gnucash-glossary | [] () [] | gnupg | [] () [] [] [] [] | gpe-aerial | [] | gpe-beam | [] [] | gpe-calendar | [] [] | gpe-clock | [] [] | gpe-conf | [] [] | gpe-contacts | [] [] | gpe-edit | [] | gpe-go | [] | gpe-login | [] [] | gpe-ownerinfo | [] [] | gpe-sketchbook | [] [] | gpe-su | [] [] | gpe-taskmanager | [] [] | gpe-timesheet | [] | gpe-today | [] [] | gpe-todo | [] [] | gphoto2 | [] [] [] [] | gprof | [] [] [] | gpsdrive | () () () | gramadoir | [] | grep | [] [] [] [] [] [] | gretl | [] | gtick | [] () | hello | [] [] [] [] [] [] | id-utils | [] [] | indent | [] [] [] [] | iso_3166 | [] [] [] [] [] [] [] [] [] [] | iso_3166_1 | [] [] [] [] [] [] | iso_3166_2 | | iso_3166_3 | [] | iso_4217 | [] [] [] [] | iso_639 | | jpilot | [] [] [] | jtag | | jwhois | [] | kbd | [] [] [] [] [] | latrine | () | ld | [] [] | libc | [] [] [] [] [] [] | libgpewidget | [] [] | libiconv | [] [] [] [] [] | lifelines | [] () | lilypond | [] | lingoteach | | lingoteach_lessons | () () | lynx | [] [] [] [] | m4 | [] [] [] [] | mailutils | [] [] | make | [] [] [] | man-db | [] () [] [] () | minicom | [] [] [] | mysecretdiary | [] [] [] | nano | [] () [] [] [] | nano_1_0 | [] () [] [] [] | opcodes | [] | parted | [] [] [] [] [] | ptx | [] [] [] [] [] | python | | radius | [] | recode | [] [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] [] [] [] [] [] | sed | [] [] [] [] [] [] | sh-utils | [] [] [] | shared-mime-info | | sharutils | [] [] [] [] [] [] | silky | () | skencil | [] () [] | sketch | [] () [] | soundtracker | [] [] [] | sp | [] | tar | [] [] [] [] | texinfo | [] [] [] | textutils | [] [] [] [] | tin | () () | tp-robot | | tuxpaint | [] [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] [] [] | vorbis-tools | [] [] [] [] | wastesedge | () | wdiff | [] [] [] [] | wget | [] [] [] [] [] [] | xchat | [] [] [] [] | xfree86_xkb_xml | [] [] | xpad | [] | +----------------------------------------------------+ af am ar az be bg bs ca cs da de el en en_GB eo es 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 et eu fa fi fr ga gl he hr hu id is it ja ko lg +-------------------------------------------------+ a2ps | [] [] [] () () | aegis | | ant-phone | [] | anubis | [] | ap-utils | [] | aspell | [] [] | bash | [] [] | batchelor | [] [] | bfd | [] | binutils | [] [] | bison | [] [] [] [] | bluez-pin | [] [] [] [] [] | clisp | | clisp | [] | console-tools | | coreutils | [] [] [] [] [] [] | cpio | [] [] [] [] | darkstat | () [] [] [] | diffutils | [] [] [] [] [] [] [] | e2fsprogs | | enscript | [] [] | error | [] [] [] [] | fetchmail | [] | fileutils | [] [] [] [] [] [] | findutils | [] [] [] [] [] [] [] [] [] [] [] | flex | [] [] [] | fslint | [] | gas | [] | gawk | [] [] [] | gbiff | [] | gcal | [] | gcc | [] | gettext | [] [] [] | gettext-examples | [] [] | gettext-runtime | [] [] [] [] [] | gettext-tools | [] [] [] | gimp-print | [] [] | gliv | () | glunarclock | [] [] [] [] | gnubiff | [] | gnucash | () [] | gnucash-glossary | [] | gnupg | [] [] [] [] [] [] [] | gpe-aerial | [] | gpe-beam | [] | gpe-calendar | [] [] [] | gpe-clock | [] | gpe-conf | [] | gpe-contacts | [] [] | gpe-edit | [] [] | gpe-go | [] | gpe-login | [] [] | gpe-ownerinfo | [] [] [] | gpe-sketchbook | [] | gpe-su | [] | gpe-taskmanager | [] | gpe-timesheet | [] [] [] | gpe-today | [] [] | gpe-todo | [] [] | gphoto2 | [] [] [] | gprof | [] [] | gpsdrive | () () () | gramadoir | [] [] | grep | [] [] [] [] [] [] [] [] [] [] [] | gretl | [] [] | gtick | [] [] [] | hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | id-utils | [] [] [] [] | indent | [] [] [] [] [] [] [] [] [] | iso_3166 | [] [] [] [] [] [] [] | iso_3166_1 | [] [] [] [] [] | iso_3166_2 | | iso_3166_3 | | iso_4217 | [] [] [] [] [] [] | iso_639 | | jpilot | [] () | jtag | [] | jwhois | [] [] [] [] | kbd | [] | latrine | [] | ld | [] | libc | [] [] [] [] [] [] | libgpewidget | [] [] [] [] | libiconv | [] [] [] [] [] [] [] [] [] | lifelines | () | lilypond | [] | lingoteach | [] [] | lingoteach_lessons | | lynx | [] [] [] [] | m4 | [] [] [] [] | mailutils | | make | [] [] [] [] [] [] | man-db | () () | minicom | [] [] [] [] | mysecretdiary | [] [] | nano | [] [] [] [] | nano_1_0 | [] [] [] [] | opcodes | [] | parted | [] [] [] | ptx | [] [] [] [] [] [] [] | python | | radius | [] | recode | [] [] [] [] [] [] | rpm | [] [] | screem | | scrollkeeper | [] | sed | [] [] [] [] [] [] [] [] [] | sh-utils | [] [] [] [] [] [] [] | shared-mime-info | [] [] [] | sharutils | [] [] [] [] [] | silky | () [] () () | skencil | [] | sketch | [] | soundtracker | [] [] | sp | [] () | tar | [] [] [] [] [] [] [] [] [] | texinfo | [] [] [] [] | textutils | [] [] [] [] [] [] | tin | [] () | tp-robot | [] | tuxpaint | [] [] [] [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | [] [] | util-linux | [] [] [] [] () [] | vorbis-tools | [] | wastesedge | () | wdiff | [] [] [] [] [] [] | wget | [] [] [] [] [] [] [] | xchat | [] [] [] | xfree86_xkb_xml | [] [] | xpad | [] [] | +-------------------------------------------------+ et eu fa fi fr ga gl he hr hu id is it ja ko lg 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru +-----------------------------------------------------+ a2ps | [] [] () () [] [] [] | aegis | () () () | ant-phone | [] [] | anubis | [] [] [] [] [] [] | ap-utils | [] () [] | aspell | [] | bash | [] [] [] | batchelor | [] | bfd | [] | binutils | [] | bison | [] [] [] [] [] | bluez-pin | [] [] [] | clisp | | clisp | [] | console-tools | [] | coreutils | [] [] | cpio | [] [] [] [] [] | darkstat | [] [] [] [] | diffutils | [] [] [] [] [] [] | e2fsprogs | [] | enscript | [] [] [] [] | error | [] [] [] | fetchmail | [] [] () [] | fileutils | [] [] [] | findutils | [] [] [] [] [] | flex | [] [] [] [] | fslint | [] [] | gas | | gawk | [] [] [] | gbiff | [] [] | gcal | | gcc | | gettext | [] [] [] | gettext-examples | [] [] [] | gettext-runtime | [] [] [] [] | gettext-tools | [] [] | gimp-print | [] | gliv | [] [] [] | glunarclock | [] [] [] [] | gnubiff | [] | gnucash | [] [] () [] | gnucash-glossary | [] [] | gnupg | [] | gpe-aerial | [] [] [] [] | gpe-beam | [] [] [] [] | gpe-calendar | [] [] [] [] | gpe-clock | [] [] [] [] | gpe-conf | [] [] [] [] | gpe-contacts | [] [] [] [] | gpe-edit | [] [] [] [] | gpe-go | [] [] [] | gpe-login | [] [] [] [] | gpe-ownerinfo | [] [] [] [] | gpe-sketchbook | [] [] [] [] | gpe-su | [] [] [] [] | gpe-taskmanager | [] [] [] [] | gpe-timesheet | [] [] [] [] | gpe-today | [] [] [] [] | gpe-todo | [] [] [] [] | gphoto2 | [] | gprof | [] [] | gpsdrive | () () [] | gramadoir | () [] | grep | [] [] [] [] [] | gretl | | gtick | [] [] [] | hello | [] [] [] [] [] [] [] [] [] [] | id-utils | [] [] [] [] | indent | [] [] [] [] | iso_3166 | [] [] [] | iso_3166_1 | [] [] | iso_3166_2 | | iso_3166_3 | [] | iso_4217 | [] [] [] [] [] [] [] [] | iso_639 | [] | jpilot | () () | jtag | | jwhois | [] [] [] [] () | kbd | [] [] [] | latrine | [] | ld | | libc | [] [] [] [] | libgpewidget | [] [] [] | libiconv | [] [] [] [] [] | lifelines | | lilypond | | lingoteach | | lingoteach_lessons | | lynx | [] [] [] | m4 | [] [] [] [] [] | mailutils | [] [] [] | make | [] [] [] [] | man-db | [] | minicom | [] [] [] [] | mysecretdiary | [] [] [] | nano | [] [] [] [] [] | nano_1_0 | [] [] [] [] [] [] | opcodes | [] [] | parted | [] [] [] [] | ptx | [] [] [] [] [] [] [] [] | python | | radius | [] [] | recode | [] [] [] [] | rpm | [] [] [] | screem | | scrollkeeper | [] [] [] [] [] | sed | [] [] [] | sh-utils | [] [] | shared-mime-info | [] [] | sharutils | [] [] | silky | () | skencil | [] [] | sketch | [] [] | soundtracker | | sp | | tar | [] [] [] [] [] [] | texinfo | [] [] [] [] | textutils | [] [] | tin | | tp-robot | [] | tuxpaint | [] [] [] [] [] [] [] [] | unicode-han-tra... | | unicode-transla... | | util-linux | [] [] [] | vorbis-tools | [] [] [] | wastesedge | | wdiff | [] [] [] [] [] | wget | [] [] [] | xchat | [] [] [] | xfree86_xkb_xml | [] [] | xpad | [] [] | +-----------------------------------------------------+ lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu +-----------------------------------------------------+ a2ps | [] [] [] [] | 16 aegis | | 0 ant-phone | | 3 anubis | [] [] | 9 ap-utils | () | 3 aspell | | 4 bash | | 9 batchelor | | 3 bfd | [] [] | 6 binutils | [] [] [] | 8 bison | [] [] | 14 bluez-pin | [] [] [] | 14 clisp | | 0 clisp | | 5 console-tools | | 3 coreutils | [] [] [] [] | 16 cpio | [] [] | 14 darkstat | [] [] [] () () | 12 diffutils | [] [] [] | 23 e2fsprogs | [] [] | 6 enscript | [] [] | 12 error | [] [] [] | 15 fetchmail | [] [] | 11 fileutils | [] [] [] [] [] | 17 findutils | [] [] [] [] [] [] | 29 flex | [] [] | 13 fslint | | 3 gas | [] | 3 gawk | [] [] | 12 gbiff | | 4 gcal | [] [] | 4 gcc | [] | 4 gettext | [] [] [] [] [] | 16 gettext-examples | [] [] [] [] [] | 14 gettext-runtime | [] [] [] [] [] [] [] [] | 22 gettext-tools | [] [] [] [] [] [] | 14 gimp-print | [] [] | 10 gliv | | 3 glunarclock | [] [] [] | 13 gnubiff | | 3 gnucash | [] [] | 9 gnucash-glossary | [] [] [] | 8 gnupg | [] [] [] [] | 17 gpe-aerial | [] | 7 gpe-beam | [] | 8 gpe-calendar | [] [] [] [] | 13 gpe-clock | [] [] [] | 10 gpe-conf | [] [] | 9 gpe-contacts | [] [] [] | 11 gpe-edit | [] [] [] [] [] | 12 gpe-go | | 5 gpe-login | [] [] [] [] [] | 13 gpe-ownerinfo | [] [] [] [] | 13 gpe-sketchbook | [] [] | 9 gpe-su | [] [] [] | 10 gpe-taskmanager | [] [] [] | 10 gpe-timesheet | [] [] [] [] | 12 gpe-today | [] [] [] [] [] | 13 gpe-todo | [] [] [] [] | 12 gphoto2 | [] [] [] | 11 gprof | [] [] | 9 gpsdrive | [] [] | 3 gramadoir | [] | 5 grep | [] [] [] [] | 26 gretl | | 3 gtick | | 7 hello | [] [] [] [] [] | 34 id-utils | [] [] | 12 indent | [] [] [] [] | 21 iso_3166 | [] [] [] [] [] [] [] | 27 iso_3166_1 | [] [] [] | 16 iso_3166_2 | | 0 iso_3166_3 | | 2 iso_4217 | [] [] [] [] [] [] | 24 iso_639 | | 1 jpilot | [] [] [] [] [] | 9 jtag | [] | 2 jwhois | () [] [] | 11 kbd | [] [] | 11 latrine | | 2 ld | [] [] | 5 libc | [] [] [] [] | 20 libgpewidget | [] [] [] [] | 13 libiconv | [] [] [] [] [] [] [] [] | 27 lifelines | [] | 2 lilypond | [] | 3 lingoteach | | 2 lingoteach_lessons | () | 0 lynx | [] [] [] | 14 m4 | [] [] | 15 mailutils | | 5 make | [] [] [] | 16 man-db | [] | 5 minicom | | 11 mysecretdiary | [] [] | 10 nano | [] [] [] [] | 17 nano_1_0 | [] [] [] | 17 opcodes | [] [] | 6 parted | [] [] [] | 15 ptx | [] [] | 22 python | | 0 radius | | 4 recode | [] [] [] | 20 rpm | [] [] | 9 screem | [] [] | 2 scrollkeeper | [] [] [] | 15 sed | [] [] [] [] [] [] | 24 sh-utils | [] [] | 14 shared-mime-info | [] [] | 7 sharutils | [] [] [] [] | 17 silky | () | 3 skencil | [] | 6 sketch | [] | 6 soundtracker | [] [] | 7 sp | [] | 3 tar | [] [] [] [] [] | 24 texinfo | [] [] [] | 14 textutils | [] [] [] [] | 16 tin | | 1 tp-robot | | 2 tuxpaint | [] [] [] [] [] | 29 unicode-han-tra... | | 0 unicode-transla... | | 2 util-linux | [] [] | 15 vorbis-tools | | 8 wastesedge | | 0 wdiff | [] [] [] | 18 wget | [] [] [] [] [] [] [] [] | 24 xchat | [] [] [] [] [] | 15 xfree86_xkb_xml | [] [] [] [] [] | 11 xpad | | 5 +-----------------------------------------------------+ 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 Some counters in the preceding matrix are higher than the number of visible blocks let us expect. This is because a few extra PO files are used for implementing regional variants of languages, or language dialects. For a PO file in the matrix above to be effective, the package to which it applies should also have been internationalized and distributed as such by its maintainer. There might be an observable lag between the mere existence a PO file and its wide availability in a distribution. If January 2004 seems to be old, you may fetch a more recent copy of this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date matrix with full percentage details can be found at `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. Using `gettext' in new packages =============================== If you are writing a freely available program and want to internationalize it you are welcome to use GNU `gettext' in your package. Of course you have to respect the GNU Library General Public License which covers the use of the GNU `gettext' library. This means in particular that even non-free programs can use `libintl' as a shared library, whereas only free software can use `libintl' as a static library or use modified versions of `libintl'. Once the sources are changed appropriately and the setup can handle the use of `gettext' the only thing missing are the translations. The Free Translation Project is also available for packages which are not developed inside the GNU project. Therefore the information given above applies also for every other Free Software Project. Contact `translation@iro.umontreal.ca' to make the `.pot' files available to the translation teams. namazu-2.0.21/AUTHORS0000644000000000000000000000136407701737744007612 # $Id: AUTHORS,v 1.16.4.1 2003-07-06 06:21:24 makoto Exp $ Satoru Takabayashi knok@daionet.gr.jp (NOKUBI Takatsugu) Yukinori MAEDA Ken-ichi Hirose masao@ulis.ac.jp (Masao Takaku) Ryuji Abe Hajime BABA KOSEKI Yoshinori Rei FURUKAWA Makoto Fujiwara Kenji Suzuki MIYOSHI Masanori Hideyuki SHIRAI Jose Juan Zapater Vera Yoshinori TAKESAKO SATOH Fumiyasu Yukio USUDA TADAMASA TERANISHI namazu-2.0.21/COPYING0000644000000000000000000004311011611035106007542 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. namazu-2.0.21/ChangeLog0000644000000000000000000113126411611032747010302 2011-07-18 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.21. * configure.in (LTVERSION): Set "8:3:1". * tests/ja-namazu-cgi-3.in, pltests/{ja-namazu-cgi-3.in, alltests.pl.in}: Add new tests. * man: update. * NEWS: update. 2009-09-23 Tadamasa Teranishi * man: update. * po/*.po: update. 2009-09-06 Tadamasa Teranishi * pltests/env.pl.in: Bug fix for check $ENV value TEMP, TMP. * configure.in (LTVERSION): Set "8:2:1". * configure.in: Bumped version number to to 2.0.20pre1. 2009-09-01 Tadamasa Teranishi * nmz/replace.c: When the field value is a blank, the bug of buffer overrun is corrected. 2009-08-31 Tadamasa Teranishi * src/result.c: When the field value is a blank, the bug of buffer overrun is corrected. 2009-03-12 Tadamasa Teranishi * man: update. * configure.in: Bumped version number to to 2.0.19. 2009-03-11 Tadamasa Teranishi * NEWS: update. 2009-03-04 Tadamasa Teranishi * configure.in: Date change. * configure.in: Bumped version number to to 2.0.19RC1. 2009-02-21 Tadamasa Teranishi * configure.in (LTVERSION): Set "8:1:1". * configure.in: Bumped version number to to 2.0.19pre1. 2009-02-17 Tadamasa Teranishi * src/namazu.c: Arrangement of source code. * src/{rcfile.c, result.c}: convert tabs to spaces. * nmz/idxname.c: convert tabs to spaces. * pl/{filter.pl.in, util.pl}: Arrangement of source code. * filter/{koffice, msofficexml, ooo, visio}.pl: To use "pl/extutf8.pl". 2009-01-30 Tadamasa Teranishi * pl/document.pl: Arrangement of text of source file. 2009-01-29 Tadamasa Teranishi * pl/{wakati.pl, time.pl}: Arrangement of text of source file. * pl/{gettext.pl.in, var.pl.in }: Arrangement of text of source file. * pl/codeconv.pl: ditto. 2009-01-28 Tadamasa Teranishi * pl/conf.pl.in: convert tabs to spaces. 2008-09-01 Tadamasa Teranishi * filter/zip.pl(_unzip_filter): fix initialize bug. 2008-07-26 Tadamasa Teranishi * filter/{msword, excel, powerpoint}.pl: To use "pl/extutf8.pl". 2008-07-20 Tadamasa Teranishi * pl/codeconv.pl: Add new function.(tousascii) * pl/extutf8.pl(_utf8_to_usascii): Use 'tousascii'. 2008-07-16 Tadamasa Teranishi * src/{cgi, namazu-cgi}.c: The type of the variable is changed. (int -> size_t) 2008-07-15 Tadamasa Teranishi * src/{form, output, rcfile, result}.c: The type of the variable is changed. (int -> size_t) 2008-07-14 Tadamasa Teranishi * pl/extutf8.pl: Add new files. (Extensions UTF8) 2008-06-24 Tadamasa Teranishi * pltests/env.pl.in: It was rewritten that contents of the environment variable were checked. 2008-06-14 Tadamasa Teranishi * doc/{en, ja}/manual.html: The dependence filter is added to each filter. * doc/{en, ja}/manual.html: Update Archive::Zip URL. 2008-06-13 Tadamasa Teranishi * filter/{koffice, msofficexml, ooo}.pl: update. 2008-06-11 Tadamasa Teranishi * pltests/env.pl.in: Version of the checked OLE::Storange_Lite::PPS, etc... 2008-06-02 Tadamasa Teranishi * pl/{ext, extzip}.pl: Add new files. (Extensions Zip) * namazu.spec.in, pl/Makefile.am, scripts/*.in: require 'ext.pl'. * pltests/env.pl.in: Version of the checked IO::Scalar, IO::String module is added. * filter/{koffice, ooo}.pl: It changes so that util::syscmd() may be used. 2008-06-01 Tadamasa Teranishi * namazu.spec.in: Requires perl-File-MMagic >= 1.27. 2008-05-12 Tadamasa Teranishi * filter/zip.pl: Bug fix. 2008-05-11 Tadamasa Teranishi * filter/*.pl: Small correction. 2008-05-09 Tadamasa Teranishi * filter/zip.pl: TAB to SPACE. fix small bug. 2008-05-02 Tadamasa Teranishi * filter/{rtf, zip}.pl: To use the reference of the subroutine. * filter/rtf.pl: Remove File::Basename. * filter/*.pl: The blank at the end of line is deleted. * filter/oasys.pl: normalize_document is changed to normalize_eucjp_document. * filter/{excel, powerpoint}.pl: To use the reference of the subroutine. normalize_document is changed to normalize_eucjp_document. The bug of the conversion of "summary" is corrected. Remove File::Basename. * filter/msword.pl: To use the reference of the subroutine. normalize_document is changed to normalize_eucjp_document. The bug of the conversion of "summary" is corrected. 2008-04-30 Tadamasa Teranishi * filter/win32/xdoc2txt.pl: For OpenXML. 2008-04-29 Tadamasa Teranishi * nmz/query.c(set_phrase_trick): The problem of mistaking a complex expression is corrected. * filter/{koffice, ooo}.pl(utoe): It changes like previously evaluating Encode. * filter/{rtf, taro, wordpro}.pl: normalize_document is changed to normalize_eucjp_document. 2008-04-28 Tadamasa Teranishi * scripts/mknmz.in: The check on the size of the file is added to the processing of the --html-split option. * pl/htmlsplit.pl: A temporary file is made for it is time when it used --html-split with Windows, and the filename including the blank or Shift_JIS. 2008-04-27 Tadamasa Teranishi * pl/htmlsplit.pl: Trouble to which the code conversion is not done is corrected. * pl/htmlsplit.pl: Trouble to which the file is not closed is corrected. 2008-03-12 Tadamasa Teranishi * NEWS: updated. * configure.in: Bumped version number to to 2.0.18. 2008-03-07 Tadamasa Teranishi * nmz/*.[ch]: Added -DHAVE_STDLIB_H. Do cast for avoiding warning. * configure.in: Bumped version number to to 2.0.18RC3. 2008-03-04 Tadamasa Teranishi * doc/*: update. 2008-03-03 Tadamasa Teranishi * pltests/mknmz-{5,8}.pl.in: Add "--check-filesize" option. * tests/mknmz-{5,8}: Add "--check-filesize" option. * man/*.1: update. * configure.in: Bumped version number to to 2.0.18RC2. 2008-03-02 Tadamasa Teranishi * pl/conf.pl.in: for Windows. * conf/namazurc-sample.win32: Add New file. * configure.in: Bumped version number to to 2.0.18RC1. 2008-02-26 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.18pre2. 2008-02-02 Tadamasa Teranishi * src/output.c (emprint): fix small bug. * conf/namazurc-sample: s/foo\.jp/example.jp/g * doc/en/{manual, nmz, tips, tutorial}.html: s/foo\.jp/example.jp/g * doc/jp/{manual, nmz, tutorial}.html: s/foo\.jp/example.jp/g * pltests/namazu-cgi-4.pl.in: s/foo\.jp/example.jp/g * template/*: s/foo\.jp/example.jp/g * tknamazu/*: s/foo\.jp/example.jp/g * nmz/score.c: s/foo\.jp/example.jp/g 2008-01-31 Tadamasa Teranishi * pl/conf.pl.in: Change pattern from "com[1-9]" to "com[1-9][0-9]?". * src/output.c (emprint): Bug fix 2007-12-21. 2007-12-21 NOKUBI Takatsugu * src/output.c (emprint): Added emphasis tag count check. 2007-12-06 Tadamasa Teranishi * configure.in: Add AC_CHECK_HEADERS(errno.h). 2007-11-18 Tadamasa Teranishi * filter/win32/{olemsword.pl, xdoc2txt.pl}(add_magic): The OLE media-type is added for the misidentification prevention. 2007-11-17 Tadamasa Teranishi * filter/{msword.pl, excel.pl, powerpoint.pl}(getSummaryInfo): Add normalize_eucjp(). 2007-11-16 Tadamasa Teranishi * filter/{msword.pl, excel.pl, powerpoint.pl}(utf8_to_eucjp): The difference of processing with the code conversion tool is corrected. 2007-08-10 Tadamasa Teranishi * pl/util.pl(fclose): At the index output, It reported on the error without space. (Reported by Felipe Sanchez. Thanks.) 2007-08-04 Tadamasa Teranishi * scripts/mknmz.in: The bug that copied 'NMZ.{head, foot, body, tips}*' file of an illegal filename that existed in the template directory onto the index was mended. 2007-06-01 Tadamasa Teranishi * NEWS: updated. * configure.in: Bumped version number to to 2.0.18pre1. 2007-05-29 Tadamasa Teranishi * pltests/mknmz-8.pl.in: The confirmation whether the index has been updated is added. * tests/mknmz-9: Expand test file. 2007-05-28 Tadamasa Teranishi * filter/hnf.pl: update date. 2007-05-10 Tadamasa Teranishi * configure.in (LTVERSION): Set "8:0:1". 2007-05-09 Tadamasa Teranishi * nmz/list.[ch]: Add List library. * src/charset.[ch]: Add new files. * src/{cgi.c, namazu-cgi.c, namazu-cmd.c, namazu.c, namazu.h}: Add new function 'exit_nmz'. * src/output.c(get_contenttype): Restructuring. * src/rcfile.c: Added 'Charset' directive. * pltests/namazu-cgi-12.pl.in: ditto. * conf/namazurc-sample: ditto. 2007-05-08 Tadamasa Teranishi * src/namazu.c: Add new function 'exit_nmz'. * src/output.c: Fix typo. * pltests/namazu-cgi-12.pl.in: Add new test. 2007-05-05 Tadamasa Teranishi * HACKING-ja: update. 2007-05-01 Tadamasa Teranishi * src/{cgi.c, output.c}: The character set is output to the contents type of the response header. * configure.in: add 'de, pl'. * po/{de, pl}.po: add Deutsch, Polish. * po/*.po: update. * make_sjis_po: SJIS -> Shift_JIS. 2007-04-29 Tadamasa Teranishi * src/output.c(die): Add HTML, BODY tags. * src/output.[ch]: Add get_contenttype(). * nmz/i18n.c(_purification_lang): The bug that cannot include the number. 2007-04-28 Tadamasa Teranishi * src/result.c(encode_entity): '\'', '(', ')' is converted into "'", "(", ")" respectively. * src/namazu-cmd.c(main): "charset=iso-8859-1" is added to the response header. * src/output.c(emprint, putc_entitize): '\'', '(', ')' is converted into "'", "(", ")" respectively. * src/output.c(die): Sanitize. * src/cgi.c(validate_idxname): Add HTML, BODY tags. * src/namazu-cmd.c(main): ditto. 2007-04-26 Tadamasa Teranishi * pltests/env.pl.in: The checked environment variable is added. * conf/namazurc-sample: "charset" was added to "ContentType" of the example. 2007-04-21 Tadamasa Teranishi * pltests/env.pl.in: The checked environment variable and version of the checked Perl module is added. 2007-04-12 Tadamasa Teranishi * man: updated. * po: updated. 2007-03-12 Tadamasa Teranishi * doc/{en,ja}/tutorial.html: Update MeCab version. * NEWS: updated. * configure.in: Bumped version number to to 2.0.17. 2007-03-10 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.17RC6. 2007-03-09 Tadamasa Teranishi * doc/{en,ja}/tutorial.html: Update Text-ChaSen version and URI. * NEWS: updated. 2007-03-08 Tadamasa Teranishi * doc/{en,ja}/tutorial.html: Update MeCab version and URI. 2007-03-06 Yukio USUDA * filter/mp3.pl: Support MP3-Info 1.21's behavior. 2007-02-25 Tadamasa Teranishi * src/rcfile.c: The type of the variable is changed. * pl/conf.pl.in ($AlLOW_FILES): remove extensions of XPS. 2007-02-23 Tadamasa Teranishi * doc/{en,ja}/manual.html: comment out xps.pl filter. * filter/xps.pl: move to contrib/xps.pl. * configure.in: Bumped version number to to 2.0.17RC5. 2007-02-08 Tadamasa Teranishi * doc/{en,ja}/manual.html: Add visio.pl filter. 2007-02-08 Yukio USUDA * filter/xps.pl: Add routine to get title and author. 2007-02-07 Yukio USUDA * filter/xps.pl: Add new filter for XML Paper Specification(XPS). * filer/Makefile.am: Added new entry for xps.pl. * tests/data/ja/xps.xps: Add a new file. * tests/data/ja/Makefile.am: Added new entry for xps.xps. * pl/conf.pl.in ($AlLOW_FILES): Added extensions of XPS. * doc/{en,ja}/manual.html: Add xps.pl filter. 2007-01-29 Tadamasa Teranishi * filter/ooo.pl: fix small bug. * doc/{en,ja}/manual.html: update. * filter/msofficexml.pl: check of a dependence filter. * filter/visio.pl: check of a dependence filter. 2007-01-27 Yukio USUDA * filter/msofficexml.pl(remove_txbodytag): Add a subroutine for Powerpoint txBody tag. * filter/visio.pl: Added some subroutin. Seems to work. 2007-01-26 Tadamasa Teranishi * filter/*.pl: change "w" -> "wb". * tests/data/ja/visio2007.vdx: Added new file. * tests/data/ja/*2007*: update. * filter/{visio.pl, Makefile.am}: Added a new file. visio exclusion filter. 2007-01-22 Tadamasa Teranishi * configure.in: Date change. * nmz/*.c: The type of the variable is changed. * src/rcfile.c: ditto. 2007-01-21 Yukio USUDA * filter/msofficexml.pl: Added Excel sheet name support. Fixed another embeddings support bug. * filter/zip.pl: Fixed a bug. 2007-01-19 Yukio USUDA * filter/msofficexml.pl: Fixed embeddings support bug. 2007-01-19 Tadamasa Teranishi * doc/{en,ja}/*: Update. 2007-01-18 Yukio USUDA * filter/msofficexml.pl: Added embeddings support. 2007-01-18 Tadamasa Teranishi * filter/win32/ole*.pl: The check on the version of Office is added. 2007-01-15 Yukio USUDA * scripts/nmzcat.in: Add code conversion for Win32 Shiftjis terminal. 2007-01-14 Tadamasa Teranishi * filter/*.pl: Correction concerning addFileExts and addition of comment. * filter/win32/*.pl: ditto. * tests/data/ja/Makefile.am: Added new files. * filter/msofficexml.pl, filter/win32/ole*.pl: Change mime-type. * pl/conf.pl.in: ditto. 2007-01-13 Yukio USUDA * filter/msofficexml.pl: Added new fiter. * filter/Makefile.am: Added an entry for msofficexml.pl. * pl/conf.pl.in ($AlLOW_FILES): Added extensions of MS-OfficeOpenXML. * doc/{ja,en}/manual.html: Added descriptions about filter/msofficexml.pl 2006-12-27 Tadamasa Teranishi * filter/win32/ole*.pl: It corresponded to Office 2007, Visio 2007. * tests/data/ja/*x: Added test data. 2006-11-18 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.17RC4. * man: Update messages. 2006-11-13 Tadamasa Teranishi * filter/macbinary.pl: The name of the variable is changed. 2006-11-12 Tadamasa Teranishi * pltests/Makefile.am: Correction for VPATH. However, pltests uncorresponds to VPATH. * tests/*: For VPATH. * autogen.sh: update uri. 2006-11-11 Tadamasa Teranishi * scripts/mknmz.in: Warning is put out, and an illegal date is disregarded. * pl/time.pl: ditto. 2006-11-10 Tadamasa Teranishi * scripts/mailutime.in: It was corrected that the default value when the pkgdatadir environment variable was undefined was "/usr/local/share/namazu/". 2006-11-05 Tadamasa Teranishi * pltests/namazu-cgi-9.pl.in: Environment variable NAMAZUNORC is not deleted and it is corrected that it returns. * configure.in: Bumped version number to to 2.0.17RC3. 2006-11-03 Tadamasa Teranishi * pl/time.pl(rfc822time_to_mtime): The date field is annulled for the future from 2038. * scripts/mknmz.in(namazu_core): ditto. 2006-10-22 Tadamasa Teranishi * scripts/mknmz.in(put_log): Few modify. 2006-10-21 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.17RC2. * doc/{en,ja}/*: Update. 2006-10-20 Tadamasa Teranishi * pltests/env.pl.in: Add new file. 2006-10-14 Tadamasa Teranishi * File-MMagic: Imported 1.27. * scripts/{gcnmz, nmzmerge}.in: Bug fix. (namazu-users-ja#901, Thanks to NOMIYA Masaru) 2006-10-12 Tadamasa Teranishi * pl/conf.pl.in: ".eml" is added to $ALLOW_FILE. * tests/data/{en, ja}/mail.eml: New file. 2006-10-09 Tadamasa Teranishi * tests/*: It deals with trouble in which make check fails because of the environment of Mac + gettext 0.14.2. 2006-10-07 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.17RC1. 2006-09-23 Tadamasa Teranishi * nmz/{search.c, hlist.c}: The call of unnecessary nmz_copy_hlist() is omitted and it optimizes it. * configure.in: Bumped version number to to 2.0.17pre2. 2006-09-20 Tadamasa Teranishi * nmz/re.c: Few modify. * contrib/nmzchkw.pl: Add utility program. * nmz/hlist.c(nmz_do_date_processing): Performance improvement. 2006-09-18 Tadamasa Teranishi * nmz/score.c: Few modify. 2006-09-15 Tadamasa Teranishi * nmz/hlist.c: Addition of initialization. Deletion of unnecessary part. * nmz/parser.c(nmz_expr, term): Add nmz_free_hlist(). * nmz/{re.c, search.c}: NULL was set to the following free() pointer. * nmz/search.c(cmp_phrase_hash): When searching for the phrase, the fix did the bug that referred to the memory free() for ERR_TOO_MUCH_HIT. (namazu-user-ja#821, Thanks to taguchi) 2006-09-05 Yukio USUDA * doc/{en,ja}/manual.html: Update Perl module URI. 2006-09-02 Yukio USUDA * doc/{en,ja}/manual.html: Update Perl module URI. 2006-09-02 Tadamasa Teranishi * configure.in: Bumped version number to to 2.0.17pre1. 2006-08-17 Tadamasa Teranishi * src/cgi.c(process_cgi_var_max, process_cgi_var_whence): When an empty value is set to CGI parameter, the default value is used. 2006-08-13 Tadamasa Teranishi * src/result.c(emphasize): The bug that goes into an infinite loop is corrected when searching by '"' or '/'. * src/result.c(replace_field): The order of the emphasis and the HTML encode was reversed. 2006-08-04 Tadamasa Teranishi * conf/namazurc-sample: It is added to the comment that Suicide_Time is only UNIX. * src/namazu-cgi.c: It is corrected that neither signal() nor alarm() are used in MinGw. 2006-07-18 Tadamasa Teranishi * filter/win32/olemsword.pl: Error "Can't use an undefined value as a HASH reference at" is prevented. 2006-07-17 Tadamasa Teranishi * nmz/search.c: The regular expression is corrected in the field search and the bug that cannot disable is corrected. (Reported by Kenichi Maehashi, Thanks.) 2006-07-02 Tadamasa Teranishi * src/form.c: The part where the empty element tag is shut by "/>" is changed to " />". 2006-06-20 Tadamasa Teranishi * filter/win32/olertf.pl: Add addMagicEntry. 2006-06-03 Tadamasa Teranishi * namazu.spec.in: It is corrected that filter-requires-namazu.sh is deleted with clean. 2006-06-02 Tadamasa Teranishi * namazu.spec.in: add nmzcat, nmzegrep. * namazu.spec.in: fix filter-requires-namazu.sh. 2006-06-01 Tadamasa Teranishi * src/result.c: The substring match was corrected to do the emphasis. 2006-05-31 Tadamasa Teranishi * filter/taro56.pl: The model dependence character is converted into GETA. 2006-05-30 Tadamasa Teranishi * pl/nmzidx.pl: The order of the output of the log was changed. * scripts/{gcnmz.in, nmzmerge.in}: "Total Files:" is changed to "Total Documents:". With the comma. (#16: nmzmerge log format is inconsistent with mknmz) 2006-05-28 Yukio USUDA * filter/taro56.pl: Fixed taro5 file convert error bug. 2006-05-18 Tadamasa Teranishi * src/form.c: When the template is customized, the possibility that the buffer overflow happens is corrected. (Reported by Derek Atkins, Thanks.) 2006-05-01 Tadamasa Teranishi * scripts/mknmz.in: The mistake of the number of dummy arguments of process_file() is corrected. * scripts/mknmz.in: It is corrected that it ends when the content of NMZ.status cannot be read in the directory specified by the --update option. 2006-04-30 Tadamasa Teranishi * filter/pdf.pl: 'Unable to convert pdf file (maybe copying protection)' was corrected at option --debug. 2006-04-25 Tadamasa Teranishi * filter/mailnews.pl: Correspondence for imperfect multi part. 2006-04-21 Tadamasa Teranishi * filter/mailnews.pl: It corresponds to the Japanese text encoded with base64/quotedprint. (single part and multi part) 2006-04-18 Tadamasa Teranishi * pltests/Makefile.in: The blank after '@' was deleted because there was a case where make clean fails. 2006-04-16 Tadamasa Teranishi * filter/win32/oleexcel.pl(Win32_FullPath): Corrected a typo. * nmz/{libnamazu.h, field.c, idxname.c, search.c, util.c}: isalpha -> nmz_isalpha, isdigit -> nmz_isdigt, etc... * src/{output.c, result.c}: ditto. * filter/html.pl(embedded_filter): The trouble of